Push event to branch main 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-ssh9482374023816071154.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-ssh6484698770257238440.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-ssh8016474865722645786.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-ssh10676171504075816424.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-ssh13203748319132658411.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47785 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 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T15:41:00.550Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T15:41:00.610Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T15:41:00.623Z] ========================================================= [2022-05-10T15:41:00.623Z] EdgeX Global Pipelines Version Info [2022-05-10T15:41:00.623Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:41:01.384Z] ------------------- [2022-05-10T15:41:01.384Z] stable info: [2022-05-10T15:41:01.384Z] ------------------- [2022-05-10T15:41:01.384Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T15:41:01.384Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T15:41:01.384Z] Message: update stable to v1.0.227 [2022-05-10T15:41:01.956Z] ------------------- [2022-05-10T15:41:01.956Z] experimental info: [2022-05-10T15:41:01.956Z] ------------------- [2022-05-10T15:41:01.956Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T15:41:01.956Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T15:41:01.956Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T15:41:02.090Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-10T15:41:02.099Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-10T15:41:02.107Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T15:41:02.115Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T15:41:02.123Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T15:41:02.132Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T15:41:02.140Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T15:41:02.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-10T15:41:02.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T15:41:02.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T15:41:02.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T15:41:02.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-10T15:41:02.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T15:41:02.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T15:41:02.216Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T15:41:02.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T15:41:02.238Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T15:41:02.250Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T15:41:02.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T15:41:02.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T15:41:02.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-10T15:41:02.312Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-10T15:41:02.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T15:41:02.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T15:41:02.346Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T15:41:02.356Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T15:41:02.368Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T15:41:02.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T15:41:02.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T15:41:02.410Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T15:41:02.432Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f64ab8 [Pipeline] echo [2022-05-10T15:41:02.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:41:02.484Z] provisioning config files... [2022-05-10T15:41:02.497Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7726619243713604951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:41:02.811Z] ---> docker-login.sh [2022-05-10T15:41:02.811Z] nexus3.edgexfoundry.org:10001 [2022-05-10T15:41:03.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:03.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:03.073Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:03.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:03.073Z] [2022-05-10T15:41:03.073Z] Login Succeeded [2022-05-10T15:41:03.073Z] nexus3.edgexfoundry.org:10002 [2022-05-10T15:41:03.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:03.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:03.336Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:03.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:03.336Z] [2022-05-10T15:41:03.336Z] Login Succeeded [2022-05-10T15:41:03.336Z] nexus3.edgexfoundry.org:10003 [2022-05-10T15:41:03.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:03.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:03.598Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:03.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:03.598Z] [2022-05-10T15:41:03.598Z] Login Succeeded [2022-05-10T15:41:03.598Z] nexus3.edgexfoundry.org:10004 [2022-05-10T15:41:03.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:03.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:03.598Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:03.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:03.598Z] [2022-05-10T15:41:03.598Z] Login Succeeded [2022-05-10T15:41:03.598Z] docker.io [2022-05-10T15:41:03.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:04.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:04.174Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:04.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:04.174Z] [2022-05-10T15:41:04.174Z] Login Succeeded [2022-05-10T15:41:04.174Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T15:41:04.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T15:41:04.564Z] + git rev-list -1 --merges 4f64ab83298cb604fe88218673904389f4010661~1..4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T15:41:04.705Z] -----------> git rev-list -1 --merges 4f64ab83298cb604fe88218673904389f4010661~1..4f64ab83298cb604fe88218673904389f4010661 4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T15:41:04.705Z] 4f64ab83298cb604fe88218673904389f4010661 [false] [Pipeline] sh [2022-05-10T15:41:05.000Z] + git log --format=format:%s -1 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T15:41:05.017Z] ========================================================= [2022-05-10T15:41:05.017Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T15:41:05.017Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T15:41:05.356Z] + git log --format=format:%s -1 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] echo [2022-05-10T15:41:05.369Z] [semverPrep] GIT_COMMIT: 4f64ab83298cb604fe88218673904389f4010661, Commit Message: Merge pull request #1156 from jpwhitemn/kamakura-rls-notes [Pipeline] echo [2022-05-10T15:41:05.377Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T15:41:05.805Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T15:41:05.805Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T15:41:05.805Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T15:41:05.805Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T15:41:05.805Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T15:41:05.805Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T15:41:05.805Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:41:06.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:41:06.238Z] [2022-05-10T15:41:06.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:41:06.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:41:06.550Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T15:41:06.550Z] 1fe172e4850f: Pulling fs layer [2022-05-10T15:41:06.550Z] caf521ccaac6: Pulling fs layer [2022-05-10T15:41:06.550Z] 3ead6fa29328: Pulling fs layer [2022-05-10T15:41:06.550Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T15:41:06.550Z] a8d5f1318db7: Pulling fs layer [2022-05-10T15:41:06.550Z] c427282e49a2: Pulling fs layer [2022-05-10T15:41:06.550Z] 1827001aaf11: Pulling fs layer [2022-05-10T15:41:06.550Z] 0714d37db230: Pulling fs layer [2022-05-10T15:41:06.550Z] ac28cf19c067: Pulling fs layer [2022-05-10T15:41:06.550Z] ca983d60f3e2: Pulling fs layer [2022-05-10T15:41:06.550Z] 9f894cec8388: Pulling fs layer [2022-05-10T15:41:06.550Z] ac28cf19c067: Waiting [2022-05-10T15:41:06.550Z] ca983d60f3e2: Waiting [2022-05-10T15:41:06.550Z] 1827001aaf11: Waiting [2022-05-10T15:41:06.550Z] 9f894cec8388: Waiting [2022-05-10T15:41:06.550Z] c427282e49a2: Waiting [2022-05-10T15:41:06.550Z] a8d5f1318db7: Waiting [2022-05-10T15:41:06.550Z] 0714d37db230: Waiting [2022-05-10T15:41:06.550Z] 5c2a1cbceb83: Waiting [2022-05-10T15:41:06.550Z] caf521ccaac6: Verifying Checksum [2022-05-10T15:41:06.550Z] caf521ccaac6: Download complete [2022-05-10T15:41:06.550Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T15:41:06.550Z] 5c2a1cbceb83: Download complete [2022-05-10T15:41:06.813Z] a8d5f1318db7: Verifying Checksum [2022-05-10T15:41:06.813Z] a8d5f1318db7: Download complete [2022-05-10T15:41:06.814Z] 3ead6fa29328: Verifying Checksum [2022-05-10T15:41:06.814Z] 3ead6fa29328: Download complete [2022-05-10T15:41:06.814Z] c427282e49a2: Verifying Checksum [2022-05-10T15:41:06.814Z] c427282e49a2: Download complete [2022-05-10T15:41:06.814Z] 0714d37db230: Download complete [2022-05-10T15:41:06.814Z] ac28cf19c067: Download complete [2022-05-10T15:41:06.814Z] ca983d60f3e2: Verifying Checksum [2022-05-10T15:41:06.814Z] ca983d60f3e2: Download complete [2022-05-10T15:41:06.814Z] 9f894cec8388: Verifying Checksum [2022-05-10T15:41:06.814Z] 9f894cec8388: Download complete [2022-05-10T15:41:06.814Z] 1fe172e4850f: Verifying Checksum [2022-05-10T15:41:06.814Z] 1fe172e4850f: Download complete [2022-05-10T15:41:07.385Z] 1827001aaf11: Verifying Checksum [2022-05-10T15:41:07.385Z] 1827001aaf11: Download complete [2022-05-10T15:41:08.327Z] 1fe172e4850f: Pull complete [2022-05-10T15:41:08.587Z] caf521ccaac6: Pull complete [2022-05-10T15:41:09.159Z] 3ead6fa29328: Pull complete [2022-05-10T15:41:09.159Z] 5c2a1cbceb83: Pull complete [2022-05-10T15:41:09.419Z] a8d5f1318db7: Pull complete [2022-05-10T15:41:09.682Z] c427282e49a2: Pull complete [2022-05-10T15:41:11.596Z] 1827001aaf11: Pull complete [2022-05-10T15:41:11.596Z] 0714d37db230: Pull complete [2022-05-10T15:41:11.858Z] ac28cf19c067: Pull complete [2022-05-10T15:41:11.858Z] ca983d60f3e2: Pull complete [2022-05-10T15:41:12.121Z] 9f894cec8388: Pull complete [2022-05-10T15:41:12.121Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T15:41:12.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:41:12.121Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T15:41:12.205Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:41:12.249Z] $ 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-10T15:41:13.742Z] $ docker top e322cd382c073cbe3b14519d2398014b716e683ea0a8be632242d840163bde2e -eo pid,comm [2022-05-10T15:41:13.804Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T15:41:13.804Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T15:41:13.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T15:41:13.840Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T15:41:13.983Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T15:41:13.993Z] $ docker exec e322cd382c073cbe3b14519d2398014b716e683ea0a8be632242d840163bde2e ssh-agent [2022-05-10T15:41:14.115Z] SSH_AUTH_SOCK=/tmp/ssh-B6UJltPgNh9J/agent.32 [2022-05-10T15:41:14.115Z] SSH_AGENT_PID=38 [2022-05-10T15:41:14.124Z] Running ssh-add (command line suppressed) [2022-05-10T15:41:14.239Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3566790403867066906.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3566790403867066906.key) [2022-05-10T15:41:14.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T15:41:14.534Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T15:41:14.558Z] $ docker exec --env ******** --env ******** e322cd382c073cbe3b14519d2398014b716e683ea0a8be632242d840163bde2e ssh-agent -k [2022-05-10T15:41:14.675Z] unset SSH_AUTH_SOCK; [2022-05-10T15:41:14.676Z] unset SSH_AGENT_PID; [2022-05-10T15:41:14.676Z] echo Agent pid 38 killed; [2022-05-10T15:41:14.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T15:41:14.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T15:41:14.702Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T15:41:14.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T15:41:14.847Z] $ docker exec e322cd382c073cbe3b14519d2398014b716e683ea0a8be632242d840163bde2e ssh-agent [2022-05-10T15:41:14.970Z] SSH_AUTH_SOCK=/tmp/ssh-l3Chhs0iDLfl/agent.70 [2022-05-10T15:41:14.970Z] SSH_AGENT_PID=76 [2022-05-10T15:41:14.976Z] Running ssh-add (command line suppressed) [2022-05-10T15:41:15.112Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2902364537605148416.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2902364537605148416.key) [2022-05-10T15:41:15.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T15:41:15.414Z] + git semver init [2022-05-10T15:41:15.675Z] 2022-05-10 15:41:15,638 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T15:41:15.676Z] 2022-05-10 15:41:15,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-05-10T15:41:15.676Z] 2022-05-10 15:41:15,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-05-10T15:41:15.676Z] 2022-05-10 15:41:15,640 [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-10T15:41:16.620Z] 2022-05-10 15:41:16,523 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-05-10T15:41:16.620Z] 2022-05-10 15:41:16,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-05-10T15:41:16.620Z] 2022-05-10 15:41:16,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:41:16.620Z] 2022-05-10 15:41:16,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:41:16.620Z] 2.2.0-dev.40 [Pipeline] } [2022-05-10T15:41:16.640Z] $ docker exec --env ******** --env ******** e322cd382c073cbe3b14519d2398014b716e683ea0a8be632242d840163bde2e ssh-agent -k [2022-05-10T15:41:16.768Z] unset SSH_AUTH_SOCK; [2022-05-10T15:41:16.769Z] unset SSH_AGENT_PID; [2022-05-10T15:41:16.769Z] echo Agent pid 76 killed; [2022-05-10T15:41:16.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T15:41:17.083Z] + git semver [Pipeline] } [2022-05-10T15:41:17.673Z] $ docker stop --time=1 e322cd382c073cbe3b14519d2398014b716e683ea0a8be632242d840163bde2e [2022-05-10T15:41:19.039Z] $ docker rm -f e322cd382c073cbe3b14519d2398014b716e683ea0a8be632242d840163bde2e [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T15:41:19.397Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T15:41:19.656Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T15:41:19.659Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.40 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:41:19.794Z] provisioning config files... [2022-05-10T15:41:19.803Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6676195335478544192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:41:20.113Z] ---> docker-login.sh [2022-05-10T15:41:20.113Z] nexus3.edgexfoundry.org:10001 [2022-05-10T15:41:20.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:20.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:20.113Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:20.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:20.113Z] [2022-05-10T15:41:20.113Z] Login Succeeded [2022-05-10T15:41:20.113Z] nexus3.edgexfoundry.org:10002 [2022-05-10T15:41:20.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:20.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:20.373Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:20.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:20.373Z] [2022-05-10T15:41:20.373Z] Login Succeeded [2022-05-10T15:41:20.373Z] nexus3.edgexfoundry.org:10003 [2022-05-10T15:41:20.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:20.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:20.373Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:20.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:20.373Z] [2022-05-10T15:41:20.373Z] Login Succeeded [2022-05-10T15:41:20.373Z] nexus3.edgexfoundry.org:10004 [2022-05-10T15:41:20.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:20.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:20.633Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:20.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:20.633Z] [2022-05-10T15:41:20.633Z] Login Succeeded [2022-05-10T15:41:20.633Z] docker.io [2022-05-10T15:41:20.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:41:20.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:41:20.895Z] Configure a credential helper to remove this warning. See [2022-05-10T15:41:20.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:41:20.895Z] [2022-05-10T15:41:20.895Z] Login Succeeded [2022-05-10T15:41:20.895Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T15:41:20.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T15:41:20.975Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T15:41:20.986Z] ========================================================= [2022-05-10T15:41:20.986Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T15:41:20.986Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:41:21.302Z] + 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-10T15:41:21.302Z] Sending build context to Docker daemon 9.734MB [2022-05-10T15:41:21.302Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T15:41:21.302Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T15:41:21.302Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T15:41:21.302Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T15:41:21.302Z] 666ba61612fd: Pulling fs layer [2022-05-10T15:41:21.302Z] 8ed8ca486205: Pulling fs layer [2022-05-10T15:41:21.302Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T15:41:21.302Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T15:41:21.302Z] ca2b28591e48: Pulling fs layer [2022-05-10T15:41:21.302Z] a51346096db8: Pulling fs layer [2022-05-10T15:41:21.302Z] daebc70d1ce1: Pulling fs layer [2022-05-10T15:41:21.302Z] 22a0e8bec74d: Waiting [2022-05-10T15:41:21.302Z] ca2b28591e48: Waiting [2022-05-10T15:41:21.302Z] a51346096db8: Waiting [2022-05-10T15:41:21.302Z] daebc70d1ce1: Waiting [2022-05-10T15:41:21.302Z] 4fe6c5a15a65: Waiting [2022-05-10T15:41:21.302Z] 0e18a0eac166: Pulling fs layer [2022-05-10T15:41:21.302Z] 0e18a0eac166: Waiting [2022-05-10T15:41:21.302Z] 8ed8ca486205: Verifying Checksum [2022-05-10T15:41:21.302Z] 8ed8ca486205: Download complete [2022-05-10T15:41:21.564Z] 666ba61612fd: Verifying Checksum [2022-05-10T15:41:21.564Z] 666ba61612fd: Download complete [2022-05-10T15:41:21.564Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T15:41:21.564Z] 22a0e8bec74d: Download complete [2022-05-10T15:41:21.564Z] ca2b28591e48: Verifying Checksum [2022-05-10T15:41:21.564Z] ca2b28591e48: Download complete [2022-05-10T15:41:21.564Z] a51346096db8: Verifying Checksum [2022-05-10T15:41:21.564Z] a51346096db8: Download complete [2022-05-10T15:41:21.564Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T15:41:21.564Z] 59bf1c3509f3: Download complete [2022-05-10T15:41:21.564Z] daebc70d1ce1: Verifying Checksum [2022-05-10T15:41:21.564Z] daebc70d1ce1: Download complete [2022-05-10T15:41:21.564Z] 59bf1c3509f3: Pull complete [2022-05-10T15:41:21.827Z] 666ba61612fd: Pull complete [2022-05-10T15:41:21.827Z] 8ed8ca486205: Pull complete [2022-05-10T15:41:22.088Z] 0e18a0eac166: Verifying Checksum [2022-05-10T15:41:22.088Z] 0e18a0eac166: Download complete [2022-05-10T15:41:22.348Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T15:41:22.348Z] 4fe6c5a15a65: Download complete [2022-05-10T15:41:26.555Z] 4fe6c5a15a65: Pull complete [2022-05-10T15:41:26.555Z] 22a0e8bec74d: Pull complete [2022-05-10T15:41:26.555Z] ca2b28591e48: Pull complete [2022-05-10T15:41:26.555Z] a51346096db8: Pull complete [2022-05-10T15:41:26.555Z] daebc70d1ce1: Pull complete [2022-05-10T15:41:29.094Z] 0e18a0eac166: Pull complete [2022-05-10T15:41:29.094Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T15:41:29.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T15:41:29.094Z] ---> f018257e8ee9 [2022-05-10T15:41:29.094Z] Step 3/11 : ARG MAKE=make build [2022-05-10T15:41:30.037Z] ---> Running in a2c258aee003 [2022-05-10T15:41:30.037Z] Removing intermediate container a2c258aee003 [2022-05-10T15:41:30.037Z] ---> a94ae65459d0 [2022-05-10T15:41:30.037Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T15:41:30.298Z] ---> Running in dd6bff99a9d3 [2022-05-10T15:41:30.298Z] Removing intermediate container dd6bff99a9d3 [2022-05-10T15:41:30.298Z] ---> 4aab74bba858 [2022-05-10T15:41:30.298Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T15:41:30.298Z] ---> Running in d37a5027df01 [2022-05-10T15:41:30.298Z] Removing intermediate container d37a5027df01 [2022-05-10T15:41:30.298Z] ---> a3194f36a7b1 [2022-05-10T15:41:30.298Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T15:41:30.558Z] ---> Running in 4466932f996b [2022-05-10T15:41:31.130Z] Removing intermediate container 4466932f996b [2022-05-10T15:41:31.130Z] ---> c306b9df86ee [2022-05-10T15:41:31.130Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T15:41:31.130Z] ---> Running in 71de68698544 [2022-05-10T15:41:31.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T15:41:32.333Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T15:41:32.333Z] OK: 221 MiB in 52 packages [2022-05-10T15:41:32.904Z] Removing intermediate container 71de68698544 [2022-05-10T15:41:32.904Z] ---> 781ae29dd122 [2022-05-10T15:41:32.904Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T15:41:32.904Z] ---> 68bc29cde0d4 [2022-05-10T15:41:32.904Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T15:41:32.904Z] ---> Running in 34fd73bad6c7 [2022-05-10T15:41:34.759Z] Still waiting to schedule task [2022-05-10T15:41:34.759Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T15:41:47.830Z] Removing intermediate container 34fd73bad6c7 [2022-05-10T15:41:47.830Z] ---> 6cd2ba46a263 [2022-05-10T15:41:47.830Z] Step 10/11 : COPY . . [2022-05-10T15:41:47.830Z] ---> 78118331dfdf [2022-05-10T15:41:47.830Z] Step 11/11 : RUN ${MAKE} [2022-05-10T15:41:47.830Z] ---> Running in 5f96629bd05f [2022-05-10T15:41:47.830Z] noop [2022-05-10T15:41:47.830Z] Removing intermediate container 5f96629bd05f [2022-05-10T15:41:47.830Z] ---> ebaf61d0cef7 [2022-05-10T15:41:47.830Z] Successfully built ebaf61d0cef7 [2022-05-10T15:41:47.830Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:41:48.138Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T15:41:48.138Z] . [Pipeline] withDockerContainer [2022-05-10T15:41:48.202Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:41:48.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T15:41:48.643Z] $ docker top 7e93d7580aaa80957083830a9e6919c13e4e3973ed73aa6aaf382c25e22a92fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T15:41:49.000Z] + go version [2022-05-10T15:41:49.000Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T15:41:49.019Z] $ docker stop --time=1 7e93d7580aaa80957083830a9e6919c13e4e3973ed73aa6aaf382c25e22a92fc [2022-05-10T15:41:50.301Z] $ docker rm -f 7e93d7580aaa80957083830a9e6919c13e4e3973ed73aa6aaf382c25e22a92fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:41:50.705Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T15:41:50.705Z] . [Pipeline] withDockerContainer [2022-05-10T15:41:50.777Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:41:50.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T15:41:51.221Z] $ docker top 07a22f4acb645cce6b0d7b186fbf32c85aeac2e3a73e75ca870846b77be25138 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T15:41:51.599Z] + make test [2022-05-10T15:41:51.599Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T15:41:56.953Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.072s coverage: 23.3% of statements [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.086s coverage: 10.8% of statements [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.103s coverage: 60.0% of statements [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 34.8% of statements [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.072s coverage: 86.5% of statements [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 65.1% of statements [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.757s coverage: 89.2% of statements [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T15:42:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-05-10T15:42:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T15:42:26.749Z] GO111MODULE=on go vet ./... [2022-05-10T15:42:30.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T15:42:30.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T15:42:30.042Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T15:42:30.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T15:42:30.336Z] $ docker stop --time=1 07a22f4acb645cce6b0d7b186fbf32c85aeac2e3a73e75ca870846b77be25138 [2022-05-10T15:42:32.691Z] $ docker rm -f 07a22f4acb645cce6b0d7b186fbf32c85aeac2e3a73e75ca870846b77be25138 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T15:42:33.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T15:42:33.260Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T15:42:33.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T15:42:34.205Z] + ls -al . [2022-05-10T15:42:34.205Z] total 300 [2022-05-10T15:42:34.205Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 15:42 . [2022-05-10T15:42:34.205Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:40 .. [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 15:40 .dockerignore [2022-05-10T15:42:34.205Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 15:41 .git [2022-05-10T15:42:34.205Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:40 .github [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 15:40 .gitignore [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 15:40 .golangci.yml [2022-05-10T15:42:34.205Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 15:41 .semver [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 10 15:40 CHANGELOG.md [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 15:40 GOVERNANCE.md [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 15:40 Jenkinsfile [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 15:40 LICENSE [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 15:40 Makefile [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 15:40 OWNERS.md [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 15:40 README.md [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 15:41 VERSION [2022-05-10T15:42:34.205Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:40 bin [2022-05-10T15:42:34.205Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 15:42 coverage.out [2022-05-10T15:42:34.205Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:40 example [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 15:40 go.mod [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 15:40 go.sum [2022-05-10T15:42:34.205Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 15:40 internal [2022-05-10T15:42:34.205Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:40 openapi [2022-05-10T15:42:34.205Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:40 pkg [2022-05-10T15:42:34.205Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:40 snap [2022-05-10T15:42:34.205Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 15:40 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:42:34.508Z] + 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-dev.40 . [2022-05-10T15:42:34.508Z] Sending build context to Docker daemon 9.865MB [2022-05-10T15:42:34.508Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T15:42:34.508Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T15:42:34.508Z] ---> ebaf61d0cef7 [2022-05-10T15:42:34.508Z] Step 3/25 : ARG MAKE=make build [2022-05-10T15:42:34.783Z] ---> Running in 9b9c995572b8 [2022-05-10T15:42:34.783Z] Removing intermediate container 9b9c995572b8 [2022-05-10T15:42:34.783Z] ---> fbf9baaaa4ce [2022-05-10T15:42:34.783Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T15:42:34.783Z] ---> Running in 3a8afc7d53d9 [2022-05-10T15:42:34.783Z] Removing intermediate container 3a8afc7d53d9 [2022-05-10T15:42:34.783Z] ---> 070520daf16c [2022-05-10T15:42:34.783Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T15:42:35.043Z] ---> Running in a3c042e6f96b [2022-05-10T15:42:35.043Z] Removing intermediate container a3c042e6f96b [2022-05-10T15:42:35.043Z] ---> da64601c573e [2022-05-10T15:42:35.043Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T15:42:35.043Z] ---> Running in b04c217af803 [2022-05-10T15:42:35.981Z] Removing intermediate container b04c217af803 [2022-05-10T15:42:35.981Z] ---> 4b7396010100 [2022-05-10T15:42:35.981Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T15:42:35.981Z] ---> Running in d5dff7266ade [2022-05-10T15:42:36.241Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T15:42:37.186Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T15:42:37.186Z] OK: 221 MiB in 52 packages [2022-05-10T15:42:37.759Z] Removing intermediate container d5dff7266ade [2022-05-10T15:42:37.759Z] ---> f720b4ad1b37 [2022-05-10T15:42:37.759Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T15:42:37.759Z] ---> 4b83b0875674 [2022-05-10T15:42:37.759Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T15:42:37.759Z] ---> Running in fd1f201a0096 [2022-05-10T15:42:38.699Z] Removing intermediate container fd1f201a0096 [2022-05-10T15:42:38.699Z] ---> 691543d07014 [2022-05-10T15:42:38.699Z] Step 10/25 : COPY . . [2022-05-10T15:42:38.959Z] ---> 16304d2123c6 [2022-05-10T15:42:38.959Z] Step 11/25 : RUN ${MAKE} [2022-05-10T15:42:38.959Z] ---> Running in b2dd8ec82d9b [2022-05-10T15:42:39.218Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-10T15:42:57.322Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T15:42:59.861Z] Removing intermediate container b2dd8ec82d9b [2022-05-10T15:42:59.861Z] ---> ea1742662119 [2022-05-10T15:42:59.861Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T15:43:00.122Z] 3.14: Pulling from library/alpine [2022-05-10T15:43:00.384Z] 8663204ce13b: Pulling fs layer [2022-05-10T15:43:00.659Z] 8663204ce13b: Verifying Checksum [2022-05-10T15:43:00.659Z] 8663204ce13b: Download complete [2022-05-10T15:43:00.659Z] 8663204ce13b: Pull complete [2022-05-10T15:43:00.659Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T15:43:00.659Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T15:43:00.659Z] ---> e04c818066af [2022-05-10T15:43:00.659Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T15:43:00.922Z] ---> Running in 1c226f2f0b1a [2022-05-10T15:43:00.922Z] Removing intermediate container 1c226f2f0b1a [2022-05-10T15:43:00.922Z] ---> 7fcfacaa5100 [2022-05-10T15:43:00.922Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T15:43:00.922Z] ---> Running in f77bc6a4d2c2 [2022-05-10T15:43:01.865Z] Removing intermediate container f77bc6a4d2c2 [2022-05-10T15:43:01.865Z] ---> f967f5fd0aa3 [2022-05-10T15:43:01.865Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T15:43:01.865Z] ---> Running in 35287ee205c4 [2022-05-10T15:43:01.865Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T15:43:02.808Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T15:43:03.069Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T15:43:03.330Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T15:43:03.330Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T15:43:03.330Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T15:43:03.589Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T15:43:03.589Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T15:43:03.589Z] OK: 8 MiB in 19 packages [2022-05-10T15:43:04.159Z] Removing intermediate container 35287ee205c4 [2022-05-10T15:43:04.159Z] ---> 971fa8172c9d [2022-05-10T15:43:04.159Z] Step 16/25 : WORKDIR / [2022-05-10T15:43:04.159Z] ---> Running in 4f58cca97266 [2022-05-10T15:43:04.159Z] Removing intermediate container 4f58cca97266 [2022-05-10T15:43:04.159Z] ---> 4eb267458203 [2022-05-10T15:43:04.159Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T15:43:04.420Z] ---> 870214da11dc [2022-05-10T15:43:04.420Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T15:43:05.363Z] ---> 54e8e84a13ca [2022-05-10T15:43:05.363Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T15:43:05.363Z] ---> 5b284e945cfb [2022-05-10T15:43:05.363Z] Step 20/25 : EXPOSE 59999 [2022-05-10T15:43:05.624Z] ---> Running in 40130d5b57b7 [2022-05-10T15:43:05.624Z] Removing intermediate container 40130d5b57b7 [2022-05-10T15:43:05.624Z] ---> 868b665851e2 [2022-05-10T15:43:05.624Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T15:43:05.624Z] ---> Running in b6aa49a68355 [2022-05-10T15:43:05.884Z] Removing intermediate container b6aa49a68355 [2022-05-10T15:43:05.884Z] ---> b0a4a9b5f6db [2022-05-10T15:43:05.884Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T15:43:05.884Z] ---> Running in 0219e58de0f4 [2022-05-10T15:43:05.884Z] Removing intermediate container 0219e58de0f4 [2022-05-10T15:43:05.884Z] ---> d7d9f81029c9 [2022-05-10T15:43:05.884Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T15:43:05.884Z] ---> Running in 8d6cce9cff15 [2022-05-10T15:43:06.146Z] Removing intermediate container 8d6cce9cff15 [2022-05-10T15:43:06.146Z] ---> 946d0efce990 [2022-05-10T15:43:06.146Z] Step 24/25 : LABEL git_sha=4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T15:43:06.146Z] ---> Running in d9750e99e7f2 [2022-05-10T15:43:06.146Z] Removing intermediate container d9750e99e7f2 [2022-05-10T15:43:06.146Z] ---> 6d20b879cc2a [2022-05-10T15:43:06.146Z] Step 25/25 : LABEL version=2.2.0-dev.40 [2022-05-10T15:43:06.146Z] ---> Running in 0d3a6ebd2f95 [2022-05-10T15:43:06.407Z] Removing intermediate container 0d3a6ebd2f95 [2022-05-10T15:43:06.407Z] ---> 89f53c02792e [2022-05-10T15:43:06.407Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T15:43:06.407Z] Successfully built 89f53c02792e [2022-05-10T15:43:06.407Z] 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-10T15:43:06.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:43:06.797Z] [2022-05-10T15:43:06.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:43:07.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:43:07.102Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T15:43:07.102Z] 5eb5b503b376: Pulling fs layer [2022-05-10T15:43:07.102Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T15:43:07.102Z] ec43610c2a17: Pulling fs layer [2022-05-10T15:43:07.102Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T15:43:07.102Z] 33b1e0a273af: Pulling fs layer [2022-05-10T15:43:07.102Z] 3a2ae6a8a46f: Waiting [2022-05-10T15:43:07.102Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T15:43:07.102Z] 2f39f015ded8: Pulling fs layer [2022-05-10T15:43:07.102Z] 33b1e0a273af: Waiting [2022-05-10T15:43:07.102Z] 5d3b04190fa2: Waiting [2022-05-10T15:43:07.102Z] 2f39f015ded8: Waiting [2022-05-10T15:43:07.102Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T15:43:07.102Z] 5c69ac0246d0: Download complete [2022-05-10T15:43:07.102Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T15:43:07.102Z] 3a2ae6a8a46f: Download complete [2022-05-10T15:43:07.102Z] 33b1e0a273af: Verifying Checksum [2022-05-10T15:43:07.102Z] 33b1e0a273af: Download complete [2022-05-10T15:43:07.102Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T15:43:07.102Z] 5d3b04190fa2: Download complete [2022-05-10T15:43:07.102Z] ec43610c2a17: Verifying Checksum [2022-05-10T15:43:07.102Z] ec43610c2a17: Download complete [2022-05-10T15:43:07.361Z] 5eb5b503b376: Verifying Checksum [2022-05-10T15:43:07.932Z] 2f39f015ded8: Download complete [2022-05-10T15:43:08.870Z] 5eb5b503b376: Pull complete [2022-05-10T15:43:08.870Z] 5c69ac0246d0: Pull complete [2022-05-10T15:43:09.438Z] ec43610c2a17: Pull complete [2022-05-10T15:43:09.438Z] 3a2ae6a8a46f: Pull complete [2022-05-10T15:43:09.699Z] 33b1e0a273af: Pull complete [2022-05-10T15:43:09.699Z] 5d3b04190fa2: Pull complete [2022-05-10T15:43:13.900Z] 2f39f015ded8: Pull complete [2022-05-10T15:43:14.160Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T15:43:14.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:43:14.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T15:43:14.233Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:43:14.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T15:43:16.380Z] $ docker top aa6ebef6e7312f2c34844e80053539e53bbc794266dfb177b2f11ec37df79140 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:43:16.807Z] ---> job-cost.sh [2022-05-10T15:43:16.808Z] lf-activate-venv: SKIPPING [2022-05-10T15:43:16.808Z] INFO: No Stack... [2022-05-10T15:43:17.380Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T15:43:17.642Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T15:43:17.937Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-05-10T15:43:17.937Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T15:43:17.955Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] [2022-05-10T15:43:17.962Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] did not exist. Created. [2022-05-10T15:43:17.962Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T15:43:18.269Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T15:43:18.300Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T15:43:18.306Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T15:43:18.329Z] $ docker stop --time=1 aa6ebef6e7312f2c34844e80053539e53bbc794266dfb177b2f11ec37df79140 [2022-05-10T15:43:19.518Z] $ docker rm -f aa6ebef6e7312f2c34844e80053539e53bbc794266dfb177b2f11ec37df79140 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T15:45:14.558Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47786 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-05-10T15:45:14.571Z] Running in /w/workspace/device-sdk-go/74 [Pipeline] { [Pipeline] checkout [2022-05-10T15:45:14.838Z] The recommended git tool is: git [2022-05-10T15:45:20.770Z] using credential edgex-jenkins-ssh [2022-05-10T15:45:20.788Z] Cloning the remote Git repository [2022-05-10T15:45:20.840Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T15:45:20.916Z] > git init /w/workspace/device-sdk-go/74 # timeout=10 [2022-05-10T15:45:20.990Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-10T15:45:20.990Z] > git --version # timeout=10 [2022-05-10T15:45:21.016Z] > git --version # 'git version 2.25.1' [2022-05-10T15:45:21.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T15:45:21.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T15:45:22.678Z] Avoid second fetch [2022-05-10T15:45:22.678Z] Checking out Revision 4f64ab83298cb604fe88218673904389f4010661 (main) [2022-05-10T15:45:22.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-10T15:45:22.656Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T15:45:22.703Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T15:45:22.722Z] > git checkout -f 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 [2022-05-10T15:45:27.025Z] 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-10T15:45:27.937Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T15:45:27.937Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T15:45:27.937Z] Dload Upload Total Spent Left Speed [2022-05-10T15:45:27.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 89719 [Pipeline] sh [2022-05-10T15:45:28.523Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T15:45:28.885Z] + sudo+ tee /etc/docker/daemon.new [2022-05-10T15:45:28.885Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T15:45:28.885Z] { [2022-05-10T15:45:28.885Z] "registry-mirrors": [ [2022-05-10T15:45:28.885Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T15:45:28.885Z] ], [2022-05-10T15:45:28.885Z] "bip": "10.250.0.254/24", [2022-05-10T15:45:28.885Z] "hosts": [ [2022-05-10T15:45:28.885Z] "tcp://0.0.0.0:5555", [2022-05-10T15:45:28.885Z] "unix:///var/run/docker.sock" [2022-05-10T15:45:28.885Z] ], [2022-05-10T15:45:28.885Z] "mtu": 1458, [2022-05-10T15:45:28.885Z] "selinux-enabled": true, [2022-05-10T15:45:28.885Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T15:45:28.885Z] } [Pipeline] sh [2022-05-10T15:45:29.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T15:45:29.606Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:45:48.003Z] provisioning config files... [2022-05-10T15:45:48.031Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/74@tmp/config5777593210273456688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:45:48.406Z] ---> docker-login.sh [2022-05-10T15:45:48.406Z] nexus3.edgexfoundry.org:10001 [2022-05-10T15:45:49.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:45:49.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:45:49.281Z] Configure a credential helper to remove this warning. See [2022-05-10T15:45:49.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:45:49.281Z] [2022-05-10T15:45:49.281Z] Login Succeeded [2022-05-10T15:45:49.281Z] nexus3.edgexfoundry.org:10002 [2022-05-10T15:45:49.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:45:49.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:45:49.840Z] Configure a credential helper to remove this warning. See [2022-05-10T15:45:49.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:45:49.840Z] [2022-05-10T15:45:49.840Z] Login Succeeded [2022-05-10T15:45:49.840Z] nexus3.edgexfoundry.org:10003 [2022-05-10T15:45:50.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:45:50.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:45:50.118Z] Configure a credential helper to remove this warning. See [2022-05-10T15:45:50.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:45:50.118Z] [2022-05-10T15:45:50.118Z] Login Succeeded [2022-05-10T15:45:50.398Z] nexus3.edgexfoundry.org:10004 [2022-05-10T15:45:50.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:45:50.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:45:50.673Z] Configure a credential helper to remove this warning. See [2022-05-10T15:45:50.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:45:50.673Z] [2022-05-10T15:45:50.673Z] Login Succeeded [2022-05-10T15:45:50.673Z] docker.io [2022-05-10T15:45:51.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T15:45:51.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T15:45:51.555Z] Configure a credential helper to remove this warning. See [2022-05-10T15:45:51.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T15:45:51.555Z] [2022-05-10T15:45:51.555Z] Login Succeeded [2022-05-10T15:45:51.555Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T15:45:51.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T15:45:52.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T15:45:52.264Z] ========================================================= [2022-05-10T15:45:52.264Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T15:45:52.264Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:45:52.634Z] + 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-10T15:45:52.914Z] Sending build context to Docker daemon 5.244MB [2022-05-10T15:45:53.194Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T15:45:53.194Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-10T15:45:53.194Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T15:45:53.194Z] 9b3977197b4f: Pulling fs layer [2022-05-10T15:45:53.194Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T15:45:53.194Z] 94645a83ff95: Pulling fs layer [2022-05-10T15:45:53.194Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T15:45:53.194Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T15:45:53.194Z] 3096ccb668a1: Pulling fs layer [2022-05-10T15:45:53.194Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T15:45:53.194Z] a4caa8a26152: Pulling fs layer [2022-05-10T15:45:53.194Z] 3f3a8bcf1eab: Waiting [2022-05-10T15:45:53.194Z] 3096ccb668a1: Waiting [2022-05-10T15:45:53.194Z] e8cf19c19ddd: Waiting [2022-05-10T15:45:53.194Z] a4caa8a26152: Waiting [2022-05-10T15:45:53.194Z] 0c92f367c5e7: Waiting [2022-05-10T15:45:53.194Z] 94645a83ff95: Verifying Checksum [2022-05-10T15:45:53.194Z] 94645a83ff95: Download complete [2022-05-10T15:45:53.194Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T15:45:53.194Z] 1a89e8eeedd5: Download complete [2022-05-10T15:45:53.474Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T15:45:53.474Z] 0c92f367c5e7: Download complete [2022-05-10T15:45:53.474Z] 3096ccb668a1: Verifying Checksum [2022-05-10T15:45:53.474Z] 3096ccb668a1: Download complete [2022-05-10T15:45:53.474Z] 9b3977197b4f: Download complete [2022-05-10T15:45:53.474Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T15:45:53.474Z] e8cf19c19ddd: Download complete [2022-05-10T15:45:54.095Z] 9b3977197b4f: Pull complete [2022-05-10T15:45:54.705Z] 1a89e8eeedd5: Pull complete [2022-05-10T15:45:54.984Z] 94645a83ff95: Pull complete [2022-05-10T15:45:55.584Z] a4caa8a26152: Verifying Checksum [2022-05-10T15:45:55.584Z] a4caa8a26152: Download complete [2022-05-10T15:45:56.186Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T15:45:56.186Z] 3f3a8bcf1eab: Download complete [2022-05-10T15:46:08.596Z] 3f3a8bcf1eab: Pull complete [2022-05-10T15:46:08.596Z] 0c92f367c5e7: Pull complete [2022-05-10T15:46:08.596Z] 3096ccb668a1: Pull complete [2022-05-10T15:46:08.596Z] e8cf19c19ddd: Pull complete [2022-05-10T15:46:15.353Z] a4caa8a26152: Pull complete [2022-05-10T15:46:15.353Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T15:46:15.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T15:46:15.353Z] ---> 725f1c02e7f9 [2022-05-10T15:46:15.353Z] Step 3/11 : ARG MAKE=make build [2022-05-10T15:46:16.350Z] ---> Running in 3b3505357d67 [2022-05-10T15:46:16.625Z] Removing intermediate container 3b3505357d67 [2022-05-10T15:46:16.625Z] ---> f945abcbc20d [2022-05-10T15:46:16.625Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-10T15:46:16.625Z] ---> Running in 1e215c3dbc88 [2022-05-10T15:46:16.906Z] Removing intermediate container 1e215c3dbc88 [2022-05-10T15:46:16.906Z] ---> 7f0f00bc20bd [2022-05-10T15:46:16.906Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T15:46:17.182Z] ---> Running in 80b1bbfb9929 [2022-05-10T15:46:17.458Z] Removing intermediate container 80b1bbfb9929 [2022-05-10T15:46:17.458Z] ---> b52da0f1f25a [2022-05-10T15:46:17.458Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T15:46:17.458Z] ---> Running in d04b3a4269a1 [2022-05-10T15:46:19.468Z] Removing intermediate container d04b3a4269a1 [2022-05-10T15:46:19.468Z] ---> 3460ccd13f5b [2022-05-10T15:46:19.468Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T15:46:19.468Z] ---> Running in 59a9afd119ca [2022-05-10T15:46:22.106Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T15:46:25.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T15:46:26.100Z] OK: 220 MiB in 52 packages [2022-05-10T15:46:27.091Z] Removing intermediate container 59a9afd119ca [2022-05-10T15:46:27.091Z] ---> 488d71301fcb [2022-05-10T15:46:27.091Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-10T15:46:27.375Z] ---> 32ac0f4cf459 [2022-05-10T15:46:27.375Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T15:46:27.654Z] ---> Running in 67ed068422c8 [2022-05-10T15:47:14.660Z] Removing intermediate container 67ed068422c8 [2022-05-10T15:47:14.660Z] ---> ca3752b01094 [2022-05-10T15:47:14.660Z] Step 10/11 : COPY . . [2022-05-10T15:47:14.661Z] ---> 50c723776d5f [2022-05-10T15:47:14.661Z] Step 11/11 : RUN ${MAKE} [2022-05-10T15:47:14.661Z] ---> Running in bbf9640f4e5a [2022-05-10T15:47:14.661Z] noop [2022-05-10T15:47:14.946Z] Removing intermediate container bbf9640f4e5a [2022-05-10T15:47:14.946Z] ---> 6caecbe2aa8a [2022-05-10T15:47:15.231Z] Successfully built 6caecbe2aa8a [2022-05-10T15:47:15.231Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:47:15.582Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T15:47:15.582Z] . [Pipeline] withDockerContainer [2022-05-10T15:47:15.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-47786 does not seem to be running inside a container [2022-05-10T15:47:15.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/74 -v /w/workspace/device-sdk-go/74:/w/workspace/device-sdk-go/74:rw,z -v /w/workspace/device-sdk-go/74@tmp:/w/workspace/device-sdk-go/74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T15:47:17.184Z] $ docker top 15092f8be5543dd8c0f915ae2aadafce3234901c136d70dde8c7d57438e8fd2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T15:47:18.148Z] + go version [2022-05-10T15:47:18.148Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T15:47:18.178Z] $ docker stop --time=1 15092f8be5543dd8c0f915ae2aadafce3234901c136d70dde8c7d57438e8fd2c [2022-05-10T15:47:19.852Z] $ docker rm -f 15092f8be5543dd8c0f915ae2aadafce3234901c136d70dde8c7d57438e8fd2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:47:20.471Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T15:47:20.471Z] . [Pipeline] withDockerContainer [2022-05-10T15:47:20.729Z] prd-ubuntu20.04-docker-arm64-4c-16g-47786 does not seem to be running inside a container [2022-05-10T15:47:20.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/74 -v /w/workspace/device-sdk-go/74:/w/workspace/device-sdk-go/74:rw,z -v /w/workspace/device-sdk-go/74@tmp:/w/workspace/device-sdk-go/74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T15:47:22.116Z] $ docker top ab4b4ab55b9a2a9334b7f26114899bb7d390d26233f40b26570903e767ee3b16 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T15:47:23.056Z] + make test [2022-05-10T15:47:23.056Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-10T15:47:55.431Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-10T15:49:33.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-10T15:49:33.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-10T15:49:33.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-10T15:49:43.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.367s coverage: 23.3% of statements [2022-05-10T15:49:43.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-10T15:49:43.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.347s coverage: 27.6% of statements [2022-05-10T15:49:43.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.293s coverage: 78.9% of statements [2022-05-10T15:49:43.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.229s coverage: 10.8% of statements [2022-05-10T15:49:45.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.406s coverage: 60.0% of statements [2022-05-10T15:49:45.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-10T15:49:45.234Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-10T15:49:48.663Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.456s coverage: 34.8% of statements [2022-05-10T15:49:48.663Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-10T15:49:51.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.264s coverage: 86.5% of statements [2022-05-10T15:49:51.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-10T15:49:51.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-10T15:49:51.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.479s coverage: 65.1% of statements [2022-05-10T15:49:53.290Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.090s coverage: 89.2% of statements [2022-05-10T15:49:53.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-10T15:49:55.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.229s coverage: 4.7% of statements [2022-05-10T15:49:55.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-10T15:49:56.504Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T15:49:56.504Z] GO111MODULE=on go vet ./... [2022-05-10T15:51:18.344Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T15:51:18.344Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T15:51:18.344Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T15:51:20.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T15:51:20.361Z] $ docker stop --time=1 ab4b4ab55b9a2a9334b7f26114899bb7d390d26233f40b26570903e767ee3b16 [2022-05-10T15:51:22.224Z] $ docker rm -f ab4b4ab55b9a2a9334b7f26114899bb7d390d26233f40b26570903e767ee3b16 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T15:51:23.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T15:51:23.543Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T15:51:24.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T15:51:24.468Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T15:51:24.809Z] + ls -al . [2022-05-10T15:51:24.809Z] total 296 [2022-05-10T15:51:24.809Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 15:51 . [2022-05-10T15:51:24.809Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:45 .. [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 15:45 .dockerignore [2022-05-10T15:51:24.809Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 15:45 .git [2022-05-10T15:51:24.809Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:45 .github [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 131 May 10 15:45 .gitignore [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 15:45 .golangci.yml [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 10 15:45 CHANGELOG.md [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 15:45 GOVERNANCE.md [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 880 May 10 15:45 Jenkinsfile [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 15:45 LICENSE [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 10 15:45 Makefile [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 15:45 OWNERS.md [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 10 15:45 README.md [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 15:41 VERSION [2022-05-10T15:51:24.809Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:45 bin [2022-05-10T15:51:24.809Z] -rw-r--r-- 1 jenkins jenkins 130739 May 10 15:49 coverage.out [2022-05-10T15:51:24.809Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:45 example [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 10 15:45 go.mod [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 34529 May 10 15:45 go.sum [2022-05-10T15:51:24.809Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 15:45 internal [2022-05-10T15:51:24.809Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:45 openapi [2022-05-10T15:51:24.809Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:45 pkg [2022-05-10T15:51:24.809Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:45 snap [2022-05-10T15:51:24.809Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 15:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:51:25.154Z] + 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-dev.40 . [2022-05-10T15:51:25.430Z] Sending build context to Docker daemon 5.376MB [2022-05-10T15:51:25.703Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T15:51:25.703Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T15:51:25.703Z] ---> 6caecbe2aa8a [2022-05-10T15:51:25.703Z] Step 3/25 : ARG MAKE=make build [2022-05-10T15:51:25.703Z] ---> Running in 27ecfa2dd812 [2022-05-10T15:51:25.988Z] Removing intermediate container 27ecfa2dd812 [2022-05-10T15:51:25.988Z] ---> bc0c3e813434 [2022-05-10T15:51:25.988Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-10T15:51:25.988Z] ---> Running in c14abfe3dc67 [2022-05-10T15:51:26.602Z] Removing intermediate container c14abfe3dc67 [2022-05-10T15:51:26.602Z] ---> 0a2a44b66050 [2022-05-10T15:51:26.602Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T15:51:26.602Z] ---> Running in f720e035a940 [2022-05-10T15:51:26.875Z] Removing intermediate container f720e035a940 [2022-05-10T15:51:26.875Z] ---> eacb01617d15 [2022-05-10T15:51:26.875Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T15:51:26.875Z] ---> Running in 8764460f7055 [2022-05-10T15:51:28.849Z] Removing intermediate container 8764460f7055 [2022-05-10T15:51:28.849Z] ---> 575e174b49bc [2022-05-10T15:51:28.849Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-10T15:51:28.849Z] ---> Running in 27b2dd0861bb [2022-05-10T15:51:29.439Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T15:51:30.411Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T15:51:31.387Z] OK: 220 MiB in 52 packages [2022-05-10T15:51:31.989Z] Removing intermediate container 27b2dd0861bb [2022-05-10T15:51:31.989Z] ---> 5fa71bb4b32b [2022-05-10T15:51:31.989Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-10T15:51:32.580Z] ---> d71467d1e7a3 [2022-05-10T15:51:32.580Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T15:51:32.580Z] ---> Running in cc04b6d0bbc7 [2022-05-10T15:51:34.552Z] Removing intermediate container cc04b6d0bbc7 [2022-05-10T15:51:34.552Z] ---> b6da59c7dbe5 [2022-05-10T15:51:34.552Z] Step 10/25 : COPY . . [2022-05-10T15:51:35.530Z] ---> 737d7bb222be [2022-05-10T15:51:35.530Z] Step 11/25 : RUN ${MAKE} [2022-05-10T15:51:35.530Z] ---> Running in f5abc7e284e6 [2022-05-10T15:51:36.513Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-10T15:53:28.336Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-10T15:53:30.957Z] Removing intermediate container f5abc7e284e6 [2022-05-10T15:53:30.957Z] ---> 3a88efba1f17 [2022-05-10T15:53:30.957Z] Step 12/25 : FROM alpine:3.14 [2022-05-10T15:53:31.550Z] 3.14: Pulling from library/alpine [2022-05-10T15:53:31.550Z] 455c02918c45: Pulling fs layer [2022-05-10T15:53:31.822Z] 455c02918c45: Download complete [2022-05-10T15:53:32.419Z] 455c02918c45: Pull complete [2022-05-10T15:53:32.419Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T15:53:32.419Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T15:53:32.419Z] ---> ac73e934f311 [2022-05-10T15:53:32.419Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-10T15:53:32.694Z] ---> Running in e36e6146ce90 [2022-05-10T15:53:32.967Z] Removing intermediate container e36e6146ce90 [2022-05-10T15:53:32.968Z] ---> cdb76841b8ed [2022-05-10T15:53:32.968Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T15:53:32.968Z] ---> Running in 064f06a4bd50 [2022-05-10T15:53:34.404Z] Removing intermediate container 064f06a4bd50 [2022-05-10T15:53:34.404Z] ---> 4d8f494476da [2022-05-10T15:53:34.404Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-10T15:53:34.678Z] ---> Running in b42dbae5f7ee [2022-05-10T15:53:35.659Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T15:53:36.635Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T15:53:37.229Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T15:53:37.229Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-10T15:53:37.229Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T15:53:37.502Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-10T15:53:37.502Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-10T15:53:37.773Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T15:53:37.773Z] OK: 8 MiB in 19 packages [2022-05-10T15:53:38.761Z] Removing intermediate container b42dbae5f7ee [2022-05-10T15:53:38.761Z] ---> 3bf8eabbb3c1 [2022-05-10T15:53:38.761Z] Step 16/25 : WORKDIR / [2022-05-10T15:53:38.761Z] ---> Running in a4352afb89fe [2022-05-10T15:53:39.034Z] Removing intermediate container a4352afb89fe [2022-05-10T15:53:39.034Z] ---> 70cd3955019d [2022-05-10T15:53:39.034Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-10T15:53:39.631Z] ---> 4e84a84d089e [2022-05-10T15:53:39.631Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-10T15:53:41.067Z] ---> e8603383eb88 [2022-05-10T15:53:41.067Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-10T15:53:41.663Z] ---> 54385d589697 [2022-05-10T15:53:41.664Z] Step 20/25 : EXPOSE 59999 [2022-05-10T15:53:41.664Z] ---> Running in 3900ff6396a0 [2022-05-10T15:53:41.937Z] Removing intermediate container 3900ff6396a0 [2022-05-10T15:53:41.938Z] ---> 79626216927c [2022-05-10T15:53:41.938Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-10T15:53:42.210Z] ---> Running in 3975733afede [2022-05-10T15:53:42.483Z] Removing intermediate container 3975733afede [2022-05-10T15:53:42.483Z] ---> 8d5317bf2f63 [2022-05-10T15:53:42.483Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T15:53:42.483Z] ---> Running in 4e0bcdfd90f9 [2022-05-10T15:53:42.781Z] Removing intermediate container 4e0bcdfd90f9 [2022-05-10T15:53:42.781Z] ---> fb6c7967c00f [2022-05-10T15:53:42.781Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T15:53:42.781Z] ---> Running in 1258feb3a038 [2022-05-10T15:53:43.059Z] Removing intermediate container 1258feb3a038 [2022-05-10T15:53:43.059Z] ---> b100803c5172 [2022-05-10T15:53:43.059Z] Step 24/25 : LABEL git_sha=4f64ab83298cb604fe88218673904389f4010661 [2022-05-10T15:53:43.345Z] ---> Running in 431d7a53d0a7 [2022-05-10T15:53:43.625Z] Removing intermediate container 431d7a53d0a7 [2022-05-10T15:53:43.625Z] ---> 74bbb4e583c0 [2022-05-10T15:53:43.625Z] Step 25/25 : LABEL version=2.2.0-dev.40 [2022-05-10T15:53:43.625Z] ---> Running in c7c375f3616f [2022-05-10T15:53:43.905Z] Removing intermediate container c7c375f3616f [2022-05-10T15:53:43.905Z] ---> 79da5da2b342 [2022-05-10T15:53:43.905Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T15:53:44.182Z] Successfully built 79da5da2b342 [2022-05-10T15:53:44.182Z] 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-10T15:53:44.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T15:53:44.665Z] [2022-05-10T15:53:44.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:53:45.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T15:53:45.316Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T15:53:45.316Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T15:53:45.316Z] 04944245beec: Pulling fs layer [2022-05-10T15:53:45.316Z] 699f458cf7ca: Pulling fs layer [2022-05-10T15:53:45.316Z] 765212b225bb: Pulling fs layer [2022-05-10T15:53:45.316Z] f23df028b6ca: Pulling fs layer [2022-05-10T15:53:45.316Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T15:53:45.316Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T15:53:45.316Z] 765212b225bb: Waiting [2022-05-10T15:53:45.316Z] f23df028b6ca: Waiting [2022-05-10T15:53:45.316Z] d65c8cfc05b1: Waiting [2022-05-10T15:53:45.316Z] 2437ff75d9bd: Waiting [2022-05-10T15:53:45.316Z] 04944245beec: Verifying Checksum [2022-05-10T15:53:45.316Z] 04944245beec: Download complete [2022-05-10T15:53:45.316Z] 765212b225bb: Verifying Checksum [2022-05-10T15:53:45.316Z] 765212b225bb: Download complete [2022-05-10T15:53:45.316Z] f23df028b6ca: Verifying Checksum [2022-05-10T15:53:45.316Z] f23df028b6ca: Download complete [2022-05-10T15:53:45.316Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T15:53:45.316Z] d65c8cfc05b1: Download complete [2022-05-10T15:53:45.588Z] 699f458cf7ca: Download complete [2022-05-10T15:53:45.861Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T15:53:45.861Z] 8998bd30e6a1: Download complete [2022-05-10T15:53:48.495Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T15:53:48.495Z] 2437ff75d9bd: Download complete [2022-05-10T15:53:50.467Z] 8998bd30e6a1: Pull complete [2022-05-10T15:53:50.741Z] 04944245beec: Pull complete [2022-05-10T15:53:52.181Z] 699f458cf7ca: Pull complete [2022-05-10T15:53:52.453Z] 765212b225bb: Pull complete [2022-05-10T15:53:53.048Z] f23df028b6ca: Pull complete [2022-05-10T15:53:53.320Z] d65c8cfc05b1: Pull complete [2022-05-10T15:54:08.397Z] 2437ff75d9bd: Pull complete [2022-05-10T15:54:08.397Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T15:54:08.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T15:54:08.397Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T15:54:08.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-47786 does not seem to be running inside a container [2022-05-10T15:54:08.703Z] $ 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/74 -v /w/workspace/device-sdk-go/74:/w/workspace/device-sdk-go/74:rw,z -v /w/workspace/device-sdk-go/74@tmp:/w/workspace/device-sdk-go/74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T15:54:11.245Z] $ docker top e6de45664a02285b3d60e8867f2766c997011b571988817b680505acab6203d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:54:12.167Z] ---> job-cost.sh [2022-05-10T15:54:12.167Z] lf-activate-venv: SKIPPING [2022-05-10T15:54:12.167Z] INFO: No Stack... [2022-05-10T15:54:13.145Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T15:54:13.738Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T15:54:14.405Z] + cat /w/workspace/device-sdk-go/74/archives/cost.csv [2022-05-10T15:54:14.405Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T15:54:14.435Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] [2022-05-10T15:54:14.440Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] did not exist. Created. [2022-05-10T15:54:14.440Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T15:54:15.112Z] /w/workspace/device-sdk-go/74@tmp/durable-2e10dd29/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T15:54:15.793Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T15:54:15.815Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T15:54:15.881Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T15:54:15.892Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T15:54:15.916Z] $ docker stop --time=1 e6de45664a02285b3d60e8867f2766c997011b571988817b680505acab6203d9 [2022-05-10T15:54:17.411Z] $ docker rm -f e6de45664a02285b3d60e8867f2766c997011b571988817b680505acab6203d9 [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-10T15:54:17.987Z] provisioning config files... [2022-05-10T15:54:17.995Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1293803383172592782tmp [Pipeline] { [Pipeline] sh [2022-05-10T15:54:18.289Z] + set +x [2022-05-10T15:54:18.289Z] + curl -s https://codecov.io/bash [2022-05-10T15:54:18.289Z] + bash -s -- [2022-05-10T15:54:18.289Z] [2022-05-10T15:54:18.289Z] _____ _ [2022-05-10T15:54:18.289Z] / ____| | | [2022-05-10T15:54:18.289Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T15:54:18.289Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T15:54:18.289Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T15:54:18.289Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T15:54:18.289Z] Bash-1.0.6 [2022-05-10T15:54:18.289Z] [2022-05-10T15:54:18.289Z] [2022-05-10T15:54:18.289Z] ==> git version 2.25.1 found [2022-05-10T15:54:18.289Z] ==> 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-10T15:54:18.289Z] Release-Date: 2020-01-08 [2022-05-10T15:54:18.289Z] 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-10T15:54:18.289Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T15:54:18.289Z] ==> Jenkins CI detected. [2022-05-10T15:54:18.289Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-05-10T15:54:18.289Z] project root: . [2022-05-10T15:54:18.289Z] --> token set from env [2022-05-10T15:54:18.289Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T15:54:18.289Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T15:54:18.289Z] ==> Python coveragepy not found [2022-05-10T15:54:18.289Z] ==> Searching for coverage reports in: [2022-05-10T15:54:18.289Z] + . [2022-05-10T15:54:18.289Z] -> Found 1 reports [2022-05-10T15:54:18.289Z] ==> Detecting git/mercurial file structure [2022-05-10T15:54:18.289Z] ==> Reading reports [2022-05-10T15:54:18.289Z] + ./coverage.out bytes=130739 [2022-05-10T15:54:18.289Z] ==> Appending adjustments [2022-05-10T15:54:18.289Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T15:54:18.550Z] + Found adjustments [2022-05-10T15:54:18.550Z] ==> Gzipping contents [2022-05-10T15:54:18.810Z] 20K /tmp/codecov.sNqXBT.gz [2022-05-10T15:54:18.810Z] ==> Uploading reports [2022-05-10T15:54:18.810Z] url: https://codecov.io [2022-05-10T15:54:18.810Z] query: branch=main&commit=4f64ab83298cb604fe88218673904389f4010661&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T15:54:18.810Z] -> Pinging Codecov [2022-05-10T15:54:18.810Z] 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=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T15:54:18.810Z] -> Uploading to [2022-05-10T15:54:18.810Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7E55EF52A471D76F132DFD9A03CDDE97/4f64ab83298cb604fe88218673904389f4010661/aad577e0-db74-4c79-9a2e-453244e4e5b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T155418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d61c5124e6a32b97c17a42b16466d261d719ebbcc35b0a1cac107842984ab91 [2022-05-10T15:54:18.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T15:54:18.810Z] Dload Upload Total Spent Left Speed [2022-05-10T15:54:19.071Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16803 0 0 100 16803 0 75689 --:--:-- --:--:-- --:--:-- 75349 100 16803 0 0 100 16803 0 59585 --:--:-- --:--:-- --:--:-- 59374 [2022-05-10T15:54:19.332Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4f64ab83298cb604fe88218673904389f4010661 [Pipeline] } [2022-05-10T15:54:19.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T15:54:19.626Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T15:54:19.637Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:54:19.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T15:54:19.934Z] [2022-05-10T15:54:19.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:54:20.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T15:54:20.242Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T15:54:20.242Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T15:54:20.242Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T15:54:20.242Z] de9db76c5a1d: Pulling fs layer [2022-05-10T15:54:20.242Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T15:54:20.243Z] 0d57e429df01: Pulling fs layer [2022-05-10T15:54:20.243Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T15:54:20.243Z] e1f770b5df2f: Pulling fs layer [2022-05-10T15:54:20.243Z] 85a0685a4137: Pulling fs layer [2022-05-10T15:54:20.243Z] 0eba1c9be4d2: Waiting [2022-05-10T15:54:20.243Z] 4e4be7b47b0d: Waiting [2022-05-10T15:54:20.243Z] e1f770b5df2f: Waiting [2022-05-10T15:54:20.243Z] 85a0685a4137: Waiting [2022-05-10T15:54:20.243Z] de9db76c5a1d: Verifying Checksum [2022-05-10T15:54:20.243Z] de9db76c5a1d: Download complete [2022-05-10T15:54:20.243Z] 0ef7d3d256c8: Download complete [2022-05-10T15:54:20.243Z] 0d57e429df01: Verifying Checksum [2022-05-10T15:54:20.243Z] 0d57e429df01: Download complete [2022-05-10T15:54:20.243Z] 4e4be7b47b0d: Verifying Checksum [2022-05-10T15:54:20.243Z] 4e4be7b47b0d: Download complete [2022-05-10T15:54:20.243Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T15:54:20.243Z] 188c0c94c7c5: Download complete [2022-05-10T15:54:20.506Z] e1f770b5df2f: Verifying Checksum [2022-05-10T15:54:20.506Z] e1f770b5df2f: Download complete [2022-05-10T15:54:20.506Z] 188c0c94c7c5: Pull complete [2022-05-10T15:54:20.768Z] 0ef7d3d256c8: Pull complete [2022-05-10T15:54:20.768Z] de9db76c5a1d: Pull complete [2022-05-10T15:54:21.028Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T15:54:21.028Z] 0eba1c9be4d2: Download complete [2022-05-10T15:54:21.288Z] 85a0685a4137: Verifying Checksum [2022-05-10T15:54:21.288Z] 85a0685a4137: Download complete [2022-05-10T15:54:24.585Z] 0eba1c9be4d2: Pull complete [2022-05-10T15:54:24.585Z] 0d57e429df01: Pull complete [2022-05-10T15:54:24.585Z] 4e4be7b47b0d: Pull complete [2022-05-10T15:54:24.847Z] e1f770b5df2f: Pull complete [2022-05-10T15:54:28.137Z] 85a0685a4137: Pull complete [2022-05-10T15:54:28.137Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T15:54:28.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T15:54:28.138Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T15:54:28.198Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:54:28.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-10T15:54:30.578Z] $ docker top 029237a3ef6733039e4db1f1ed0aa52b946e187807d2a6c8955eeef9929f87ac -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T15:54:30.651Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T15:54:30.933Z] + set -o pipefail [2022-05-10T15:54:30.933Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T15:54:36.220Z] [2022-05-10T15:54:36.220Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-05-10T15:54:36.220Z] [2022-05-10T15:54:36.220Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/59933f30-c2f9-4435-a6e7-148d7dda4428 [2022-05-10T15:54:36.220Z] [2022-05-10T15:54:36.220Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T15:54:36.220Z] [2022-05-10T15:54:36.221Z] [Pipeline] } [2022-05-10T15:54:36.237Z] $ docker stop --time=1 029237a3ef6733039e4db1f1ed0aa52b946e187807d2a6c8955eeef9929f87ac [2022-05-10T15:54:38.286Z] $ docker rm -f 029237a3ef6733039e4db1f1ed0aa52b946e187807d2a6c8955eeef9929f87ac [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-10T15:54:38.725Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:54:38.736Z] provisioning config files... [2022-05-10T15:54:38.746Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config630773578451504819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:54:39.052Z] --> edgex-publish-swagger.sh [2022-05-10T15:54:39.052Z] === Publish openapi/v2 API === [2022-05-10T15:54:39.052Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-05-10T15:54:39.052Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-05-10T15:54:39.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T15:54:39.052Z] Dload Upload Total Spent Left Speed [2022-05-10T15:54:39.621Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 337k --:--:-- --:--:-- --:--:-- 335k 100 53282 0 0 100 53282 0 83514 --:--:-- --:--:-- --:--:-- 83514 [2022-05-10T15:54:39.621Z] [2022-05-10T15:54:39.621Z] [Pipeline] } [2022-05-10T15:54:39.630Z] 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-10T15:54:40.032Z] + git log --format=format:%s -1 4f64ab83298cb604fe88218673904389f4010661 [Pipeline] sh [2022-05-10T15:54:40.329Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T15:54:40.329Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:54:40.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:54:40.638Z] . [Pipeline] withDockerContainer [2022-05-10T15:54:40.706Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:54:40.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T15:54:41.196Z] $ docker top 3655dbd11e0e430eac72128b1c8fb12ba30c3ae9cdbba77060c1e572eff9246f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T15:54:41.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T15:54:41.319Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T15:54:41.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T15:54:41.481Z] $ docker exec 3655dbd11e0e430eac72128b1c8fb12ba30c3ae9cdbba77060c1e572eff9246f ssh-agent [2022-05-10T15:54:41.618Z] SSH_AUTH_SOCK=/tmp/ssh-mHMGyQ3objSM/agent.33 [2022-05-10T15:54:41.618Z] SSH_AGENT_PID=39 [2022-05-10T15:54:41.624Z] Running ssh-add (command line suppressed) [2022-05-10T15:54:41.748Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_57257162198226903.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_57257162198226903.key) [2022-05-10T15:54:41.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T15:54:42.059Z] + git semver tag [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,279 [run_tag] DEBUG tag force:False [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,279 [check_head_tag] DEBUG check head tag [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,280 [execute] INFO git cat-file --batch-check [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,284 [execute] INFO git cat-file --batch [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,308 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,309 [execute] INFO git tag -a v2.2.0-dev.40 -m v2.2.0-dev.40 [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,309 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.40', '-m', 'v2.2.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T15:54:42.322Z] 2022-05-10 15:54:42,311 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:54:42.322Z] 2.2.0-dev.40 [Pipeline] } [2022-05-10T15:54:42.338Z] $ docker exec --env ******** --env ******** 3655dbd11e0e430eac72128b1c8fb12ba30c3ae9cdbba77060c1e572eff9246f ssh-agent -k [2022-05-10T15:54:42.437Z] unset SSH_AUTH_SOCK; [2022-05-10T15:54:42.437Z] unset SSH_AGENT_PID; [2022-05-10T15:54:42.437Z] echo Agent pid 39 killed; [2022-05-10T15:54:42.443Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T15:54:42.747Z] + git semver [Pipeline] } [2022-05-10T15:54:43.027Z] $ docker stop --time=1 3655dbd11e0e430eac72128b1c8fb12ba30c3ae9cdbba77060c1e572eff9246f [2022-05-10T15:54:44.421Z] $ docker rm -f 3655dbd11e0e430eac72128b1c8fb12ba30c3ae9cdbba77060c1e572eff9246f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:54:44.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T15:54:44.813Z] [2022-05-10T15:54:44.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:54:45.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T15:54:45.113Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T15:54:45.113Z] ab5ef0e58194: Pulling fs layer [2022-05-10T15:54:45.113Z] 9712f1f96733: Pulling fs layer [2022-05-10T15:54:45.113Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T15:54:45.113Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T15:54:45.113Z] e9a5061849ea: Pulling fs layer [2022-05-10T15:54:45.113Z] d747dcd14b5f: Pulling fs layer [2022-05-10T15:54:45.113Z] 2de7ff778b66: Pulling fs layer [2022-05-10T15:54:45.113Z] 0d9ebad4ef96: Waiting [2022-05-10T15:54:45.113Z] e9a5061849ea: Waiting [2022-05-10T15:54:45.113Z] 2de7ff778b66: Waiting [2022-05-10T15:54:45.113Z] d747dcd14b5f: Waiting [2022-05-10T15:54:45.113Z] 9712f1f96733: Verifying Checksum [2022-05-10T15:54:45.113Z] 9712f1f96733: Download complete [2022-05-10T15:54:45.685Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T15:54:45.685Z] 63f879dbbcfc: Download complete [2022-05-10T15:54:45.685Z] ab5ef0e58194: Verifying Checksum [2022-05-10T15:54:45.685Z] ab5ef0e58194: Download complete [2022-05-10T15:54:45.685Z] d747dcd14b5f: Download complete [2022-05-10T15:54:45.685Z] e9a5061849ea: Verifying Checksum [2022-05-10T15:54:45.685Z] e9a5061849ea: Download complete [2022-05-10T15:54:45.685Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T15:54:45.685Z] 0d9ebad4ef96: Download complete [2022-05-10T15:54:45.945Z] 2de7ff778b66: Verifying Checksum [2022-05-10T15:54:45.945Z] 2de7ff778b66: Download complete [2022-05-10T15:54:49.240Z] ab5ef0e58194: Pull complete [2022-05-10T15:54:49.240Z] 9712f1f96733: Pull complete [2022-05-10T15:54:49.501Z] 63f879dbbcfc: Pull complete [2022-05-10T15:54:53.697Z] 0d9ebad4ef96: Pull complete [2022-05-10T15:54:53.957Z] e9a5061849ea: Pull complete [2022-05-10T15:54:53.957Z] d747dcd14b5f: Pull complete [2022-05-10T15:54:55.339Z] 2de7ff778b66: Pull complete [2022-05-10T15:54:55.339Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T15:54:55.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T15:54:55.339Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T15:54:55.405Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:54:55.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-10T15:54:57.594Z] $ docker top ca4f1b8580d41d150f2b81b2bdf57d1f3642e9b4eba1fdcc1237d5e3bf0bc8d8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:54:57.671Z] provisioning config files... [2022-05-10T15:54:57.680Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5729683109223913329tmp [2022-05-10T15:54:57.692Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config720475822447624746tmp [2022-05-10T15:54:57.702Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4367662940596702308tmp [Pipeline] { [Pipeline] echo [2022-05-10T15:54:57.716Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:54:58.001Z] ---> sigul-configuration.sh [2022-05-10T15:54:58.001Z] gpg: directory `/root/.gnupg' created [2022-05-10T15:54:58.001Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T15:54:58.001Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T15:54:58.001Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T15:54:58.001Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T15:54:58.001Z] gpg: CAST5 encrypted data [2022-05-10T15:54:58.001Z] gpg: encrypted with 1 passphrase [2022-05-10T15:54:58.001Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T15:54:58.290Z] + mkdir /home/jenkins [2022-05-10T15:54:58.290Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T15:54:58.581Z] + 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-10T15:54:58.591Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:54:58.876Z] ---> sigul-install.sh [2022-05-10T15:54:58.876Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T15:54:59.164Z] + git tag --list [2022-05-10T15:54:59.164Z] 0.7.1 [2022-05-10T15:54:59.164Z] delhi-tag [2022-05-10T15:54:59.164Z] v1.0.0 [2022-05-10T15:54:59.164Z] v1.1.0 [2022-05-10T15:54:59.164Z] v1.1.1 [2022-05-10T15:54:59.164Z] v1.1.2 [2022-05-10T15:54:59.164Z] v1.2.0 [2022-05-10T15:54:59.164Z] v1.2.1 [2022-05-10T15:54:59.164Z] v1.2.2 [2022-05-10T15:54:59.164Z] v1.2.3 [2022-05-10T15:54:59.164Z] v1.3.0 [2022-05-10T15:54:59.164Z] v1.4.0 [2022-05-10T15:54:59.164Z] v2.0.0 [2022-05-10T15:54:59.164Z] v2.0.1-dev.1 [2022-05-10T15:54:59.164Z] v2.0.1-dev.10 [2022-05-10T15:54:59.164Z] v2.0.1-dev.11 [2022-05-10T15:54:59.164Z] v2.0.1-dev.12 [2022-05-10T15:54:59.164Z] v2.0.1-dev.13 [2022-05-10T15:54:59.164Z] v2.0.1-dev.14 [2022-05-10T15:54:59.164Z] v2.0.1-dev.15 [2022-05-10T15:54:59.164Z] v2.0.1-dev.16 [2022-05-10T15:54:59.164Z] v2.0.1-dev.17 [2022-05-10T15:54:59.164Z] v2.0.1-dev.18 [2022-05-10T15:54:59.164Z] v2.0.1-dev.19 [2022-05-10T15:54:59.164Z] v2.0.1-dev.2 [2022-05-10T15:54:59.164Z] v2.0.1-dev.20 [2022-05-10T15:54:59.164Z] v2.0.1-dev.21 [2022-05-10T15:54:59.164Z] v2.0.1-dev.22 [2022-05-10T15:54:59.164Z] v2.0.1-dev.23 [2022-05-10T15:54:59.164Z] v2.0.1-dev.24 [2022-05-10T15:54:59.164Z] v2.0.1-dev.25 [2022-05-10T15:54:59.164Z] v2.0.1-dev.26 [2022-05-10T15:54:59.164Z] v2.0.1-dev.27 [2022-05-10T15:54:59.164Z] v2.0.1-dev.28 [2022-05-10T15:54:59.164Z] v2.0.1-dev.29 [2022-05-10T15:54:59.164Z] v2.0.1-dev.3 [2022-05-10T15:54:59.164Z] v2.0.1-dev.30 [2022-05-10T15:54:59.164Z] v2.0.1-dev.31 [2022-05-10T15:54:59.164Z] v2.0.1-dev.32 [2022-05-10T15:54:59.164Z] v2.0.1-dev.33 [2022-05-10T15:54:59.164Z] v2.0.1-dev.4 [2022-05-10T15:54:59.164Z] v2.0.1-dev.5 [2022-05-10T15:54:59.164Z] v2.0.1-dev.6 [2022-05-10T15:54:59.164Z] v2.0.1-dev.7 [2022-05-10T15:54:59.164Z] v2.0.1-dev.8 [2022-05-10T15:54:59.164Z] v2.0.1-dev.9 [2022-05-10T15:54:59.164Z] v2.1.0 [2022-05-10T15:54:59.164Z] v2.1.1-dev.1 [2022-05-10T15:54:59.164Z] v2.2.0-dev.1 [2022-05-10T15:54:59.164Z] v2.2.0-dev.10 [2022-05-10T15:54:59.164Z] v2.2.0-dev.11 [2022-05-10T15:54:59.164Z] v2.2.0-dev.12 [2022-05-10T15:54:59.164Z] v2.2.0-dev.13 [2022-05-10T15:54:59.164Z] v2.2.0-dev.14 [2022-05-10T15:54:59.164Z] v2.2.0-dev.15 [2022-05-10T15:54:59.164Z] v2.2.0-dev.16 [2022-05-10T15:54:59.164Z] v2.2.0-dev.17 [2022-05-10T15:54:59.164Z] v2.2.0-dev.18 [2022-05-10T15:54:59.164Z] v2.2.0-dev.19 [2022-05-10T15:54:59.164Z] v2.2.0-dev.2 [2022-05-10T15:54:59.164Z] v2.2.0-dev.20 [2022-05-10T15:54:59.164Z] v2.2.0-dev.21 [2022-05-10T15:54:59.164Z] v2.2.0-dev.22 [2022-05-10T15:54:59.164Z] v2.2.0-dev.23 [2022-05-10T15:54:59.164Z] v2.2.0-dev.24 [2022-05-10T15:54:59.164Z] v2.2.0-dev.25 [2022-05-10T15:54:59.164Z] v2.2.0-dev.26 [2022-05-10T15:54:59.164Z] v2.2.0-dev.27 [2022-05-10T15:54:59.164Z] v2.2.0-dev.28 [2022-05-10T15:54:59.164Z] v2.2.0-dev.29 [2022-05-10T15:54:59.164Z] v2.2.0-dev.3 [2022-05-10T15:54:59.164Z] v2.2.0-dev.30 [2022-05-10T15:54:59.164Z] v2.2.0-dev.31 [2022-05-10T15:54:59.164Z] v2.2.0-dev.32 [2022-05-10T15:54:59.164Z] v2.2.0-dev.33 [2022-05-10T15:54:59.164Z] v2.2.0-dev.34 [2022-05-10T15:54:59.164Z] v2.2.0-dev.35 [2022-05-10T15:54:59.164Z] v2.2.0-dev.36 [2022-05-10T15:54:59.164Z] v2.2.0-dev.37 [2022-05-10T15:54:59.164Z] v2.2.0-dev.38 [2022-05-10T15:54:59.164Z] v2.2.0-dev.39 [2022-05-10T15:54:59.164Z] v2.2.0-dev.4 [2022-05-10T15:54:59.164Z] v2.2.0-dev.40 [2022-05-10T15:54:59.164Z] v2.2.0-dev.5 [2022-05-10T15:54:59.164Z] v2.2.0-dev.6 [2022-05-10T15:54:59.164Z] v2.2.0-dev.7 [2022-05-10T15:54:59.164Z] v2.2.0-dev.8 [2022-05-10T15:54:59.164Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T15:54:59.456Z] + lftools sign git-tag v2.2.0-dev.40 [2022-05-10T15:55:00.026Z] Signing Git tag with Sigul... [2022-05-10T15:55:00.026Z] Signing v2.2.0-dev.40 [Pipeline] echo [2022-05-10T15:55:00.299Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:00.592Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T15:55:00.602Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T15:55:00.626Z] $ docker stop --time=1 ca4f1b8580d41d150f2b81b2bdf57d1f3642e9b4eba1fdcc1237d5e3bf0bc8d8 [2022-05-10T15:55:01.919Z] $ docker rm -f ca4f1b8580d41d150f2b81b2bdf57d1f3642e9b4eba1fdcc1237d5e3bf0bc8d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T15:55:02.337Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T15:55:02.337Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:55:02.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:55:02.640Z] . [Pipeline] withDockerContainer [2022-05-10T15:55:02.714Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:55:02.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T15:55:03.123Z] $ docker top 14033daf611380d9a515601fa1dd38e1cd8bf59dcb2e71180785249c61e357d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T15:55:03.225Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T15:55:03.225Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T15:55:03.344Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T15:55:03.351Z] $ docker exec 14033daf611380d9a515601fa1dd38e1cd8bf59dcb2e71180785249c61e357d5 ssh-agent [2022-05-10T15:55:03.456Z] SSH_AUTH_SOCK=/tmp/ssh-0IlD76X6vDLb/agent.32 [2022-05-10T15:55:03.456Z] SSH_AGENT_PID=39 [2022-05-10T15:55:03.462Z] Running ssh-add (command line suppressed) [2022-05-10T15:55:03.581Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1104921862638568998.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1104921862638568998.key) [2022-05-10T15:55:03.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T15:55:03.890Z] + git semver bump pre [2022-05-10T15:55:04.149Z] 2022-05-10 15:55:04,071 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:55:04.149Z] 2022-05-10 15:55:04,071 [bump_version] DEBUG bumping version:2.2.0-dev.40 on axis:pre with prefix:dev [2022-05-10T15:55:04.149Z] 2022-05-10 15:55:04,072 [bump_version] DEBUG bumped version:2.2.0-dev.41 [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,072 [write_version] DEBUG write version:2.2.0-dev.41 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,072 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,074 [execute] INFO git cat-file --batch-check [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,079 [execute] INFO git cat-file --batch [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T15:55:04.150Z] 2022-05-10 15:55:04,084 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:55:04.150Z] 2.2.0-dev.41 [Pipeline] } [2022-05-10T15:55:04.165Z] $ docker exec --env ******** --env ******** 14033daf611380d9a515601fa1dd38e1cd8bf59dcb2e71180785249c61e357d5 ssh-agent -k [2022-05-10T15:55:04.279Z] unset SSH_AUTH_SOCK; [2022-05-10T15:55:04.279Z] unset SSH_AGENT_PID; [2022-05-10T15:55:04.279Z] echo Agent pid 39 killed; [2022-05-10T15:55:04.287Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T15:55:04.597Z] + git semver [Pipeline] } [2022-05-10T15:55:04.876Z] $ docker stop --time=1 14033daf611380d9a515601fa1dd38e1cd8bf59dcb2e71180785249c61e357d5 [2022-05-10T15:55:06.169Z] $ docker rm -f 14033daf611380d9a515601fa1dd38e1cd8bf59dcb2e71180785249c61e357d5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T15:55:06.521Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T15:55:06.522Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:55:06.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T15:55:06.817Z] . [Pipeline] withDockerContainer [2022-05-10T15:55:06.881Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:55:06.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T15:55:07.278Z] $ docker top 0584c6a22dd30363f9cb2c00ce81e5c27b627e895cac99c6fabd25152922ac5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T15:55:07.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T15:55:07.384Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T15:55:07.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T15:55:07.517Z] $ docker exec 0584c6a22dd30363f9cb2c00ce81e5c27b627e895cac99c6fabd25152922ac5f ssh-agent [2022-05-10T15:55:07.652Z] SSH_AUTH_SOCK=/tmp/ssh-6upqrDEwXkwa/agent.33 [2022-05-10T15:55:07.652Z] SSH_AGENT_PID=39 [2022-05-10T15:55:07.674Z] Running ssh-add (command line suppressed) [2022-05-10T15:55:07.797Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2979657020304556876.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2979657020304556876.key) [2022-05-10T15:55:07.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T15:55:08.134Z] + git semver push [2022-05-10T15:55:08.394Z] 2022-05-10 15:55:08,329 [run_push] DEBUG push [2022-05-10T15:55:08.394Z] 2022-05-10 15:55:08,329 [execute] INFO git push origin semver [2022-05-10T15:55:08.394Z] 2022-05-10 15:55:08,330 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-10T15:55:09.335Z] 2022-05-10 15:55:09,130 [run_push] DEBUG push all version tags [2022-05-10T15:55:09.335Z] 2022-05-10 15:55:09,130 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T15:55:09.335Z] 2022-05-10 15:55:09,131 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T15:55:09.905Z] 2022-05-10 15:55:09,887 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-05-10T15:55:09.905Z] 2.2.0-dev.41 [Pipeline] } [2022-05-10T15:55:09.919Z] $ docker exec --env ******** --env ******** 0584c6a22dd30363f9cb2c00ce81e5c27b627e895cac99c6fabd25152922ac5f ssh-agent -k [2022-05-10T15:55:10.032Z] unset SSH_AUTH_SOCK; [2022-05-10T15:55:10.032Z] unset SSH_AGENT_PID; [2022-05-10T15:55:10.032Z] echo Agent pid 39 killed; [2022-05-10T15:55:10.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T15:55:10.341Z] + git semver [Pipeline] } [2022-05-10T15:55:10.618Z] $ docker stop --time=1 0584c6a22dd30363f9cb2c00ce81e5c27b627e895cac99c6fabd25152922ac5f [2022-05-10T15:55:11.896Z] $ docker rm -f 0584c6a22dd30363f9cb2c00ce81e5c27b627e895cac99c6fabd25152922ac5f [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-10T15:55:12.541Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-05-10T15:55:12.541Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-10T15:55:12.541Z] total 16 [2022-05-10T15:55:12.541Z] drwxr-xr-x 3 root root 4096 May 10 15:43 . [2022-05-10T15:55:12.541Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 15:54 .. [2022-05-10T15:55:12.541Z] drwxr-xr-x 2 root root 4096 May 10 15:43 cost [2022-05-10T15:55:12.541Z] -rw-r--r-- 1 root root 83 May 10 15:43 cost.csv [2022-05-10T15:55:12.541Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-10T15:55:12.541Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-05-10T15:55:12.541Z] total 16 [2022-05-10T15:55:12.541Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 15:43 . [2022-05-10T15:55:12.542Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 15:54 .. [2022-05-10T15:55:12.542Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 15:43 cost [2022-05-10T15:55:12.542Z] -rw-r--r-- 1 jenkins jenkins 83 May 10 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:12.840Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:13.713Z] ---> package-listing.sh [2022-05-10T15:55:13.713Z] ++ facter osfamily [2022-05-10T15:55:13.713Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T15:55:13.975Z] + OS_FAMILY=debian [2022-05-10T15:55:13.975Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-05-10T15:55:13.975Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T15:55:13.975Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T15:55:13.975Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T15:55:13.975Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T15:55:13.975Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-10T15:55:13.975Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T15:55:13.975Z] + case "${OS_FAMILY}" in [2022-05-10T15:55:13.975Z] + dpkg -l [2022-05-10T15:55:13.975Z] + grep '^ii' [2022-05-10T15:55:13.975Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T15:55:13.975Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T15:55:13.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T15:55:13.975Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-05-10T15:55:13.975Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-05-10T15:55:13.975Z] + 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-10T15:55:13.989Z] 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-10T15:55:14.270Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T15:55:14.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T15:55:14.822Z] . [Pipeline] withDockerContainer [2022-05-10T15:55:14.890Z] prd-ubuntu20.04-docker-8c-8g-47785 does not seem to be running inside a container [2022-05-10T15:55:14.928Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T15:55:15.190Z] $ docker top 6fe9fa8b7d07075733675c7d915bef14fb3afbe0b02fb2debd0a9cd090913198 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T15:55:15.533Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T15:55:15.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T15:55:16.110Z] + ls /var/log/sa-host [2022-05-10T15:55:16.110Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T15:55:16.195Z] provisioning config files... [2022-05-10T15:55:16.205Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5557797370869126540tmp [Pipeline] { [Pipeline] echo [2022-05-10T15:55:16.222Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:16.504Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T15:55:16.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:16.838Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T15:55:16.848Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:17.135Z] ---> sudo-logs.sh [2022-05-10T15:55:17.135Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T15:55:17.168Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:17.456Z] ---> job-cost.sh [2022-05-10T15:55:17.456Z] lf-activate-venv: SKIPPING [2022-05-10T15:55:17.456Z] DEBUG: total: 0.2199999988079071 [2022-05-10T15:55:17.456Z] INFO: Retrieving Stack Cost... [2022-05-10T15:55:18.029Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T15:55:18.290Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T15:55:18.306Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T15:55:18.591Z] ---> logs-deploy.sh [2022-05-10T15:55:18.591Z] lf-activate-venv: SKIPPING [2022-05-10T15:55:18.591Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/74 [2022-05-10T15:55:18.591Z] INFO: archiving workspace using pattern(s): [2022-05-10T15:55:19.532Z] Archives upload complete. [2022-05-10T15:55:19.532Z] INFO: archiving logs to Nexus