Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b3c8352dddffb55a33ce15791a32ab0061559949 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-ssh11578083782719892395.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-ssh5241054207270967587.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-virtual-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-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3040409594822664871.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-ssh17224946391230378811.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-virtual-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-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13557951031612388062.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-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 ‘prd-ubuntu20.04-docker-8c-8g-41800’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41802 in /w/workspace/exfoundry_device-virtual-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-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3c8352dddffb55a33ce15791a32ab0061559949 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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 b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 Commit message: "Merge pull request #284 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" > git rev-list --no-walk 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-09T11:18:45.380Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T11:18:45.419Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T11:18:45.431Z] ========================================================= [2022-05-09T11:18:45.431Z] EdgeX Global Pipelines Version Info [2022-05-09T11:18:45.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:18:46.236Z] ------------------- [2022-05-09T11:18:46.237Z] stable info: [2022-05-09T11:18:46.237Z] ------------------- [2022-05-09T11:18:46.237Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T11:18:46.237Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T11:18:46.237Z] Message: update stable to v1.0.227 [2022-05-09T11:18:46.810Z] ------------------- [2022-05-09T11:18:46.810Z] experimental info: [2022-05-09T11:18:46.810Z] ------------------- [2022-05-09T11:18:46.810Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T11:18:46.810Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T11:18:46.810Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T11:18:46.929Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-05-09T11:18:46.940Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-05-09T11:18:46.951Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T11:18:46.963Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T11:18:46.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T11:18:46.986Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T11:18:46.998Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T11:18:47.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-09T11:18:47.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T11:18:47.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T11:18:47.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T11:18:47.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-05-09T11:18:47.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T11:18:47.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T11:18:47.092Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T11:18:47.104Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T11:18:47.117Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T11:18:47.136Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T11:18:47.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T11:18:47.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T11:18:47.179Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-09T11:18:47.193Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-09T11:18:47.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T11:18:47.216Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T11:18:47.228Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-09T11:18:47.240Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T11:18:47.253Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-09T11:18:47.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-09T11:18:47.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-09T11:18:47.292Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo [2022-05-09T11:18:47.307Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3c8352 [Pipeline] echo [2022-05-09T11:18:47.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:18:47.372Z] provisioning config files... [2022-05-09T11:18:47.386Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2875131618066447645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:18:47.775Z] ---> docker-login.sh [2022-05-09T11:18:47.776Z] nexus3.edgexfoundry.org:10001 [2022-05-09T11:18:48.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:18:48.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:18:48.351Z] Configure a credential helper to remove this warning. See [2022-05-09T11:18:48.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:18:48.351Z] [2022-05-09T11:18:48.351Z] Login Succeeded [2022-05-09T11:18:48.351Z] nexus3.edgexfoundry.org:10002 [2022-05-09T11:18:48.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:18:48.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:18:48.612Z] Configure a credential helper to remove this warning. See [2022-05-09T11:18:48.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:18:48.612Z] [2022-05-09T11:18:48.612Z] Login Succeeded [2022-05-09T11:18:48.612Z] nexus3.edgexfoundry.org:10003 [2022-05-09T11:18:48.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:18:48.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:18:48.874Z] Configure a credential helper to remove this warning. See [2022-05-09T11:18:48.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:18:48.874Z] [2022-05-09T11:18:48.874Z] Login Succeeded [2022-05-09T11:18:48.874Z] nexus3.edgexfoundry.org:10004 [2022-05-09T11:18:48.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:18:48.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:18:48.874Z] Configure a credential helper to remove this warning. See [2022-05-09T11:18:48.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:18:48.874Z] [2022-05-09T11:18:48.874Z] Login Succeeded [2022-05-09T11:18:48.874Z] docker.io [2022-05-09T11:18:48.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:18:49.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:18:49.448Z] Configure a credential helper to remove this warning. See [2022-05-09T11:18:49.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:18:49.448Z] [2022-05-09T11:18:49.448Z] Login Succeeded [2022-05-09T11:18:49.448Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T11:18:49.458Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-09T11:18:49.846Z] + git rev-list -1 --merges b3c8352dddffb55a33ce15791a32ab0061559949~1..b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo [2022-05-09T11:18:49.877Z] -----------> git rev-list -1 --merges b3c8352dddffb55a33ce15791a32ab0061559949~1..b3c8352dddffb55a33ce15791a32ab0061559949 b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:18:49.877Z] b3c8352dddffb55a33ce15791a32ab0061559949 [false] [Pipeline] sh [2022-05-09T11:18:50.172Z] + git log --format=format:%s -1 b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo [2022-05-09T11:18:50.191Z] ========================================================= [2022-05-09T11:18:50.191Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T11:18:50.191Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T11:18:50.542Z] + git log --format=format:%s -1 b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo [2022-05-09T11:18:50.556Z] [semverPrep] GIT_COMMIT: b3c8352dddffb55a33ce15791a32ab0061559949, Commit Message: Merge pull request #284 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37 [Pipeline] echo [2022-05-09T11:18:50.567Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T11:18:50.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:18:50.955Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T11:18:50.955Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T11:18:50.955Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T11:18:50.955Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T11:18:50.955Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T11:18:50.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:18:51.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:18:51.304Z] [2022-05-09T11:18:51.304Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:18:51.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:18:51.602Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T11:18:51.602Z] 1fe172e4850f: Pulling fs layer [2022-05-09T11:18:51.602Z] caf521ccaac6: Pulling fs layer [2022-05-09T11:18:51.602Z] 3ead6fa29328: Pulling fs layer [2022-05-09T11:18:51.602Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T11:18:51.602Z] a8d5f1318db7: Pulling fs layer [2022-05-09T11:18:51.602Z] c427282e49a2: Pulling fs layer [2022-05-09T11:18:51.602Z] 1827001aaf11: Pulling fs layer [2022-05-09T11:18:51.602Z] 0714d37db230: Pulling fs layer [2022-05-09T11:18:51.602Z] ac28cf19c067: Pulling fs layer [2022-05-09T11:18:51.602Z] ca983d60f3e2: Pulling fs layer [2022-05-09T11:18:51.602Z] 9f894cec8388: Pulling fs layer [2022-05-09T11:18:51.602Z] 5c2a1cbceb83: Waiting [2022-05-09T11:18:51.602Z] a8d5f1318db7: Waiting [2022-05-09T11:18:51.602Z] ac28cf19c067: Waiting [2022-05-09T11:18:51.602Z] c427282e49a2: Waiting [2022-05-09T11:18:51.602Z] 1827001aaf11: Waiting [2022-05-09T11:18:51.602Z] ca983d60f3e2: Waiting [2022-05-09T11:18:51.602Z] 0714d37db230: Waiting [2022-05-09T11:18:51.602Z] 9f894cec8388: Waiting [2022-05-09T11:18:51.602Z] caf521ccaac6: Download complete [2022-05-09T11:18:51.602Z] 5c2a1cbceb83: Verifying Checksum [2022-05-09T11:18:51.602Z] 5c2a1cbceb83: Download complete [2022-05-09T11:18:51.863Z] a8d5f1318db7: Verifying Checksum [2022-05-09T11:18:51.863Z] a8d5f1318db7: Download complete [2022-05-09T11:18:51.863Z] 3ead6fa29328: Verifying Checksum [2022-05-09T11:18:51.863Z] 3ead6fa29328: Download complete [2022-05-09T11:18:51.863Z] c427282e49a2: Verifying Checksum [2022-05-09T11:18:51.863Z] c427282e49a2: Download complete [2022-05-09T11:18:51.863Z] 0714d37db230: Verifying Checksum [2022-05-09T11:18:51.863Z] 0714d37db230: Download complete [2022-05-09T11:18:51.863Z] ac28cf19c067: Download complete [2022-05-09T11:18:51.863Z] ca983d60f3e2: Download complete [2022-05-09T11:18:51.863Z] 9f894cec8388: Download complete [2022-05-09T11:18:51.863Z] 1fe172e4850f: Download complete [2022-05-09T11:18:52.124Z] 1827001aaf11: Verifying Checksum [2022-05-09T11:18:52.124Z] 1827001aaf11: Download complete [2022-05-09T11:18:53.509Z] 1fe172e4850f: Pull complete [2022-05-09T11:18:53.509Z] caf521ccaac6: Pull complete [2022-05-09T11:18:54.080Z] 3ead6fa29328: Pull complete [2022-05-09T11:18:54.080Z] 5c2a1cbceb83: Pull complete [2022-05-09T11:18:54.342Z] a8d5f1318db7: Pull complete [2022-05-09T11:18:54.603Z] c427282e49a2: Pull complete [2022-05-09T11:18:57.158Z] 1827001aaf11: Pull complete [2022-05-09T11:18:57.158Z] 0714d37db230: Pull complete [2022-05-09T11:18:57.158Z] ac28cf19c067: Pull complete [2022-05-09T11:18:57.421Z] ca983d60f3e2: Pull complete [2022-05-09T11:18:57.684Z] 9f894cec8388: Pull complete [2022-05-09T11:18:57.684Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T11:18:57.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:18:57.684Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T11:18:57.767Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:18:57.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T11:18:59.711Z] $ docker top c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 -eo pid,comm [2022-05-09T11:18:59.808Z] 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-09T11:18:59.808Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:18:59.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:18:59.853Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:18:59.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:19:00.000Z] $ docker exec c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent [2022-05-09T11:19:00.125Z] SSH_AUTH_SOCK=/tmp/ssh-UNk9lIYSnGXK/agent.33 [2022-05-09T11:19:00.125Z] SSH_AGENT_PID=39 [2022-05-09T11:19:00.133Z] Running ssh-add (command line suppressed) [2022-05-09T11:19:00.242Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3531522599533622082.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3531522599533622082.key) [2022-05-09T11:19:00.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:19:00.554Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T11:19:00.580Z] $ docker exec --env ******** --env ******** c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent -k [2022-05-09T11:19:00.699Z] unset SSH_AUTH_SOCK; [2022-05-09T11:19:00.699Z] unset SSH_AGENT_PID; [2022-05-09T11:19:00.700Z] echo Agent pid 39 killed; [2022-05-09T11:19:00.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T11:19:00.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:19:00.740Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:19:00.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:19:00.886Z] $ docker exec c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent [2022-05-09T11:19:01.015Z] SSH_AUTH_SOCK=/tmp/ssh-LzAr5gQuefT0/agent.71 [2022-05-09T11:19:01.015Z] SSH_AGENT_PID=78 [2022-05-09T11:19:01.021Z] Running ssh-add (command line suppressed) [2022-05-09T11:19:01.145Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7682588690200637001.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7682588690200637001.key) [2022-05-09T11:19:01.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:19:01.458Z] + git semver init [2022-05-09T11:19:01.719Z] 2022-05-09 11:19:01,658 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T11:19:01.719Z] 2022-05-09 11:19:01,659 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-09T11:19:01.719Z] 2022-05-09 11:19:01,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-09T11:19:01.719Z] 2022-05-09 11:19:01,660 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:19:03.106Z] 2022-05-09 11:19:02,739 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2022-05-09T11:19:03.106Z] 2022-05-09 11:19:02,739 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2022-05-09T11:19:03.106Z] 2022-05-09 11:19:02,739 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:19:03.106Z] 2022-05-09 11:19:02,739 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:19:03.106Z] 2.2.0-dev.16 [Pipeline] } [2022-05-09T11:19:03.121Z] $ docker exec --env ******** --env ******** c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent -k [2022-05-09T11:19:03.244Z] unset SSH_AUTH_SOCK; [2022-05-09T11:19:03.244Z] unset SSH_AGENT_PID; [2022-05-09T11:19:03.244Z] echo Agent pid 78 killed; [2022-05-09T11:19:03.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:19:03.574Z] + git semver [Pipeline] } [2022-05-09T11:19:03.855Z] $ docker stop --time=1 c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 [2022-05-09T11:19:05.187Z] $ docker rm -f c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T11:19:05.570Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T11:19:05.891Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T11:19:05.896Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [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-09T11:19:06.012Z] provisioning config files... [2022-05-09T11:19:06.022Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4542244293866118192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:19:06.330Z] ---> docker-login.sh [2022-05-09T11:19:06.330Z] nexus3.edgexfoundry.org:10001 [2022-05-09T11:19:06.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:19:06.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:19:06.330Z] Configure a credential helper to remove this warning. See [2022-05-09T11:19:06.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:19:06.330Z] [2022-05-09T11:19:06.330Z] Login Succeeded [2022-05-09T11:19:06.330Z] nexus3.edgexfoundry.org:10002 [2022-05-09T11:19:06.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:19:06.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:19:06.591Z] Configure a credential helper to remove this warning. See [2022-05-09T11:19:06.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:19:06.591Z] [2022-05-09T11:19:06.591Z] Login Succeeded [2022-05-09T11:19:06.591Z] nexus3.edgexfoundry.org:10003 [2022-05-09T11:19:06.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:19:06.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:19:06.591Z] Configure a credential helper to remove this warning. See [2022-05-09T11:19:06.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:19:06.591Z] [2022-05-09T11:19:06.591Z] Login Succeeded [2022-05-09T11:19:06.591Z] nexus3.edgexfoundry.org:10004 [2022-05-09T11:19:06.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:19:06.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:19:06.852Z] Configure a credential helper to remove this warning. See [2022-05-09T11:19:06.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:19:06.853Z] [2022-05-09T11:19:06.853Z] Login Succeeded [2022-05-09T11:19:06.853Z] docker.io [2022-05-09T11:19:06.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:19:07.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:19:07.117Z] Configure a credential helper to remove this warning. See [2022-05-09T11:19:07.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:19:07.117Z] [2022-05-09T11:19:07.117Z] Login Succeeded [2022-05-09T11:19:07.117Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T11:19:07.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T11:19:07.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T11:19:07.201Z] ========================================================= [2022-05-09T11:19:07.201Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T11:19:07.201Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:19:07.519Z] + docker build -t ci-base-image-x86_64 -f 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-09T11:19:07.519Z] Sending build context to Docker daemon 22.91MB [2022-05-09T11:19:07.519Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T11:19:07.519Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T11:19:07.780Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T11:19:07.780Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T11:19:07.780Z] 666ba61612fd: Pulling fs layer [2022-05-09T11:19:07.780Z] 8ed8ca486205: Pulling fs layer [2022-05-09T11:19:07.780Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T11:19:07.780Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T11:19:07.780Z] ca2b28591e48: Pulling fs layer [2022-05-09T11:19:07.780Z] a51346096db8: Pulling fs layer [2022-05-09T11:19:07.780Z] daebc70d1ce1: Pulling fs layer [2022-05-09T11:19:07.780Z] 0e18a0eac166: Pulling fs layer [2022-05-09T11:19:07.780Z] ca2b28591e48: Waiting [2022-05-09T11:19:07.780Z] a51346096db8: Waiting [2022-05-09T11:19:07.780Z] daebc70d1ce1: Waiting [2022-05-09T11:19:07.780Z] 22a0e8bec74d: Waiting [2022-05-09T11:19:07.780Z] 4fe6c5a15a65: Waiting [2022-05-09T11:19:07.780Z] 8ed8ca486205: Verifying Checksum [2022-05-09T11:19:07.780Z] 8ed8ca486205: Download complete [2022-05-09T11:19:07.780Z] 666ba61612fd: Verifying Checksum [2022-05-09T11:19:07.780Z] 666ba61612fd: Download complete [2022-05-09T11:19:07.780Z] 22a0e8bec74d: Verifying Checksum [2022-05-09T11:19:07.780Z] 22a0e8bec74d: Download complete [2022-05-09T11:19:07.780Z] ca2b28591e48: Verifying Checksum [2022-05-09T11:19:07.780Z] ca2b28591e48: Download complete [2022-05-09T11:19:07.780Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T11:19:07.780Z] 59bf1c3509f3: Download complete [2022-05-09T11:19:07.780Z] a51346096db8: Verifying Checksum [2022-05-09T11:19:07.780Z] a51346096db8: Download complete [2022-05-09T11:19:07.780Z] daebc70d1ce1: Verifying Checksum [2022-05-09T11:19:07.780Z] daebc70d1ce1: Download complete [2022-05-09T11:19:08.042Z] 59bf1c3509f3: Pull complete [2022-05-09T11:19:08.042Z] 666ba61612fd: Pull complete [2022-05-09T11:19:08.042Z] 8ed8ca486205: Pull complete [2022-05-09T11:19:08.617Z] 0e18a0eac166: Verifying Checksum [2022-05-09T11:19:08.617Z] 0e18a0eac166: Download complete [2022-05-09T11:19:08.617Z] 4fe6c5a15a65: Verifying Checksum [2022-05-09T11:19:08.617Z] 4fe6c5a15a65: Download complete [2022-05-09T11:19:12.823Z] 4fe6c5a15a65: Pull complete [2022-05-09T11:19:12.823Z] 22a0e8bec74d: Pull complete [2022-05-09T11:19:12.823Z] ca2b28591e48: Pull complete [2022-05-09T11:19:12.823Z] a51346096db8: Pull complete [2022-05-09T11:19:12.823Z] daebc70d1ce1: Pull complete [2022-05-09T11:19:15.364Z] 0e18a0eac166: Pull complete [2022-05-09T11:19:15.364Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T11:19:15.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T11:19:15.364Z] ---> f018257e8ee9 [2022-05-09T11:19:15.364Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T11:19:16.750Z] ---> Running in b9df0afadb65 [2022-05-09T11:19:16.750Z] Removing intermediate container b9df0afadb65 [2022-05-09T11:19:16.750Z] ---> fed474874d58 [2022-05-09T11:19:16.750Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T11:19:16.750Z] ---> Running in c32061ca982b [2022-05-09T11:19:16.750Z] Removing intermediate container c32061ca982b [2022-05-09T11:19:16.750Z] ---> 0782cbb78c35 [2022-05-09T11:19:16.750Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-09T11:19:16.750Z] ---> Running in 3d240246d6b5 [2022-05-09T11:19:16.750Z] Removing intermediate container 3d240246d6b5 [2022-05-09T11:19:16.750Z] ---> 61e652670dc8 [2022-05-09T11:19:16.750Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:19:16.750Z] ---> Running in 331f8b7ebecc [2022-05-09T11:19:17.321Z] Removing intermediate container 331f8b7ebecc [2022-05-09T11:19:17.321Z] ---> d5a51fade568 [2022-05-09T11:19:17.321Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T11:19:17.581Z] ---> Running in 7963d74377df [2022-05-09T11:19:17.842Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T11:19:18.783Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T11:19:19.044Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T11:19:19.044Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T11:19:19.044Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T11:19:19.305Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T11:19:19.305Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T11:19:19.305Z] OK: 224 MiB in 56 packages [2022-05-09T11:19:19.878Z] Removing intermediate container 7963d74377df [2022-05-09T11:19:19.878Z] ---> 3c2d377a2bc4 [2022-05-09T11:19:19.878Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-09T11:19:19.878Z] ---> 9f4539bebe3b [2022-05-09T11:19:19.878Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T11:19:20.147Z] ---> Running in 3869531d4695 [2022-05-09T11:19:20.978Z] Still waiting to schedule task [2022-05-09T11:19:20.978Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-41801’ is offline [2022-05-09T11:19:38.283Z] Removing intermediate container 3869531d4695 [2022-05-09T11:19:38.283Z] ---> 3158d4fd5a52 [2022-05-09T11:19:38.283Z] Step 10/12 : COPY . . [2022-05-09T11:19:38.283Z] ---> 36e7e15e0c4b [2022-05-09T11:19:38.283Z] Step 11/12 : ARG MAKE='make build' [2022-05-09T11:19:38.283Z] ---> Running in 5cf06141db8d [2022-05-09T11:19:38.283Z] Removing intermediate container 5cf06141db8d [2022-05-09T11:19:38.283Z] ---> 598e0eafdfc3 [2022-05-09T11:19:38.283Z] Step 12/12 : RUN $MAKE [2022-05-09T11:19:38.543Z] ---> Running in 7a0f66ed5c43 [2022-05-09T11:19:38.804Z] noop [2022-05-09T11:19:39.064Z] Removing intermediate container 7a0f66ed5c43 [2022-05-09T11:19:39.064Z] ---> 66d575c6a5b4 [2022-05-09T11:19:39.064Z] Successfully built 66d575c6a5b4 [2022-05-09T11:19:39.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:19:39.360Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T11:19:39.360Z] . [Pipeline] withDockerContainer [2022-05-09T11:19:39.428Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:19:39.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-09T11:19:39.874Z] $ docker top 9345715464c7021d87145b004c4a4fd30c75f4e429e00e2f11c1c3a8d2546e70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T11:19:40.226Z] + go version [2022-05-09T11:19:40.226Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T11:19:40.241Z] $ docker stop --time=1 9345715464c7021d87145b004c4a4fd30c75f4e429e00e2f11c1c3a8d2546e70 [2022-05-09T11:19:41.529Z] $ docker rm -f 9345715464c7021d87145b004c4a4fd30c75f4e429e00e2f11c1c3a8d2546e70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:19:41.945Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T11:19:41.945Z] . [Pipeline] withDockerContainer [2022-05-09T11:19:42.056Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:19:42.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-09T11:19:42.498Z] $ docker top 9cfcf9d2d4b299165b0d6b4dc28bdde223700c897baf9bfe075864b7c8798057 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T11:19:42.861Z] + make test [2022-05-09T11:19:42.862Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-09T11:19:43.121Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-09T11:19:53.109Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-09T11:19:53.109Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-05-09T11:19:58.393Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T11:20:02.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T11:20:02.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T11:20:02.593Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T11:20:02.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T11:20:02.885Z] $ docker stop --time=1 9cfcf9d2d4b299165b0d6b4dc28bdde223700c897baf9bfe075864b7c8798057 [2022-05-09T11:20:04.753Z] $ docker rm -f 9cfcf9d2d4b299165b0d6b4dc28bdde223700c897baf9bfe075864b7c8798057 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T11:20:05.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T11:20:05.269Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-09T11:20:05.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T11:20:06.259Z] + ls -al . [2022-05-09T11:20:06.259Z] total 184 [2022-05-09T11:20:06.260Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:20 . [2022-05-09T11:20:06.260Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:18 .. [2022-05-09T11:20:06.260Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:19 .git [2022-05-09T11:20:06.260Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:18 .github [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 270 May 9 11:18 .gitignore [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 11:18 .golangci.yml [2022-05-09T11:20:06.260Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 11:19 .semver [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 9 11:18 Attribution.txt [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 6349 May 9 11:18 CHANGELOG.md [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 9 11:18 Dockerfile [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 11:18 GOVERNANCE.md [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 660 May 9 11:18 Jenkinsfile [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:18 LICENSE [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 9 11:18 Makefile [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 623 May 9 11:18 OWNERS.md [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 9 11:18 README.md [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 11:19 VERSION [2022-05-09T11:20:06.260Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:18 bin [2022-05-09T11:20:06.260Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:18 cmd [2022-05-09T11:20:06.260Z] -rw-r--r-- 1 jenkins jenkins 44128 May 9 11:19 coverage.out [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 3185 May 9 11:18 go.mod [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 35216 May 9 11:18 go.sum [2022-05-09T11:20:06.260Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:18 internal [2022-05-09T11:20:06.260Z] -rw-rw-r-- 1 jenkins jenkins 235 May 9 11:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:06.592Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b3c8352dddffb55a33ce15791a32ab0061559949 --label arch=amd64 --label version=2.2.0-dev.16 . [2022-05-09T11:20:06.592Z] Sending build context to Docker daemon 22.96MB [2022-05-09T11:20:06.592Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T11:20:06.592Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-09T11:20:06.592Z] ---> 66d575c6a5b4 [2022-05-09T11:20:06.592Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T11:20:06.853Z] ---> Running in a4ee22a28864 [2022-05-09T11:20:06.853Z] Removing intermediate container a4ee22a28864 [2022-05-09T11:20:06.853Z] ---> b4896142c0a7 [2022-05-09T11:20:06.853Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T11:20:07.114Z] ---> Running in 8121315ae37f [2022-05-09T11:20:07.114Z] Removing intermediate container 8121315ae37f [2022-05-09T11:20:07.114Z] ---> fe6748d58fb5 [2022-05-09T11:20:07.114Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-09T11:20:07.114Z] ---> Running in 1a1e009c404a [2022-05-09T11:20:07.376Z] Removing intermediate container 1a1e009c404a [2022-05-09T11:20:07.376Z] ---> 0ac6f5d90ca1 [2022-05-09T11:20:07.376Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:20:07.376Z] ---> Running in 82cc62485614 [2022-05-09T11:20:07.979Z] Removing intermediate container 82cc62485614 [2022-05-09T11:20:07.979Z] ---> 58af45c566b1 [2022-05-09T11:20:07.979Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T11:20:08.240Z] ---> Running in 768f94aa2118 [2022-05-09T11:20:08.813Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T11:20:09.757Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T11:20:09.757Z] OK: 224 MiB in 56 packages [2022-05-09T11:20:10.328Z] Removing intermediate container 768f94aa2118 [2022-05-09T11:20:10.328Z] ---> 56d34fef0223 [2022-05-09T11:20:10.328Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-09T11:20:10.589Z] ---> 7d497a4a4f74 [2022-05-09T11:20:10.589Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T11:20:10.589Z] ---> Running in 9762a44fb2b0 [2022-05-09T11:20:11.160Z] Removing intermediate container 9762a44fb2b0 [2022-05-09T11:20:11.160Z] ---> 56f897f85e88 [2022-05-09T11:20:11.160Z] Step 10/26 : COPY . . [2022-05-09T11:20:11.731Z] ---> 3cc845941b77 [2022-05-09T11:20:11.731Z] Step 11/26 : ARG MAKE='make build' [2022-05-09T11:20:11.731Z] ---> Running in 9a780505ca86 [2022-05-09T11:20:11.731Z] Removing intermediate container 9a780505ca86 [2022-05-09T11:20:11.731Z] ---> df3d8d075da3 [2022-05-09T11:20:11.731Z] Step 12/26 : RUN $MAKE [2022-05-09T11:20:11.731Z] ---> Running in 83e3068aa7a2 [2022-05-09T11:20:11.990Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-09T11:20:33.943Z] Removing intermediate container 83e3068aa7a2 [2022-05-09T11:20:33.943Z] ---> 6d3815b8f6fd [2022-05-09T11:20:33.943Z] Step 13/26 : FROM alpine:3.14 [2022-05-09T11:20:33.943Z] 3.14: Pulling from library/alpine [2022-05-09T11:20:33.943Z] 8663204ce13b: Pulling fs layer [2022-05-09T11:20:33.943Z] 8663204ce13b: Verifying Checksum [2022-05-09T11:20:33.943Z] 8663204ce13b: Download complete [2022-05-09T11:20:33.943Z] 8663204ce13b: Pull complete [2022-05-09T11:20:33.943Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T11:20:33.943Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T11:20:33.943Z] ---> e04c818066af [2022-05-09T11:20:33.943Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-09T11:20:33.943Z] ---> Running in 3c5a498195ec [2022-05-09T11:20:33.943Z] Removing intermediate container 3c5a498195ec [2022-05-09T11:20:33.943Z] ---> afb4e00f48dd [2022-05-09T11:20:33.943Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:20:33.943Z] ---> Running in d41bf28505ef [2022-05-09T11:20:33.943Z] Removing intermediate container d41bf28505ef [2022-05-09T11:20:33.943Z] ---> 8abf02a81f47 [2022-05-09T11:20:33.943Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T11:20:33.943Z] ---> Running in 18233d31ee02 [2022-05-09T11:20:33.943Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-09T11:20:34.515Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-09T11:20:34.776Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T11:20:34.776Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T11:20:34.776Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T11:20:35.037Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T11:20:35.037Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T11:20:35.299Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T11:20:35.299Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T11:20:35.299Z] OK: 8 MiB in 20 packages [2022-05-09T11:20:35.559Z] Removing intermediate container 18233d31ee02 [2022-05-09T11:20:35.559Z] ---> a71a764d11df [2022-05-09T11:20:35.559Z] Step 17/26 : WORKDIR / [2022-05-09T11:20:35.820Z] ---> Running in ce35c7556510 [2022-05-09T11:20:35.820Z] Removing intermediate container ce35c7556510 [2022-05-09T11:20:35.820Z] ---> 59aafcf14522 [2022-05-09T11:20:35.820Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-09T11:20:35.820Z] ---> 4f83bdae25d3 [2022-05-09T11:20:35.820Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-09T11:20:36.079Z] ---> ace5567ea34a [2022-05-09T11:20:36.079Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-09T11:20:36.651Z] ---> 43066529a740 [2022-05-09T11:20:36.651Z] Step 21/26 : EXPOSE 59900 [2022-05-09T11:20:36.651Z] ---> Running in c4ad24da0ea5 [2022-05-09T11:20:36.911Z] Removing intermediate container c4ad24da0ea5 [2022-05-09T11:20:36.911Z] ---> e8b7baec39d8 [2022-05-09T11:20:36.911Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-09T11:20:36.911Z] ---> Running in b04ba937257e [2022-05-09T11:20:36.911Z] Removing intermediate container b04ba937257e [2022-05-09T11:20:36.911Z] ---> 0ffc1dce4649 [2022-05-09T11:20:36.911Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T11:20:36.911Z] ---> Running in 7f939f8e5ac5 [2022-05-09T11:20:37.172Z] Removing intermediate container 7f939f8e5ac5 [2022-05-09T11:20:37.172Z] ---> 1eec4ac3a12a [2022-05-09T11:20:37.172Z] Step 24/26 : LABEL arch=amd64 [2022-05-09T11:20:37.172Z] ---> Running in 41f749189f24 [2022-05-09T11:20:37.432Z] Removing intermediate container 41f749189f24 [2022-05-09T11:20:37.432Z] ---> 1ba9d7d92c1d [2022-05-09T11:20:37.432Z] Step 25/26 : LABEL git_sha=b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:20:37.432Z] ---> Running in d4d6f11666b0 [2022-05-09T11:20:37.692Z] Removing intermediate container d4d6f11666b0 [2022-05-09T11:20:37.692Z] ---> 4ab3268e6988 [2022-05-09T11:20:37.692Z] Step 26/26 : LABEL version=2.2.0-dev.16 [2022-05-09T11:20:37.692Z] ---> Running in e5a14a04cf1e [2022-05-09T11:20:37.952Z] Removing intermediate container e5a14a04cf1e [2022-05-09T11:20:37.952Z] ---> d0fac38f03cb [2022-05-09T11:20:37.952Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T11:20:37.952Z] Successfully built d0fac38f03cb [2022-05-09T11:20:37.952Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:20:38.068Z] provisioning config files... [2022-05-09T11:20:38.081Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3918964578232370747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:20:38.386Z] ---> docker-login.sh [2022-05-09T11:20:38.386Z] nexus3.edgexfoundry.org:10001 [2022-05-09T11:20:38.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:20:38.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:20:38.386Z] Configure a credential helper to remove this warning. See [2022-05-09T11:20:38.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:20:38.386Z] [2022-05-09T11:20:38.386Z] Login Succeeded [2022-05-09T11:20:38.386Z] nexus3.edgexfoundry.org:10002 [2022-05-09T11:20:38.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:20:38.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:20:38.647Z] Configure a credential helper to remove this warning. See [2022-05-09T11:20:38.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:20:38.647Z] [2022-05-09T11:20:38.647Z] Login Succeeded [2022-05-09T11:20:38.647Z] nexus3.edgexfoundry.org:10003 [2022-05-09T11:20:38.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:20:38.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:20:38.647Z] Configure a credential helper to remove this warning. See [2022-05-09T11:20:38.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:20:38.647Z] [2022-05-09T11:20:38.647Z] Login Succeeded [2022-05-09T11:20:38.647Z] nexus3.edgexfoundry.org:10004 [2022-05-09T11:20:38.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:20:38.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:20:38.909Z] Configure a credential helper to remove this warning. See [2022-05-09T11:20:38.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:20:38.909Z] [2022-05-09T11:20:38.909Z] Login Succeeded [2022-05-09T11:20:38.909Z] docker.io [2022-05-09T11:20:38.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:20:39.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:20:39.169Z] Configure a credential helper to remove this warning. See [2022-05-09T11:20:39.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:20:39.169Z] [2022-05-09T11:20:39.169Z] Login Succeeded [2022-05-09T11:20:39.169Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T11:20:39.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:20:39.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T11:20:39.237Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-05-09T11:20:39.237Z] b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:20:39.237Z] latest [2022-05-09T11:20:39.237Z] 2.2.0-dev.16 [2022-05-09T11:20:39.237Z] b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [2022-05-09T11:20:39.237Z] main [2022-05-09T11:20:39.237Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:39.562Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:39.856Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:20:39.857Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-09T11:20:39.857Z] 94fb45607103: Preparing [2022-05-09T11:20:39.857Z] 11e23ab68968: Preparing [2022-05-09T11:20:39.857Z] e6499d21ab49: Preparing [2022-05-09T11:20:39.857Z] 91b555db991b: Preparing [2022-05-09T11:20:39.857Z] f1bcea10058a: Preparing [2022-05-09T11:20:39.857Z] b541d28bf3b4: Preparing [2022-05-09T11:20:39.857Z] b541d28bf3b4: Waiting [2022-05-09T11:20:39.857Z] 11e23ab68968: Pushed [2022-05-09T11:20:39.857Z] e6499d21ab49: Pushed [2022-05-09T11:20:39.857Z] f1bcea10058a: Pushed [2022-05-09T11:20:39.857Z] b541d28bf3b4: Layer already exists [2022-05-09T11:20:40.118Z] 91b555db991b: Pushed [2022-05-09T11:20:42.673Z] 94fb45607103: Pushed [2022-05-09T11:20:42.673Z] b3c8352dddffb55a33ce15791a32ab0061559949: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:42.977Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:43.276Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-09T11:20:43.276Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-09T11:20:43.276Z] 94fb45607103: Preparing [2022-05-09T11:20:43.276Z] 11e23ab68968: Preparing [2022-05-09T11:20:43.276Z] e6499d21ab49: Preparing [2022-05-09T11:20:43.276Z] 91b555db991b: Preparing [2022-05-09T11:20:43.276Z] f1bcea10058a: Preparing [2022-05-09T11:20:43.276Z] b541d28bf3b4: Preparing [2022-05-09T11:20:43.276Z] b541d28bf3b4: Waiting [2022-05-09T11:20:43.276Z] 91b555db991b: Layer already exists [2022-05-09T11:20:43.276Z] f1bcea10058a: Layer already exists [2022-05-09T11:20:43.276Z] e6499d21ab49: Layer already exists [2022-05-09T11:20:43.276Z] 11e23ab68968: Layer already exists [2022-05-09T11:20:43.276Z] 94fb45607103: Layer already exists [2022-05-09T11:20:43.276Z] b541d28bf3b4: Layer already exists [2022-05-09T11:20:43.276Z] latest: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:43.581Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:43.875Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.16 [2022-05-09T11:20:43.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-09T11:20:43.875Z] 94fb45607103: Preparing [2022-05-09T11:20:43.875Z] 11e23ab68968: Preparing [2022-05-09T11:20:43.875Z] e6499d21ab49: Preparing [2022-05-09T11:20:43.875Z] 91b555db991b: Preparing [2022-05-09T11:20:43.875Z] f1bcea10058a: Preparing [2022-05-09T11:20:43.875Z] b541d28bf3b4: Preparing [2022-05-09T11:20:43.875Z] b541d28bf3b4: Waiting [2022-05-09T11:20:43.875Z] 94fb45607103: Layer already exists [2022-05-09T11:20:43.875Z] 11e23ab68968: Layer already exists [2022-05-09T11:20:43.875Z] 91b555db991b: Layer already exists [2022-05-09T11:20:43.875Z] e6499d21ab49: Layer already exists [2022-05-09T11:20:43.875Z] f1bcea10058a: Layer already exists [2022-05-09T11:20:43.875Z] b541d28bf3b4: Layer already exists [2022-05-09T11:20:43.875Z] 2.2.0-dev.16: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:44.183Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:44.490Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [2022-05-09T11:20:44.490Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-09T11:20:44.490Z] 94fb45607103: Preparing [2022-05-09T11:20:44.490Z] 11e23ab68968: Preparing [2022-05-09T11:20:44.490Z] e6499d21ab49: Preparing [2022-05-09T11:20:44.490Z] 91b555db991b: Preparing [2022-05-09T11:20:44.490Z] f1bcea10058a: Preparing [2022-05-09T11:20:44.490Z] b541d28bf3b4: Preparing [2022-05-09T11:20:44.490Z] b541d28bf3b4: Waiting [2022-05-09T11:20:44.490Z] 91b555db991b: Layer already exists [2022-05-09T11:20:44.490Z] 94fb45607103: Layer already exists [2022-05-09T11:20:44.490Z] 11e23ab68968: Layer already exists [2022-05-09T11:20:44.490Z] f1bcea10058a: Layer already exists [2022-05-09T11:20:44.490Z] e6499d21ab49: Layer already exists [2022-05-09T11:20:44.490Z] b541d28bf3b4: Layer already exists [2022-05-09T11:20:44.490Z] b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:44.784Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:45.080Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-05-09T11:20:45.081Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-09T11:20:45.081Z] 94fb45607103: Preparing [2022-05-09T11:20:45.081Z] 11e23ab68968: Preparing [2022-05-09T11:20:45.081Z] e6499d21ab49: Preparing [2022-05-09T11:20:45.081Z] 91b555db991b: Preparing [2022-05-09T11:20:45.081Z] f1bcea10058a: Preparing [2022-05-09T11:20:45.081Z] b541d28bf3b4: Preparing [2022-05-09T11:20:45.081Z] b541d28bf3b4: Waiting [2022-05-09T11:20:45.081Z] f1bcea10058a: Layer already exists [2022-05-09T11:20:45.081Z] 91b555db991b: Layer already exists [2022-05-09T11:20:45.081Z] 94fb45607103: Layer already exists [2022-05-09T11:20:45.081Z] e6499d21ab49: Layer already exists [2022-05-09T11:20:45.081Z] 11e23ab68968: Layer already exists [2022-05-09T11:20:45.081Z] b541d28bf3b4: Layer already exists [2022-05-09T11:20:45.081Z] main: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:20:45.122Z] ===================================================== [Pipeline] echo [2022-05-09T11:20:45.132Z] taggedImages: [2022-05-09T11:20:45.132Z] - nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:20:45.132Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-09T11:20:45.132Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.16 [2022-05-09T11:20:45.132Z] - nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [2022-05-09T11:20:45.132Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [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-09T11:20:45.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T11:20:45.491Z] [2022-05-09T11:20:45.491Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:20:45.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T11:20:45.792Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T11:20:45.792Z] 5eb5b503b376: Pulling fs layer [2022-05-09T11:20:45.792Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T11:20:45.792Z] ec43610c2a17: Pulling fs layer [2022-05-09T11:20:45.792Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T11:20:45.792Z] 33b1e0a273af: Pulling fs layer [2022-05-09T11:20:45.792Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T11:20:45.792Z] 2f39f015ded8: Pulling fs layer [2022-05-09T11:20:45.792Z] 33b1e0a273af: Waiting [2022-05-09T11:20:45.792Z] 5d3b04190fa2: Waiting [2022-05-09T11:20:45.792Z] 2f39f015ded8: Waiting [2022-05-09T11:20:45.792Z] 3a2ae6a8a46f: Waiting [2022-05-09T11:20:45.792Z] 5c69ac0246d0: Verifying Checksum [2022-05-09T11:20:45.792Z] 5c69ac0246d0: Download complete [2022-05-09T11:20:45.792Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-09T11:20:45.792Z] 3a2ae6a8a46f: Download complete [2022-05-09T11:20:45.792Z] 33b1e0a273af: Verifying Checksum [2022-05-09T11:20:45.792Z] 33b1e0a273af: Download complete [2022-05-09T11:20:45.792Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T11:20:45.792Z] 5d3b04190fa2: Download complete [2022-05-09T11:20:45.792Z] ec43610c2a17: Download complete [2022-05-09T11:20:46.056Z] 5eb5b503b376: Verifying Checksum [2022-05-09T11:20:46.056Z] 5eb5b503b376: Download complete [2022-05-09T11:20:46.627Z] 2f39f015ded8: Download complete [2022-05-09T11:20:47.195Z] 5eb5b503b376: Pull complete [2022-05-09T11:20:47.454Z] 5c69ac0246d0: Pull complete [2022-05-09T11:20:48.025Z] ec43610c2a17: Pull complete [2022-05-09T11:20:48.025Z] 3a2ae6a8a46f: Pull complete [2022-05-09T11:20:48.284Z] 33b1e0a273af: Pull complete [2022-05-09T11:20:48.284Z] 5d3b04190fa2: Pull complete [2022-05-09T11:20:52.583Z] 2f39f015ded8: Pull complete [2022-05-09T11:20:52.583Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T11:20:52.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T11:20:52.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T11:20:52.651Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:20:52.695Z] $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-09T11:20:54.393Z] $ docker top 5f853c0c7d90e3971f317d12016a8e63cf42b30679cc29505f823f7091f6296e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:20:54.821Z] ---> job-cost.sh [2022-05-09T11:20:54.821Z] lf-activate-venv: SKIPPING [2022-05-09T11:20:54.821Z] INFO: No Stack... [2022-05-09T11:20:55.081Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T11:20:55.651Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T11:20:55.948Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-05-09T11:20:55.948Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T11:20:55.966Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [2022-05-09T11:20:55.972Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] did not exist. Created. [2022-05-09T11:20:55.972Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T11:20:56.281Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T11:20:56.309Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T11:20:56.318Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T11:20:56.337Z] $ docker stop --time=1 5f853c0c7d90e3971f317d12016a8e63cf42b30679cc29505f823f7091f6296e [2022-05-09T11:20:57.484Z] $ docker rm -f 5f853c0c7d90e3971f317d12016a8e63cf42b30679cc29505f823f7091f6296e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T11:20:59.923Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41803 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-05-09T11:20:59.936Z] Running in /w/workspace/device-virtual-go/32 [Pipeline] { [Pipeline] checkout [2022-05-09T11:21:00.409Z] The recommended git tool is: git [2022-05-09T11:21:06.655Z] using credential edgex-jenkins-ssh [2022-05-09T11:21:06.671Z] Cloning the remote Git repository [2022-05-09T11:21:06.741Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-05-09T11:21:06.872Z] > git init /w/workspace/device-virtual-go/32 # timeout=10 [2022-05-09T11:21:06.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-05-09T11:21:06.955Z] > git --version # timeout=10 [2022-05-09T11:21:06.975Z] > git --version # 'git version 2.25.1' [2022-05-09T11:21:06.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T11:21:07.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T11:21:09.042Z] Avoid second fetch [2022-05-09T11:21:09.042Z] Checking out Revision b3c8352dddffb55a33ce15791a32ab0061559949 (main) [2022-05-09T11:21:09.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-05-09T11:21:09.025Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T11:21:09.067Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T11:21:09.081Z] > git checkout -f b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 [2022-05-09T11:21:13.257Z] Commit message: "Merge pull request #284 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T11:21:14.132Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T11:21:14.132Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T11:21:14.132Z] Dload Upload Total Spent Left Speed [2022-05-09T11:21:14.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10504 0 0 85398 0 --:--:-- --:--:-- --:--:-- 84709 100 11843 100 11843 0 0 94744 0 --:--:-- --:--:-- --:--:-- 94744 [Pipeline] sh [2022-05-09T11:21:14.673Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T11:21:15.016Z] + sudo tee /etc/docker/daemon.new [2022-05-09T11:21:15.016Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T11:21:15.016Z] { [2022-05-09T11:21:15.016Z] "registry-mirrors": [ [2022-05-09T11:21:15.016Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T11:21:15.016Z] ], [2022-05-09T11:21:15.016Z] "bip": "10.250.0.254/24", [2022-05-09T11:21:15.016Z] "hosts": [ [2022-05-09T11:21:15.016Z] "tcp://0.0.0.0:5555", [2022-05-09T11:21:15.016Z] "unix:///var/run/docker.sock" [2022-05-09T11:21:15.016Z] ], [2022-05-09T11:21:15.016Z] "mtu": 1458, [2022-05-09T11:21:15.016Z] "selinux-enabled": true, [2022-05-09T11:21:15.016Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T11:21:15.016Z] } [Pipeline] sh [2022-05-09T11:21:15.370Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T11:21:15.724Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:21:34.087Z] provisioning config files... [2022-05-09T11:21:34.110Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config5337334052940960715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:21:34.487Z] ---> docker-login.sh [2022-05-09T11:21:34.487Z] nexus3.edgexfoundry.org:10001 [2022-05-09T11:21:35.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:21:35.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:21:35.361Z] Configure a credential helper to remove this warning. See [2022-05-09T11:21:35.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:21:35.361Z] [2022-05-09T11:21:35.361Z] Login Succeeded [2022-05-09T11:21:35.361Z] nexus3.edgexfoundry.org:10002 [2022-05-09T11:21:35.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:21:35.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:21:35.639Z] Configure a credential helper to remove this warning. See [2022-05-09T11:21:35.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:21:35.639Z] [2022-05-09T11:21:35.639Z] Login Succeeded [2022-05-09T11:21:35.912Z] nexus3.edgexfoundry.org:10003 [2022-05-09T11:21:36.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:21:36.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:21:36.185Z] Configure a credential helper to remove this warning. See [2022-05-09T11:21:36.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:21:36.185Z] [2022-05-09T11:21:36.185Z] Login Succeeded [2022-05-09T11:21:36.185Z] nexus3.edgexfoundry.org:10004 [2022-05-09T11:21:36.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:21:36.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:21:36.733Z] Configure a credential helper to remove this warning. See [2022-05-09T11:21:36.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:21:36.733Z] [2022-05-09T11:21:36.733Z] Login Succeeded [2022-05-09T11:21:36.733Z] docker.io [2022-05-09T11:21:37.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:21:37.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:21:37.602Z] Configure a credential helper to remove this warning. See [2022-05-09T11:21:37.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:21:37.602Z] [2022-05-09T11:21:37.602Z] Login Succeeded [2022-05-09T11:21:37.602Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T11:21:37.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T11:21:38.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T11:21:38.178Z] ========================================================= [2022-05-09T11:21:38.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T11:21:38.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:21:38.524Z] + docker build -t ci-base-image-arm64 -f 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-09T11:21:39.125Z] Sending build context to Docker daemon 11.58MB [2022-05-09T11:21:39.125Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T11:21:39.125Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T11:21:39.125Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T11:21:39.125Z] 9b3977197b4f: Pulling fs layer [2022-05-09T11:21:39.125Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T11:21:39.125Z] 94645a83ff95: Pulling fs layer [2022-05-09T11:21:39.125Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T11:21:39.125Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T11:21:39.125Z] 3096ccb668a1: Pulling fs layer [2022-05-09T11:21:39.125Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T11:21:39.125Z] a4caa8a26152: Pulling fs layer [2022-05-09T11:21:39.125Z] 0c92f367c5e7: Waiting [2022-05-09T11:21:39.125Z] 3096ccb668a1: Waiting [2022-05-09T11:21:39.125Z] e8cf19c19ddd: Waiting [2022-05-09T11:21:39.125Z] 3f3a8bcf1eab: Waiting [2022-05-09T11:21:39.125Z] a4caa8a26152: Waiting [2022-05-09T11:21:39.125Z] 94645a83ff95: Verifying Checksum [2022-05-09T11:21:39.125Z] 94645a83ff95: Download complete [2022-05-09T11:21:39.125Z] 1a89e8eeedd5: Verifying Checksum [2022-05-09T11:21:39.125Z] 1a89e8eeedd5: Download complete [2022-05-09T11:21:39.420Z] 0c92f367c5e7: Verifying Checksum [2022-05-09T11:21:39.420Z] 0c92f367c5e7: Download complete [2022-05-09T11:21:39.420Z] 3096ccb668a1: Download complete [2022-05-09T11:21:39.420Z] 9b3977197b4f: Verifying Checksum [2022-05-09T11:21:39.420Z] 9b3977197b4f: Download complete [2022-05-09T11:21:39.420Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T11:21:39.420Z] e8cf19c19ddd: Download complete [2022-05-09T11:21:40.026Z] 9b3977197b4f: Pull complete [2022-05-09T11:21:40.631Z] 1a89e8eeedd5: Pull complete [2022-05-09T11:21:40.910Z] 94645a83ff95: Pull complete [2022-05-09T11:21:41.183Z] a4caa8a26152: Verifying Checksum [2022-05-09T11:21:41.183Z] a4caa8a26152: Download complete [2022-05-09T11:21:41.780Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T11:21:41.780Z] 3f3a8bcf1eab: Download complete [2022-05-09T11:21:54.214Z] 3f3a8bcf1eab: Pull complete [2022-05-09T11:21:54.214Z] 0c92f367c5e7: Pull complete [2022-05-09T11:21:54.214Z] 3096ccb668a1: Pull complete [2022-05-09T11:21:54.214Z] e8cf19c19ddd: Pull complete [2022-05-09T11:22:00.939Z] a4caa8a26152: Pull complete [2022-05-09T11:22:00.939Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T11:22:00.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T11:22:00.939Z] ---> 725f1c02e7f9 [2022-05-09T11:22:00.939Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T11:22:01.212Z] ---> Running in 43465c234234 [2022-05-09T11:22:01.486Z] Removing intermediate container 43465c234234 [2022-05-09T11:22:01.486Z] ---> cd52a442cc49 [2022-05-09T11:22:01.486Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T11:22:01.486Z] ---> Running in 1b22ace3ab7e [2022-05-09T11:22:01.768Z] Removing intermediate container 1b22ace3ab7e [2022-05-09T11:22:01.768Z] ---> e1329ce65349 [2022-05-09T11:22:01.768Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-09T11:22:01.768Z] ---> Running in 21a86bfdba8d [2022-05-09T11:22:02.065Z] Removing intermediate container 21a86bfdba8d [2022-05-09T11:22:02.065Z] ---> b0575ce895b1 [2022-05-09T11:22:02.065Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:22:02.338Z] ---> Running in 2e22ac0d1737 [2022-05-09T11:22:04.319Z] Removing intermediate container 2e22ac0d1737 [2022-05-09T11:22:04.319Z] ---> e46532ceee13 [2022-05-09T11:22:04.319Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T11:22:04.319Z] ---> Running in 84d920e96704 [2022-05-09T11:22:04.927Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T11:22:05.912Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T11:22:06.897Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T11:22:06.897Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T11:22:06.897Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T11:22:07.171Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T11:22:07.171Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T11:22:07.450Z] OK: 224 MiB in 56 packages [2022-05-09T11:22:08.441Z] Removing intermediate container 84d920e96704 [2022-05-09T11:22:08.441Z] ---> 2bd12385cf9d [2022-05-09T11:22:08.441Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-09T11:22:08.724Z] ---> ae06a6ee8452 [2022-05-09T11:22:08.724Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T11:22:08.724Z] ---> Running in eb68b00d633c [2022-05-09T11:22:55.738Z] Removing intermediate container eb68b00d633c [2022-05-09T11:22:55.738Z] ---> f90d5050caa0 [2022-05-09T11:22:55.738Z] Step 10/12 : COPY . . [2022-05-09T11:22:55.738Z] ---> 5ebecd1318c3 [2022-05-09T11:22:55.738Z] Step 11/12 : ARG MAKE='make build' [2022-05-09T11:22:55.738Z] ---> Running in cc8a4722dec2 [2022-05-09T11:22:55.738Z] Removing intermediate container cc8a4722dec2 [2022-05-09T11:22:55.738Z] ---> 6b902b8a8905 [2022-05-09T11:22:55.738Z] Step 12/12 : RUN $MAKE [2022-05-09T11:22:55.738Z] ---> Running in 117b8df587cc [2022-05-09T11:22:55.738Z] noop [2022-05-09T11:22:55.738Z] Removing intermediate container 117b8df587cc [2022-05-09T11:22:55.738Z] ---> f848b328929b [2022-05-09T11:22:55.738Z] Successfully built f848b328929b [2022-05-09T11:22:55.738Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:22:56.089Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T11:22:56.089Z] . [Pipeline] withDockerContainer [2022-05-09T11:22:56.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-41803 does not seem to be running inside a container [2022-05-09T11:22:56.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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-09T11:22:57.653Z] $ docker top a180b5ee5cd928b2ca556edf0888a2fe08ddd977e121b83639d7c48c9a6df7ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T11:22:58.555Z] + go version [2022-05-09T11:22:58.555Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T11:22:58.594Z] $ docker stop --time=1 a180b5ee5cd928b2ca556edf0888a2fe08ddd977e121b83639d7c48c9a6df7ad [2022-05-09T11:23:00.235Z] $ docker rm -f a180b5ee5cd928b2ca556edf0888a2fe08ddd977e121b83639d7c48c9a6df7ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:23:00.821Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T11:23:00.822Z] . [Pipeline] withDockerContainer [2022-05-09T11:23:01.040Z] prd-ubuntu20.04-docker-arm64-4c-16g-41803 does not seem to be running inside a container [2022-05-09T11:23:01.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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-09T11:23:02.352Z] $ docker top 7cb1be2bbd8f7de512fe5c51f387260367008875688c4a2a5659fd7d666b49cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T11:23:03.255Z] + make test [2022-05-09T11:23:03.255Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-09T11:23:04.719Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-09T11:24:26.599Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-09T11:24:26.599Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements [2022-05-09T11:24:26.599Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T11:24:26.599Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T11:24:44.946Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T11:24:44.946Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T11:24:44.946Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T11:24:46.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T11:24:46.444Z] $ docker stop --time=1 7cb1be2bbd8f7de512fe5c51f387260367008875688c4a2a5659fd7d666b49cc [2022-05-09T11:24:48.218Z] $ docker rm -f 7cb1be2bbd8f7de512fe5c51f387260367008875688c4a2a5659fd7d666b49cc [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T11:24:49.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T11:24:49.160Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T11:24:49.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T11:24:50.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T11:24:50.379Z] + ls -al . [2022-05-09T11:24:50.380Z] total 180 [2022-05-09T11:24:50.380Z] drwxrwxr-x 7 jenkins jenkins 4096 May 9 11:24 . [2022-05-09T11:24:50.380Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:21 .. [2022-05-09T11:24:50.380Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:21 .git [2022-05-09T11:24:50.380Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:21 .github [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 270 May 9 11:21 .gitignore [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 11:21 .golangci.yml [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 9 11:21 Attribution.txt [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 6349 May 9 11:21 CHANGELOG.md [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 9 11:21 Dockerfile [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 11:21 GOVERNANCE.md [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 660 May 9 11:21 Jenkinsfile [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:21 LICENSE [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 9 11:21 Makefile [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 623 May 9 11:21 OWNERS.md [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 9 11:21 README.md [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 11:19 VERSION [2022-05-09T11:24:50.380Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:21 bin [2022-05-09T11:24:50.380Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:21 cmd [2022-05-09T11:24:50.380Z] -rw-r--r-- 1 jenkins jenkins 44128 May 9 11:24 coverage.out [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 3185 May 9 11:21 go.mod [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 35216 May 9 11:21 go.sum [2022-05-09T11:24:50.380Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:21 internal [2022-05-09T11:24:50.380Z] -rw-rw-r-- 1 jenkins jenkins 235 May 9 11:21 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:24:50.732Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b3c8352dddffb55a33ce15791a32ab0061559949 --label arch=arm64 --label version=2.2.0-dev.16 . [2022-05-09T11:24:51.343Z] Sending build context to Docker daemon 11.63MB [2022-05-09T11:24:51.343Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T11:24:51.343Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-09T11:24:51.343Z] ---> f848b328929b [2022-05-09T11:24:51.343Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T11:24:51.343Z] ---> Running in d4e97ed64685 [2022-05-09T11:24:51.618Z] Removing intermediate container d4e97ed64685 [2022-05-09T11:24:51.618Z] ---> 91c0affb1c66 [2022-05-09T11:24:51.618Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T11:24:51.618Z] ---> Running in 9066cd6711fd [2022-05-09T11:24:51.900Z] Removing intermediate container 9066cd6711fd [2022-05-09T11:24:51.901Z] ---> a1daedeaacf6 [2022-05-09T11:24:51.901Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-09T11:24:52.178Z] ---> Running in e3d950d14472 [2022-05-09T11:24:52.455Z] Removing intermediate container e3d950d14472 [2022-05-09T11:24:52.455Z] ---> ada30eee23a5 [2022-05-09T11:24:52.455Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:24:52.455Z] ---> Running in 3c48cd7c8b7f [2022-05-09T11:24:54.441Z] Removing intermediate container 3c48cd7c8b7f [2022-05-09T11:24:54.441Z] ---> 5adae6c85f3a [2022-05-09T11:24:54.441Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T11:24:54.441Z] ---> Running in 2c91027eb75a [2022-05-09T11:24:55.421Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T11:24:56.017Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T11:24:56.997Z] OK: 224 MiB in 56 packages [2022-05-09T11:24:57.600Z] Removing intermediate container 2c91027eb75a [2022-05-09T11:24:57.600Z] ---> ecaa2c0e2b37 [2022-05-09T11:24:57.600Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-09T11:24:58.196Z] ---> a05494de150f [2022-05-09T11:24:58.196Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T11:24:58.196Z] ---> Running in 7c11a0b3b8a9 [2022-05-09T11:25:00.172Z] Removing intermediate container 7c11a0b3b8a9 [2022-05-09T11:25:00.172Z] ---> d98a21a17a75 [2022-05-09T11:25:00.172Z] Step 10/26 : COPY . . [2022-05-09T11:25:01.150Z] ---> 4aea9653c7b8 [2022-05-09T11:25:01.150Z] Step 11/26 : ARG MAKE='make build' [2022-05-09T11:25:01.150Z] ---> Running in e779ea10888b [2022-05-09T11:25:01.424Z] Removing intermediate container e779ea10888b [2022-05-09T11:25:01.424Z] ---> e5f023ce71a9 [2022-05-09T11:25:01.424Z] Step 12/26 : RUN $MAKE [2022-05-09T11:25:01.700Z] ---> Running in ab77934efcfd [2022-05-09T11:25:02.682Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-09T11:27:09.557Z] Removing intermediate container ab77934efcfd [2022-05-09T11:27:09.557Z] ---> f6491acb753c [2022-05-09T11:27:09.557Z] Step 13/26 : FROM alpine:3.14 [2022-05-09T11:27:09.557Z] 3.14: Pulling from library/alpine [2022-05-09T11:27:09.557Z] 455c02918c45: Pulling fs layer [2022-05-09T11:27:09.557Z] 455c02918c45: Verifying Checksum [2022-05-09T11:27:09.557Z] 455c02918c45: Download complete [2022-05-09T11:27:09.557Z] 455c02918c45: Pull complete [2022-05-09T11:27:09.557Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T11:27:09.557Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T11:27:09.557Z] ---> ac73e934f311 [2022-05-09T11:27:09.557Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-09T11:27:09.557Z] ---> Running in 02b5b9d0d7dd [2022-05-09T11:27:09.557Z] Removing intermediate container 02b5b9d0d7dd [2022-05-09T11:27:09.557Z] ---> d1a61b8fb1b9 [2022-05-09T11:27:09.557Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:27:09.557Z] ---> Running in f3b6d05a8a5c [2022-05-09T11:27:09.557Z] Removing intermediate container f3b6d05a8a5c [2022-05-09T11:27:09.557Z] ---> 6291685653cd [2022-05-09T11:27:09.557Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T11:27:09.557Z] ---> Running in 6c7730ce289f [2022-05-09T11:27:09.557Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-09T11:27:09.557Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-09T11:27:09.557Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T11:27:09.557Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T11:27:09.557Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T11:27:09.557Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T11:27:09.557Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T11:27:09.557Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T11:27:09.557Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T11:27:09.557Z] OK: 8 MiB in 20 packages [2022-05-09T11:27:09.557Z] Removing intermediate container 6c7730ce289f [2022-05-09T11:27:09.557Z] ---> 987345e597fb [2022-05-09T11:27:09.557Z] Step 17/26 : WORKDIR / [2022-05-09T11:27:09.557Z] ---> Running in f231c45a2cd1 [2022-05-09T11:27:09.557Z] Removing intermediate container f231c45a2cd1 [2022-05-09T11:27:09.557Z] ---> db5ba9bf6170 [2022-05-09T11:27:09.557Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-09T11:27:09.557Z] ---> 76437a08b812 [2022-05-09T11:27:09.557Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-09T11:27:09.557Z] ---> 046c94b474b4 [2022-05-09T11:27:09.557Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-09T11:27:09.557Z] ---> 5bcb9acdbe08 [2022-05-09T11:27:09.557Z] Step 21/26 : EXPOSE 59900 [2022-05-09T11:27:09.557Z] ---> Running in 8eb72cb42c74 [2022-05-09T11:27:09.557Z] Removing intermediate container 8eb72cb42c74 [2022-05-09T11:27:09.557Z] ---> 4871cc39e588 [2022-05-09T11:27:09.557Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-09T11:27:09.557Z] ---> Running in 29147b03fd61 [2022-05-09T11:27:09.557Z] Removing intermediate container 29147b03fd61 [2022-05-09T11:27:09.557Z] ---> 20a10fe2db05 [2022-05-09T11:27:09.557Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T11:27:09.557Z] ---> Running in 6d356b0dccaf [2022-05-09T11:27:09.557Z] Removing intermediate container 6d356b0dccaf [2022-05-09T11:27:09.557Z] ---> 4677f6ec0758 [2022-05-09T11:27:09.557Z] Step 24/26 : LABEL arch=arm64 [2022-05-09T11:27:09.557Z] ---> Running in d8fa620c2417 [2022-05-09T11:27:09.557Z] Removing intermediate container d8fa620c2417 [2022-05-09T11:27:09.557Z] ---> 443625842510 [2022-05-09T11:27:09.557Z] Step 25/26 : LABEL git_sha=b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:27:09.831Z] ---> Running in a002bec1ff3a [2022-05-09T11:27:10.108Z] Removing intermediate container a002bec1ff3a [2022-05-09T11:27:10.108Z] ---> c332406dfe78 [2022-05-09T11:27:10.108Z] Step 26/26 : LABEL version=2.2.0-dev.16 [2022-05-09T11:27:10.108Z] ---> Running in a27c8f57ebac [2022-05-09T11:27:10.391Z] Removing intermediate container a27c8f57ebac [2022-05-09T11:27:10.391Z] ---> f415e3d0cf86 [2022-05-09T11:27:10.391Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T11:27:10.391Z] Successfully built f415e3d0cf86 [2022-05-09T11:27:10.391Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:27:10.482Z] provisioning config files... [2022-05-09T11:27:10.500Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config2416598811570538993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:27:10.853Z] ---> docker-login.sh [2022-05-09T11:27:10.853Z] nexus3.edgexfoundry.org:10001 [2022-05-09T11:27:11.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:27:11.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:27:11.128Z] Configure a credential helper to remove this warning. See [2022-05-09T11:27:11.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:27:11.128Z] [2022-05-09T11:27:11.128Z] Login Succeeded [2022-05-09T11:27:11.128Z] nexus3.edgexfoundry.org:10002 [2022-05-09T11:27:11.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:27:11.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:27:11.727Z] Configure a credential helper to remove this warning. See [2022-05-09T11:27:11.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:27:11.727Z] [2022-05-09T11:27:11.727Z] Login Succeeded [2022-05-09T11:27:11.727Z] nexus3.edgexfoundry.org:10003 [2022-05-09T11:27:12.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:27:12.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:27:12.276Z] Configure a credential helper to remove this warning. See [2022-05-09T11:27:12.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:27:12.276Z] [2022-05-09T11:27:12.276Z] Login Succeeded [2022-05-09T11:27:12.276Z] nexus3.edgexfoundry.org:10004 [2022-05-09T11:27:12.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:27:12.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:27:12.550Z] Configure a credential helper to remove this warning. See [2022-05-09T11:27:12.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:27:12.550Z] [2022-05-09T11:27:12.550Z] Login Succeeded [2022-05-09T11:27:12.550Z] docker.io [2022-05-09T11:27:13.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:27:13.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:27:13.422Z] Configure a credential helper to remove this warning. See [2022-05-09T11:27:13.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:27:13.422Z] [2022-05-09T11:27:13.422Z] Login Succeeded [2022-05-09T11:27:13.422Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T11:27:13.441Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:27:13.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T11:27:13.496Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-05-09T11:27:13.496Z] b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:27:13.496Z] latest [2022-05-09T11:27:13.496Z] 2.2.0-dev.16 [2022-05-09T11:27:13.496Z] b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [2022-05-09T11:27:13.496Z] main [2022-05-09T11:27:13.496Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:13.855Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:14.221Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:27:14.221Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-09T11:27:14.221Z] cc169eec87db: Preparing [2022-05-09T11:27:14.221Z] 63048e2a54d5: Preparing [2022-05-09T11:27:14.221Z] fcc68663c8ac: Preparing [2022-05-09T11:27:14.221Z] 8b70f07ac5f9: Preparing [2022-05-09T11:27:14.221Z] 6e749f092cbc: Preparing [2022-05-09T11:27:14.221Z] f73e7dbfee58: Preparing [2022-05-09T11:27:14.221Z] f73e7dbfee58: Waiting [2022-05-09T11:27:14.497Z] fcc68663c8ac: Pushed [2022-05-09T11:27:14.497Z] 6e749f092cbc: Pushed [2022-05-09T11:27:14.497Z] 63048e2a54d5: Pushed [2022-05-09T11:27:14.497Z] f73e7dbfee58: Layer already exists [2022-05-09T11:27:15.102Z] 8b70f07ac5f9: Pushed [2022-05-09T11:27:20.505Z] cc169eec87db: Pushed [2022-05-09T11:27:20.779Z] b3c8352dddffb55a33ce15791a32ab0061559949: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:21.130Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:21.474Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-09T11:27:21.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-09T11:27:21.474Z] cc169eec87db: Preparing [2022-05-09T11:27:21.474Z] 63048e2a54d5: Preparing [2022-05-09T11:27:21.474Z] fcc68663c8ac: Preparing [2022-05-09T11:27:21.474Z] 8b70f07ac5f9: Preparing [2022-05-09T11:27:21.474Z] 6e749f092cbc: Preparing [2022-05-09T11:27:21.474Z] f73e7dbfee58: Preparing [2022-05-09T11:27:21.474Z] f73e7dbfee58: Waiting [2022-05-09T11:27:21.474Z] cc169eec87db: Layer already exists [2022-05-09T11:27:21.474Z] 8b70f07ac5f9: Layer already exists [2022-05-09T11:27:21.474Z] 63048e2a54d5: Layer already exists [2022-05-09T11:27:21.474Z] 6e749f092cbc: Layer already exists [2022-05-09T11:27:21.474Z] fcc68663c8ac: Layer already exists [2022-05-09T11:27:21.474Z] f73e7dbfee58: Layer already exists [2022-05-09T11:27:21.748Z] latest: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:22.103Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:22.454Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.16 [2022-05-09T11:27:22.454Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-09T11:27:22.454Z] cc169eec87db: Preparing [2022-05-09T11:27:22.454Z] 63048e2a54d5: Preparing [2022-05-09T11:27:22.454Z] fcc68663c8ac: Preparing [2022-05-09T11:27:22.454Z] 8b70f07ac5f9: Preparing [2022-05-09T11:27:22.454Z] 6e749f092cbc: Preparing [2022-05-09T11:27:22.454Z] f73e7dbfee58: Preparing [2022-05-09T11:27:22.454Z] f73e7dbfee58: Waiting [2022-05-09T11:27:22.454Z] 63048e2a54d5: Layer already exists [2022-05-09T11:27:22.454Z] 8b70f07ac5f9: Layer already exists [2022-05-09T11:27:22.454Z] fcc68663c8ac: Layer already exists [2022-05-09T11:27:22.454Z] cc169eec87db: Layer already exists [2022-05-09T11:27:22.454Z] 6e749f092cbc: Layer already exists [2022-05-09T11:27:22.454Z] f73e7dbfee58: Layer already exists [2022-05-09T11:27:22.728Z] 2.2.0-dev.16: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:23.080Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:23.424Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [2022-05-09T11:27:23.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-09T11:27:23.424Z] cc169eec87db: Preparing [2022-05-09T11:27:23.424Z] 63048e2a54d5: Preparing [2022-05-09T11:27:23.424Z] fcc68663c8ac: Preparing [2022-05-09T11:27:23.424Z] 8b70f07ac5f9: Preparing [2022-05-09T11:27:23.424Z] 6e749f092cbc: Preparing [2022-05-09T11:27:23.424Z] f73e7dbfee58: Preparing [2022-05-09T11:27:23.424Z] f73e7dbfee58: Waiting [2022-05-09T11:27:23.424Z] 8b70f07ac5f9: Layer already exists [2022-05-09T11:27:23.424Z] fcc68663c8ac: Layer already exists [2022-05-09T11:27:23.424Z] 63048e2a54d5: Layer already exists [2022-05-09T11:27:23.424Z] 6e749f092cbc: Layer already exists [2022-05-09T11:27:23.424Z] cc169eec87db: Layer already exists [2022-05-09T11:27:23.424Z] f73e7dbfee58: Layer already exists [2022-05-09T11:27:23.699Z] b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:24.045Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:24.390Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-05-09T11:27:24.390Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-09T11:27:24.390Z] cc169eec87db: Preparing [2022-05-09T11:27:24.390Z] 63048e2a54d5: Preparing [2022-05-09T11:27:24.390Z] fcc68663c8ac: Preparing [2022-05-09T11:27:24.390Z] 8b70f07ac5f9: Preparing [2022-05-09T11:27:24.390Z] 6e749f092cbc: Preparing [2022-05-09T11:27:24.390Z] f73e7dbfee58: Preparing [2022-05-09T11:27:24.390Z] f73e7dbfee58: Waiting [2022-05-09T11:27:24.390Z] 8b70f07ac5f9: Layer already exists [2022-05-09T11:27:24.390Z] cc169eec87db: Layer already exists [2022-05-09T11:27:24.390Z] 6e749f092cbc: Layer already exists [2022-05-09T11:27:24.390Z] fcc68663c8ac: Layer already exists [2022-05-09T11:27:24.390Z] 63048e2a54d5: Layer already exists [2022-05-09T11:27:24.390Z] f73e7dbfee58: Layer already exists [2022-05-09T11:27:24.662Z] main: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:27:24.714Z] ===================================================== [Pipeline] echo [2022-05-09T11:27:24.722Z] taggedImages: [2022-05-09T11:27:24.722Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949 [2022-05-09T11:27:24.722Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-09T11:27:24.722Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.16 [2022-05-09T11:27:24.722Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [2022-05-09T11:27:24.722Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:25.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:27:25.094Z] [2022-05-09T11:27:25.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:25.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:27:25.723Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T11:27:25.723Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T11:27:25.723Z] 04944245beec: Pulling fs layer [2022-05-09T11:27:25.723Z] 699f458cf7ca: Pulling fs layer [2022-05-09T11:27:25.723Z] 765212b225bb: Pulling fs layer [2022-05-09T11:27:25.723Z] f23df028b6ca: Pulling fs layer [2022-05-09T11:27:25.723Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T11:27:25.723Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T11:27:25.723Z] 765212b225bb: Waiting [2022-05-09T11:27:25.723Z] f23df028b6ca: Waiting [2022-05-09T11:27:25.723Z] d65c8cfc05b1: Waiting [2022-05-09T11:27:25.723Z] 2437ff75d9bd: Waiting [2022-05-09T11:27:25.723Z] 04944245beec: Verifying Checksum [2022-05-09T11:27:25.723Z] 04944245beec: Download complete [2022-05-09T11:27:25.723Z] 765212b225bb: Verifying Checksum [2022-05-09T11:27:25.723Z] 765212b225bb: Download complete [2022-05-09T11:27:25.723Z] f23df028b6ca: Verifying Checksum [2022-05-09T11:27:25.723Z] f23df028b6ca: Download complete [2022-05-09T11:27:25.723Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T11:27:25.723Z] d65c8cfc05b1: Download complete [2022-05-09T11:27:25.998Z] 699f458cf7ca: Verifying Checksum [2022-05-09T11:27:25.998Z] 699f458cf7ca: Download complete [2022-05-09T11:27:26.274Z] 8998bd30e6a1: Verifying Checksum [2022-05-09T11:27:26.274Z] 8998bd30e6a1: Download complete [2022-05-09T11:27:28.902Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T11:27:30.344Z] 8998bd30e6a1: Pull complete [2022-05-09T11:27:30.942Z] 04944245beec: Pull complete [2022-05-09T11:27:32.378Z] 699f458cf7ca: Pull complete [2022-05-09T11:27:32.378Z] 765212b225bb: Pull complete [2022-05-09T11:27:33.363Z] f23df028b6ca: Pull complete [2022-05-09T11:27:33.363Z] d65c8cfc05b1: Pull complete [2022-05-09T11:27:48.461Z] 2437ff75d9bd: Pull complete [2022-05-09T11:27:48.461Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T11:27:48.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:27:48.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T11:27:48.681Z] prd-ubuntu20.04-docker-arm64-4c-16g-41803 does not seem to be running inside a container [2022-05-09T11:27:48.789Z] $ 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-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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-09T11:27:51.239Z] $ docker top 076245516b1bdc555ce6143f9615c1535044a86c2b2895a0094da311a7c9b37c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:27:52.142Z] ---> job-cost.sh [2022-05-09T11:27:52.142Z] lf-activate-venv: SKIPPING [2022-05-09T11:27:52.142Z] INFO: No Stack... [2022-05-09T11:27:52.737Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T11:27:53.331Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T11:27:54.003Z] + cat /w/workspace/device-virtual-go/32/archives/cost.csv [2022-05-09T11:27:54.003Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T11:27:54.069Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [2022-05-09T11:27:54.075Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] did not exist. Created. [2022-05-09T11:27:54.075Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T11:27:54.759Z] /w/workspace/device-virtual-go/32@tmp/durable-16998e98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T11:27:55.446Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T11:27:55.468Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T11:27:55.508Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T11:27:55.515Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T11:27:55.560Z] $ docker stop --time=1 076245516b1bdc555ce6143f9615c1535044a86c2b2895a0094da311a7c9b37c [2022-05-09T11:27:57.056Z] $ docker rm -f 076245516b1bdc555ce6143f9615c1535044a86c2b2895a0094da311a7c9b37c [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-09T11:27:57.583Z] provisioning config files... [2022-05-09T11:27:57.593Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4425321648541641686tmp [Pipeline] { [Pipeline] sh [2022-05-09T11:27:57.890Z] + set +x [2022-05-09T11:27:57.890Z] + curl -s+ https://codecov.io/bash [2022-05-09T11:27:57.890Z] bash -s -- [2022-05-09T11:27:57.890Z] [2022-05-09T11:27:57.890Z] _____ _ [2022-05-09T11:27:57.890Z] / ____| | | [2022-05-09T11:27:57.890Z] | | ___ __| | ___ ___ _____ __ [2022-05-09T11:27:57.890Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-09T11:27:57.890Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-09T11:27:57.890Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-09T11:27:57.890Z] Bash-1.0.6 [2022-05-09T11:27:57.890Z] [2022-05-09T11:27:57.890Z] [2022-05-09T11:27:57.890Z] ==> git version 2.25.1 found [2022-05-09T11:27:57.890Z] ==> 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-09T11:27:57.890Z] Release-Date: 2020-01-08 [2022-05-09T11:27:57.890Z] 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-09T11:27:57.890Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-09T11:27:57.890Z] ==> Jenkins CI detected. [2022-05-09T11:27:57.890Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-05-09T11:27:57.890Z] project root: . [2022-05-09T11:27:57.890Z] --> token set from env [2022-05-09T11:27:57.890Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-09T11:27:57.890Z] ==> Running gcov in . (disable via -X gcov) [2022-05-09T11:27:58.151Z] ==> Python coveragepy not found [2022-05-09T11:27:58.151Z] ==> Searching for coverage reports in: [2022-05-09T11:27:58.151Z] + . [2022-05-09T11:27:58.151Z] -> Found 1 reports [2022-05-09T11:27:58.151Z] ==> Detecting git/mercurial file structure [2022-05-09T11:27:58.151Z] ==> Reading reports [2022-05-09T11:27:58.151Z] + ./coverage.out bytes=44128 [2022-05-09T11:27:58.151Z] ==> Appending adjustments [2022-05-09T11:27:58.151Z] https://docs.codecov.io/docs/fixing-reports [2022-05-09T11:27:58.151Z] + Found adjustments [2022-05-09T11:27:58.151Z] ==> Gzipping contents [2022-05-09T11:27:58.151Z] 8.0K /tmp/codecov.fPKfmD.gz [2022-05-09T11:27:58.151Z] ==> Uploading reports [2022-05-09T11:27:58.151Z] url: https://codecov.io [2022-05-09T11:27:58.151Z] query: branch=main&commit=b3c8352dddffb55a33ce15791a32ab0061559949&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-09T11:27:58.151Z] -> Pinging Codecov [2022-05-09T11:27:58.151Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=b3c8352dddffb55a33ce15791a32ab0061559949&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-09T11:27:58.412Z] -> Uploading to [2022-05-09T11:27:58.412Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5E52B4B073DB2E39498172D8E973AA87/b3c8352dddffb55a33ce15791a32ab0061559949/d55eb88e-9f9f-46e5-a789-924da1d3abfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T112758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8540e13081ecda61453346547b4f7f6dcd39d29086a78dfe7e56f5b444a2a32b [2022-05-09T11:27:58.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T11:27:58.412Z] Dload Upload Total Spent Left Speed [2022-05-09T11:27:58.673Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5268 0 0 100 5268 0 23729 --:--:-- --:--:-- --:--:-- 23729 100 5268 0 0 100 5268 0 18614 --:--:-- --:--:-- --:--:-- 18549 [2022-05-09T11:27:58.673Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] } [2022-05-09T11:27:58.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-09T11:27:58.953Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-09T11:27:58.965Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:59.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:27:59.261Z] [2022-05-09T11:27:59.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:27:59.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:27:59.560Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-09T11:27:59.560Z] 188c0c94c7c5: Pulling fs layer [2022-05-09T11:27:59.560Z] 0ef7d3d256c8: Pulling fs layer [2022-05-09T11:27:59.560Z] de9db76c5a1d: Pulling fs layer [2022-05-09T11:27:59.561Z] 0eba1c9be4d2: Pulling fs layer [2022-05-09T11:27:59.561Z] 0d57e429df01: Pulling fs layer [2022-05-09T11:27:59.561Z] 4e4be7b47b0d: Pulling fs layer [2022-05-09T11:27:59.561Z] e1f770b5df2f: Pulling fs layer [2022-05-09T11:27:59.561Z] 85a0685a4137: Pulling fs layer [2022-05-09T11:27:59.561Z] 0d57e429df01: Waiting [2022-05-09T11:27:59.561Z] 4e4be7b47b0d: Waiting [2022-05-09T11:27:59.561Z] e1f770b5df2f: Waiting [2022-05-09T11:27:59.561Z] 85a0685a4137: Waiting [2022-05-09T11:27:59.561Z] 0eba1c9be4d2: Waiting [2022-05-09T11:27:59.561Z] de9db76c5a1d: Download complete [2022-05-09T11:27:59.561Z] 0ef7d3d256c8: Download complete [2022-05-09T11:27:59.561Z] 0d57e429df01: Verifying Checksum [2022-05-09T11:27:59.561Z] 0d57e429df01: Download complete [2022-05-09T11:27:59.561Z] 4e4be7b47b0d: Download complete [2022-05-09T11:27:59.561Z] 188c0c94c7c5: Verifying Checksum [2022-05-09T11:27:59.561Z] 188c0c94c7c5: Download complete [2022-05-09T11:27:59.822Z] 188c0c94c7c5: Pull complete [2022-05-09T11:27:59.822Z] e1f770b5df2f: Verifying Checksum [2022-05-09T11:27:59.822Z] e1f770b5df2f: Download complete [2022-05-09T11:27:59.822Z] 0ef7d3d256c8: Pull complete [2022-05-09T11:27:59.822Z] de9db76c5a1d: Pull complete [2022-05-09T11:28:00.394Z] 0eba1c9be4d2: Verifying Checksum [2022-05-09T11:28:00.394Z] 0eba1c9be4d2: Download complete [2022-05-09T11:28:00.394Z] 85a0685a4137: Verifying Checksum [2022-05-09T11:28:00.394Z] 85a0685a4137: Download complete [2022-05-09T11:28:03.683Z] 0eba1c9be4d2: Pull complete [2022-05-09T11:28:03.683Z] 0d57e429df01: Pull complete [2022-05-09T11:28:03.683Z] 4e4be7b47b0d: Pull complete [2022-05-09T11:28:03.943Z] e1f770b5df2f: Pull complete [2022-05-09T11:28:07.232Z] 85a0685a4137: Pull complete [2022-05-09T11:28:07.232Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-09T11:28:07.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:28:07.232Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-09T11:28:07.290Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:28:07.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-09T11:28:09.436Z] $ docker top 106e2fc5052db13f488c4ed20494db776d360eff70856372c14340089974c936 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-09T11:28:09.516Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-09T11:28:09.799Z] + set -o pipefail [2022-05-09T11:28:09.799Z] + snyk monitor '--org=edgex-jenkins' [2022-05-09T11:28:15.083Z] [2022-05-09T11:28:15.083Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-05-09T11:28:15.083Z] [2022-05-09T11:28:15.083Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/118fe051-5cde-48a9-af4f-82cff5e01084 [2022-05-09T11:28:15.083Z] [2022-05-09T11:28:15.083Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-09T11:28:15.083Z] [2022-05-09T11:28:15.083Z] [Pipeline] } [2022-05-09T11:28:15.097Z] $ docker stop --time=1 106e2fc5052db13f488c4ed20494db776d360eff70856372c14340089974c936 [2022-05-09T11:28:17.307Z] $ docker rm -f 106e2fc5052db13f488c4ed20494db776d360eff70856372c14340089974c936 [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T11:28:18.018Z] + git log --format=format:%s -1 b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] sh [2022-05-09T11:28:18.314Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:28:18.314Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:28:18.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:28:18.609Z] . [Pipeline] withDockerContainer [2022-05-09T11:28:18.673Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:28:18.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T11:28:19.153Z] $ docker top 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:28:19.257Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:28:19.257Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:28:19.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:28:19.390Z] $ docker exec 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 ssh-agent [2022-05-09T11:28:19.500Z] SSH_AUTH_SOCK=/tmp/ssh-8cnStSdTFk4F/agent.33 [2022-05-09T11:28:19.500Z] SSH_AGENT_PID=39 [2022-05-09T11:28:19.505Z] Running ssh-add (command line suppressed) [2022-05-09T11:28:19.632Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4785099575369582581.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4785099575369582581.key) [2022-05-09T11:28:19.646Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:28:19.937Z] + git semver tag [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,135 [run_tag] DEBUG tag force:False [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,136 [check_head_tag] DEBUG check head tag [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,136 [execute] INFO git cat-file --batch-check [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,140 [execute] INFO git cat-file --batch [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,155 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,155 [execute] INFO git tag -a v2.2.0-dev.16 -m v2.2.0-dev.16 [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,156 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.16', '-m', 'v2.2.0-dev.16'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:28:20.197Z] 2022-05-09 11:28:20,159 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:28:20.197Z] 2.2.0-dev.16 [Pipeline] } [2022-05-09T11:28:20.208Z] $ docker exec --env ******** --env ******** 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 ssh-agent -k [2022-05-09T11:28:20.318Z] unset SSH_AUTH_SOCK; [2022-05-09T11:28:20.318Z] unset SSH_AGENT_PID; [2022-05-09T11:28:20.318Z] echo Agent pid 39 killed; [2022-05-09T11:28:20.329Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:28:20.632Z] + git semver [Pipeline] } [2022-05-09T11:28:20.908Z] $ docker stop --time=1 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 [2022-05-09T11:28:22.231Z] $ docker rm -f 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:28:22.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:28:22.638Z] [2022-05-09T11:28:22.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:28:23.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:28:23.001Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-09T11:28:23.001Z] ab5ef0e58194: Pulling fs layer [2022-05-09T11:28:23.001Z] 9712f1f96733: Pulling fs layer [2022-05-09T11:28:23.001Z] 63f879dbbcfc: Pulling fs layer [2022-05-09T11:28:23.001Z] 0d9ebad4ef96: Pulling fs layer [2022-05-09T11:28:23.001Z] e9a5061849ea: Pulling fs layer [2022-05-09T11:28:23.001Z] d747dcd14b5f: Pulling fs layer [2022-05-09T11:28:23.001Z] 2de7ff778b66: Pulling fs layer [2022-05-09T11:28:23.001Z] e9a5061849ea: Waiting [2022-05-09T11:28:23.001Z] d747dcd14b5f: Waiting [2022-05-09T11:28:23.001Z] 0d9ebad4ef96: Waiting [2022-05-09T11:28:23.001Z] 2de7ff778b66: Waiting [2022-05-09T11:28:23.001Z] 9712f1f96733: Download complete [2022-05-09T11:28:23.269Z] 63f879dbbcfc: Verifying Checksum [2022-05-09T11:28:23.269Z] 63f879dbbcfc: Download complete [2022-05-09T11:28:23.529Z] 0d9ebad4ef96: Verifying Checksum [2022-05-09T11:28:23.529Z] 0d9ebad4ef96: Download complete [2022-05-09T11:28:23.529Z] d747dcd14b5f: Verifying Checksum [2022-05-09T11:28:23.529Z] d747dcd14b5f: Download complete [2022-05-09T11:28:23.529Z] ab5ef0e58194: Verifying Checksum [2022-05-09T11:28:23.529Z] ab5ef0e58194: Download complete [2022-05-09T11:28:23.529Z] e9a5061849ea: Verifying Checksum [2022-05-09T11:28:23.529Z] e9a5061849ea: Download complete [2022-05-09T11:28:23.529Z] 2de7ff778b66: Verifying Checksum [2022-05-09T11:28:23.529Z] 2de7ff778b66: Download complete [2022-05-09T11:28:26.823Z] ab5ef0e58194: Pull complete [2022-05-09T11:28:26.823Z] 9712f1f96733: Pull complete [2022-05-09T11:28:27.083Z] 63f879dbbcfc: Pull complete [2022-05-09T11:28:31.280Z] 0d9ebad4ef96: Pull complete [2022-05-09T11:28:31.280Z] e9a5061849ea: Pull complete [2022-05-09T11:28:31.280Z] d747dcd14b5f: Pull complete [2022-05-09T11:28:31.850Z] 2de7ff778b66: Pull complete [2022-05-09T11:28:31.850Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-09T11:28:31.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:28:31.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-09T11:28:31.913Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:28:31.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-09T11:28:34.158Z] $ docker top 964e11d4b21343d2056949431bcc79253be4ac998958f3305af13b4005d0da3b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:28:34.248Z] provisioning config files... [2022-05-09T11:28:34.255Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7570052026363255688tmp [2022-05-09T11:28:34.266Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3467125765117296786tmp [2022-05-09T11:28:34.276Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3799473392070243209tmp [Pipeline] { [Pipeline] echo [2022-05-09T11:28:34.291Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:34.576Z] ---> sigul-configuration.sh [2022-05-09T11:28:34.576Z] gpg: directory `/root/.gnupg' created [2022-05-09T11:28:34.576Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-09T11:28:34.576Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-09T11:28:34.576Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-09T11:28:34.576Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-09T11:28:34.576Z] gpg: CAST5 encrypted data [2022-05-09T11:28:34.576Z] gpg: encrypted with 1 passphrase [2022-05-09T11:28:34.576Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-09T11:28:34.866Z] + mkdir /home/jenkins [2022-05-09T11:28:34.866Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-09T11:28:35.158Z] + 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-09T11:28:35.168Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:35.451Z] ---> sigul-install.sh [2022-05-09T11:28:35.451Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-09T11:28:35.740Z] + git tag --list [2022-05-09T11:28:35.740Z] v1.0.0 [2022-05-09T11:28:35.740Z] v1.1.0 [2022-05-09T11:28:35.740Z] v1.1.1 [2022-05-09T11:28:35.740Z] v1.2.1 [2022-05-09T11:28:35.740Z] v1.2.2 [2022-05-09T11:28:35.740Z] v1.2.3 [2022-05-09T11:28:35.740Z] v1.3.0 [2022-05-09T11:28:35.740Z] v1.3.1 [2022-05-09T11:28:35.740Z] v2.0.0 [2022-05-09T11:28:35.740Z] v2.0.1-dev.1 [2022-05-09T11:28:35.740Z] v2.0.1-dev.10 [2022-05-09T11:28:35.740Z] v2.0.1-dev.11 [2022-05-09T11:28:35.740Z] v2.0.1-dev.12 [2022-05-09T11:28:35.740Z] v2.0.1-dev.13 [2022-05-09T11:28:35.740Z] v2.0.1-dev.14 [2022-05-09T11:28:35.740Z] v2.0.1-dev.15 [2022-05-09T11:28:35.740Z] v2.0.1-dev.2 [2022-05-09T11:28:35.740Z] v2.0.1-dev.3 [2022-05-09T11:28:35.740Z] v2.0.1-dev.4 [2022-05-09T11:28:35.740Z] v2.0.1-dev.5 [2022-05-09T11:28:35.740Z] v2.0.1-dev.6 [2022-05-09T11:28:35.740Z] v2.0.1-dev.7 [2022-05-09T11:28:35.740Z] v2.0.1-dev.8 [2022-05-09T11:28:35.740Z] v2.0.1-dev.9 [2022-05-09T11:28:35.740Z] v2.1.0 [2022-05-09T11:28:35.740Z] v2.2.0-dev.1 [2022-05-09T11:28:35.740Z] v2.2.0-dev.10 [2022-05-09T11:28:35.740Z] v2.2.0-dev.11 [2022-05-09T11:28:35.740Z] v2.2.0-dev.12 [2022-05-09T11:28:35.740Z] v2.2.0-dev.13 [2022-05-09T11:28:35.740Z] v2.2.0-dev.14 [2022-05-09T11:28:35.740Z] v2.2.0-dev.15 [2022-05-09T11:28:35.740Z] v2.2.0-dev.16 [2022-05-09T11:28:35.740Z] v2.2.0-dev.2 [2022-05-09T11:28:35.740Z] v2.2.0-dev.3 [2022-05-09T11:28:35.740Z] v2.2.0-dev.4 [2022-05-09T11:28:35.740Z] v2.2.0-dev.5 [2022-05-09T11:28:35.740Z] v2.2.0-dev.6 [2022-05-09T11:28:35.740Z] v2.2.0-dev.7 [2022-05-09T11:28:35.740Z] v2.2.0-dev.8 [2022-05-09T11:28:35.740Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-09T11:28:36.028Z] + lftools sign git-tag v2.2.0-dev.16 [2022-05-09T11:28:36.662Z] Signing Git tag with Sigul... [2022-05-09T11:28:36.662Z] Signing v2.2.0-dev.16 [Pipeline] echo [2022-05-09T11:28:36.934Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:37.228Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-09T11:28:37.235Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-09T11:28:37.255Z] $ docker stop --time=1 964e11d4b21343d2056949431bcc79253be4ac998958f3305af13b4005d0da3b [2022-05-09T11:28:38.572Z] $ docker rm -f 964e11d4b21343d2056949431bcc79253be4ac998958f3305af13b4005d0da3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-09T11:28:39.010Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:28:39.010Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:28:39.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:28:39.308Z] . [Pipeline] withDockerContainer [2022-05-09T11:28:39.376Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:28:39.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T11:28:39.793Z] $ docker top f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:28:39.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:28:39.889Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:28:40.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:28:40.022Z] $ docker exec f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 ssh-agent [2022-05-09T11:28:40.160Z] SSH_AUTH_SOCK=/tmp/ssh-sqC2Tk5LhmYH/agent.33 [2022-05-09T11:28:40.160Z] SSH_AGENT_PID=39 [2022-05-09T11:28:40.165Z] Running ssh-add (command line suppressed) [2022-05-09T11:28:40.279Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5501971836120321014.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5501971836120321014.key) [2022-05-09T11:28:40.295Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:28:40.597Z] + git semver bump pre [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,792 [bump_version] DEBUG bumping version:2.2.0-dev.16 on axis:pre with prefix:dev [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,792 [bump_version] DEBUG bumped version:2.2.0-dev.17 [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,792 [write_version] DEBUG write version:2.2.0-dev.17 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,792 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,794 [execute] INFO git cat-file --batch-check [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,798 [execute] INFO git cat-file --batch [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T11:28:40.858Z] 2022-05-09 11:28:40,804 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:28:40.858Z] 2.2.0-dev.17 [Pipeline] } [2022-05-09T11:28:40.870Z] $ docker exec --env ******** --env ******** f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 ssh-agent -k [2022-05-09T11:28:40.976Z] unset SSH_AUTH_SOCK; [2022-05-09T11:28:40.977Z] unset SSH_AGENT_PID; [2022-05-09T11:28:40.977Z] echo Agent pid 39 killed; [2022-05-09T11:28:40.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:28:41.299Z] + git semver [Pipeline] } [2022-05-09T11:28:41.574Z] $ docker stop --time=1 f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 [2022-05-09T11:28:42.890Z] $ docker rm -f f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T11:28:43.244Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:28:43.244Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:28:43.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:28:43.545Z] . [Pipeline] withDockerContainer [2022-05-09T11:28:43.606Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:28:43.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T11:28:44.028Z] $ docker top 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:28:44.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:28:44.177Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:28:44.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:28:44.326Z] $ docker exec 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 ssh-agent [2022-05-09T11:28:44.455Z] SSH_AUTH_SOCK=/tmp/ssh-nt3ROYpYpSl0/agent.35 [2022-05-09T11:28:44.455Z] SSH_AGENT_PID=42 [2022-05-09T11:28:44.462Z] Running ssh-add (command line suppressed) [2022-05-09T11:28:44.585Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2850955404948503643.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2850955404948503643.key) [2022-05-09T11:28:44.602Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:28:44.896Z] + git semver push [2022-05-09T11:28:45.156Z] 2022-05-09 11:28:45,095 [run_push] DEBUG push [2022-05-09T11:28:45.156Z] 2022-05-09 11:28:45,096 [execute] INFO git push origin semver [2022-05-09T11:28:45.156Z] 2022-05-09 11:28:45,096 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:28:46.100Z] 2022-05-09 11:28:46,034 [run_push] DEBUG push all version tags [2022-05-09T11:28:46.100Z] 2022-05-09 11:28:46,034 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-09T11:28:46.100Z] 2022-05-09 11:28:46,035 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:28:47.045Z] 2022-05-09 11:28:46,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-09T11:28:47.045Z] 2.2.0-dev.17 [Pipeline] } [2022-05-09T11:28:47.057Z] $ docker exec --env ******** --env ******** 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 ssh-agent -k [2022-05-09T11:28:47.155Z] unset SSH_AUTH_SOCK; [2022-05-09T11:28:47.156Z] unset SSH_AGENT_PID; [2022-05-09T11:28:47.156Z] echo Agent pid 42 killed; [2022-05-09T11:28:47.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:28:47.477Z] + git semver [Pipeline] } [2022-05-09T11:28:47.751Z] $ docker stop --time=1 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 [2022-05-09T11:28:49.059Z] $ docker rm -f 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 [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-09T11:28:49.744Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-05-09T11:28:49.744Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-09T11:28:49.744Z] total 16 [2022-05-09T11:28:49.744Z] drwxr-xr-x 3 root root 4096 May 9 11:20 . [2022-05-09T11:28:49.744Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:28 .. [2022-05-09T11:28:49.744Z] drwxr-xr-x 2 root root 4096 May 9 11:20 cost [2022-05-09T11:28:49.744Z] -rw-r--r-- 1 root root 87 May 9 11:20 cost.csv [2022-05-09T11:28:49.744Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-09T11:28:49.744Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-09T11:28:49.744Z] total 16 [2022-05-09T11:28:49.744Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 11:20 . [2022-05-09T11:28:49.744Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:28 .. [2022-05-09T11:28:49.744Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 11:20 cost [2022-05-09T11:28:49.744Z] -rw-r--r-- 1 jenkins jenkins 87 May 9 11:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:50.033Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:50.899Z] ---> package-listing.sh [2022-05-09T11:28:50.899Z] ++ facter osfamily [2022-05-09T11:28:50.899Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T11:28:51.160Z] + OS_FAMILY=debian [2022-05-09T11:28:51.160Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-05-09T11:28:51.160Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T11:28:51.160Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T11:28:51.160Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T11:28:51.160Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T11:28:51.160Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-09T11:28:51.160Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T11:28:51.160Z] + case "${OS_FAMILY}" in [2022-05-09T11:28:51.160Z] + dpkg -l [2022-05-09T11:28:51.160Z] + grep '^ii' [2022-05-09T11:28:51.160Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T11:28:51.160Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T11:28:51.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T11:28:51.160Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-09T11:28:51.160Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-05-09T11:28:51.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-05-09T11:28:51.173Z] 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/exfoundry_device-virtual-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-09T11:28:51.453Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:28:52.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T11:28:52.010Z] . [Pipeline] withDockerContainer [2022-05-09T11:28:52.072Z] prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container [2022-05-09T11:28:52.101Z] $ 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/exfoundry_device-virtual-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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-09T11:28:52.355Z] $ docker top 2e61f290283fc78510ac9492efa2a29f463a9cee9d5de1b85f11bb08b6f0084e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T11:28:52.713Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T11:28:53.003Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T11:28:53.294Z] + ls /var/log/sa-host [2022-05-09T11:28:53.294Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:28:53.524Z] provisioning config files... [2022-05-09T11:28:53.534Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1197258062482370903tmp [Pipeline] { [Pipeline] echo [2022-05-09T11:28:53.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:53.838Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T11:28:53.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:54.199Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T11:28:54.209Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:54.498Z] ---> sudo-logs.sh [2022-05-09T11:28:54.498Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T11:28:54.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:54.823Z] ---> job-cost.sh [2022-05-09T11:28:54.823Z] lf-activate-venv: SKIPPING [2022-05-09T11:28:54.823Z] DEBUG: total: 0.2199999988079071 [2022-05-09T11:28:54.823Z] INFO: Retrieving Stack Cost... [2022-05-09T11:28:55.394Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T11:28:55.655Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T11:28:55.668Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:28:55.957Z] ---> logs-deploy.sh [2022-05-09T11:28:55.957Z] lf-activate-venv: SKIPPING [2022-05-09T11:28:55.957Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/32 [2022-05-09T11:28:55.957Z] INFO: archiving workspace using pattern(s): [2022-05-09T11:28:56.899Z] Archives upload complete. [2022-05-09T11:28:56.899Z] INFO: archiving logs to Nexus