Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96006ed2597d0332e2f213be0d58e636152471aa 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-ssh3507925789564623823.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-ssh5047831284561226985.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-ssh15185757871020755958.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-ssh14007867688066120496.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-ssh15599927791619953828.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-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-45620’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-45616’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45617’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45620 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 96006ed2597d0332e2f213be0d58e636152471aa (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 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 Commit message: "Merge pull request #283 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T07:04:26.442Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T07:04:26.516Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T07:04:26.529Z] ========================================================= [2022-05-10T07:04:26.529Z] EdgeX Global Pipelines Version Info [2022-05-10T07:04:26.529Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:04:27.327Z] ------------------- [2022-05-10T07:04:27.327Z] stable info: [2022-05-10T07:04:27.327Z] ------------------- [2022-05-10T07:04:27.327Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:04:27.327Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T07:04:27.327Z] Message: update stable to v1.0.227 [2022-05-10T07:04:27.903Z] ------------------- [2022-05-10T07:04:27.903Z] experimental info: [2022-05-10T07:04:27.903Z] ------------------- [2022-05-10T07:04:27.903Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:04:27.903Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T07:04:27.903Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T07:04:28.023Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-05-10T07:04:28.040Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-05-10T07:04:28.053Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T07:04:28.063Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T07:04:28.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T07:04:28.087Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T07:04:28.103Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T07:04:28.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T07:04:28.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T07:04:28.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T07:04:28.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T07:04:28.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-05-10T07:04:28.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T07:04:28.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T07:04:28.213Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:04:28.229Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:04:28.243Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:04:28.254Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:04:28.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T07:04:28.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T07:04:28.310Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T07:04:28.325Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T07:04:28.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T07:04:28.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T07:04:28.371Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T07:04:28.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T07:04:28.403Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T07:04:28.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T07:04:28.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T07:04:28.438Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo [2022-05-10T07:04:28.450Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96006ed [Pipeline] echo [2022-05-10T07:04:28.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:04:28.509Z] provisioning config files... [2022-05-10T07:04:28.523Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3960073281121810281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:04:28.841Z] ---> docker-login.sh [2022-05-10T07:04:28.841Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:04:29.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:29.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:29.102Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:29.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:29.102Z] [2022-05-10T07:04:29.102Z] Login Succeeded [2022-05-10T07:04:29.102Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:04:29.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:29.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:29.365Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:29.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:29.365Z] [2022-05-10T07:04:29.365Z] Login Succeeded [2022-05-10T07:04:29.365Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:04:29.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:29.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:29.365Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:29.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:29.365Z] [2022-05-10T07:04:29.365Z] Login Succeeded [2022-05-10T07:04:29.365Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:04:29.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:29.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:29.632Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:29.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:29.632Z] [2022-05-10T07:04:29.632Z] Login Succeeded [2022-05-10T07:04:29.632Z] docker.io [2022-05-10T07:04:29.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:29.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:29.894Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:29.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:29.894Z] [2022-05-10T07:04:29.894Z] Login Succeeded [2022-05-10T07:04:29.894Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:04:29.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T07:04:30.289Z] + git rev-list -1 --merges 96006ed2597d0332e2f213be0d58e636152471aa~1..96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo [2022-05-10T07:04:30.393Z] -----------> git rev-list -1 --merges 96006ed2597d0332e2f213be0d58e636152471aa~1..96006ed2597d0332e2f213be0d58e636152471aa 96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:04:30.393Z] 96006ed2597d0332e2f213be0d58e636152471aa [false] [Pipeline] sh [2022-05-10T07:04:30.680Z] + git log --format=format:%s -1 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo [2022-05-10T07:04:30.697Z] ========================================================= [2022-05-10T07:04:30.697Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T07:04:30.697Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:04:31.037Z] + git log --format=format:%s -1 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo [2022-05-10T07:04:31.049Z] [semverPrep] GIT_COMMIT: 96006ed2597d0332e2f213be0d58e636152471aa, Commit Message: Merge pull request #283 from jpwhitemn/kamakura-rls-notes [Pipeline] echo [2022-05-10T07:04:31.061Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T07:04:31.466Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:04:31.466Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T07:04:31.466Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T07:04:31.466Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T07:04:31.466Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T07:04:31.466Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T07:04:31.466Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:31.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:04:31.814Z] [2022-05-10T07:04:31.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:32.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:04:32.120Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T07:04:32.120Z] 1fe172e4850f: Pulling fs layer [2022-05-10T07:04:32.120Z] caf521ccaac6: Pulling fs layer [2022-05-10T07:04:32.120Z] 3ead6fa29328: Pulling fs layer [2022-05-10T07:04:32.120Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T07:04:32.120Z] a8d5f1318db7: Pulling fs layer [2022-05-10T07:04:32.120Z] c427282e49a2: Pulling fs layer [2022-05-10T07:04:32.120Z] 1827001aaf11: Pulling fs layer [2022-05-10T07:04:32.120Z] 0714d37db230: Pulling fs layer [2022-05-10T07:04:32.120Z] ac28cf19c067: Pulling fs layer [2022-05-10T07:04:32.120Z] ca983d60f3e2: Pulling fs layer [2022-05-10T07:04:32.120Z] 9f894cec8388: Pulling fs layer [2022-05-10T07:04:32.120Z] 0714d37db230: Waiting [2022-05-10T07:04:32.120Z] ac28cf19c067: Waiting [2022-05-10T07:04:32.120Z] ca983d60f3e2: Waiting [2022-05-10T07:04:32.120Z] c427282e49a2: Waiting [2022-05-10T07:04:32.120Z] 9f894cec8388: Waiting [2022-05-10T07:04:32.120Z] 5c2a1cbceb83: Waiting [2022-05-10T07:04:32.120Z] 1827001aaf11: Waiting [2022-05-10T07:04:32.120Z] a8d5f1318db7: Waiting [2022-05-10T07:04:32.120Z] caf521ccaac6: Verifying Checksum [2022-05-10T07:04:32.120Z] caf521ccaac6: Download complete [2022-05-10T07:04:32.120Z] 5c2a1cbceb83: Download complete [2022-05-10T07:04:32.394Z] a8d5f1318db7: Verifying Checksum [2022-05-10T07:04:32.394Z] a8d5f1318db7: Download complete [2022-05-10T07:04:32.394Z] c427282e49a2: Verifying Checksum [2022-05-10T07:04:32.394Z] c427282e49a2: Download complete [2022-05-10T07:04:32.394Z] 3ead6fa29328: Verifying Checksum [2022-05-10T07:04:32.394Z] 3ead6fa29328: Download complete [2022-05-10T07:04:32.394Z] 0714d37db230: Verifying Checksum [2022-05-10T07:04:32.394Z] 0714d37db230: Download complete [2022-05-10T07:04:32.394Z] ac28cf19c067: Verifying Checksum [2022-05-10T07:04:32.394Z] ac28cf19c067: Download complete [2022-05-10T07:04:32.394Z] ca983d60f3e2: Verifying Checksum [2022-05-10T07:04:32.394Z] ca983d60f3e2: Download complete [2022-05-10T07:04:32.394Z] 9f894cec8388: Verifying Checksum [2022-05-10T07:04:32.394Z] 9f894cec8388: Download complete [2022-05-10T07:04:32.394Z] 1fe172e4850f: Verifying Checksum [2022-05-10T07:04:32.394Z] 1fe172e4850f: Download complete [2022-05-10T07:04:32.656Z] 1827001aaf11: Verifying Checksum [2022-05-10T07:04:32.656Z] 1827001aaf11: Download complete [2022-05-10T07:04:34.047Z] 1fe172e4850f: Pull complete [2022-05-10T07:04:34.047Z] caf521ccaac6: Pull complete [2022-05-10T07:04:34.618Z] 3ead6fa29328: Pull complete [2022-05-10T07:04:34.618Z] 5c2a1cbceb83: Pull complete [2022-05-10T07:04:34.879Z] a8d5f1318db7: Pull complete [2022-05-10T07:04:35.138Z] c427282e49a2: Pull complete [2022-05-10T07:04:37.046Z] 1827001aaf11: Pull complete [2022-05-10T07:04:37.046Z] 0714d37db230: Pull complete [2022-05-10T07:04:37.046Z] ac28cf19c067: Pull complete [2022-05-10T07:04:37.308Z] ca983d60f3e2: Pull complete [2022-05-10T07:04:37.308Z] 9f894cec8388: Pull complete [2022-05-10T07:04:37.308Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T07:04:37.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:04:37.308Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T07:04:37.390Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:04:37.403Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T07:04:39.020Z] $ docker top 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 -eo pid,comm [2022-05-10T07:04:39.119Z] 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-10T07:04:39.119Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:04:39.158Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:04:39.158Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:04:39.303Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:04:39.287Z] $ docker exec 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent [2022-05-10T07:04:39.436Z] SSH_AUTH_SOCK=/tmp/ssh-RHGraehFMYx6/agent.33 [2022-05-10T07:04:39.436Z] SSH_AGENT_PID=39 [2022-05-10T07:04:39.443Z] Running ssh-add (command line suppressed) [2022-05-10T07:04:39.554Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4131083467769886333.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4131083467769886333.key) [2022-05-10T07:04:39.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:04:39.883Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T07:04:39.886Z] $ docker exec --env ******** --env ******** 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent -k [2022-05-10T07:04:40.003Z] unset SSH_AUTH_SOCK; [2022-05-10T07:04:40.004Z] unset SSH_AGENT_PID; [2022-05-10T07:04:40.004Z] echo Agent pid 39 killed; [2022-05-10T07:04:40.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T07:04:40.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:04:40.060Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:04:40.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:04:40.198Z] $ docker exec 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent [2022-05-10T07:04:40.344Z] SSH_AUTH_SOCK=/tmp/ssh-eStRvz8ABPRd/agent.71 [2022-05-10T07:04:40.344Z] SSH_AGENT_PID=77 [2022-05-10T07:04:40.349Z] Running ssh-add (command line suppressed) [2022-05-10T07:04:40.452Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1711083597740614390.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1711083597740614390.key) [2022-05-10T07:04:40.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:04:40.778Z] + git semver init [2022-05-10T07:04:41.246Z] 2022-05-10 07:04:40,974 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T07:04:41.246Z] 2022-05-10 07:04:40,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-10T07:04:41.246Z] 2022-05-10 07:04:40,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-10T07:04:41.246Z] 2022-05-10 07:04:40,977 [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-10T07:04:42.633Z] 2022-05-10 07:04:42,262 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2022-05-10T07:04:42.633Z] 2022-05-10 07:04:42,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2022-05-10T07:04:42.633Z] 2022-05-10 07:04:42,262 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:04:42.633Z] 2022-05-10 07:04:42,263 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:04:42.633Z] 2.2.0-dev.17 [Pipeline] } [2022-05-10T07:04:42.631Z] $ docker exec --env ******** --env ******** 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent -k [2022-05-10T07:04:42.740Z] unset SSH_AUTH_SOCK; [2022-05-10T07:04:42.741Z] unset SSH_AGENT_PID; [2022-05-10T07:04:42.741Z] echo Agent pid 77 killed; [2022-05-10T07:04:42.767Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:04:43.073Z] + git semver [Pipeline] } [2022-05-10T07:04:43.340Z] $ docker stop --time=1 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 [2022-05-10T07:04:44.666Z] $ docker rm -f 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:04:45.039Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T07:04:45.318Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T07:04:45.321Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [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-10T07:04:45.499Z] provisioning config files... [2022-05-10T07:04:45.511Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2250945737489393052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:04:45.814Z] ---> docker-login.sh [2022-05-10T07:04:45.814Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:04:45.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:45.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:45.814Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:45.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:45.814Z] [2022-05-10T07:04:45.814Z] Login Succeeded [2022-05-10T07:04:45.814Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:04:45.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:46.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:46.073Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:46.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:46.073Z] [2022-05-10T07:04:46.073Z] Login Succeeded [2022-05-10T07:04:46.073Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:04:46.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:46.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:46.073Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:46.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:46.073Z] [2022-05-10T07:04:46.073Z] Login Succeeded [2022-05-10T07:04:46.073Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:04:46.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:46.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:46.338Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:46.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:46.338Z] [2022-05-10T07:04:46.338Z] Login Succeeded [2022-05-10T07:04:46.338Z] docker.io [2022-05-10T07:04:46.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:46.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:46.911Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:46.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:46.911Z] [2022-05-10T07:04:46.911Z] Login Succeeded [2022-05-10T07:04:46.911Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:04:46.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:04:47.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:04:47.014Z] ========================================================= [2022-05-10T07:04:47.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T07:04:47.014Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:47.330Z] + 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-10T07:04:47.330Z] Sending build context to Docker daemon 22.92MB [2022-05-10T07:04:47.330Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:04:47.330Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T07:04:47.590Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T07:04:47.590Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T07:04:47.590Z] 666ba61612fd: Pulling fs layer [2022-05-10T07:04:47.590Z] 8ed8ca486205: Pulling fs layer [2022-05-10T07:04:47.590Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T07:04:47.590Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T07:04:47.590Z] ca2b28591e48: Pulling fs layer [2022-05-10T07:04:47.590Z] 4fe6c5a15a65: Waiting [2022-05-10T07:04:47.590Z] 22a0e8bec74d: Waiting [2022-05-10T07:04:47.590Z] a51346096db8: Pulling fs layer [2022-05-10T07:04:47.590Z] ca2b28591e48: Waiting [2022-05-10T07:04:47.590Z] a51346096db8: Waiting [2022-05-10T07:04:47.590Z] daebc70d1ce1: Pulling fs layer [2022-05-10T07:04:47.590Z] 0e18a0eac166: Pulling fs layer [2022-05-10T07:04:47.590Z] daebc70d1ce1: Waiting [2022-05-10T07:04:47.590Z] 8ed8ca486205: Verifying Checksum [2022-05-10T07:04:47.590Z] 8ed8ca486205: Download complete [2022-05-10T07:04:47.590Z] 666ba61612fd: Download complete [2022-05-10T07:04:47.590Z] 22a0e8bec74d: Download complete [2022-05-10T07:04:47.590Z] ca2b28591e48: Download complete [2022-05-10T07:04:47.590Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T07:04:47.590Z] a51346096db8: Verifying Checksum [2022-05-10T07:04:47.590Z] a51346096db8: Download complete [2022-05-10T07:04:47.590Z] daebc70d1ce1: Verifying Checksum [2022-05-10T07:04:47.590Z] daebc70d1ce1: Download complete [2022-05-10T07:04:47.850Z] 59bf1c3509f3: Pull complete [2022-05-10T07:04:47.850Z] 666ba61612fd: Pull complete [2022-05-10T07:04:48.110Z] 8ed8ca486205: Pull complete [2022-05-10T07:04:48.368Z] 0e18a0eac166: Verifying Checksum [2022-05-10T07:04:48.368Z] 0e18a0eac166: Download complete [2022-05-10T07:04:48.368Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T07:04:48.368Z] 4fe6c5a15a65: Download complete [2022-05-10T07:04:52.577Z] 4fe6c5a15a65: Pull complete [2022-05-10T07:04:52.577Z] 22a0e8bec74d: Pull complete [2022-05-10T07:04:52.838Z] ca2b28591e48: Pull complete [2022-05-10T07:04:52.838Z] a51346096db8: Pull complete [2022-05-10T07:04:52.838Z] daebc70d1ce1: Pull complete [2022-05-10T07:04:55.374Z] 0e18a0eac166: Pull complete [2022-05-10T07:04:55.374Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T07:04:55.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T07:04:55.374Z] ---> f018257e8ee9 [2022-05-10T07:04:55.374Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:04:57.302Z] ---> Running in 151ef66e2ea1 [2022-05-10T07:04:57.302Z] Removing intermediate container 151ef66e2ea1 [2022-05-10T07:04:57.302Z] ---> 8455374ec277 [2022-05-10T07:04:57.302Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:04:57.302Z] ---> Running in 5ef3fd62e74b [2022-05-10T07:04:57.302Z] Removing intermediate container 5ef3fd62e74b [2022-05-10T07:04:57.302Z] ---> 171fd4aa79a1 [2022-05-10T07:04:57.302Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-10T07:04:57.302Z] ---> Running in d4dd86e0692c [2022-05-10T07:04:57.562Z] Removing intermediate container d4dd86e0692c [2022-05-10T07:04:57.562Z] ---> 2d448c4c96e6 [2022-05-10T07:04:57.562Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:04:57.562Z] ---> Running in c4d641c92f66 [2022-05-10T07:04:58.134Z] Removing intermediate container c4d641c92f66 [2022-05-10T07:04:58.134Z] ---> d47bef1b8764 [2022-05-10T07:04:58.134Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:04:58.393Z] ---> Running in 754aa2f2a2a5 [2022-05-10T07:04:58.653Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:04:59.598Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:04:59.598Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:04:59.860Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T07:04:59.860Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:04:59.860Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:05:00.122Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:05:00.122Z] OK: 224 MiB in 56 packages [2022-05-10T07:05:00.449Z] Still waiting to schedule task [2022-05-10T07:05:00.449Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T07:05:00.694Z] Removing intermediate container 754aa2f2a2a5 [2022-05-10T07:05:00.694Z] ---> 35e08e2b31bd [2022-05-10T07:05:00.694Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T07:05:00.694Z] ---> 01928456d81b [2022-05-10T07:05:00.694Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:05:00.956Z] ---> Running in f0364f80f0a0 [2022-05-10T07:05:16.121Z] Removing intermediate container f0364f80f0a0 [2022-05-10T07:05:16.121Z] ---> be618dd5036a [2022-05-10T07:05:16.121Z] Step 10/12 : COPY . . [2022-05-10T07:05:16.121Z] ---> cc372f569333 [2022-05-10T07:05:16.121Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T07:05:16.121Z] ---> Running in 5115723f9f36 [2022-05-10T07:05:16.121Z] Removing intermediate container 5115723f9f36 [2022-05-10T07:05:16.121Z] ---> c4eec955c71e [2022-05-10T07:05:16.121Z] Step 12/12 : RUN $MAKE [2022-05-10T07:05:16.121Z] ---> Running in 52469b5fa441 [2022-05-10T07:05:16.121Z] noop [2022-05-10T07:05:16.382Z] Removing intermediate container 52469b5fa441 [2022-05-10T07:05:16.382Z] ---> de861982619c [2022-05-10T07:05:16.643Z] Successfully built de861982619c [2022-05-10T07:05:16.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:05:16.952Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:05:16.952Z] . [Pipeline] withDockerContainer [2022-05-10T07:05:17.024Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:05:17.069Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T07:05:17.460Z] $ docker top fe833bf2234a6713aa0cbc85a0f53c0bcb04d1d846257e750b274a0b113010d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:05:17.816Z] + go version [2022-05-10T07:05:17.816Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T07:05:17.837Z] $ docker stop --time=1 fe833bf2234a6713aa0cbc85a0f53c0bcb04d1d846257e750b274a0b113010d8 [2022-05-10T07:05:19.138Z] $ docker rm -f fe833bf2234a6713aa0cbc85a0f53c0bcb04d1d846257e750b274a0b113010d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:05:19.599Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:05:19.599Z] . [Pipeline] withDockerContainer [2022-05-10T07:05:19.698Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:05:19.744Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-10T07:05:20.142Z] $ docker top 9bf163093ce2198916241cb9096a07d916f823363054c705461f855da0a504b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:05:20.505Z] + make test [2022-05-10T07:05:20.505Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T07:05:20.764Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-10T07:05:30.753Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-10T07:05:30.753Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements [2022-05-10T07:05:36.034Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:05:40.230Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:05:40.230Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:05:40.230Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:05:40.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:05:40.267Z] $ docker stop --time=1 9bf163093ce2198916241cb9096a07d916f823363054c705461f855da0a504b9 [2022-05-10T07:05:42.202Z] $ docker rm -f 9bf163093ce2198916241cb9096a07d916f823363054c705461f855da0a504b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:05:42.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:05:42.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T07:05:43.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:05:43.487Z] + ls -al . [2022-05-10T07:05:43.487Z] total 188 [2022-05-10T07:05:43.487Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:05 . [2022-05-10T07:05:43.487Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:04 .. [2022-05-10T07:05:43.487Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:04 .git [2022-05-10T07:05:43.487Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 .github [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 270 May 10 07:04 .gitignore [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:04 .golangci.yml [2022-05-10T07:05:43.487Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:04 .semver [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 10 07:04 Attribution.txt [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 9649 May 10 07:04 CHANGELOG.md [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 10 07:04 Dockerfile [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:04 GOVERNANCE.md [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 07:04 Jenkinsfile [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:04 LICENSE [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 10 07:04 Makefile [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 623 May 10 07:04 OWNERS.md [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 10 07:04 README.md [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:04 VERSION [2022-05-10T07:05:43.487Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 bin [2022-05-10T07:05:43.487Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 cmd [2022-05-10T07:05:43.487Z] -rw-r--r-- 1 jenkins jenkins 44128 May 10 07:05 coverage.out [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 3185 May 10 07:04 go.mod [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 35216 May 10 07:04 go.sum [2022-05-10T07:05:43.487Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 internal [2022-05-10T07:05:43.487Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 07:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:05:43.801Z] + 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=96006ed2597d0332e2f213be0d58e636152471aa --label arch=amd64 --label version=2.2.0-dev.17 . [2022-05-10T07:05:43.801Z] Sending build context to Docker daemon 22.97MB [2022-05-10T07:05:43.801Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:05:43.801Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-10T07:05:43.801Z] ---> de861982619c [2022-05-10T07:05:43.801Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:05:44.061Z] ---> Running in bc67b7abce67 [2022-05-10T07:05:44.061Z] Removing intermediate container bc67b7abce67 [2022-05-10T07:05:44.061Z] ---> d7efce3ca74e [2022-05-10T07:05:44.061Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:05:44.061Z] ---> Running in 516a9aa1ccd0 [2022-05-10T07:05:44.061Z] Removing intermediate container 516a9aa1ccd0 [2022-05-10T07:05:44.061Z] ---> 9f855b2a9b6e [2022-05-10T07:05:44.061Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-10T07:05:44.319Z] ---> Running in ee1e087e9804 [2022-05-10T07:05:44.319Z] Removing intermediate container ee1e087e9804 [2022-05-10T07:05:44.319Z] ---> 0fa9bcb2e563 [2022-05-10T07:05:44.319Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:05:44.319Z] ---> Running in b4c526b84985 [2022-05-10T07:05:44.889Z] Removing intermediate container b4c526b84985 [2022-05-10T07:05:44.889Z] ---> 83efcd7f1c3a [2022-05-10T07:05:44.889Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:05:44.889Z] ---> Running in 614496b4bee1 [2022-05-10T07:05:45.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:05:46.100Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:05:46.363Z] OK: 224 MiB in 56 packages [2022-05-10T07:05:46.934Z] Removing intermediate container 614496b4bee1 [2022-05-10T07:05:46.934Z] ---> 85657a9ddd02 [2022-05-10T07:05:46.934Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-10T07:05:46.934Z] ---> d61f1a27efe8 [2022-05-10T07:05:46.934Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:05:47.195Z] ---> Running in a6966c9094f8 [2022-05-10T07:05:47.765Z] Removing intermediate container a6966c9094f8 [2022-05-10T07:05:47.765Z] ---> 93132e2ef217 [2022-05-10T07:05:47.765Z] Step 10/26 : COPY . . [2022-05-10T07:05:48.337Z] ---> 4b788038ff3e [2022-05-10T07:05:48.337Z] Step 11/26 : ARG MAKE='make build' [2022-05-10T07:05:48.337Z] ---> Running in a29464b4874e [2022-05-10T07:05:48.597Z] Removing intermediate container a29464b4874e [2022-05-10T07:05:48.597Z] ---> c1f36a624afc [2022-05-10T07:05:48.597Z] Step 12/26 : RUN $MAKE [2022-05-10T07:05:48.597Z] ---> Running in 6a2677b5fedd [2022-05-10T07:05:48.857Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-10T07:06:10.798Z] Removing intermediate container 6a2677b5fedd [2022-05-10T07:06:10.798Z] ---> db850457d547 [2022-05-10T07:06:10.798Z] Step 13/26 : FROM alpine:3.14 [2022-05-10T07:06:10.798Z] 3.14: Pulling from library/alpine [2022-05-10T07:06:10.798Z] 8663204ce13b: Pulling fs layer [2022-05-10T07:06:10.798Z] 8663204ce13b: Download complete [2022-05-10T07:06:10.798Z] 8663204ce13b: Pull complete [2022-05-10T07:06:10.798Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:06:10.798Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:06:10.798Z] ---> e04c818066af [2022-05-10T07:06:10.798Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-10T07:06:10.798Z] ---> Running in 1d74bbac6a7f [2022-05-10T07:06:10.798Z] Removing intermediate container 1d74bbac6a7f [2022-05-10T07:06:10.798Z] ---> ad3b4a504854 [2022-05-10T07:06:10.798Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:06:10.798Z] ---> Running in dd6be19ade7c [2022-05-10T07:06:10.798Z] Removing intermediate container dd6be19ade7c [2022-05-10T07:06:10.798Z] ---> 7281bc3b9fd3 [2022-05-10T07:06:10.798Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:06:10.798Z] ---> Running in d659175c8893 [2022-05-10T07:06:11.058Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:06:11.998Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:06:11.998Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:06:12.259Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:06:12.259Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:06:12.519Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:06:12.519Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:06:12.519Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:06:12.779Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:06:12.779Z] OK: 8 MiB in 20 packages [2022-05-10T07:06:13.040Z] Removing intermediate container d659175c8893 [2022-05-10T07:06:13.040Z] ---> 72f729445b63 [2022-05-10T07:06:13.040Z] Step 17/26 : WORKDIR / [2022-05-10T07:06:13.040Z] ---> Running in c28324043ff6 [2022-05-10T07:06:13.300Z] Removing intermediate container c28324043ff6 [2022-05-10T07:06:13.300Z] ---> cb4f88df1ce4 [2022-05-10T07:06:13.300Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-10T07:06:13.300Z] ---> 51ae007c31ba [2022-05-10T07:06:13.300Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-10T07:06:13.559Z] ---> be0cc646dbf0 [2022-05-10T07:06:13.559Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-10T07:06:14.129Z] ---> 3a46e5ab5caf [2022-05-10T07:06:14.129Z] Step 21/26 : EXPOSE 59900 [2022-05-10T07:06:14.129Z] ---> Running in 052d23e58c6e [2022-05-10T07:06:14.129Z] Removing intermediate container 052d23e58c6e [2022-05-10T07:06:14.129Z] ---> 12e8db8d9432 [2022-05-10T07:06:14.129Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-10T07:06:14.129Z] ---> Running in daaedcbe7c2a [2022-05-10T07:06:14.389Z] Removing intermediate container daaedcbe7c2a [2022-05-10T07:06:14.389Z] ---> 9260e20ec4f4 [2022-05-10T07:06:14.389Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T07:06:14.389Z] ---> Running in 62dabc307131 [2022-05-10T07:06:14.389Z] Removing intermediate container 62dabc307131 [2022-05-10T07:06:14.389Z] ---> 731b79e35625 [2022-05-10T07:06:14.389Z] Step 24/26 : LABEL arch=amd64 [2022-05-10T07:06:14.389Z] ---> Running in ae2ee3b6d294 [2022-05-10T07:06:14.647Z] Removing intermediate container ae2ee3b6d294 [2022-05-10T07:06:14.647Z] ---> 80f62e7a71d8 [2022-05-10T07:06:14.647Z] Step 25/26 : LABEL git_sha=96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:06:14.647Z] ---> Running in e129b64aae25 [2022-05-10T07:06:14.647Z] Removing intermediate container e129b64aae25 [2022-05-10T07:06:14.647Z] ---> 33dcccc08eb1 [2022-05-10T07:06:14.647Z] Step 26/26 : LABEL version=2.2.0-dev.17 [2022-05-10T07:06:14.647Z] ---> Running in a20c82828b2a [2022-05-10T07:06:14.904Z] Removing intermediate container a20c82828b2a [2022-05-10T07:06:14.904Z] ---> f40454e216c4 [2022-05-10T07:06:14.904Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:06:14.904Z] Successfully built f40454e216c4 [2022-05-10T07:06:14.904Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:06:15.000Z] provisioning config files... [2022-05-10T07:06:15.012Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5597946499972690776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:06:15.316Z] ---> docker-login.sh [2022-05-10T07:06:15.316Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:06:15.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:06:15.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:06:15.316Z] Configure a credential helper to remove this warning. See [2022-05-10T07:06:15.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:06:15.316Z] [2022-05-10T07:06:15.316Z] Login Succeeded [2022-05-10T07:06:15.316Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:06:15.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:06:15.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:06:15.578Z] Configure a credential helper to remove this warning. See [2022-05-10T07:06:15.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:06:15.578Z] [2022-05-10T07:06:15.578Z] Login Succeeded [2022-05-10T07:06:15.578Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:06:15.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:06:15.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:06:15.578Z] Configure a credential helper to remove this warning. See [2022-05-10T07:06:15.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:06:15.578Z] [2022-05-10T07:06:15.578Z] Login Succeeded [2022-05-10T07:06:15.578Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:06:15.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:06:15.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:06:15.838Z] Configure a credential helper to remove this warning. See [2022-05-10T07:06:15.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:06:15.838Z] [2022-05-10T07:06:15.838Z] Login Succeeded [2022-05-10T07:06:15.838Z] docker.io [2022-05-10T07:06:15.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:06:16.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:06:16.098Z] Configure a credential helper to remove this warning. See [2022-05-10T07:06:16.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:06:16.098Z] [2022-05-10T07:06:16.098Z] Login Succeeded [2022-05-10T07:06:16.098Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:06:16.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:06:16.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:06:16.161Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-05-10T07:06:16.161Z] 96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:06:16.161Z] latest [2022-05-10T07:06:16.161Z] 2.2.0-dev.17 [2022-05-10T07:06:16.161Z] 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [2022-05-10T07:06:16.161Z] main [2022-05-10T07:06:16.161Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:16.481Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:16.773Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:06:16.773Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-10T07:06:16.773Z] 60849c7fe012: Preparing [2022-05-10T07:06:16.773Z] 7d18113f9ecf: Preparing [2022-05-10T07:06:16.773Z] c8f7e6b78b69: Preparing [2022-05-10T07:06:16.773Z] c8c0d910b223: Preparing [2022-05-10T07:06:16.773Z] ab709650c4b7: Preparing [2022-05-10T07:06:16.773Z] b541d28bf3b4: Preparing [2022-05-10T07:06:16.773Z] b541d28bf3b4: Waiting [2022-05-10T07:06:16.773Z] c8f7e6b78b69: Pushed [2022-05-10T07:06:16.773Z] 7d18113f9ecf: Pushed [2022-05-10T07:06:16.773Z] ab709650c4b7: Pushed [2022-05-10T07:06:16.773Z] b541d28bf3b4: Layer already exists [2022-05-10T07:06:17.033Z] c8c0d910b223: Pushed [2022-05-10T07:06:19.569Z] 60849c7fe012: Pushed [2022-05-10T07:06:19.569Z] 96006ed2597d0332e2f213be0d58e636152471aa: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:19.868Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:20.164Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-10T07:06:20.164Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-10T07:06:20.164Z] 60849c7fe012: Preparing [2022-05-10T07:06:20.164Z] 7d18113f9ecf: Preparing [2022-05-10T07:06:20.164Z] c8f7e6b78b69: Preparing [2022-05-10T07:06:20.164Z] c8c0d910b223: Preparing [2022-05-10T07:06:20.164Z] ab709650c4b7: Preparing [2022-05-10T07:06:20.164Z] b541d28bf3b4: Preparing [2022-05-10T07:06:20.164Z] b541d28bf3b4: Waiting [2022-05-10T07:06:20.164Z] 7d18113f9ecf: Layer already exists [2022-05-10T07:06:20.164Z] 60849c7fe012: Layer already exists [2022-05-10T07:06:20.164Z] c8c0d910b223: Layer already exists [2022-05-10T07:06:20.164Z] c8f7e6b78b69: Layer already exists [2022-05-10T07:06:20.164Z] ab709650c4b7: Layer already exists [2022-05-10T07:06:20.164Z] b541d28bf3b4: Layer already exists [2022-05-10T07:06:20.164Z] latest: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:20.468Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:20.760Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.17 [2022-05-10T07:06:20.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-10T07:06:20.760Z] 60849c7fe012: Preparing [2022-05-10T07:06:20.760Z] 7d18113f9ecf: Preparing [2022-05-10T07:06:20.760Z] c8f7e6b78b69: Preparing [2022-05-10T07:06:20.760Z] c8c0d910b223: Preparing [2022-05-10T07:06:20.760Z] ab709650c4b7: Preparing [2022-05-10T07:06:20.760Z] b541d28bf3b4: Preparing [2022-05-10T07:06:20.760Z] b541d28bf3b4: Waiting [2022-05-10T07:06:20.760Z] c8c0d910b223: Layer already exists [2022-05-10T07:06:20.760Z] 60849c7fe012: Layer already exists [2022-05-10T07:06:20.760Z] 7d18113f9ecf: Layer already exists [2022-05-10T07:06:20.760Z] ab709650c4b7: Layer already exists [2022-05-10T07:06:20.760Z] c8f7e6b78b69: Layer already exists [2022-05-10T07:06:20.760Z] b541d28bf3b4: Layer already exists [2022-05-10T07:06:20.760Z] 2.2.0-dev.17: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:21.056Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:21.348Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [2022-05-10T07:06:21.348Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-10T07:06:21.348Z] 60849c7fe012: Preparing [2022-05-10T07:06:21.348Z] 7d18113f9ecf: Preparing [2022-05-10T07:06:21.348Z] c8f7e6b78b69: Preparing [2022-05-10T07:06:21.348Z] c8c0d910b223: Preparing [2022-05-10T07:06:21.348Z] ab709650c4b7: Preparing [2022-05-10T07:06:21.348Z] b541d28bf3b4: Preparing [2022-05-10T07:06:21.348Z] b541d28bf3b4: Waiting [2022-05-10T07:06:21.348Z] c8c0d910b223: Layer already exists [2022-05-10T07:06:21.348Z] ab709650c4b7: Layer already exists [2022-05-10T07:06:21.348Z] c8f7e6b78b69: Layer already exists [2022-05-10T07:06:21.348Z] 60849c7fe012: Layer already exists [2022-05-10T07:06:21.348Z] 7d18113f9ecf: Layer already exists [2022-05-10T07:06:21.348Z] b541d28bf3b4: Layer already exists [2022-05-10T07:06:21.348Z] 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:21.644Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:21.937Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-05-10T07:06:21.937Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-10T07:06:21.937Z] 60849c7fe012: Preparing [2022-05-10T07:06:21.937Z] 7d18113f9ecf: Preparing [2022-05-10T07:06:21.937Z] c8f7e6b78b69: Preparing [2022-05-10T07:06:21.937Z] c8c0d910b223: Preparing [2022-05-10T07:06:21.937Z] ab709650c4b7: Preparing [2022-05-10T07:06:21.937Z] b541d28bf3b4: Preparing [2022-05-10T07:06:21.937Z] b541d28bf3b4: Waiting [2022-05-10T07:06:21.937Z] 60849c7fe012: Layer already exists [2022-05-10T07:06:21.937Z] 7d18113f9ecf: Layer already exists [2022-05-10T07:06:21.937Z] c8f7e6b78b69: Layer already exists [2022-05-10T07:06:21.937Z] c8c0d910b223: Layer already exists [2022-05-10T07:06:21.937Z] ab709650c4b7: Layer already exists [2022-05-10T07:06:21.937Z] b541d28bf3b4: Layer already exists [2022-05-10T07:06:21.937Z] main: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:06:21.978Z] ===================================================== [Pipeline] echo [2022-05-10T07:06:21.987Z] taggedImages: [2022-05-10T07:06:21.987Z] - nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:06:21.987Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-10T07:06:21.987Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.17 [2022-05-10T07:06:21.987Z] - nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [2022-05-10T07:06:21.987Z] - 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-10T07:06:22.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:06:22.348Z] [2022-05-10T07:06:22.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:06:22.651Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:06:22.651Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T07:06:22.651Z] 5eb5b503b376: Pulling fs layer [2022-05-10T07:06:22.651Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T07:06:22.651Z] ec43610c2a17: Pulling fs layer [2022-05-10T07:06:22.651Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T07:06:22.651Z] 33b1e0a273af: Pulling fs layer [2022-05-10T07:06:22.651Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T07:06:22.651Z] 2f39f015ded8: Pulling fs layer [2022-05-10T07:06:22.651Z] 3a2ae6a8a46f: Waiting [2022-05-10T07:06:22.651Z] 33b1e0a273af: Waiting [2022-05-10T07:06:22.651Z] 5d3b04190fa2: Waiting [2022-05-10T07:06:22.651Z] 2f39f015ded8: Waiting [2022-05-10T07:06:22.651Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T07:06:22.651Z] 5c69ac0246d0: Download complete [2022-05-10T07:06:22.651Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T07:06:22.651Z] 3a2ae6a8a46f: Download complete [2022-05-10T07:06:22.651Z] 33b1e0a273af: Verifying Checksum [2022-05-10T07:06:22.651Z] 33b1e0a273af: Download complete [2022-05-10T07:06:22.913Z] ec43610c2a17: Verifying Checksum [2022-05-10T07:06:22.913Z] ec43610c2a17: Download complete [2022-05-10T07:06:22.913Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T07:06:22.913Z] 5d3b04190fa2: Download complete [2022-05-10T07:06:22.913Z] 5eb5b503b376: Verifying Checksum [2022-05-10T07:06:22.913Z] 5eb5b503b376: Download complete [2022-05-10T07:06:23.480Z] 2f39f015ded8: Download complete [2022-05-10T07:06:24.049Z] 5eb5b503b376: Pull complete [2022-05-10T07:06:24.309Z] 5c69ac0246d0: Pull complete [2022-05-10T07:06:24.877Z] ec43610c2a17: Pull complete [2022-05-10T07:06:24.877Z] 3a2ae6a8a46f: Pull complete [2022-05-10T07:06:25.136Z] 33b1e0a273af: Pull complete [2022-05-10T07:06:25.136Z] 5d3b04190fa2: Pull complete [2022-05-10T07:06:29.447Z] 2f39f015ded8: Pull complete [2022-05-10T07:06:29.447Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T07:06:29.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:06:29.447Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T07:06:29.510Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:06:29.555Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T07:06:31.540Z] $ docker top 13edc0d3825978bf6603c51cfadd147cb6863b10a6f6ac9cec34747e33239ad6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:06:31.920Z] ---> job-cost.sh [2022-05-10T07:06:31.920Z] lf-activate-venv: SKIPPING [2022-05-10T07:06:31.920Z] INFO: No Stack... [2022-05-10T07:06:32.180Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:06:32.749Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:06:33.042Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-05-10T07:06:33.042Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T07:06:33.058Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [2022-05-10T07:06:33.065Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] did not exist. Created. [2022-05-10T07:06:33.065Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:06:33.370Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T07:06:33.412Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:06:33.420Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:06:33.446Z] $ docker stop --time=1 13edc0d3825978bf6603c51cfadd147cb6863b10a6f6ac9cec34747e33239ad6 [2022-05-10T07:06:34.627Z] $ docker rm -f 13edc0d3825978bf6603c51cfadd147cb6863b10a6f6ac9cec34747e33239ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T07:15:00.917Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-45837 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-05-10T07:15:00.929Z] Running in /w/workspace/device-virtual-go/33 [Pipeline] { [Pipeline] checkout [2022-05-10T07:15:01.307Z] The recommended git tool is: git [2022-05-10T07:15:09.830Z] using credential edgex-jenkins-ssh [2022-05-10T07:15:09.853Z] Cloning the remote Git repository [2022-05-10T07:15:09.952Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-05-10T07:15:10.148Z] > git init /w/workspace/device-virtual-go/33 # timeout=10 [2022-05-10T07:15:10.333Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-05-10T07:15:10.334Z] > git --version # timeout=10 [2022-05-10T07:15:10.352Z] > git --version # 'git version 2.25.1' [2022-05-10T07:15:10.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T07:15:10.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:15:12.735Z] Avoid second fetch [2022-05-10T07:15:12.736Z] Checking out Revision 96006ed2597d0332e2f213be0d58e636152471aa (main) [2022-05-10T07:15:12.695Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-05-10T07:15:12.717Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:15:12.770Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T07:15:12.788Z] > git checkout -f 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 [2022-05-10T07:15:17.230Z] Commit message: "Merge pull request #283 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:15:18.145Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T07:15:18.145Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:15:18.145Z] Dload Upload Total Spent Left Speed [2022-05-10T07:15:18.145Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2022-05-10T07:15:18.717Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T07:15:19.077Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T07:15:19.077Z] + sudo tee /etc/docker/daemon.new [2022-05-10T07:15:19.077Z] { [2022-05-10T07:15:19.077Z] "registry-mirrors": [ [2022-05-10T07:15:19.077Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T07:15:19.077Z] ], [2022-05-10T07:15:19.077Z] "bip": "10.250.0.254/24", [2022-05-10T07:15:19.077Z] "hosts": [ [2022-05-10T07:15:19.077Z] "tcp://0.0.0.0:5555", [2022-05-10T07:15:19.077Z] "unix:///var/run/docker.sock" [2022-05-10T07:15:19.077Z] ], [2022-05-10T07:15:19.077Z] "mtu": 1458, [2022-05-10T07:15:19.077Z] "selinux-enabled": true, [2022-05-10T07:15:19.077Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T07:15:19.077Z] } [Pipeline] sh [2022-05-10T07:15:19.451Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T07:15:19.805Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:15:38.172Z] provisioning config files... [2022-05-10T07:15:38.202Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/33@tmp/config8164757322420198850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:15:38.593Z] ---> docker-login.sh [2022-05-10T07:15:38.593Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:15:40.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:40.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:40.320Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:40.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:40.320Z] [2022-05-10T07:15:40.320Z] Login Succeeded [2022-05-10T07:15:40.320Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:15:40.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:40.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:40.891Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:40.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:40.891Z] [2022-05-10T07:15:40.891Z] Login Succeeded [2022-05-10T07:15:40.891Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:15:41.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:41.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:41.451Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:41.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:41.451Z] [2022-05-10T07:15:41.451Z] Login Succeeded [2022-05-10T07:15:41.451Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:15:41.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:42.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:42.099Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:42.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:42.100Z] [2022-05-10T07:15:42.100Z] Login Succeeded [2022-05-10T07:15:42.100Z] docker.io [2022-05-10T07:15:42.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:42.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:42.986Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:42.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:42.986Z] [2022-05-10T07:15:42.986Z] Login Succeeded [2022-05-10T07:15:42.986Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:15:43.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:15:43.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:15:43.527Z] ========================================================= [2022-05-10T07:15:43.527Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T07:15:43.527Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:43.898Z] + 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-10T07:15:44.513Z] Sending build context to Docker daemon 11.59MB [2022-05-10T07:15:44.513Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:15:44.513Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T07:15:44.513Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T07:15:44.513Z] 9b3977197b4f: Pulling fs layer [2022-05-10T07:15:44.513Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T07:15:44.513Z] 94645a83ff95: Pulling fs layer [2022-05-10T07:15:44.513Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T07:15:44.513Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T07:15:44.513Z] 3096ccb668a1: Pulling fs layer [2022-05-10T07:15:44.513Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T07:15:44.513Z] a4caa8a26152: Pulling fs layer [2022-05-10T07:15:44.513Z] 3096ccb668a1: Waiting [2022-05-10T07:15:44.513Z] e8cf19c19ddd: Waiting [2022-05-10T07:15:44.513Z] 3f3a8bcf1eab: Waiting [2022-05-10T07:15:44.513Z] a4caa8a26152: Waiting [2022-05-10T07:15:44.513Z] 0c92f367c5e7: Waiting [2022-05-10T07:15:44.513Z] 94645a83ff95: Verifying Checksum [2022-05-10T07:15:44.792Z] 94645a83ff95: Download complete [2022-05-10T07:15:44.792Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T07:15:44.792Z] 1a89e8eeedd5: Download complete [2022-05-10T07:15:44.792Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T07:15:44.792Z] 0c92f367c5e7: Download complete [2022-05-10T07:15:44.792Z] 3096ccb668a1: Verifying Checksum [2022-05-10T07:15:44.792Z] 3096ccb668a1: Download complete [2022-05-10T07:15:44.792Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T07:15:44.792Z] e8cf19c19ddd: Download complete [2022-05-10T07:15:44.792Z] 9b3977197b4f: Verifying Checksum [2022-05-10T07:15:44.792Z] 9b3977197b4f: Download complete [2022-05-10T07:15:45.794Z] 9b3977197b4f: Pull complete [2022-05-10T07:15:46.396Z] 1a89e8eeedd5: Pull complete [2022-05-10T07:15:46.685Z] 94645a83ff95: Pull complete [2022-05-10T07:15:46.970Z] a4caa8a26152: Verifying Checksum [2022-05-10T07:15:46.970Z] a4caa8a26152: Download complete [2022-05-10T07:15:47.569Z] 3f3a8bcf1eab: Download complete [2022-05-10T07:15:59.981Z] 3f3a8bcf1eab: Pull complete [2022-05-10T07:16:00.579Z] 0c92f367c5e7: Pull complete [2022-05-10T07:16:00.851Z] 3096ccb668a1: Pull complete [2022-05-10T07:16:01.124Z] e8cf19c19ddd: Pull complete [2022-05-10T07:16:07.841Z] a4caa8a26152: Pull complete [2022-05-10T07:16:07.841Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T07:16:07.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T07:16:07.841Z] ---> 725f1c02e7f9 [2022-05-10T07:16:07.841Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:16:08.450Z] ---> Running in 1758cef2a73a [2022-05-10T07:16:09.046Z] Removing intermediate container 1758cef2a73a [2022-05-10T07:16:09.046Z] ---> e48ffd1e318c [2022-05-10T07:16:09.046Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:16:09.046Z] ---> Running in 92f9528a160b [2022-05-10T07:16:09.322Z] Removing intermediate container 92f9528a160b [2022-05-10T07:16:09.322Z] ---> b948126dab38 [2022-05-10T07:16:09.322Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-10T07:16:09.596Z] ---> Running in d4975ee559ab [2022-05-10T07:16:09.873Z] Removing intermediate container d4975ee559ab [2022-05-10T07:16:09.873Z] ---> 4ec6bece1cad [2022-05-10T07:16:09.873Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:16:09.873Z] ---> Running in 4bb88a7ab92b [2022-05-10T07:16:11.858Z] Removing intermediate container 4bb88a7ab92b [2022-05-10T07:16:11.858Z] ---> 5825414bdb2d [2022-05-10T07:16:11.858Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:16:11.858Z] ---> Running in a895557ebe41 [2022-05-10T07:16:12.846Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:16:13.824Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:16:15.262Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:16:15.262Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T07:16:15.262Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:16:15.537Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:16:15.537Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:16:15.818Z] OK: 224 MiB in 56 packages [2022-05-10T07:16:16.813Z] Removing intermediate container a895557ebe41 [2022-05-10T07:16:16.813Z] ---> b2912fb41033 [2022-05-10T07:16:16.813Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T07:16:17.416Z] ---> b532332672a1 [2022-05-10T07:16:17.416Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:16:17.702Z] ---> Running in 431b0e0a1aa4 [2022-05-10T07:17:04.744Z] Removing intermediate container 431b0e0a1aa4 [2022-05-10T07:17:04.744Z] ---> c1d5e0a6c5a8 [2022-05-10T07:17:04.744Z] Step 10/12 : COPY . . [2022-05-10T07:17:04.744Z] ---> 9d28bf587e54 [2022-05-10T07:17:04.744Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T07:17:04.744Z] ---> Running in 890b2d36e66c [2022-05-10T07:17:05.341Z] Removing intermediate container 890b2d36e66c [2022-05-10T07:17:05.341Z] ---> 17454cc57015 [2022-05-10T07:17:05.341Z] Step 12/12 : RUN $MAKE [2022-05-10T07:17:05.341Z] ---> Running in e5df0da9acf5 [2022-05-10T07:17:06.328Z] noop [2022-05-10T07:17:07.314Z] Removing intermediate container e5df0da9acf5 [2022-05-10T07:17:07.314Z] ---> a48563d65a6d [2022-05-10T07:17:07.314Z] Successfully built a48563d65a6d [2022-05-10T07:17:07.314Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:17:07.699Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:17:07.699Z] . [Pipeline] withDockerContainer [2022-05-10T07:17:07.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-45837 does not seem to be running inside a container [2022-05-10T07:17:08.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/33 -v /w/workspace/device-virtual-go/33:/w/workspace/device-virtual-go/33:rw,z -v /w/workspace/device-virtual-go/33@tmp:/w/workspace/device-virtual-go/33@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-10T07:17:09.543Z] $ docker top 3ca15409cea7aaa14ada0ae7785495de12407a8bdab62706e02d75ffbf8f7676 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:17:10.495Z] + go version [2022-05-10T07:17:10.495Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T07:17:10.529Z] $ docker stop --time=1 3ca15409cea7aaa14ada0ae7785495de12407a8bdab62706e02d75ffbf8f7676 [2022-05-10T07:17:12.191Z] $ docker rm -f 3ca15409cea7aaa14ada0ae7785495de12407a8bdab62706e02d75ffbf8f7676 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:17:12.810Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:17:12.810Z] . [Pipeline] withDockerContainer [2022-05-10T07:17:13.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-45837 does not seem to be running inside a container [2022-05-10T07:17:13.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/33 -v /w/workspace/device-virtual-go/33:/w/workspace/device-virtual-go/33:rw,z -v /w/workspace/device-virtual-go/33@tmp:/w/workspace/device-virtual-go/33@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-10T07:17:14.578Z] $ docker top de1c7d58211a787a8ee0aaaaad2ee1c9862e451f237bbf02083935ecde8eb7db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:17:15.525Z] + make test [2022-05-10T07:17:15.525Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-10T07:17:17.517Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-10T07:18:54.482Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-10T07:18:54.482Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.160s coverage: 65.7% of statements [2022-05-10T07:18:54.482Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T07:18:54.482Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:19:26.895Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:19:26.895Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:19:26.895Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:19:27.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:19:27.926Z] $ docker stop --time=1 de1c7d58211a787a8ee0aaaaad2ee1c9862e451f237bbf02083935ecde8eb7db [2022-05-10T07:19:29.799Z] $ docker rm -f de1c7d58211a787a8ee0aaaaad2ee1c9862e451f237bbf02083935ecde8eb7db [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:19:30.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:19:30.863Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T07:19:31.437Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:19:31.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:19:32.322Z] + ls -al . [2022-05-10T07:19:32.322Z] total 184 [2022-05-10T07:19:32.322Z] drwxrwxr-x 7 jenkins jenkins 4096 May 10 07:19 . [2022-05-10T07:19:32.322Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:15 .. [2022-05-10T07:19:32.322Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:15 .git [2022-05-10T07:19:32.322Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 .github [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 270 May 10 07:15 .gitignore [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:15 .golangci.yml [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 10 07:15 Attribution.txt [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 9649 May 10 07:15 CHANGELOG.md [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 10 07:15 Dockerfile [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:15 GOVERNANCE.md [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 660 May 10 07:15 Jenkinsfile [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:15 LICENSE [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 10 07:15 Makefile [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 623 May 10 07:15 OWNERS.md [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 10 07:15 README.md [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:04 VERSION [2022-05-10T07:19:32.322Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 bin [2022-05-10T07:19:32.322Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 cmd [2022-05-10T07:19:32.322Z] -rw-r--r-- 1 jenkins jenkins 44128 May 10 07:18 coverage.out [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 3185 May 10 07:15 go.mod [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 35216 May 10 07:15 go.sum [2022-05-10T07:19:32.322Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 internal [2022-05-10T07:19:32.322Z] -rw-rw-r-- 1 jenkins jenkins 235 May 10 07:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:19:32.679Z] + 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=96006ed2597d0332e2f213be0d58e636152471aa --label arch=arm64 --label version=2.2.0-dev.17 . [2022-05-10T07:19:33.286Z] Sending build context to Docker daemon 11.63MB [2022-05-10T07:19:33.287Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:19:33.287Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-10T07:19:33.287Z] ---> a48563d65a6d [2022-05-10T07:19:33.287Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:19:33.287Z] ---> Running in da6cbe433df4 [2022-05-10T07:19:33.563Z] Removing intermediate container da6cbe433df4 [2022-05-10T07:19:33.563Z] ---> fec8f195a3f6 [2022-05-10T07:19:33.563Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:19:33.847Z] ---> Running in 2589bb9b4c8f [2022-05-10T07:19:34.124Z] Removing intermediate container 2589bb9b4c8f [2022-05-10T07:19:34.124Z] ---> fb881feab487 [2022-05-10T07:19:34.124Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-10T07:19:34.124Z] ---> Running in 91dc9961a8fb [2022-05-10T07:19:34.403Z] Removing intermediate container 91dc9961a8fb [2022-05-10T07:19:34.403Z] ---> 18af8f62dac7 [2022-05-10T07:19:34.403Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:19:34.676Z] ---> Running in 06036ee6f08a [2022-05-10T07:19:36.661Z] Removing intermediate container 06036ee6f08a [2022-05-10T07:19:36.661Z] ---> e72aed0b4804 [2022-05-10T07:19:36.661Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:19:36.661Z] ---> Running in d7dc1def1066 [2022-05-10T07:19:37.643Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:19:38.623Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:19:39.602Z] OK: 224 MiB in 56 packages [2022-05-10T07:19:40.198Z] Removing intermediate container d7dc1def1066 [2022-05-10T07:19:40.198Z] ---> bf1c6bb75771 [2022-05-10T07:19:40.198Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-10T07:19:40.796Z] ---> 64dcd35b84bf [2022-05-10T07:19:40.796Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:19:40.796Z] ---> Running in ac123da7bdf1 [2022-05-10T07:19:42.794Z] Removing intermediate container ac123da7bdf1 [2022-05-10T07:19:42.795Z] ---> 30282a736550 [2022-05-10T07:19:42.795Z] Step 10/26 : COPY . . [2022-05-10T07:19:44.230Z] ---> 9920b4ade45a [2022-05-10T07:19:44.230Z] Step 11/26 : ARG MAKE='make build' [2022-05-10T07:19:44.230Z] ---> Running in 6739c3dce170 [2022-05-10T07:19:44.505Z] Removing intermediate container 6739c3dce170 [2022-05-10T07:19:44.505Z] ---> a420272ed065 [2022-05-10T07:19:44.505Z] Step 12/26 : RUN $MAKE [2022-05-10T07:19:44.505Z] ---> Running in 56aa967bef4b [2022-05-10T07:19:45.941Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-10T07:22:07.872Z] Removing intermediate container 56aa967bef4b [2022-05-10T07:22:07.872Z] ---> ca85c12745e3 [2022-05-10T07:22:07.872Z] Step 13/26 : FROM alpine:3.14 [2022-05-10T07:22:07.872Z] 3.14: Pulling from library/alpine [2022-05-10T07:22:07.872Z] 455c02918c45: Pulling fs layer [2022-05-10T07:22:07.872Z] 455c02918c45: Verifying Checksum [2022-05-10T07:22:07.872Z] 455c02918c45: Download complete [2022-05-10T07:22:07.872Z] 455c02918c45: Pull complete [2022-05-10T07:22:07.872Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:22:07.872Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:22:07.872Z] ---> ac73e934f311 [2022-05-10T07:22:07.872Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-10T07:22:07.872Z] ---> Running in 31985262ab72 [2022-05-10T07:22:07.872Z] Removing intermediate container 31985262ab72 [2022-05-10T07:22:07.872Z] ---> a872deadb465 [2022-05-10T07:22:07.872Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:22:07.872Z] ---> Running in 0fcca975998a [2022-05-10T07:22:07.872Z] Removing intermediate container 0fcca975998a [2022-05-10T07:22:07.872Z] ---> 0f3fa8921d7a [2022-05-10T07:22:07.872Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:22:07.872Z] ---> Running in 38c94507c7b7 [2022-05-10T07:22:07.872Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:22:07.872Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:22:07.872Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:22:07.872Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:22:07.872Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:22:07.872Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:22:07.872Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:22:08.146Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:22:08.146Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:22:08.146Z] OK: 8 MiB in 20 packages [2022-05-10T07:22:09.140Z] Removing intermediate container 38c94507c7b7 [2022-05-10T07:22:09.141Z] ---> 1c8f73cc810b [2022-05-10T07:22:09.141Z] Step 17/26 : WORKDIR / [2022-05-10T07:22:09.141Z] ---> Running in 89c9d4bc9085 [2022-05-10T07:22:09.413Z] Removing intermediate container 89c9d4bc9085 [2022-05-10T07:22:09.413Z] ---> 01a1da19db99 [2022-05-10T07:22:09.413Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-10T07:22:10.016Z] ---> dcdc1d1a3a1a [2022-05-10T07:22:10.016Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-10T07:22:10.621Z] ---> 9f6bc6024ccb [2022-05-10T07:22:10.621Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-10T07:22:12.056Z] ---> 1b5d05a7d0c0 [2022-05-10T07:22:12.056Z] Step 21/26 : EXPOSE 59900 [2022-05-10T07:22:12.056Z] ---> Running in d2362c4361b7 [2022-05-10T07:22:12.342Z] Removing intermediate container d2362c4361b7 [2022-05-10T07:22:12.343Z] ---> ec0c038462a8 [2022-05-10T07:22:12.343Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-10T07:22:12.616Z] ---> Running in feb8592954f4 [2022-05-10T07:22:12.889Z] Removing intermediate container feb8592954f4 [2022-05-10T07:22:12.889Z] ---> c60d425e47dd [2022-05-10T07:22:12.889Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T07:22:12.889Z] ---> Running in 60dc84b4fb6c [2022-05-10T07:22:13.487Z] Removing intermediate container 60dc84b4fb6c [2022-05-10T07:22:13.487Z] ---> beb56bbe9e93 [2022-05-10T07:22:13.487Z] Step 24/26 : LABEL arch=arm64 [2022-05-10T07:22:13.487Z] ---> Running in 3276ff55c94d [2022-05-10T07:22:13.764Z] Removing intermediate container 3276ff55c94d [2022-05-10T07:22:13.764Z] ---> 8e32819c76ac [2022-05-10T07:22:13.764Z] Step 25/26 : LABEL git_sha=96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:22:13.764Z] ---> Running in db90f3a7c4cc [2022-05-10T07:22:14.040Z] Removing intermediate container db90f3a7c4cc [2022-05-10T07:22:14.040Z] ---> 4ee32b465f13 [2022-05-10T07:22:14.040Z] Step 26/26 : LABEL version=2.2.0-dev.17 [2022-05-10T07:22:14.312Z] ---> Running in f7d3bdba515c [2022-05-10T07:22:14.585Z] Removing intermediate container f7d3bdba515c [2022-05-10T07:22:14.585Z] ---> 0ac1c5ae7ead [2022-05-10T07:22:14.585Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:22:14.585Z] Successfully built 0ac1c5ae7ead [2022-05-10T07:22:14.585Z] 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-10T07:22:14.693Z] provisioning config files... [2022-05-10T07:22:14.714Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/33@tmp/config4663969473875928036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:22:15.079Z] ---> docker-login.sh [2022-05-10T07:22:15.079Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:22:15.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:22:15.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:22:15.361Z] Configure a credential helper to remove this warning. See [2022-05-10T07:22:15.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:22:15.361Z] [2022-05-10T07:22:15.361Z] Login Succeeded [2022-05-10T07:22:15.361Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:22:15.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:22:15.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:22:15.967Z] Configure a credential helper to remove this warning. See [2022-05-10T07:22:15.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:22:15.967Z] [2022-05-10T07:22:15.967Z] Login Succeeded [2022-05-10T07:22:15.967Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:22:16.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:22:16.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:22:16.513Z] Configure a credential helper to remove this warning. See [2022-05-10T07:22:16.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:22:16.513Z] [2022-05-10T07:22:16.513Z] Login Succeeded [2022-05-10T07:22:16.513Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:22:16.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:22:16.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:22:16.789Z] Configure a credential helper to remove this warning. See [2022-05-10T07:22:16.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:22:16.789Z] [2022-05-10T07:22:16.789Z] Login Succeeded [2022-05-10T07:22:16.789Z] docker.io [2022-05-10T07:22:17.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:22:17.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:22:17.658Z] Configure a credential helper to remove this warning. See [2022-05-10T07:22:17.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:22:17.658Z] [2022-05-10T07:22:17.658Z] Login Succeeded [2022-05-10T07:22:17.658Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:22:17.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:22:17.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:22:17.748Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-05-10T07:22:17.748Z] 96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:22:17.748Z] latest [2022-05-10T07:22:17.748Z] 2.2.0-dev.17 [2022-05-10T07:22:17.748Z] 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [2022-05-10T07:22:17.748Z] main [2022-05-10T07:22:17.748Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:18.111Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:18.461Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:22:18.461Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-10T07:22:18.461Z] 6d2128d05168: Preparing [2022-05-10T07:22:18.461Z] b2d26f73839e: Preparing [2022-05-10T07:22:18.461Z] c2fe77c0ab68: Preparing [2022-05-10T07:22:18.461Z] 53cea977a40e: Preparing [2022-05-10T07:22:18.461Z] 816a387e3b6a: Preparing [2022-05-10T07:22:18.461Z] f73e7dbfee58: Preparing [2022-05-10T07:22:18.461Z] f73e7dbfee58: Waiting [2022-05-10T07:22:18.736Z] b2d26f73839e: Pushed [2022-05-10T07:22:18.736Z] 816a387e3b6a: Pushed [2022-05-10T07:22:18.736Z] c2fe77c0ab68: Pushed [2022-05-10T07:22:18.736Z] f73e7dbfee58: Layer already exists [2022-05-10T07:22:19.335Z] 53cea977a40e: Pushed [2022-05-10T07:22:24.728Z] 6d2128d05168: Pushed [2022-05-10T07:22:24.728Z] 96006ed2597d0332e2f213be0d58e636152471aa: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:25.095Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:25.451Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-10T07:22:25.451Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-10T07:22:25.451Z] 6d2128d05168: Preparing [2022-05-10T07:22:25.451Z] b2d26f73839e: Preparing [2022-05-10T07:22:25.451Z] c2fe77c0ab68: Preparing [2022-05-10T07:22:25.451Z] 53cea977a40e: Preparing [2022-05-10T07:22:25.451Z] 816a387e3b6a: Preparing [2022-05-10T07:22:25.451Z] f73e7dbfee58: Preparing [2022-05-10T07:22:25.451Z] f73e7dbfee58: Waiting [2022-05-10T07:22:25.451Z] 816a387e3b6a: Layer already exists [2022-05-10T07:22:25.451Z] 53cea977a40e: Layer already exists [2022-05-10T07:22:25.451Z] b2d26f73839e: Layer already exists [2022-05-10T07:22:25.451Z] 6d2128d05168: Layer already exists [2022-05-10T07:22:25.451Z] c2fe77c0ab68: Layer already exists [2022-05-10T07:22:25.726Z] f73e7dbfee58: Layer already exists [2022-05-10T07:22:25.726Z] latest: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:26.076Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:26.429Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.17 [2022-05-10T07:22:26.429Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-10T07:22:26.429Z] 6d2128d05168: Preparing [2022-05-10T07:22:26.429Z] b2d26f73839e: Preparing [2022-05-10T07:22:26.429Z] c2fe77c0ab68: Preparing [2022-05-10T07:22:26.429Z] 53cea977a40e: Preparing [2022-05-10T07:22:26.429Z] 816a387e3b6a: Preparing [2022-05-10T07:22:26.429Z] f73e7dbfee58: Preparing [2022-05-10T07:22:26.429Z] f73e7dbfee58: Waiting [2022-05-10T07:22:26.703Z] 6d2128d05168: Layer already exists [2022-05-10T07:22:26.703Z] 816a387e3b6a: Layer already exists [2022-05-10T07:22:26.703Z] c2fe77c0ab68: Layer already exists [2022-05-10T07:22:26.703Z] 53cea977a40e: Layer already exists [2022-05-10T07:22:26.703Z] b2d26f73839e: Layer already exists [2022-05-10T07:22:26.703Z] f73e7dbfee58: Layer already exists [2022-05-10T07:22:26.703Z] 2.2.0-dev.17: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:27.058Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:27.412Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [2022-05-10T07:22:27.412Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-10T07:22:27.412Z] 6d2128d05168: Preparing [2022-05-10T07:22:27.412Z] b2d26f73839e: Preparing [2022-05-10T07:22:27.412Z] c2fe77c0ab68: Preparing [2022-05-10T07:22:27.412Z] 53cea977a40e: Preparing [2022-05-10T07:22:27.412Z] 816a387e3b6a: Preparing [2022-05-10T07:22:27.412Z] f73e7dbfee58: Preparing [2022-05-10T07:22:27.412Z] f73e7dbfee58: Waiting [2022-05-10T07:22:27.412Z] 53cea977a40e: Layer already exists [2022-05-10T07:22:27.412Z] b2d26f73839e: Layer already exists [2022-05-10T07:22:27.412Z] c2fe77c0ab68: Layer already exists [2022-05-10T07:22:27.412Z] 6d2128d05168: Layer already exists [2022-05-10T07:22:27.685Z] 816a387e3b6a: Layer already exists [2022-05-10T07:22:27.685Z] f73e7dbfee58: Layer already exists [2022-05-10T07:22:27.685Z] 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:28.041Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:28.395Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-05-10T07:22:28.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-10T07:22:28.395Z] 6d2128d05168: Preparing [2022-05-10T07:22:28.395Z] b2d26f73839e: Preparing [2022-05-10T07:22:28.395Z] c2fe77c0ab68: Preparing [2022-05-10T07:22:28.395Z] 53cea977a40e: Preparing [2022-05-10T07:22:28.395Z] 816a387e3b6a: Preparing [2022-05-10T07:22:28.395Z] f73e7dbfee58: Preparing [2022-05-10T07:22:28.395Z] f73e7dbfee58: Waiting [2022-05-10T07:22:28.395Z] b2d26f73839e: Layer already exists [2022-05-10T07:22:28.395Z] 6d2128d05168: Layer already exists [2022-05-10T07:22:28.395Z] 816a387e3b6a: Layer already exists [2022-05-10T07:22:28.395Z] 53cea977a40e: Layer already exists [2022-05-10T07:22:28.395Z] c2fe77c0ab68: Layer already exists [2022-05-10T07:22:28.671Z] f73e7dbfee58: Layer already exists [2022-05-10T07:22:28.671Z] main: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T07:22:28.721Z] ===================================================== [Pipeline] echo [2022-05-10T07:22:28.730Z] taggedImages: [2022-05-10T07:22:28.730Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa [2022-05-10T07:22:28.730Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-10T07:22:28.730Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.17 [2022-05-10T07:22:28.730Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [2022-05-10T07:22:28.730Z] - 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-10T07:22:29.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:22:29.111Z] [2022-05-10T07:22:29.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:29.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:22:29.758Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T07:22:29.758Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T07:22:29.758Z] 04944245beec: Pulling fs layer [2022-05-10T07:22:29.758Z] 699f458cf7ca: Pulling fs layer [2022-05-10T07:22:29.758Z] 765212b225bb: Pulling fs layer [2022-05-10T07:22:29.758Z] f23df028b6ca: Pulling fs layer [2022-05-10T07:22:29.758Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T07:22:29.758Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T07:22:29.758Z] f23df028b6ca: Waiting [2022-05-10T07:22:29.758Z] d65c8cfc05b1: Waiting [2022-05-10T07:22:29.758Z] 765212b225bb: Waiting [2022-05-10T07:22:29.758Z] 2437ff75d9bd: Waiting [2022-05-10T07:22:29.758Z] 04944245beec: Verifying Checksum [2022-05-10T07:22:29.758Z] 04944245beec: Download complete [2022-05-10T07:22:29.758Z] 765212b225bb: Verifying Checksum [2022-05-10T07:22:29.758Z] 765212b225bb: Download complete [2022-05-10T07:22:29.758Z] f23df028b6ca: Verifying Checksum [2022-05-10T07:22:29.758Z] f23df028b6ca: Download complete [2022-05-10T07:22:30.038Z] d65c8cfc05b1: Download complete [2022-05-10T07:22:30.038Z] 699f458cf7ca: Verifying Checksum [2022-05-10T07:22:30.038Z] 699f458cf7ca: Download complete [2022-05-10T07:22:30.314Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T07:22:30.314Z] 8998bd30e6a1: Download complete [2022-05-10T07:22:32.961Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T07:22:32.961Z] 2437ff75d9bd: Download complete [2022-05-10T07:22:34.952Z] 8998bd30e6a1: Pull complete [2022-05-10T07:22:35.559Z] 04944245beec: Pull complete [2022-05-10T07:22:37.006Z] 699f458cf7ca: Pull complete [2022-05-10T07:22:37.284Z] 765212b225bb: Pull complete [2022-05-10T07:22:38.281Z] f23df028b6ca: Pull complete [2022-05-10T07:22:38.559Z] d65c8cfc05b1: Pull complete [2022-05-10T07:22:53.687Z] 2437ff75d9bd: Pull complete [2022-05-10T07:22:53.687Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T07:22:53.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:22:53.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T07:22:53.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-45837 does not seem to be running inside a container [2022-05-10T07:22:54.066Z] $ 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/33 -v /w/workspace/device-virtual-go/33:/w/workspace/device-virtual-go/33:rw,z -v /w/workspace/device-virtual-go/33@tmp:/w/workspace/device-virtual-go/33@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-10T07:22:57.047Z] $ docker top 2433c15b9fb6752d7f29606107561fba09c2a4582973d8d7a3959ed8c7b480ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:22:57.991Z] ---> job-cost.sh [2022-05-10T07:22:57.991Z] lf-activate-venv: SKIPPING [2022-05-10T07:22:57.991Z] INFO: No Stack... [2022-05-10T07:22:58.265Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T07:22:59.251Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:22:59.944Z] + cat /w/workspace/device-virtual-go/33/archives/cost.csv [2022-05-10T07:22:59.944Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T07:23:00.028Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [2022-05-10T07:23:00.033Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] did not exist. Created. [2022-05-10T07:23:00.033Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:23:00.734Z] /w/workspace/device-virtual-go/33@tmp/durable-2950f414/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T07:23:01.434Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T07:23:01.467Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T07:23:01.519Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:23:01.587Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:23:01.619Z] $ docker stop --time=1 2433c15b9fb6752d7f29606107561fba09c2a4582973d8d7a3959ed8c7b480ef [2022-05-10T07:23:03.223Z] $ docker rm -f 2433c15b9fb6752d7f29606107561fba09c2a4582973d8d7a3959ed8c7b480ef [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-10T07:23:03.725Z] provisioning config files... [2022-05-10T07:23:03.733Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config577255187371043685tmp [Pipeline] { [Pipeline] sh [2022-05-10T07:23:04.027Z] + set +x [2022-05-10T07:23:04.027Z] + curl -s https://codecov.io/bash [2022-05-10T07:23:04.027Z] + bash -s -- [2022-05-10T07:23:04.027Z] [2022-05-10T07:23:04.027Z] _____ _ [2022-05-10T07:23:04.027Z] / ____| | | [2022-05-10T07:23:04.027Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T07:23:04.027Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T07:23:04.027Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T07:23:04.027Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T07:23:04.027Z] Bash-1.0.6 [2022-05-10T07:23:04.027Z] [2022-05-10T07:23:04.027Z] [2022-05-10T07:23:04.027Z] ==> git version 2.25.1 found [2022-05-10T07:23:04.027Z] ==> 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-10T07:23:04.027Z] Release-Date: 2020-01-08 [2022-05-10T07:23:04.027Z] 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-10T07:23:04.027Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T07:23:04.027Z] ==> Jenkins CI detected. [2022-05-10T07:23:04.027Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-05-10T07:23:04.027Z] project root: . [2022-05-10T07:23:04.027Z] --> token set from env [2022-05-10T07:23:04.027Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T07:23:04.028Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T07:23:04.028Z] ==> Python coveragepy not found [2022-05-10T07:23:04.028Z] ==> Searching for coverage reports in: [2022-05-10T07:23:04.028Z] + . [2022-05-10T07:23:04.028Z] -> Found 1 reports [2022-05-10T07:23:04.028Z] ==> Detecting git/mercurial file structure [2022-05-10T07:23:04.028Z] ==> Reading reports [2022-05-10T07:23:04.028Z] + ./coverage.out bytes=44128 [2022-05-10T07:23:04.028Z] ==> Appending adjustments [2022-05-10T07:23:04.028Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T07:23:04.287Z] + Found adjustments [2022-05-10T07:23:04.287Z] ==> Gzipping contents [2022-05-10T07:23:04.287Z] 8.0K /tmp/codecov.b77G74.gz [2022-05-10T07:23:04.287Z] ==> Uploading reports [2022-05-10T07:23:04.287Z] url: https://codecov.io [2022-05-10T07:23:04.287Z] query: branch=main&commit=96006ed2597d0332e2f213be0d58e636152471aa&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T07:23:04.287Z] -> Pinging Codecov [2022-05-10T07:23:04.287Z] 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=96006ed2597d0332e2f213be0d58e636152471aa&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T07:23:04.548Z] -> Uploading to [2022-05-10T07:23:04.548Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/5E52B4B073DB2E39498172D8E973AA87/96006ed2597d0332e2f213be0d58e636152471aa/70f44bb8-6a8e-4598-92ad-ed7f2027da69.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T072304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddcb260aa1dd5123ede0590b2a7553244bdad5c8a44311efe6e671551c1663ae [2022-05-10T07:23:04.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:23:04.548Z] Dload Upload Total Spent Left Speed [2022-05-10T07:23:04.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5282 0 0 100 5282 0 26019 --:--:-- --:--:-- --:--:-- 26019 100 5282 0 0 100 5282 0 24798 --:--:-- --:--:-- --:--:-- 24682 [2022-05-10T07:23:04.808Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] } [2022-05-10T07:23:04.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T07:23:04.958Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T07:23:04.969Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:05.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:23:05.266Z] [2022-05-10T07:23:05.266Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:05.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:23:05.573Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T07:23:05.573Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T07:23:05.573Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T07:23:05.573Z] de9db76c5a1d: Pulling fs layer [2022-05-10T07:23:05.573Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T07:23:05.573Z] 0d57e429df01: Pulling fs layer [2022-05-10T07:23:05.573Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T07:23:05.573Z] e1f770b5df2f: Pulling fs layer [2022-05-10T07:23:05.573Z] 85a0685a4137: Pulling fs layer [2022-05-10T07:23:05.573Z] 0d57e429df01: Waiting [2022-05-10T07:23:05.573Z] 4e4be7b47b0d: Waiting [2022-05-10T07:23:05.573Z] e1f770b5df2f: Waiting [2022-05-10T07:23:05.573Z] 85a0685a4137: Waiting [2022-05-10T07:23:05.573Z] 0eba1c9be4d2: Waiting [2022-05-10T07:23:05.573Z] de9db76c5a1d: Download complete [2022-05-10T07:23:05.573Z] 0ef7d3d256c8: Download complete [2022-05-10T07:23:05.573Z] 0d57e429df01: Verifying Checksum [2022-05-10T07:23:05.573Z] 0d57e429df01: Download complete [2022-05-10T07:23:05.573Z] 4e4be7b47b0d: Download complete [2022-05-10T07:23:05.573Z] 188c0c94c7c5: Download complete [2022-05-10T07:23:05.836Z] 188c0c94c7c5: Pull complete [2022-05-10T07:23:05.836Z] e1f770b5df2f: Verifying Checksum [2022-05-10T07:23:05.836Z] e1f770b5df2f: Download complete [2022-05-10T07:23:06.098Z] 0ef7d3d256c8: Pull complete [2022-05-10T07:23:06.098Z] de9db76c5a1d: Pull complete [2022-05-10T07:23:06.359Z] 0eba1c9be4d2: Download complete [2022-05-10T07:23:06.617Z] 85a0685a4137: Verifying Checksum [2022-05-10T07:23:06.617Z] 85a0685a4137: Download complete [2022-05-10T07:23:09.907Z] 0eba1c9be4d2: Pull complete [2022-05-10T07:23:09.907Z] 0d57e429df01: Pull complete [2022-05-10T07:23:09.907Z] 4e4be7b47b0d: Pull complete [2022-05-10T07:23:10.165Z] e1f770b5df2f: Pull complete [2022-05-10T07:23:13.448Z] 85a0685a4137: Pull complete [2022-05-10T07:23:13.448Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T07:23:13.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T07:23:13.448Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T07:23:13.516Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:23:13.574Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-10T07:23:16.624Z] $ docker top 1fb3491e07fb7da1e93bb9bb1b205dcbc07b7be91821965ba5fca462dbb9c4db -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T07:23:16.683Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T07:23:16.966Z] + set -o pipefail [2022-05-10T07:23:16.966Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T07:23:22.245Z] [2022-05-10T07:23:22.246Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-05-10T07:23:22.246Z] [2022-05-10T07:23:22.246Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e4efc9d1-e883-4551-90a7-04fe8e1440f0 [2022-05-10T07:23:22.246Z] [2022-05-10T07:23:22.246Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T07:23:22.246Z] [2022-05-10T07:23:22.506Z] [Pipeline] } [2022-05-10T07:23:22.542Z] $ docker stop --time=1 1fb3491e07fb7da1e93bb9bb1b205dcbc07b7be91821965ba5fca462dbb9c4db [2022-05-10T07:23:25.078Z] $ docker rm -f 1fb3491e07fb7da1e93bb9bb1b205dcbc07b7be91821965ba5fca462dbb9c4db [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-10T07:23:25.820Z] + git log --format=format:%s -1 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] sh [2022-05-10T07:23:26.114Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:23:26.114Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:26.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:23:26.412Z] . [Pipeline] withDockerContainer [2022-05-10T07:23:26.481Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:23:26.540Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T07:23:26.980Z] $ docker top 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 -eo pid,comm [2022-05-10T07:23:27.018Z] 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-10T07:23:27.018Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:23:27.055Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:23:27.055Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:23:27.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:23:27.205Z] $ docker exec 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 ssh-agent [2022-05-10T07:23:27.333Z] SSH_AUTH_SOCK=/tmp/ssh-WoU8yMp7f7SH/agent.32 [2022-05-10T07:23:27.333Z] SSH_AGENT_PID=38 [2022-05-10T07:23:27.343Z] Running ssh-add (command line suppressed) [2022-05-10T07:23:27.508Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8170427618837953486.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8170427618837953486.key) [2022-05-10T07:23:27.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:23:27.818Z] + git semver tag [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,050 [run_tag] DEBUG tag force:False [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,050 [check_head_tag] DEBUG check head tag [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,051 [execute] INFO git cat-file --batch-check [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,055 [execute] INFO git cat-file --batch [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,070 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,070 [execute] INFO git tag -a v2.2.0-dev.17 -m v2.2.0-dev.17 [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,070 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.17', '-m', 'v2.2.0-dev.17'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T07:23:28.078Z] 2022-05-10 07:23:28,076 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:23:28.078Z] 2.2.0-dev.17 [Pipeline] } [2022-05-10T07:23:28.112Z] $ docker exec --env ******** --env ******** 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 ssh-agent -k [2022-05-10T07:23:28.211Z] unset SSH_AUTH_SOCK; [2022-05-10T07:23:28.212Z] unset SSH_AGENT_PID; [2022-05-10T07:23:28.212Z] echo Agent pid 38 killed; [2022-05-10T07:23:28.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:23:28.509Z] + git semver [Pipeline] } [2022-05-10T07:23:28.805Z] $ docker stop --time=1 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 [2022-05-10T07:23:30.161Z] $ docker rm -f 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:30.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:23:30.539Z] [2022-05-10T07:23:30.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:30.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:23:30.839Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T07:23:30.839Z] ab5ef0e58194: Pulling fs layer [2022-05-10T07:23:30.839Z] 9712f1f96733: Pulling fs layer [2022-05-10T07:23:30.839Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T07:23:30.839Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T07:23:30.839Z] e9a5061849ea: Pulling fs layer [2022-05-10T07:23:30.839Z] d747dcd14b5f: Pulling fs layer [2022-05-10T07:23:30.839Z] 2de7ff778b66: Pulling fs layer [2022-05-10T07:23:30.839Z] 0d9ebad4ef96: Waiting [2022-05-10T07:23:30.839Z] e9a5061849ea: Waiting [2022-05-10T07:23:30.839Z] d747dcd14b5f: Waiting [2022-05-10T07:23:30.839Z] 9712f1f96733: Verifying Checksum [2022-05-10T07:23:30.839Z] 9712f1f96733: Download complete [2022-05-10T07:23:31.103Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T07:23:31.103Z] 63f879dbbcfc: Download complete [2022-05-10T07:23:31.365Z] e9a5061849ea: Verifying Checksum [2022-05-10T07:23:31.365Z] e9a5061849ea: Download complete [2022-05-10T07:23:31.365Z] d747dcd14b5f: Verifying Checksum [2022-05-10T07:23:31.365Z] d747dcd14b5f: Download complete [2022-05-10T07:23:31.365Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T07:23:31.365Z] 0d9ebad4ef96: Download complete [2022-05-10T07:23:31.365Z] ab5ef0e58194: Verifying Checksum [2022-05-10T07:23:31.365Z] ab5ef0e58194: Download complete [2022-05-10T07:23:31.624Z] 2de7ff778b66: Verifying Checksum [2022-05-10T07:23:31.624Z] 2de7ff778b66: Download complete [2022-05-10T07:23:34.910Z] ab5ef0e58194: Pull complete [2022-05-10T07:23:34.910Z] 9712f1f96733: Pull complete [2022-05-10T07:23:35.179Z] 63f879dbbcfc: Pull complete [2022-05-10T07:23:39.368Z] 0d9ebad4ef96: Pull complete [2022-05-10T07:23:39.368Z] e9a5061849ea: Pull complete [2022-05-10T07:23:39.368Z] d747dcd14b5f: Pull complete [2022-05-10T07:23:40.750Z] 2de7ff778b66: Pull complete [2022-05-10T07:23:40.750Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T07:23:40.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T07:23:40.750Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T07:23:40.815Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:23:40.873Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-10T07:23:45.004Z] $ docker top bcbbed653b1f489262204760b2bd78823cd7ea7dcf8122af417e95db36e17792 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:23:45.058Z] provisioning config files... [2022-05-10T07:23:45.066Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9151426438023558498tmp [2022-05-10T07:23:45.075Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4305644801739677764tmp [2022-05-10T07:23:45.084Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4507295279090599043tmp [Pipeline] { [Pipeline] echo [2022-05-10T07:23:45.100Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:45.390Z] ---> sigul-configuration.sh [2022-05-10T07:23:45.390Z] gpg: directory `/root/.gnupg' created [2022-05-10T07:23:45.390Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T07:23:45.390Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T07:23:45.390Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T07:23:45.390Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T07:23:45.390Z] gpg: CAST5 encrypted data [2022-05-10T07:23:45.390Z] gpg: encrypted with 1 passphrase [2022-05-10T07:23:45.390Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T07:23:45.681Z] + mkdir /home/jenkins [2022-05-10T07:23:45.681Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T07:23:45.972Z] + 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-10T07:23:45.982Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:46.269Z] ---> sigul-install.sh [2022-05-10T07:23:46.269Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T07:23:46.561Z] + git tag --list [2022-05-10T07:23:46.561Z] v1.0.0 [2022-05-10T07:23:46.561Z] v1.1.0 [2022-05-10T07:23:46.561Z] v1.1.1 [2022-05-10T07:23:46.561Z] v1.2.1 [2022-05-10T07:23:46.561Z] v1.2.2 [2022-05-10T07:23:46.561Z] v1.2.3 [2022-05-10T07:23:46.561Z] v1.3.0 [2022-05-10T07:23:46.561Z] v1.3.1 [2022-05-10T07:23:46.561Z] v2.0.0 [2022-05-10T07:23:46.561Z] v2.0.1-dev.1 [2022-05-10T07:23:46.561Z] v2.0.1-dev.10 [2022-05-10T07:23:46.561Z] v2.0.1-dev.11 [2022-05-10T07:23:46.561Z] v2.0.1-dev.12 [2022-05-10T07:23:46.561Z] v2.0.1-dev.13 [2022-05-10T07:23:46.561Z] v2.0.1-dev.14 [2022-05-10T07:23:46.561Z] v2.0.1-dev.15 [2022-05-10T07:23:46.561Z] v2.0.1-dev.2 [2022-05-10T07:23:46.561Z] v2.0.1-dev.3 [2022-05-10T07:23:46.561Z] v2.0.1-dev.4 [2022-05-10T07:23:46.561Z] v2.0.1-dev.5 [2022-05-10T07:23:46.561Z] v2.0.1-dev.6 [2022-05-10T07:23:46.561Z] v2.0.1-dev.7 [2022-05-10T07:23:46.561Z] v2.0.1-dev.8 [2022-05-10T07:23:46.561Z] v2.0.1-dev.9 [2022-05-10T07:23:46.561Z] v2.1.0 [2022-05-10T07:23:46.561Z] v2.2.0-dev.1 [2022-05-10T07:23:46.561Z] v2.2.0-dev.10 [2022-05-10T07:23:46.561Z] v2.2.0-dev.11 [2022-05-10T07:23:46.561Z] v2.2.0-dev.12 [2022-05-10T07:23:46.561Z] v2.2.0-dev.13 [2022-05-10T07:23:46.562Z] v2.2.0-dev.14 [2022-05-10T07:23:46.562Z] v2.2.0-dev.15 [2022-05-10T07:23:46.562Z] v2.2.0-dev.16 [2022-05-10T07:23:46.562Z] v2.2.0-dev.17 [2022-05-10T07:23:46.562Z] v2.2.0-dev.2 [2022-05-10T07:23:46.562Z] v2.2.0-dev.3 [2022-05-10T07:23:46.562Z] v2.2.0-dev.4 [2022-05-10T07:23:46.562Z] v2.2.0-dev.5 [2022-05-10T07:23:46.562Z] v2.2.0-dev.6 [2022-05-10T07:23:46.562Z] v2.2.0-dev.7 [2022-05-10T07:23:46.562Z] v2.2.0-dev.8 [2022-05-10T07:23:46.562Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T07:23:46.855Z] + lftools sign git-tag v2.2.0-dev.17 [2022-05-10T07:23:47.426Z] Signing Git tag with Sigul... [2022-05-10T07:23:47.426Z] Signing v2.2.0-dev.17 [Pipeline] echo [2022-05-10T07:23:47.698Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:47.983Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T07:23:47.991Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T07:23:48.035Z] $ docker stop --time=1 bcbbed653b1f489262204760b2bd78823cd7ea7dcf8122af417e95db36e17792 [2022-05-10T07:23:49.435Z] $ docker rm -f bcbbed653b1f489262204760b2bd78823cd7ea7dcf8122af417e95db36e17792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T07:23:49.843Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:23:49.843Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:50.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:23:50.141Z] . [Pipeline] withDockerContainer [2022-05-10T07:23:50.206Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:23:50.263Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T07:23:50.641Z] $ docker top 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:23:50.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:23:50.719Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:23:50.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:23:50.867Z] $ docker exec 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e ssh-agent [2022-05-10T07:23:50.967Z] SSH_AUTH_SOCK=/tmp/ssh-jw16h2BFUANf/agent.32 [2022-05-10T07:23:50.967Z] SSH_AGENT_PID=38 [2022-05-10T07:23:50.972Z] Running ssh-add (command line suppressed) [2022-05-10T07:23:51.106Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2476125418035733252.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2476125418035733252.key) [2022-05-10T07:23:51.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:23:51.390Z] + git semver bump pre [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,593 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,594 [bump_version] DEBUG bumping version:2.2.0-dev.17 on axis:pre with prefix:dev [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,594 [bump_version] DEBUG bumped version:2.2.0-dev.18 [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,594 [write_version] DEBUG write version:2.2.0-dev.18 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,594 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,594 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,596 [execute] INFO git cat-file --batch-check [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,597 [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-10T07:23:51.650Z] 2022-05-10 07:23:51,602 [execute] INFO git cat-file --batch [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T07:23:51.650Z] 2022-05-10 07:23:51,608 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:23:51.650Z] 2.2.0-dev.18 [Pipeline] } [2022-05-10T07:23:51.682Z] $ docker exec --env ******** --env ******** 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e ssh-agent -k [2022-05-10T07:23:51.808Z] unset SSH_AUTH_SOCK; [2022-05-10T07:23:51.808Z] unset SSH_AGENT_PID; [2022-05-10T07:23:51.808Z] echo Agent pid 38 killed; [2022-05-10T07:23:51.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:23:52.103Z] + git semver [Pipeline] } [2022-05-10T07:23:52.401Z] $ docker stop --time=1 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e [2022-05-10T07:23:53.689Z] $ docker rm -f 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:23:54.020Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:23:54.020Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:23:54.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:23:54.315Z] . [Pipeline] withDockerContainer [2022-05-10T07:23:54.385Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:23:54.443Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T07:23:54.842Z] $ docker top 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:23:54.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:23:54.933Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:23:55.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:23:55.103Z] $ docker exec 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 ssh-agent [2022-05-10T07:23:55.205Z] SSH_AUTH_SOCK=/tmp/ssh-EMmdWPseVaJl/agent.34 [2022-05-10T07:23:55.205Z] SSH_AGENT_PID=40 [2022-05-10T07:23:55.210Z] Running ssh-add (command line suppressed) [2022-05-10T07:23:55.360Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2399699788762239884.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2399699788762239884.key) [2022-05-10T07:23:55.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:23:55.715Z] + git semver push [2022-05-10T07:23:55.974Z] 2022-05-10 07:23:55,912 [run_push] DEBUG push [2022-05-10T07:23:55.974Z] 2022-05-10 07:23:55,913 [execute] INFO git push origin semver [2022-05-10T07:23:55.974Z] 2022-05-10 07:23:55,913 [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-10T07:23:56.917Z] 2022-05-10 07:23:56,671 [run_push] DEBUG push all version tags [2022-05-10T07:23:56.917Z] 2022-05-10 07:23:56,672 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T07:23:56.917Z] 2022-05-10 07:23:56,672 [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-10T07:23:57.488Z] 2022-05-10 07:23:57,398 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-10T07:23:57.488Z] 2.2.0-dev.18 [Pipeline] } [2022-05-10T07:23:57.521Z] $ docker exec --env ******** --env ******** 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 ssh-agent -k [2022-05-10T07:23:57.638Z] unset SSH_AUTH_SOCK; [2022-05-10T07:23:57.638Z] unset SSH_AGENT_PID; [2022-05-10T07:23:57.638Z] echo Agent pid 40 killed; [2022-05-10T07:23:57.631Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:23:57.946Z] + git semver [Pipeline] } [2022-05-10T07:23:58.245Z] $ docker stop --time=1 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 [2022-05-10T07:23:59.559Z] $ docker rm -f 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 [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-10T07:24:00.078Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-05-10T07:24:00.078Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-10T07:24:00.078Z] total 16 [2022-05-10T07:24:00.078Z] drwxr-xr-x 3 root root 4096 May 10 07:06 . [2022-05-10T07:24:00.078Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:23 .. [2022-05-10T07:24:00.078Z] drwxr-xr-x 2 root root 4096 May 10 07:06 cost [2022-05-10T07:24:00.078Z] -rw-r--r-- 1 root root 87 May 10 07:06 cost.csv [2022-05-10T07:24:00.078Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-10T07:24:00.078Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-10T07:24:00.078Z] total 16 [2022-05-10T07:24:00.078Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:06 . [2022-05-10T07:24:00.078Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:23 .. [2022-05-10T07:24:00.078Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:06 cost [2022-05-10T07:24:00.078Z] -rw-r--r-- 1 jenkins jenkins 87 May 10 07:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:00.373Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:01.231Z] ---> package-listing.sh [2022-05-10T07:24:01.231Z] ++ facter osfamily [2022-05-10T07:24:01.231Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T07:24:01.491Z] + OS_FAMILY=debian [2022-05-10T07:24:01.491Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-05-10T07:24:01.491Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T07:24:01.491Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T07:24:01.491Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T07:24:01.491Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T07:24:01.491Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-10T07:24:01.491Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T07:24:01.491Z] + case "${OS_FAMILY}" in [2022-05-10T07:24:01.491Z] + dpkg -l [2022-05-10T07:24:01.491Z] + grep '^ii' [2022-05-10T07:24:01.491Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T07:24:01.491Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T07:24:01.491Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T07:24:01.491Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-10T07:24:01.491Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-05-10T07:24:01.491Z] + 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-10T07:24:01.502Z] 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-10T07:24:01.783Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:24:02.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:24:02.339Z] . [Pipeline] withDockerContainer [2022-05-10T07:24:02.408Z] prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container [2022-05-10T07:24:02.465Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T07:24:02.742Z] $ docker top 4cdbd33112cfd795f47e17aad6bb344c0ed8388ad882ab1f4180ced7dfc82475 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:24:03.075Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T07:24:03.362Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T07:24:03.650Z] + ls /var/log/sa-host [2022-05-10T07:24:03.650Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:24:03.737Z] provisioning config files... [2022-05-10T07:24:03.745Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8328608775679873589tmp [Pipeline] { [Pipeline] echo [2022-05-10T07:24:03.761Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:04.042Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T07:24:04.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:04.378Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T07:24:04.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:04.670Z] ---> sudo-logs.sh [2022-05-10T07:24:04.671Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T07:24:04.699Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:04.988Z] ---> job-cost.sh [2022-05-10T07:24:04.988Z] lf-activate-venv: SKIPPING [2022-05-10T07:24:04.988Z] DEBUG: total: 0.2199999988079071 [2022-05-10T07:24:04.988Z] INFO: Retrieving Stack Cost... [2022-05-10T07:24:05.557Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:24:05.817Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T07:24:05.830Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:24:06.117Z] ---> logs-deploy.sh [2022-05-10T07:24:06.117Z] lf-activate-venv: SKIPPING [2022-05-10T07:24:06.117Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/33 [2022-05-10T07:24:06.117Z] INFO: archiving workspace using pattern(s): [2022-05-10T07:24:07.058Z] Archives upload complete. [2022-05-10T07:24:07.058Z] INFO: archiving logs to Nexus