Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92eeb058ea4423f52907451924a865deb70e0eda 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-ssh16451018510045626351.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14360194644007744459.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-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-ssh7453397149876957903.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18412276711440710761.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-ssh16281121513941040129.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-11750’ Running on prd-ubuntu20.04-docker-8c-8g-11753 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 92eeb058ea4423f52907451924a865deb70e0eda (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 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 Commit message: "Merge pull request #275 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-10T05:01:35.176Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-10T05:01:35.244Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-10T05:01:35.266Z] ========================================================= [2022-04-10T05:01:35.266Z] EdgeX Global Pipelines Version Info [2022-04-10T05:01:35.266Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:01:36.031Z] ------------------- [2022-04-10T05:01:36.031Z] stable info: [2022-04-10T05:01:36.031Z] ------------------- [2022-04-10T05:01:36.031Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-10T05:01:36.031Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:01:36.031Z] Message: update stable to v1.0.221 [2022-04-10T05:01:36.612Z] ------------------- [2022-04-10T05:01:36.612Z] experimental info: [2022-04-10T05:01:36.612Z] ------------------- [2022-04-10T05:01:36.612Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-10T05:01:36.612Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-10T05:01:36.612Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-10T05:01:36.737Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-10T05:01:36.751Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-10T05:01:36.770Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-10T05:01:36.781Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-10T05:01:36.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-10T05:01:36.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-10T05:01:36.820Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-10T05:01:36.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-10T05:01:36.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-10T05:01:36.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-10T05:01:36.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-10T05:01:36.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-10T05:01:36.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-10T05:01:36.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-10T05:01:36.930Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:01:36.944Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-10T05:01:36.962Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:01:36.981Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-10T05:01:36.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-10T05:01:37.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-10T05:01:37.026Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-10T05:01:37.036Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-10T05:01:37.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-10T05:01:37.065Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-10T05:01:37.078Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-10T05:01:37.091Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-10T05:01:37.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-10T05:01:37.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-10T05:01:37.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-10T05:01:37.144Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo [2022-04-10T05:01:37.229Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92eeb05 [Pipeline] echo [2022-04-10T05:01:37.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:01:37.290Z] provisioning config files... [2022-04-10T05:01:37.306Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3790390078555781898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:01:37.623Z] ---> docker-login.sh [2022-04-10T05:01:37.623Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:01:37.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:37.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:37.885Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:37.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:37.885Z] [2022-04-10T05:01:37.885Z] Login Succeeded [2022-04-10T05:01:37.885Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:01:38.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:38.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:38.146Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:38.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:38.146Z] [2022-04-10T05:01:38.146Z] Login Succeeded [2022-04-10T05:01:38.146Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:01:38.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:38.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:38.146Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:38.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:38.147Z] [2022-04-10T05:01:38.147Z] Login Succeeded [2022-04-10T05:01:38.147Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:01:38.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:38.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:38.409Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:38.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:38.409Z] [2022-04-10T05:01:38.409Z] Login Succeeded [2022-04-10T05:01:38.409Z] docker.io [2022-04-10T05:01:38.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:38.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:38.984Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:38.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:38.984Z] [2022-04-10T05:01:38.984Z] Login Succeeded [2022-04-10T05:01:38.984Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:01:38.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-10T05:01:39.379Z] + git rev-list -1 --merges 92eeb058ea4423f52907451924a865deb70e0eda~1..92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo [2022-04-10T05:01:39.526Z] -----------> git rev-list -1 --merges 92eeb058ea4423f52907451924a865deb70e0eda~1..92eeb058ea4423f52907451924a865deb70e0eda 92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:01:39.526Z] 92eeb058ea4423f52907451924a865deb70e0eda [false] [Pipeline] sh [2022-04-10T05:01:39.815Z] + git log --format=format:%s -1 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo [2022-04-10T05:01:39.833Z] ========================================================= [2022-04-10T05:01:39.833Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-10T05:01:39.833Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:01:40.175Z] + git log --format=format:%s -1 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] echo [2022-04-10T05:01:40.189Z] [semverPrep] GIT_COMMIT: 92eeb058ea4423f52907451924a865deb70e0eda, Commit Message: Merge pull request #275 from jpwhitemn/enable-security-hardening [Pipeline] echo [2022-04-10T05:01:40.202Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-10T05:01:40.588Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:01:40.588Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-10T05:01:40.588Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-10T05:01:40.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-10T05:01:40.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-10T05:01:40.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-10T05:01:40.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:01:40.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:01:40.930Z] [2022-04-10T05:01:40.930Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:01:41.234Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:01:41.234Z] latest: Pulling from edgex-devops/git-semver [2022-04-10T05:01:41.234Z] a0d0a0d46f8b: Pulling fs layer [2022-04-10T05:01:41.234Z] 3e5f54012d9b: Pulling fs layer [2022-04-10T05:01:41.234Z] 4c7163046ea9: Pulling fs layer [2022-04-10T05:01:41.234Z] 0c2d73faf560: Pulling fs layer [2022-04-10T05:01:41.234Z] 0c2d73faf560: Waiting [2022-04-10T05:01:41.234Z] 3e5f54012d9b: Download complete [2022-04-10T05:01:41.234Z] a0d0a0d46f8b: Verifying Checksum [2022-04-10T05:01:41.234Z] a0d0a0d46f8b: Download complete [2022-04-10T05:01:41.234Z] 0c2d73faf560: Verifying Checksum [2022-04-10T05:01:41.234Z] 4c7163046ea9: Verifying Checksum [2022-04-10T05:01:41.500Z] a0d0a0d46f8b: Pull complete [2022-04-10T05:01:41.501Z] 3e5f54012d9b: Pull complete [2022-04-10T05:01:41.763Z] 4c7163046ea9: Pull complete [2022-04-10T05:01:42.029Z] 0c2d73faf560: Pull complete [2022-04-10T05:01:42.029Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-10T05:01:42.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:01:42.029Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-10T05:01:42.114Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:01:42.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:01:42.802Z] $ docker top cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:01:42.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:01:42.914Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:01:43.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:01:43.035Z] $ docker exec cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent [2022-04-10T05:01:43.194Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkkJHan/agent.13 [2022-04-10T05:01:43.194Z] SSH_AGENT_PID=20 [2022-04-10T05:01:43.205Z] Running ssh-add (command line suppressed) [2022-04-10T05:01:43.323Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7019510917109090507.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7019510917109090507.key) [2022-04-10T05:01:43.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:01:43.644Z] + git tag --points-at HEAD [Pipeline] } [2022-04-10T05:01:43.657Z] $ docker exec --env ******** --env ******** cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent -k [2022-04-10T05:01:43.771Z] unset SSH_AUTH_SOCK; [2022-04-10T05:01:43.772Z] unset SSH_AGENT_PID; [2022-04-10T05:01:43.772Z] echo Agent pid 20 killed; [2022-04-10T05:01:43.794Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-10T05:01:43.923Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:01:43.923Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:01:44.067Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:01:44.062Z] $ docker exec cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent [2022-04-10T05:01:44.214Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEoagiI/agent.52 [2022-04-10T05:01:44.214Z] SSH_AGENT_PID=59 [2022-04-10T05:01:44.219Z] Running ssh-add (command line suppressed) [2022-04-10T05:01:44.336Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7101480969366511175.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7101480969366511175.key) [2022-04-10T05:01:44.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:01:44.655Z] + git semver init [2022-04-10T05:01:44.655Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:01:44.655Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-10T05:01:44.655Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-10T05:01:44.655Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:01:44.655Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:01:44.655Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:01:44.655Z] # $SEMVER_BRANCH = main [2022-04-10T05:01:44.655Z] # $SEMVER_TEMP = /tmp/semver-419907455 [2022-04-10T05:01:44.655Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-10T05:01:46.041Z] # '/tmp/semver-419907455' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-04-10T05:01:46.041Z] # -> Force: false [2022-04-10T05:01:46.041Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-10T05:01:46.047Z] $ docker exec --env ******** --env ******** cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa ssh-agent -k [2022-04-10T05:01:46.167Z] unset SSH_AUTH_SOCK; [2022-04-10T05:01:46.167Z] unset SSH_AGENT_PID; [2022-04-10T05:01:46.168Z] echo Agent pid 59 killed; [2022-04-10T05:01:46.185Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:01:46.496Z] + git semver [Pipeline] } [2022-04-10T05:01:46.505Z] $ docker stop --time=1 cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa [2022-04-10T05:01:47.867Z] $ docker rm -f cff265f7480697bde6d808a325c9d6ecd811662ae927e63ef8d036248dac0baa [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:01:48.239Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-10T05:01:48.504Z] Stashed 1 file(s) [Pipeline] echo [2022-04-10T05:01:48.506Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:01:48.677Z] provisioning config files... [2022-04-10T05:01:48.688Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1693459010944534771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:01:48.992Z] ---> docker-login.sh [2022-04-10T05:01:48.992Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:01:48.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:48.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:48.992Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:48.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:48.992Z] [2022-04-10T05:01:48.992Z] Login Succeeded [2022-04-10T05:01:48.992Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:01:48.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:49.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:49.255Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:49.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:49.255Z] [2022-04-10T05:01:49.255Z] Login Succeeded [2022-04-10T05:01:49.255Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:01:49.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:49.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:49.255Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:49.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:49.255Z] [2022-04-10T05:01:49.255Z] Login Succeeded [2022-04-10T05:01:49.255Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:01:49.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:49.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:49.517Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:49.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:49.517Z] [2022-04-10T05:01:49.517Z] Login Succeeded [2022-04-10T05:01:49.517Z] docker.io [2022-04-10T05:01:49.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:01:49.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:01:49.778Z] Configure a credential helper to remove this warning. See [2022-04-10T05:01:49.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:01:49.778Z] [2022-04-10T05:01:49.778Z] Login Succeeded [2022-04-10T05:01:49.778Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:01:49.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:01:49.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:01:49.864Z] ========================================================= [2022-04-10T05:01:49.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-10T05:01:49.864Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:01:50.172Z] + 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-04-10T05:01:50.172Z] Sending build context to Docker daemon 22.88MB [2022-04-10T05:01:50.172Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:01:50.172Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T05:01:50.172Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-10T05:01:50.172Z] 59bf1c3509f3: Pulling fs layer [2022-04-10T05:01:50.172Z] 666ba61612fd: Pulling fs layer [2022-04-10T05:01:50.172Z] 8ed8ca486205: Pulling fs layer [2022-04-10T05:01:50.172Z] 4fe6c5a15a65: Pulling fs layer [2022-04-10T05:01:50.172Z] 22a0e8bec74d: Pulling fs layer [2022-04-10T05:01:50.172Z] 640e595b4fbd: Pulling fs layer [2022-04-10T05:01:50.172Z] 763cafe07f6e: Pulling fs layer [2022-04-10T05:01:50.172Z] 0c0b528cf693: Pulling fs layer [2022-04-10T05:01:50.433Z] 10935f4eaf8b: Pulling fs layer [2022-04-10T05:01:50.433Z] 22a0e8bec74d: Waiting [2022-04-10T05:01:50.433Z] 640e595b4fbd: Waiting [2022-04-10T05:01:50.433Z] 763cafe07f6e: Waiting [2022-04-10T05:01:50.433Z] 0c0b528cf693: Waiting [2022-04-10T05:01:50.433Z] 10935f4eaf8b: Waiting [2022-04-10T05:01:50.433Z] 4fe6c5a15a65: Waiting [2022-04-10T05:01:50.433Z] 8ed8ca486205: Verifying Checksum [2022-04-10T05:01:50.433Z] 8ed8ca486205: Download complete [2022-04-10T05:01:50.433Z] 666ba61612fd: Verifying Checksum [2022-04-10T05:01:50.433Z] 666ba61612fd: Download complete [2022-04-10T05:01:50.433Z] 22a0e8bec74d: Download complete [2022-04-10T05:01:50.433Z] 640e595b4fbd: Verifying Checksum [2022-04-10T05:01:50.433Z] 640e595b4fbd: Download complete [2022-04-10T05:01:50.433Z] 59bf1c3509f3: Verifying Checksum [2022-04-10T05:01:50.433Z] 763cafe07f6e: Verifying Checksum [2022-04-10T05:01:50.433Z] 763cafe07f6e: Download complete [2022-04-10T05:01:50.433Z] 0c0b528cf693: Verifying Checksum [2022-04-10T05:01:50.433Z] 0c0b528cf693: Download complete [2022-04-10T05:01:50.433Z] 59bf1c3509f3: Pull complete [2022-04-10T05:01:50.694Z] 666ba61612fd: Pull complete [2022-04-10T05:01:50.694Z] 8ed8ca486205: Pull complete [2022-04-10T05:01:50.955Z] 4fe6c5a15a65: Verifying Checksum [2022-04-10T05:01:50.955Z] 4fe6c5a15a65: Download complete [2022-04-10T05:01:50.955Z] 10935f4eaf8b: Verifying Checksum [2022-04-10T05:01:50.955Z] 10935f4eaf8b: Download complete [2022-04-10T05:01:55.157Z] 4fe6c5a15a65: Pull complete [2022-04-10T05:01:55.157Z] 22a0e8bec74d: Pull complete [2022-04-10T05:01:55.157Z] 640e595b4fbd: Pull complete [2022-04-10T05:01:55.157Z] 763cafe07f6e: Pull complete [2022-04-10T05:01:55.416Z] 0c0b528cf693: Pull complete [2022-04-10T05:01:57.956Z] 10935f4eaf8b: Pull complete [2022-04-10T05:01:57.957Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-10T05:01:57.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-10T05:01:57.957Z] ---> 99d49a6021b9 [2022-04-10T05:01:57.957Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:01:59.348Z] ---> Running in 7093131d1690 [2022-04-10T05:01:59.348Z] Removing intermediate container 7093131d1690 [2022-04-10T05:01:59.348Z] ---> 60d4f82a8db0 [2022-04-10T05:01:59.348Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:01:59.348Z] ---> Running in 28dfa2fbe0bd [2022-04-10T05:01:59.348Z] Removing intermediate container 28dfa2fbe0bd [2022-04-10T05:01:59.348Z] ---> 28d1e22ade83 [2022-04-10T05:01:59.348Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-10T05:01:59.348Z] ---> Running in 38f71e211c6c [2022-04-10T05:01:59.348Z] Removing intermediate container 38f71e211c6c [2022-04-10T05:01:59.348Z] ---> b637e70e1c63 [2022-04-10T05:01:59.348Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:01:59.348Z] ---> Running in 140884f3d52c [2022-04-10T05:01:59.919Z] Removing intermediate container 140884f3d52c [2022-04-10T05:01:59.919Z] ---> c7b534d83cec [2022-04-10T05:01:59.919Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:02:00.181Z] ---> Running in 799be4b151f8 [2022-04-10T05:02:00.442Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:02:01.386Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:02:01.386Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:02:01.649Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:02:01.649Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:02:01.649Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:02:01.911Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:02:01.911Z] OK: 224 MiB in 56 packages [2022-04-10T05:02:02.171Z] Removing intermediate container 799be4b151f8 [2022-04-10T05:02:02.171Z] ---> 3a1b0f056c3f [2022-04-10T05:02:02.171Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-10T05:02:02.436Z] ---> dbef53e602a4 [2022-04-10T05:02:02.436Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:02:02.436Z] ---> Running in 7b7f5bb73d9a [2022-04-10T05:02:03.625Z] Still waiting to schedule task [2022-04-10T05:02:03.625Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11751’ [2022-04-10T05:02:17.342Z] Removing intermediate container 7b7f5bb73d9a [2022-04-10T05:02:17.342Z] ---> c9d31da29763 [2022-04-10T05:02:17.342Z] Step 10/12 : COPY . . [2022-04-10T05:02:17.342Z] ---> 51d4bc9ad375 [2022-04-10T05:02:17.342Z] Step 11/12 : ARG MAKE='make build' [2022-04-10T05:02:17.342Z] ---> Running in a86b724f1897 [2022-04-10T05:02:17.342Z] Removing intermediate container a86b724f1897 [2022-04-10T05:02:17.342Z] ---> 940f43b8502b [2022-04-10T05:02:17.342Z] Step 12/12 : RUN $MAKE [2022-04-10T05:02:17.342Z] ---> Running in 3f331cf570ec [2022-04-10T05:02:17.342Z] noop [2022-04-10T05:02:17.342Z] Removing intermediate container 3f331cf570ec [2022-04-10T05:02:17.342Z] ---> f78dd78a4c11 [2022-04-10T05:02:17.342Z] Successfully built f78dd78a4c11 [2022-04-10T05:02:17.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:02:17.638Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:02:17.639Z] . [Pipeline] withDockerContainer [2022-04-10T05:02:17.708Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:02:17.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T05:02:18.117Z] $ docker top b31b977aeaa22bdd18507d6f192a4b3c68c076beb30368631989b20c5e62653b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:02:18.469Z] + go version [2022-04-10T05:02:18.469Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-10T05:02:18.489Z] $ docker stop --time=1 b31b977aeaa22bdd18507d6f192a4b3c68c076beb30368631989b20c5e62653b [2022-04-10T05:02:19.791Z] $ docker rm -f b31b977aeaa22bdd18507d6f192a4b3c68c076beb30368631989b20c5e62653b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:02:20.232Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-10T05:02:20.233Z] . [Pipeline] withDockerContainer [2022-04-10T05:02:20.302Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:02:20.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-10T05:02:20.734Z] $ docker top 2417a4144993249b750136117ab510899b73744821dcf1a6eca8dab26f30e419 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:02:21.155Z] + make test [2022-04-10T05:02:21.155Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T05:02:21.429Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-10T05:02:29.549Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-10T05:02:29.811Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-04-10T05:02:36.395Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:02:39.695Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:02:39.695Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:02:39.695Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:02:39.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:02:39.995Z] $ docker stop --time=1 2417a4144993249b750136117ab510899b73744821dcf1a6eca8dab26f30e419 [2022-04-10T05:02:41.730Z] $ docker rm -f 2417a4144993249b750136117ab510899b73744821dcf1a6eca8dab26f30e419 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:02:42.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:02:42.200Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-10T05:02:42.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:02:43.065Z] + ls -al . [2022-04-10T05:02:43.065Z] total 184 [2022-04-10T05:02:43.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:02 . [2022-04-10T05:02:43.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:01 .. [2022-04-10T05:02:43.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:01 .git [2022-04-10T05:02:43.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:01 .github [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 10 05:01 .gitignore [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:01 .golangci.yml [2022-04-10T05:02:43.065Z] drwx------ 3 jenkins jenkins 4096 Apr 10 05:01 .semver [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 10 05:01 Attribution.txt [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 10 05:01 CHANGELOG.md [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 10 05:01 Dockerfile [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:01 GOVERNANCE.md [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 05:01 Jenkinsfile [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:01 LICENSE [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 10 05:01 Makefile [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 05:01 OWNERS.md [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 10 05:01 README.md [2022-04-10T05:02:43.065Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:01 VERSION [2022-04-10T05:02:43.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:01 bin [2022-04-10T05:02:43.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:01 cmd [2022-04-10T05:02:43.065Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 10 05:02 coverage.out [2022-04-10T05:02:43.066Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 10 05:01 go.mod [2022-04-10T05:02:43.066Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 10 05:01 go.sum [2022-04-10T05:02:43.066Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:01 internal [2022-04-10T05:02:43.066Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 05:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:02:43.367Z] + 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=92eeb058ea4423f52907451924a865deb70e0eda --label arch=amd64 --label version=2.2.0-dev.10 . [2022-04-10T05:02:43.368Z] Sending build context to Docker daemon 22.93MB [2022-04-10T05:02:43.368Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:02:43.368Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-10T05:02:43.368Z] ---> f78dd78a4c11 [2022-04-10T05:02:43.368Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:02:43.627Z] ---> Running in 82ba13f89c71 [2022-04-10T05:02:43.627Z] Removing intermediate container 82ba13f89c71 [2022-04-10T05:02:43.627Z] ---> 8132aabc7576 [2022-04-10T05:02:43.627Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:02:43.627Z] ---> Running in 9852df3da61d [2022-04-10T05:02:43.627Z] Removing intermediate container 9852df3da61d [2022-04-10T05:02:43.627Z] ---> 789d770ad9ac [2022-04-10T05:02:43.627Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-10T05:02:43.627Z] ---> Running in 7f3750bdeb2b [2022-04-10T05:02:43.886Z] Removing intermediate container 7f3750bdeb2b [2022-04-10T05:02:43.886Z] ---> 36ff82a0156f [2022-04-10T05:02:43.886Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:02:43.886Z] ---> Running in 566731dd72b2 [2022-04-10T05:02:44.459Z] Removing intermediate container 566731dd72b2 [2022-04-10T05:02:44.459Z] ---> 1e55df79a39d [2022-04-10T05:02:44.459Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:02:44.459Z] ---> Running in 780334af37f6 [2022-04-10T05:02:44.719Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:02:45.661Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:02:45.922Z] OK: 224 MiB in 56 packages [2022-04-10T05:02:46.182Z] Removing intermediate container 780334af37f6 [2022-04-10T05:02:46.182Z] ---> 9a573524eafe [2022-04-10T05:02:46.182Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-10T05:02:46.443Z] ---> 0cb1e5f38b75 [2022-04-10T05:02:46.443Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:02:46.443Z] ---> Running in 47fca9b8d0ca [2022-04-10T05:02:47.015Z] Removing intermediate container 47fca9b8d0ca [2022-04-10T05:02:47.015Z] ---> 25ae2bffd1a8 [2022-04-10T05:02:47.015Z] Step 10/26 : COPY . . [2022-04-10T05:02:47.585Z] ---> 710b67e2849f [2022-04-10T05:02:47.586Z] Step 11/26 : ARG MAKE='make build' [2022-04-10T05:02:47.586Z] ---> Running in bde9210c7dae [2022-04-10T05:02:47.586Z] Removing intermediate container bde9210c7dae [2022-04-10T05:02:47.586Z] ---> 9347ac07e45e [2022-04-10T05:02:47.586Z] Step 12/26 : RUN $MAKE [2022-04-10T05:02:47.586Z] ---> Running in 3912d42b050c [2022-04-10T05:02:47.845Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-10T05:03:09.790Z] Removing intermediate container 3912d42b050c [2022-04-10T05:03:09.790Z] ---> f5aa3a74d227 [2022-04-10T05:03:09.790Z] Step 13/26 : FROM alpine:3.14 [2022-04-10T05:03:09.790Z] 3.14: Pulling from library/alpine [2022-04-10T05:03:09.790Z] 8663204ce13b: Pulling fs layer [2022-04-10T05:03:09.790Z] 8663204ce13b: Verifying Checksum [2022-04-10T05:03:09.790Z] 8663204ce13b: Download complete [2022-04-10T05:03:09.790Z] 8663204ce13b: Pull complete [2022-04-10T05:03:09.790Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:03:09.790Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:03:09.790Z] ---> e04c818066af [2022-04-10T05:03:09.790Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-10T05:03:09.790Z] ---> Running in 7a558bff0ddb [2022-04-10T05:03:09.790Z] Removing intermediate container 7a558bff0ddb [2022-04-10T05:03:09.790Z] ---> cb8b0a2f5d98 [2022-04-10T05:03:09.790Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:03:09.790Z] ---> Running in dd4e6ab01345 [2022-04-10T05:03:09.790Z] Removing intermediate container dd4e6ab01345 [2022-04-10T05:03:09.790Z] ---> 3047cb860a43 [2022-04-10T05:03:09.790Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:03:09.790Z] ---> Running in 420b8ad76d5e [2022-04-10T05:03:09.790Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-10T05:03:10.360Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-10T05:03:10.360Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:03:10.621Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:03:10.621Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:03:10.881Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:03:10.881Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:03:10.881Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:03:11.141Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:03:11.141Z] OK: 8 MiB in 20 packages [2022-04-10T05:03:11.401Z] Removing intermediate container 420b8ad76d5e [2022-04-10T05:03:11.401Z] ---> 1436e1c582e6 [2022-04-10T05:03:11.401Z] Step 17/26 : WORKDIR / [2022-04-10T05:03:11.401Z] ---> Running in ffc3bebd655a [2022-04-10T05:03:11.401Z] Removing intermediate container ffc3bebd655a [2022-04-10T05:03:11.401Z] ---> b21f81da99a7 [2022-04-10T05:03:11.401Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-10T05:03:11.660Z] ---> 9df9ff14024f [2022-04-10T05:03:11.660Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-10T05:03:11.660Z] ---> fcf97ca6d93d [2022-04-10T05:03:11.660Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-10T05:03:12.232Z] ---> f53cf79140db [2022-04-10T05:03:12.232Z] Step 21/26 : EXPOSE 59900 [2022-04-10T05:03:12.492Z] ---> Running in ea8a757dedfe [2022-04-10T05:03:12.492Z] Removing intermediate container ea8a757dedfe [2022-04-10T05:03:12.492Z] ---> d4f57479e749 [2022-04-10T05:03:12.492Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-10T05:03:12.492Z] ---> Running in 8d9ea63ada87 [2022-04-10T05:03:12.492Z] Removing intermediate container 8d9ea63ada87 [2022-04-10T05:03:12.492Z] ---> 15339b3a2f6e [2022-04-10T05:03:12.492Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:03:12.492Z] ---> Running in 88f8af6887c3 [2022-04-10T05:03:12.751Z] Removing intermediate container 88f8af6887c3 [2022-04-10T05:03:12.751Z] ---> db45eb361c4a [2022-04-10T05:03:12.751Z] Step 24/26 : LABEL arch=amd64 [2022-04-10T05:03:12.751Z] ---> Running in e538982e943c [2022-04-10T05:03:12.751Z] Removing intermediate container e538982e943c [2022-04-10T05:03:12.751Z] ---> 595949064baf [2022-04-10T05:03:12.751Z] Step 25/26 : LABEL git_sha=92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:03:12.751Z] ---> Running in 2b7e4824f066 [2022-04-10T05:03:13.011Z] Removing intermediate container 2b7e4824f066 [2022-04-10T05:03:13.011Z] ---> 573e17117d8e [2022-04-10T05:03:13.011Z] Step 26/26 : LABEL version=2.2.0-dev.10 [2022-04-10T05:03:13.011Z] ---> Running in 10602dfa08eb [2022-04-10T05:03:13.011Z] Removing intermediate container 10602dfa08eb [2022-04-10T05:03:13.011Z] ---> bbb49e4d09e7 [2022-04-10T05:03:13.011Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:03:13.011Z] Successfully built bbb49e4d09e7 [2022-04-10T05:03:13.011Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:03:13.076Z] provisioning config files... [2022-04-10T05:03:13.085Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4562601800036444750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:03:13.388Z] ---> docker-login.sh [2022-04-10T05:03:13.388Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:03:13.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:03:13.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:03:13.388Z] Configure a credential helper to remove this warning. See [2022-04-10T05:03:13.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:03:13.388Z] [2022-04-10T05:03:13.388Z] Login Succeeded [2022-04-10T05:03:13.388Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:03:13.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:03:13.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:03:13.651Z] Configure a credential helper to remove this warning. See [2022-04-10T05:03:13.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:03:13.651Z] [2022-04-10T05:03:13.651Z] Login Succeeded [2022-04-10T05:03:13.651Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:03:13.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:03:13.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:03:13.651Z] Configure a credential helper to remove this warning. See [2022-04-10T05:03:13.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:03:13.651Z] [2022-04-10T05:03:13.651Z] Login Succeeded [2022-04-10T05:03:13.651Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:03:13.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:03:13.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:03:13.912Z] Configure a credential helper to remove this warning. See [2022-04-10T05:03:13.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:03:13.912Z] [2022-04-10T05:03:13.912Z] Login Succeeded [2022-04-10T05:03:13.912Z] docker.io [2022-04-10T05:03:13.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:03:14.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:03:14.173Z] Configure a credential helper to remove this warning. See [2022-04-10T05:03:14.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:03:14.173Z] [2022-04-10T05:03:14.173Z] Login Succeeded [2022-04-10T05:03:14.173Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:03:14.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:03:14.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:03:14.246Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-04-10T05:03:14.246Z] 92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:03:14.246Z] latest [2022-04-10T05:03:14.246Z] 2.2.0-dev.10 [2022-04-10T05:03:14.246Z] 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [2022-04-10T05:03:14.246Z] main [2022-04-10T05:03:14.246Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:14.576Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:14.871Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:03:14.871Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-10T05:03:14.871Z] b479516df37b: Preparing [2022-04-10T05:03:14.871Z] 59f6af169331: Preparing [2022-04-10T05:03:14.871Z] 4bae4b32029d: Preparing [2022-04-10T05:03:14.871Z] 53eca1aec34a: Preparing [2022-04-10T05:03:14.871Z] 360f9b181891: Preparing [2022-04-10T05:03:14.871Z] b541d28bf3b4: Preparing [2022-04-10T05:03:14.871Z] b541d28bf3b4: Waiting [2022-04-10T05:03:14.871Z] 4bae4b32029d: Pushed [2022-04-10T05:03:14.871Z] 360f9b181891: Pushed [2022-04-10T05:03:14.871Z] 59f6af169331: Pushed [2022-04-10T05:03:14.871Z] b541d28bf3b4: Layer already exists [2022-04-10T05:03:15.131Z] 53eca1aec34a: Pushed [2022-04-10T05:03:17.670Z] b479516df37b: Pushed [2022-04-10T05:03:17.670Z] 92eeb058ea4423f52907451924a865deb70e0eda: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:17.967Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:18.258Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-10T05:03:18.258Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-10T05:03:18.258Z] b479516df37b: Preparing [2022-04-10T05:03:18.258Z] 59f6af169331: Preparing [2022-04-10T05:03:18.258Z] 4bae4b32029d: Preparing [2022-04-10T05:03:18.258Z] 53eca1aec34a: Preparing [2022-04-10T05:03:18.258Z] 360f9b181891: Preparing [2022-04-10T05:03:18.258Z] b541d28bf3b4: Preparing [2022-04-10T05:03:18.258Z] b541d28bf3b4: Waiting [2022-04-10T05:03:18.258Z] 59f6af169331: Layer already exists [2022-04-10T05:03:18.258Z] b479516df37b: Layer already exists [2022-04-10T05:03:18.258Z] 4bae4b32029d: Layer already exists [2022-04-10T05:03:18.258Z] 360f9b181891: Layer already exists [2022-04-10T05:03:18.258Z] 53eca1aec34a: Layer already exists [2022-04-10T05:03:18.258Z] b541d28bf3b4: Layer already exists [2022-04-10T05:03:18.258Z] latest: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:18.555Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:18.846Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.10 [2022-04-10T05:03:18.846Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-10T05:03:18.846Z] b479516df37b: Preparing [2022-04-10T05:03:18.846Z] 59f6af169331: Preparing [2022-04-10T05:03:18.846Z] 4bae4b32029d: Preparing [2022-04-10T05:03:18.846Z] 53eca1aec34a: Preparing [2022-04-10T05:03:18.846Z] 360f9b181891: Preparing [2022-04-10T05:03:18.846Z] b541d28bf3b4: Preparing [2022-04-10T05:03:18.846Z] b541d28bf3b4: Waiting [2022-04-10T05:03:18.846Z] b479516df37b: Layer already exists [2022-04-10T05:03:18.846Z] 360f9b181891: Layer already exists [2022-04-10T05:03:18.846Z] 4bae4b32029d: Layer already exists [2022-04-10T05:03:18.846Z] 59f6af169331: Layer already exists [2022-04-10T05:03:18.846Z] 53eca1aec34a: Layer already exists [2022-04-10T05:03:18.846Z] b541d28bf3b4: Layer already exists [2022-04-10T05:03:18.846Z] 2.2.0-dev.10: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:19.144Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:19.436Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [2022-04-10T05:03:19.436Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-10T05:03:19.436Z] b479516df37b: Preparing [2022-04-10T05:03:19.436Z] 59f6af169331: Preparing [2022-04-10T05:03:19.436Z] 4bae4b32029d: Preparing [2022-04-10T05:03:19.436Z] 53eca1aec34a: Preparing [2022-04-10T05:03:19.436Z] 360f9b181891: Preparing [2022-04-10T05:03:19.436Z] b541d28bf3b4: Preparing [2022-04-10T05:03:19.436Z] b541d28bf3b4: Waiting [2022-04-10T05:03:19.436Z] 59f6af169331: Layer already exists [2022-04-10T05:03:19.436Z] 360f9b181891: Layer already exists [2022-04-10T05:03:19.436Z] 4bae4b32029d: Layer already exists [2022-04-10T05:03:19.436Z] b479516df37b: Layer already exists [2022-04-10T05:03:19.436Z] 53eca1aec34a: Layer already exists [2022-04-10T05:03:19.436Z] b541d28bf3b4: Layer already exists [2022-04-10T05:03:19.436Z] 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:19.735Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:20.029Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-04-10T05:03:20.029Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-10T05:03:20.029Z] b479516df37b: Preparing [2022-04-10T05:03:20.029Z] 59f6af169331: Preparing [2022-04-10T05:03:20.029Z] 4bae4b32029d: Preparing [2022-04-10T05:03:20.029Z] 53eca1aec34a: Preparing [2022-04-10T05:03:20.029Z] 360f9b181891: Preparing [2022-04-10T05:03:20.029Z] b541d28bf3b4: Preparing [2022-04-10T05:03:20.029Z] b541d28bf3b4: Waiting [2022-04-10T05:03:20.029Z] 360f9b181891: Layer already exists [2022-04-10T05:03:20.029Z] 53eca1aec34a: Layer already exists [2022-04-10T05:03:20.029Z] 4bae4b32029d: Layer already exists [2022-04-10T05:03:20.029Z] 59f6af169331: Layer already exists [2022-04-10T05:03:20.029Z] b479516df37b: Layer already exists [2022-04-10T05:03:20.029Z] b541d28bf3b4: Layer already exists [2022-04-10T05:03:20.029Z] main: digest: sha256:5b131ad884e95ad2c5b6ea3631f320908f66b0945bd1487f715632c9c1037fb3 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:03:20.064Z] ===================================================== [Pipeline] echo [2022-04-10T05:03:20.074Z] taggedImages: [2022-04-10T05:03:20.074Z] - nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:03:20.074Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-10T05:03:20.074Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.10 [2022-04-10T05:03:20.074Z] - nexus3.edgexfoundry.org:10004/device-virtual:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [2022-04-10T05:03:20.074Z] - 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-04-10T05:03:20.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:03:20.446Z] [2022-04-10T05:03:20.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:03:20.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:03:20.746Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-10T05:03:20.746Z] 5eb5b503b376: Pulling fs layer [2022-04-10T05:03:20.746Z] 5c69ac0246d0: Pulling fs layer [2022-04-10T05:03:20.746Z] ec43610c2a17: Pulling fs layer [2022-04-10T05:03:20.746Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-10T05:03:20.746Z] 33b1e0a273af: Pulling fs layer [2022-04-10T05:03:20.746Z] 5d3b04190fa2: Pulling fs layer [2022-04-10T05:03:20.746Z] 2f39f015ded8: Pulling fs layer [2022-04-10T05:03:20.746Z] 5d3b04190fa2: Waiting [2022-04-10T05:03:20.746Z] 2f39f015ded8: Waiting [2022-04-10T05:03:20.746Z] 3a2ae6a8a46f: Waiting [2022-04-10T05:03:20.746Z] 5c69ac0246d0: Verifying Checksum [2022-04-10T05:03:20.746Z] 5c69ac0246d0: Download complete [2022-04-10T05:03:20.746Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-10T05:03:20.746Z] 3a2ae6a8a46f: Download complete [2022-04-10T05:03:20.746Z] 33b1e0a273af: Verifying Checksum [2022-04-10T05:03:20.746Z] 33b1e0a273af: Download complete [2022-04-10T05:03:20.746Z] 5d3b04190fa2: Verifying Checksum [2022-04-10T05:03:20.746Z] 5d3b04190fa2: Download complete [2022-04-10T05:03:21.007Z] ec43610c2a17: Verifying Checksum [2022-04-10T05:03:21.007Z] ec43610c2a17: Download complete [2022-04-10T05:03:21.007Z] 5eb5b503b376: Verifying Checksum [2022-04-10T05:03:21.007Z] 5eb5b503b376: Download complete [2022-04-10T05:03:21.576Z] 2f39f015ded8: Download complete [2022-04-10T05:03:22.514Z] 5eb5b503b376: Pull complete [2022-04-10T05:03:22.514Z] 5c69ac0246d0: Pull complete [2022-04-10T05:03:22.774Z] ec43610c2a17: Pull complete [2022-04-10T05:03:23.033Z] 3a2ae6a8a46f: Pull complete [2022-04-10T05:03:23.291Z] 33b1e0a273af: Pull complete [2022-04-10T05:03:23.291Z] 5d3b04190fa2: Pull complete [2022-04-10T05:03:27.486Z] 2f39f015ded8: Pull complete [2022-04-10T05:03:27.486Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-10T05:03:27.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:03:27.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-10T05:03:27.547Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:03:27.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:03:29.025Z] $ docker top 3e817c5e4461c85782537737187139cae8c8f26f89b9252a7d83f5e0447ce491 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:03:29.416Z] ---> job-cost.sh [2022-04-10T05:03:29.416Z] lf-activate-venv: SKIPPING [2022-04-10T05:03:29.416Z] INFO: No Stack... [2022-04-10T05:03:29.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:03:30.249Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:03:30.545Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-04-10T05:03:30.545Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:03:30.562Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [2022-04-10T05:03:30.575Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] did not exist. Created. [2022-04-10T05:03:30.575Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:03:30.888Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-10T05:03:30.940Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:03:30.947Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:03:30.975Z] $ docker stop --time=1 3e817c5e4461c85782537737187139cae8c8f26f89b9252a7d83f5e0447ce491 [2022-04-10T05:03:32.157Z] $ docker rm -f 3e817c5e4461c85782537737187139cae8c8f26f89b9252a7d83f5e0447ce491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-10T05:05:10.918Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11757 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-04-10T05:05:10.931Z] Running in /w/workspace/device-virtual-go/26 [Pipeline] { [Pipeline] checkout [2022-04-10T05:05:11.153Z] The recommended git tool is: git [2022-04-10T05:05:19.404Z] using credential edgex-jenkins-ssh [2022-04-10T05:05:19.429Z] Cloning the remote Git repository [2022-04-10T05:05:19.515Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-10T05:05:19.661Z] > git init /w/workspace/device-virtual-go/26 # timeout=10 [2022-04-10T05:05:19.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-10T05:05:19.760Z] > git --version # timeout=10 [2022-04-10T05:05:19.824Z] > git --version # 'git version 2.25.1' [2022-04-10T05:05:19.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-10T05:05:19.902Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:05:22.510Z] Avoid second fetch [2022-04-10T05:05:22.511Z] Checking out Revision 92eeb058ea4423f52907451924a865deb70e0eda (main) [2022-04-10T05:05:22.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-10T05:05:22.490Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-10T05:05:22.536Z] > git config core.sparsecheckout # timeout=10 [2022-04-10T05:05:22.573Z] > git checkout -f 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 [2022-04-10T05:05:27.356Z] Commit message: "Merge pull request #275 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:05:28.178Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-10T05:05:28.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:05:28.178Z] Dload Upload Total Spent Left Speed [2022-04-10T05:05:28.178Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-04-10T05:05:28.761Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-10T05:05:29.112Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-10T05:05:29.112Z] + sudo tee /etc/docker/daemon.new [2022-04-10T05:05:29.112Z] { [2022-04-10T05:05:29.112Z] "registry-mirrors": [ [2022-04-10T05:05:29.112Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-10T05:05:29.112Z] ], [2022-04-10T05:05:29.112Z] "bip": "10.250.0.254/24", [2022-04-10T05:05:29.112Z] "hosts": [ [2022-04-10T05:05:29.112Z] "tcp://0.0.0.0:5555", [2022-04-10T05:05:29.112Z] "unix:///var/run/docker.sock" [2022-04-10T05:05:29.112Z] ], [2022-04-10T05:05:29.112Z] "mtu": 1458, [2022-04-10T05:05:29.112Z] "selinux-enabled": true, [2022-04-10T05:05:29.112Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-10T05:05:29.112Z] } [Pipeline] sh [2022-04-10T05:05:29.471Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-10T05:05:29.821Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:05:48.180Z] provisioning config files... [2022-04-10T05:05:48.208Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/26@tmp/config6165114507318870771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:05:48.590Z] ---> docker-login.sh [2022-04-10T05:05:48.590Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:05:49.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:49.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:49.470Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:49.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:49.470Z] [2022-04-10T05:05:49.470Z] Login Succeeded [2022-04-10T05:05:49.470Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:05:49.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:50.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:50.021Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:50.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:50.021Z] [2022-04-10T05:05:50.021Z] Login Succeeded [2022-04-10T05:05:50.021Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:05:50.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:50.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:50.581Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:50.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:50.581Z] [2022-04-10T05:05:50.581Z] Login Succeeded [2022-04-10T05:05:50.581Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:05:50.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:50.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:50.915Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:50.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:50.915Z] [2022-04-10T05:05:50.915Z] Login Succeeded [2022-04-10T05:05:50.915Z] docker.io [2022-04-10T05:05:51.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:05:52.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:05:52.153Z] Configure a credential helper to remove this warning. See [2022-04-10T05:05:52.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:05:52.153Z] [2022-04-10T05:05:52.153Z] Login Succeeded [2022-04-10T05:05:52.153Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:05:52.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-10T05:05:52.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:05:52.670Z] ========================================================= [2022-04-10T05:05:52.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-10T05:05:52.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:05:53.045Z] + 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-04-10T05:05:53.320Z] Sending build context to Docker daemon 11.57MB [2022-04-10T05:05:53.607Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:05:53.607Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-10T05:05:53.607Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-10T05:05:53.607Z] 9b3977197b4f: Pulling fs layer [2022-04-10T05:05:53.607Z] 1a89e8eeedd5: Pulling fs layer [2022-04-10T05:05:53.607Z] 94645a83ff95: Pulling fs layer [2022-04-10T05:05:53.607Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-10T05:05:53.607Z] 0c92f367c5e7: Pulling fs layer [2022-04-10T05:05:53.607Z] f7c0051592d6: Pulling fs layer [2022-04-10T05:05:53.607Z] 3f3a8bcf1eab: Waiting [2022-04-10T05:05:53.607Z] 0c92f367c5e7: Waiting [2022-04-10T05:05:53.607Z] a227ed2f7395: Pulling fs layer [2022-04-10T05:05:53.607Z] 7b1c46037f91: Pulling fs layer [2022-04-10T05:05:53.607Z] f7c0051592d6: Waiting [2022-04-10T05:05:53.607Z] a227ed2f7395: Waiting [2022-04-10T05:05:53.607Z] 7b1c46037f91: Waiting [2022-04-10T05:05:53.607Z] 94645a83ff95: Verifying Checksum [2022-04-10T05:05:53.607Z] 94645a83ff95: Download complete [2022-04-10T05:05:53.607Z] 1a89e8eeedd5: Verifying Checksum [2022-04-10T05:05:53.607Z] 1a89e8eeedd5: Download complete [2022-04-10T05:05:53.607Z] 0c92f367c5e7: Verifying Checksum [2022-04-10T05:05:53.607Z] 0c92f367c5e7: Download complete [2022-04-10T05:05:53.887Z] f7c0051592d6: Verifying Checksum [2022-04-10T05:05:53.887Z] f7c0051592d6: Download complete [2022-04-10T05:05:53.887Z] 9b3977197b4f: Verifying Checksum [2022-04-10T05:05:53.887Z] 9b3977197b4f: Download complete [2022-04-10T05:05:53.887Z] a227ed2f7395: Verifying Checksum [2022-04-10T05:05:53.887Z] a227ed2f7395: Download complete [2022-04-10T05:05:54.500Z] 9b3977197b4f: Pull complete [2022-04-10T05:05:55.104Z] 1a89e8eeedd5: Pull complete [2022-04-10T05:05:55.380Z] 94645a83ff95: Pull complete [2022-04-10T05:05:55.983Z] 7b1c46037f91: Verifying Checksum [2022-04-10T05:05:55.983Z] 7b1c46037f91: Download complete [2022-04-10T05:05:56.585Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-10T05:05:56.585Z] 3f3a8bcf1eab: Download complete [2022-04-10T05:06:09.144Z] 3f3a8bcf1eab: Pull complete [2022-04-10T05:06:09.144Z] 0c92f367c5e7: Pull complete [2022-04-10T05:06:09.417Z] f7c0051592d6: Pull complete [2022-04-10T05:06:10.014Z] a227ed2f7395: Pull complete [2022-04-10T05:06:16.745Z] 7b1c46037f91: Pull complete [2022-04-10T05:06:16.745Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-10T05:06:16.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-10T05:06:16.745Z] ---> f79e39bc4007 [2022-04-10T05:06:16.745Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:06:17.018Z] ---> Running in b1dae385653b [2022-04-10T05:06:17.294Z] Removing intermediate container b1dae385653b [2022-04-10T05:06:17.294Z] ---> 467cd129650e [2022-04-10T05:06:17.294Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:06:17.294Z] ---> Running in e73e021e49b8 [2022-04-10T05:06:17.569Z] Removing intermediate container e73e021e49b8 [2022-04-10T05:06:17.569Z] ---> 39e2d58a53cd [2022-04-10T05:06:17.569Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-10T05:06:17.846Z] ---> Running in a7a815909a2a [2022-04-10T05:06:18.127Z] Removing intermediate container a7a815909a2a [2022-04-10T05:06:18.127Z] ---> ebb323c16dbf [2022-04-10T05:06:18.127Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:06:18.127Z] ---> Running in 840182b00b93 [2022-04-10T05:06:20.121Z] Removing intermediate container 840182b00b93 [2022-04-10T05:06:20.121Z] ---> d9e877fdb316 [2022-04-10T05:06:20.121Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:06:20.121Z] ---> Running in fdc6947006f1 [2022-04-10T05:06:21.105Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:06:22.086Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:06:23.072Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-10T05:06:23.072Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-10T05:06:23.072Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-10T05:06:23.345Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-10T05:06:23.619Z] Executing busybox-1.34.1-r3.trigger [2022-04-10T05:06:23.619Z] OK: 224 MiB in 56 packages [2022-04-10T05:06:24.617Z] Removing intermediate container fdc6947006f1 [2022-04-10T05:06:24.617Z] ---> deaf2d4372a0 [2022-04-10T05:06:24.617Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-10T05:06:24.898Z] ---> 77a9fe216615 [2022-04-10T05:06:24.898Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:06:24.898Z] ---> Running in 4a5a0bbaf4d4 [2022-04-10T05:07:11.933Z] Removing intermediate container 4a5a0bbaf4d4 [2022-04-10T05:07:11.933Z] ---> 7d347e9afbef [2022-04-10T05:07:11.933Z] Step 10/12 : COPY . . [2022-04-10T05:07:11.933Z] ---> ced9209447e9 [2022-04-10T05:07:11.933Z] Step 11/12 : ARG MAKE='make build' [2022-04-10T05:07:11.933Z] ---> Running in f9bfbfa697d3 [2022-04-10T05:07:11.933Z] Removing intermediate container f9bfbfa697d3 [2022-04-10T05:07:11.933Z] ---> b46a74f697cd [2022-04-10T05:07:11.933Z] Step 12/12 : RUN $MAKE [2022-04-10T05:07:11.933Z] ---> Running in f411e858b26f [2022-04-10T05:07:13.379Z] noop [2022-04-10T05:07:13.984Z] Removing intermediate container f411e858b26f [2022-04-10T05:07:13.984Z] ---> 9e58d9c80520 [2022-04-10T05:07:13.984Z] Successfully built 9e58d9c80520 [2022-04-10T05:07:13.984Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:14.344Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:07:14.344Z] . [Pipeline] withDockerContainer [2022-04-10T05:07:14.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-11757 does not seem to be running inside a container [2022-04-10T05:07:14.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/26 -v /w/workspace/device-virtual-go/26:/w/workspace/device-virtual-go/26:rw,z -v /w/workspace/device-virtual-go/26@tmp:/w/workspace/device-virtual-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T05:07:16.161Z] $ docker top 19df95559da5d6bcf1b3d3e54d44e50110ba65f14171de1aaa5c1ad39031666f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:07:17.131Z] + go version [2022-04-10T05:07:17.131Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-10T05:07:17.165Z] $ docker stop --time=1 19df95559da5d6bcf1b3d3e54d44e50110ba65f14171de1aaa5c1ad39031666f [2022-04-10T05:07:18.889Z] $ docker rm -f 19df95559da5d6bcf1b3d3e54d44e50110ba65f14171de1aaa5c1ad39031666f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:07:19.530Z] + docker inspect -f . ci-base-image-arm64 [2022-04-10T05:07:19.530Z] . [Pipeline] withDockerContainer [2022-04-10T05:07:19.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-11757 does not seem to be running inside a container [2022-04-10T05:07:19.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/26 -v /w/workspace/device-virtual-go/26:/w/workspace/device-virtual-go/26:rw,z -v /w/workspace/device-virtual-go/26@tmp:/w/workspace/device-virtual-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-10T05:07:21.243Z] $ docker top 69b57150ab9ee9c6256c5bfbd8ee9be4601776733cb1e16437b871a9fcbb66ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-10T05:07:22.212Z] + make test [2022-04-10T05:07:22.212Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-10T05:07:24.238Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-10T05:09:01.189Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-10T05:09:01.189Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.156s coverage: 65.7% of statements [2022-04-10T05:09:01.189Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-10T05:09:01.189Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-10T05:09:28.033Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-10T05:09:28.033Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-10T05:09:28.033Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-10T05:09:28.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-10T05:09:28.078Z] $ docker stop --time=1 69b57150ab9ee9c6256c5bfbd8ee9be4601776733cb1e16437b871a9fcbb66ed [2022-04-10T05:09:29.884Z] $ docker rm -f 69b57150ab9ee9c6256c5bfbd8ee9be4601776733cb1e16437b871a9fcbb66ed [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:09:30.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-10T05:09:30.921Z] Warning: overwriting stash ‘coverage-report’ [2022-04-10T05:09:31.474Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-10T05:09:31.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-10T05:09:32.227Z] + ls -al . [2022-04-10T05:09:32.227Z] total 180 [2022-04-10T05:09:32.227Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 10 05:09 . [2022-04-10T05:09:32.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:05 .. [2022-04-10T05:09:32.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:05 .git [2022-04-10T05:09:32.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 .github [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 10 05:05 .gitignore [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 05:05 .golangci.yml [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 10 05:05 Attribution.txt [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 10 05:05 CHANGELOG.md [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 10 05:05 Dockerfile [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:05 GOVERNANCE.md [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 05:05 Jenkinsfile [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 05:05 LICENSE [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 10 05:05 Makefile [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 05:05 OWNERS.md [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 10 05:05 README.md [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 05:01 VERSION [2022-04-10T05:09:32.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:05 bin [2022-04-10T05:09:32.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 cmd [2022-04-10T05:09:32.227Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 10 05:08 coverage.out [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 10 05:05 go.mod [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 10 05:05 go.sum [2022-04-10T05:09:32.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:05 internal [2022-04-10T05:09:32.227Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 05:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:09:32.578Z] + 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=92eeb058ea4423f52907451924a865deb70e0eda --label arch=arm64 --label version=2.2.0-dev.10 . [2022-04-10T05:09:32.851Z] Sending build context to Docker daemon 11.61MB [2022-04-10T05:09:33.124Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-10T05:09:33.124Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-10T05:09:33.124Z] ---> 9e58d9c80520 [2022-04-10T05:09:33.124Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-10T05:09:33.124Z] ---> Running in 1dd3603457e3 [2022-04-10T05:09:33.413Z] Removing intermediate container 1dd3603457e3 [2022-04-10T05:09:33.413Z] ---> 1d73c851b09b [2022-04-10T05:09:33.413Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-10T05:09:33.689Z] ---> Running in 4229809b82dd [2022-04-10T05:09:33.961Z] Removing intermediate container 4229809b82dd [2022-04-10T05:09:33.962Z] ---> 97fda8d1f443 [2022-04-10T05:09:33.962Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-10T05:09:33.962Z] ---> Running in 032a3d5e05a2 [2022-04-10T05:09:34.244Z] Removing intermediate container 032a3d5e05a2 [2022-04-10T05:09:34.244Z] ---> fb2e8e04f361 [2022-04-10T05:09:34.244Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:09:34.244Z] ---> Running in 3f63bdda88f7 [2022-04-10T05:09:36.219Z] Removing intermediate container 3f63bdda88f7 [2022-04-10T05:09:36.219Z] ---> ecdaad776e64 [2022-04-10T05:09:36.219Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-10T05:09:36.219Z] ---> Running in 3be8ad12afce [2022-04-10T05:09:37.195Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:09:38.169Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:09:38.768Z] OK: 224 MiB in 56 packages [2022-04-10T05:09:39.757Z] Removing intermediate container 3be8ad12afce [2022-04-10T05:09:39.757Z] ---> 04d775723494 [2022-04-10T05:09:39.757Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-10T05:09:40.359Z] ---> e459ca88595f [2022-04-10T05:09:40.359Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-10T05:09:40.360Z] ---> Running in 2594dda46f50 [2022-04-10T05:09:42.345Z] Removing intermediate container 2594dda46f50 [2022-04-10T05:09:42.345Z] ---> 2b0e0ee95e8a [2022-04-10T05:09:42.345Z] Step 10/26 : COPY . . [2022-04-10T05:09:43.325Z] ---> ce58dc460f1a [2022-04-10T05:09:43.325Z] Step 11/26 : ARG MAKE='make build' [2022-04-10T05:09:43.325Z] ---> Running in 1f64033a6c1f [2022-04-10T05:09:43.922Z] Removing intermediate container 1f64033a6c1f [2022-04-10T05:09:43.922Z] ---> 069e4384b0aa [2022-04-10T05:09:43.922Z] Step 12/26 : RUN $MAKE [2022-04-10T05:09:43.922Z] ---> Running in 9332705c1bfc [2022-04-10T05:09:44.905Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-10T05:12:06.837Z] Removing intermediate container 9332705c1bfc [2022-04-10T05:12:06.837Z] ---> 29c433313dce [2022-04-10T05:12:06.837Z] Step 13/26 : FROM alpine:3.14 [2022-04-10T05:12:06.837Z] 3.14: Pulling from library/alpine [2022-04-10T05:12:06.837Z] 455c02918c45: Pulling fs layer [2022-04-10T05:12:06.837Z] 455c02918c45: Pull complete [2022-04-10T05:12:06.837Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-10T05:12:06.837Z] Status: Downloaded newer image for alpine:3.14 [2022-04-10T05:12:06.837Z] ---> ac73e934f311 [2022-04-10T05:12:06.837Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-10T05:12:06.837Z] ---> Running in 44793ecafd50 [2022-04-10T05:12:06.837Z] Removing intermediate container 44793ecafd50 [2022-04-10T05:12:06.837Z] ---> 94f6020d400d [2022-04-10T05:12:06.837Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-10T05:12:06.837Z] ---> Running in e28ad038130e [2022-04-10T05:12:06.837Z] Removing intermediate container e28ad038130e [2022-04-10T05:12:06.837Z] ---> 14e45ba35b5c [2022-04-10T05:12:06.837Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-10T05:12:06.837Z] ---> Running in 685a04b36fc2 [2022-04-10T05:12:06.837Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-10T05:12:06.837Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-10T05:12:06.837Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-10T05:12:06.837Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-10T05:12:06.837Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-10T05:12:06.837Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-10T05:12:06.837Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-10T05:12:06.837Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-10T05:12:06.837Z] Executing busybox-1.33.1-r7.trigger [2022-04-10T05:12:06.837Z] OK: 8 MiB in 20 packages [2022-04-10T05:12:06.837Z] Removing intermediate container 685a04b36fc2 [2022-04-10T05:12:06.837Z] ---> 4c82a3398610 [2022-04-10T05:12:06.837Z] Step 17/26 : WORKDIR / [2022-04-10T05:12:06.837Z] ---> Running in 3dc4899e5bbc [2022-04-10T05:12:06.837Z] Removing intermediate container 3dc4899e5bbc [2022-04-10T05:12:06.837Z] ---> c3d2d02ef2f1 [2022-04-10T05:12:06.837Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-10T05:12:06.837Z] ---> 2050f7a88fa6 [2022-04-10T05:12:06.837Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-10T05:12:07.439Z] ---> 6a682096b977 [2022-04-10T05:12:07.439Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-10T05:12:09.423Z] ---> d4f7e2cff62a [2022-04-10T05:12:09.423Z] Step 21/26 : EXPOSE 59900 [2022-04-10T05:12:09.423Z] ---> Running in b368296ce75b [2022-04-10T05:12:09.423Z] Removing intermediate container b368296ce75b [2022-04-10T05:12:09.423Z] ---> 74a9e80b346f [2022-04-10T05:12:09.423Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-10T05:12:09.423Z] ---> Running in 8fdf3044c392 [2022-04-10T05:12:10.028Z] Removing intermediate container 8fdf3044c392 [2022-04-10T05:12:10.028Z] ---> 858d27bc4dbe [2022-04-10T05:12:10.028Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-10T05:12:10.028Z] ---> Running in 4768363cbbb3 [2022-04-10T05:12:10.312Z] Removing intermediate container 4768363cbbb3 [2022-04-10T05:12:10.312Z] ---> 515a309d7536 [2022-04-10T05:12:10.312Z] Step 24/26 : LABEL arch=arm64 [2022-04-10T05:12:10.312Z] ---> Running in a5864a4093c8 [2022-04-10T05:12:10.597Z] Removing intermediate container a5864a4093c8 [2022-04-10T05:12:10.597Z] ---> ff108f6e8264 [2022-04-10T05:12:10.597Z] Step 25/26 : LABEL git_sha=92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:12:10.873Z] ---> Running in fdc94e1c1f81 [2022-04-10T05:12:11.147Z] Removing intermediate container fdc94e1c1f81 [2022-04-10T05:12:11.147Z] ---> 949c3437667d [2022-04-10T05:12:11.147Z] Step 26/26 : LABEL version=2.2.0-dev.10 [2022-04-10T05:12:11.147Z] ---> Running in 6d506541cdc7 [2022-04-10T05:12:11.422Z] Removing intermediate container 6d506541cdc7 [2022-04-10T05:12:11.423Z] ---> 75cafd3989a5 [2022-04-10T05:12:11.423Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-10T05:12:11.423Z] Successfully built 75cafd3989a5 [2022-04-10T05:12:11.423Z] 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-04-10T05:12:11.527Z] provisioning config files... [2022-04-10T05:12:11.547Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/26@tmp/config7303054673302069907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:12:11.902Z] ---> docker-login.sh [2022-04-10T05:12:11.902Z] nexus3.edgexfoundry.org:10001 [2022-04-10T05:12:12.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:12:12.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:12:12.181Z] Configure a credential helper to remove this warning. See [2022-04-10T05:12:12.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:12:12.181Z] [2022-04-10T05:12:12.181Z] Login Succeeded [2022-04-10T05:12:12.181Z] nexus3.edgexfoundry.org:10002 [2022-04-10T05:12:12.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:12:12.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:12:12.783Z] Configure a credential helper to remove this warning. See [2022-04-10T05:12:12.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:12:12.783Z] [2022-04-10T05:12:12.783Z] Login Succeeded [2022-04-10T05:12:12.783Z] nexus3.edgexfoundry.org:10003 [2022-04-10T05:12:13.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:12:13.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:12:13.382Z] Configure a credential helper to remove this warning. See [2022-04-10T05:12:13.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:12:13.382Z] [2022-04-10T05:12:13.382Z] Login Succeeded [2022-04-10T05:12:13.382Z] nexus3.edgexfoundry.org:10004 [2022-04-10T05:12:13.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:12:13.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:12:13.932Z] Configure a credential helper to remove this warning. See [2022-04-10T05:12:13.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:12:13.932Z] [2022-04-10T05:12:13.932Z] Login Succeeded [2022-04-10T05:12:13.932Z] docker.io [2022-04-10T05:12:14.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-10T05:12:14.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-10T05:12:14.804Z] Configure a credential helper to remove this warning. See [2022-04-10T05:12:14.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-10T05:12:14.804Z] [2022-04-10T05:12:14.804Z] Login Succeeded [2022-04-10T05:12:14.804Z] ---> docker-login.sh ends [Pipeline] } [2022-04-10T05:12:14.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:12:14.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-10T05:12:14.879Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-04-10T05:12:14.879Z] 92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:12:14.879Z] latest [2022-04-10T05:12:14.879Z] 2.2.0-dev.10 [2022-04-10T05:12:14.879Z] 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [2022-04-10T05:12:14.879Z] main [2022-04-10T05:12:14.879Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:15.241Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:15.587Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:12:15.587Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-10T05:12:15.587Z] 0252e4f29cc6: Preparing [2022-04-10T05:12:15.587Z] b58bff912548: Preparing [2022-04-10T05:12:15.587Z] 453f23e77807: Preparing [2022-04-10T05:12:15.587Z] 34be73efd542: Preparing [2022-04-10T05:12:15.587Z] 014b20783886: Preparing [2022-04-10T05:12:15.587Z] f73e7dbfee58: Preparing [2022-04-10T05:12:15.587Z] f73e7dbfee58: Waiting [2022-04-10T05:12:15.869Z] 453f23e77807: Pushed [2022-04-10T05:12:15.869Z] b58bff912548: Pushed [2022-04-10T05:12:15.869Z] 014b20783886: Pushed [2022-04-10T05:12:15.869Z] f73e7dbfee58: Layer already exists [2022-04-10T05:12:16.471Z] 34be73efd542: Pushed [2022-04-10T05:12:21.889Z] 0252e4f29cc6: Pushed [2022-04-10T05:12:22.166Z] 92eeb058ea4423f52907451924a865deb70e0eda: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:22.527Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:22.885Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-10T05:12:22.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-10T05:12:22.885Z] 0252e4f29cc6: Preparing [2022-04-10T05:12:22.885Z] b58bff912548: Preparing [2022-04-10T05:12:22.885Z] 453f23e77807: Preparing [2022-04-10T05:12:22.885Z] 34be73efd542: Preparing [2022-04-10T05:12:22.885Z] 014b20783886: Preparing [2022-04-10T05:12:22.885Z] f73e7dbfee58: Preparing [2022-04-10T05:12:22.885Z] f73e7dbfee58: Waiting [2022-04-10T05:12:22.885Z] 453f23e77807: Layer already exists [2022-04-10T05:12:22.885Z] 0252e4f29cc6: Layer already exists [2022-04-10T05:12:22.885Z] b58bff912548: Layer already exists [2022-04-10T05:12:22.885Z] 34be73efd542: Layer already exists [2022-04-10T05:12:22.885Z] 014b20783886: Layer already exists [2022-04-10T05:12:23.159Z] f73e7dbfee58: Layer already exists [2022-04-10T05:12:23.159Z] latest: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:23.516Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:23.873Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.10 [2022-04-10T05:12:23.873Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-10T05:12:23.873Z] 0252e4f29cc6: Preparing [2022-04-10T05:12:23.873Z] b58bff912548: Preparing [2022-04-10T05:12:23.873Z] 453f23e77807: Preparing [2022-04-10T05:12:23.873Z] 34be73efd542: Preparing [2022-04-10T05:12:23.873Z] 014b20783886: Preparing [2022-04-10T05:12:23.873Z] f73e7dbfee58: Preparing [2022-04-10T05:12:23.873Z] f73e7dbfee58: Waiting [2022-04-10T05:12:23.873Z] 453f23e77807: Layer already exists [2022-04-10T05:12:23.873Z] 0252e4f29cc6: Layer already exists [2022-04-10T05:12:23.873Z] b58bff912548: Layer already exists [2022-04-10T05:12:23.873Z] 34be73efd542: Layer already exists [2022-04-10T05:12:23.873Z] 014b20783886: Layer already exists [2022-04-10T05:12:23.873Z] f73e7dbfee58: Layer already exists [2022-04-10T05:12:24.149Z] 2.2.0-dev.10: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:24.504Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:24.985Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [2022-04-10T05:12:24.985Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-10T05:12:24.985Z] 0252e4f29cc6: Preparing [2022-04-10T05:12:24.985Z] b58bff912548: Preparing [2022-04-10T05:12:24.985Z] 453f23e77807: Preparing [2022-04-10T05:12:24.985Z] 34be73efd542: Preparing [2022-04-10T05:12:24.985Z] 014b20783886: Preparing [2022-04-10T05:12:24.985Z] f73e7dbfee58: Preparing [2022-04-10T05:12:24.985Z] f73e7dbfee58: Waiting [2022-04-10T05:12:24.985Z] 014b20783886: Layer already exists [2022-04-10T05:12:24.985Z] 34be73efd542: Layer already exists [2022-04-10T05:12:24.985Z] b58bff912548: Layer already exists [2022-04-10T05:12:24.985Z] 0252e4f29cc6: Layer already exists [2022-04-10T05:12:24.985Z] 453f23e77807: Layer already exists [2022-04-10T05:12:25.258Z] f73e7dbfee58: Layer already exists [2022-04-10T05:12:25.258Z] 92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:25.629Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:25.979Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-04-10T05:12:25.979Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-10T05:12:25.979Z] 0252e4f29cc6: Preparing [2022-04-10T05:12:25.979Z] b58bff912548: Preparing [2022-04-10T05:12:25.979Z] 453f23e77807: Preparing [2022-04-10T05:12:25.979Z] 34be73efd542: Preparing [2022-04-10T05:12:25.979Z] 014b20783886: Preparing [2022-04-10T05:12:25.979Z] f73e7dbfee58: Preparing [2022-04-10T05:12:25.979Z] f73e7dbfee58: Waiting [2022-04-10T05:12:25.979Z] 453f23e77807: Layer already exists [2022-04-10T05:12:25.979Z] 0252e4f29cc6: Layer already exists [2022-04-10T05:12:25.979Z] b58bff912548: Layer already exists [2022-04-10T05:12:25.979Z] 014b20783886: Layer already exists [2022-04-10T05:12:25.979Z] 34be73efd542: Layer already exists [2022-04-10T05:12:26.253Z] f73e7dbfee58: Layer already exists [2022-04-10T05:12:26.253Z] main: digest: sha256:a2f3e86f0c45ad412875da206b563b6e89e6d84e8d623e075e6e9a09df6bea9c size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-10T05:12:26.310Z] ===================================================== [Pipeline] echo [2022-04-10T05:12:26.321Z] taggedImages: [2022-04-10T05:12:26.321Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda [2022-04-10T05:12:26.321Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-10T05:12:26.321Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.10 [2022-04-10T05:12:26.321Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:92eeb058ea4423f52907451924a865deb70e0eda-2.2.0-dev.10 [2022-04-10T05:12:26.321Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:26.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:12:26.699Z] [2022-04-10T05:12:26.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:12:27.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:12:27.332Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-10T05:12:27.332Z] 8998bd30e6a1: Pulling fs layer [2022-04-10T05:12:27.332Z] 04944245beec: Pulling fs layer [2022-04-10T05:12:27.332Z] 699f458cf7ca: Pulling fs layer [2022-04-10T05:12:27.332Z] 765212b225bb: Pulling fs layer [2022-04-10T05:12:27.332Z] f23df028b6ca: Pulling fs layer [2022-04-10T05:12:27.332Z] d65c8cfc05b1: Pulling fs layer [2022-04-10T05:12:27.332Z] 2437ff75d9bd: Pulling fs layer [2022-04-10T05:12:27.332Z] f23df028b6ca: Waiting [2022-04-10T05:12:27.332Z] d65c8cfc05b1: Waiting [2022-04-10T05:12:27.332Z] 2437ff75d9bd: Waiting [2022-04-10T05:12:27.332Z] 765212b225bb: Waiting [2022-04-10T05:12:27.332Z] 04944245beec: Verifying Checksum [2022-04-10T05:12:27.332Z] 04944245beec: Download complete [2022-04-10T05:12:27.332Z] 765212b225bb: Verifying Checksum [2022-04-10T05:12:27.332Z] 765212b225bb: Download complete [2022-04-10T05:12:27.332Z] f23df028b6ca: Verifying Checksum [2022-04-10T05:12:27.332Z] f23df028b6ca: Download complete [2022-04-10T05:12:27.332Z] d65c8cfc05b1: Verifying Checksum [2022-04-10T05:12:27.332Z] d65c8cfc05b1: Download complete [2022-04-10T05:12:27.609Z] 699f458cf7ca: Verifying Checksum [2022-04-10T05:12:27.609Z] 699f458cf7ca: Download complete [2022-04-10T05:12:27.886Z] 8998bd30e6a1: Download complete [2022-04-10T05:12:30.514Z] 2437ff75d9bd: Verifying Checksum [2022-04-10T05:12:30.514Z] 2437ff75d9bd: Download complete [2022-04-10T05:12:31.956Z] 8998bd30e6a1: Pull complete [2022-04-10T05:12:32.552Z] 04944245beec: Pull complete [2022-04-10T05:12:33.997Z] 699f458cf7ca: Pull complete [2022-04-10T05:12:34.271Z] 765212b225bb: Pull complete [2022-04-10T05:12:34.869Z] f23df028b6ca: Pull complete [2022-04-10T05:12:35.141Z] d65c8cfc05b1: Pull complete [2022-04-10T05:12:50.227Z] 2437ff75d9bd: Pull complete [2022-04-10T05:12:50.227Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-10T05:12:50.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-10T05:12:50.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-10T05:12:50.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-11757 does not seem to be running inside a container [2022-04-10T05:12:50.586Z] $ 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/26 -v /w/workspace/device-virtual-go/26:/w/workspace/device-virtual-go/26:rw,z -v /w/workspace/device-virtual-go/26@tmp:/w/workspace/device-virtual-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-10T05:12:53.331Z] $ docker top 4fedbfe6aca19a684a21671222e9847001fb5ec614e74dd22bcaa17752e900fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:12:54.285Z] ---> job-cost.sh [2022-04-10T05:12:54.285Z] lf-activate-venv: SKIPPING [2022-04-10T05:12:54.285Z] INFO: No Stack... [2022-04-10T05:12:54.561Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-10T05:12:55.542Z] INFO: Archiving Costs [Pipeline] sh [2022-04-10T05:12:56.218Z] + cat /w/workspace/device-virtual-go/26/archives/cost.csv [2022-04-10T05:12:56.218Z] + cut -d, -f6 [Pipeline] lock [2022-04-10T05:12:56.289Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [2022-04-10T05:12:56.295Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] did not exist. Created. [2022-04-10T05:12:56.295Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-10T05:12:56.988Z] /w/workspace/device-virtual-go/26@tmp/durable-aa53029e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-10T05:12:57.684Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-10T05:12:57.714Z] Warning: overwriting stash ‘stack-cost’ [2022-04-10T05:12:57.767Z] Stashed 1 file(s) [Pipeline] } [2022-04-10T05:12:57.776Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-10T05:12:57.809Z] $ docker stop --time=1 4fedbfe6aca19a684a21671222e9847001fb5ec614e74dd22bcaa17752e900fe [2022-04-10T05:12:59.355Z] $ docker rm -f 4fedbfe6aca19a684a21671222e9847001fb5ec614e74dd22bcaa17752e900fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-10T05:12:59.849Z] provisioning config files... [2022-04-10T05:12:59.858Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7250501542744839207tmp [Pipeline] { [Pipeline] sh [2022-04-10T05:13:00.152Z] + set +x [2022-04-10T05:13:00.152Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-04-10T05:13:00.152Z] [2022-04-10T05:13:00.152Z] [2022-04-10T05:13:00.152Z] _____ _ [2022-04-10T05:13:00.152Z] / ____| | | [2022-04-10T05:13:00.152Z] | | ___ __| | ___ ___ _____ __ [2022-04-10T05:13:00.152Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-10T05:13:00.152Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-10T05:13:00.152Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-10T05:13:00.152Z] Bash-1.0.6 [2022-04-10T05:13:00.152Z] [2022-04-10T05:13:00.152Z] [2022-04-10T05:13:00.152Z] ==> git version 2.25.1 found [2022-04-10T05:13:00.152Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-10T05:13:00.152Z] Release-Date: 2020-01-08 [2022-04-10T05:13:00.152Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-10T05:13:00.152Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-10T05:13:00.152Z] ==> Jenkins CI detected. [2022-04-10T05:13:00.152Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-04-10T05:13:00.152Z] project root: . [2022-04-10T05:13:00.152Z] --> token set from env [2022-04-10T05:13:00.152Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-10T05:13:00.152Z] ==> Running gcov in . (disable via -X gcov) [2022-04-10T05:13:00.152Z] ==> Python coveragepy not found [2022-04-10T05:13:00.152Z] ==> Searching for coverage reports in: [2022-04-10T05:13:00.152Z] + . [2022-04-10T05:13:00.152Z] -> Found 1 reports [2022-04-10T05:13:00.152Z] ==> Detecting git/mercurial file structure [2022-04-10T05:13:00.152Z] ==> Reading reports [2022-04-10T05:13:00.152Z] + ./coverage.out bytes=44128 [2022-04-10T05:13:00.152Z] ==> Appending adjustments [2022-04-10T05:13:00.152Z] https://docs.codecov.io/docs/fixing-reports [2022-04-10T05:13:00.413Z] + Found adjustments [2022-04-10T05:13:00.413Z] ==> Gzipping contents [2022-04-10T05:13:00.413Z] 8.0K /tmp/codecov.O89LH8.gz [2022-04-10T05:13:00.413Z] ==> Uploading reports [2022-04-10T05:13:00.413Z] url: https://codecov.io [2022-04-10T05:13:00.413Z] query: branch=main&commit=92eeb058ea4423f52907451924a865deb70e0eda&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:13:00.413Z] -> Pinging Codecov [2022-04-10T05:13:00.413Z] 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=92eeb058ea4423f52907451924a865deb70e0eda&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-10T05:13:00.673Z] -> Uploading to [2022-04-10T05:13:00.673Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-10/5E52B4B073DB2E39498172D8E973AA87/92eeb058ea4423f52907451924a865deb70e0eda/1ddbd57e-69c5-4998-89ce-f82394f96257.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T051300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ea28fa001c335d1302612aa9d5264b2130182c85cc9180f94afb0fe2b296d4e0 [2022-04-10T05:13:00.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-10T05:13:00.673Z] Dload Upload Total Spent Left Speed [2022-04-10T05:13:00.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5308 0 0 100 5308 0 26277 --:--:-- --:--:-- --:--:-- 26277 [2022-04-10T05:13:00.934Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] } [2022-04-10T05:13:00.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-10T05:13:01.088Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-10T05:13:01.102Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:01.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:13:01.400Z] [2022-04-10T05:13:01.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:01.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:13:01.702Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-10T05:13:01.702Z] 188c0c94c7c5: Pulling fs layer [2022-04-10T05:13:01.702Z] 0ef7d3d256c8: Pulling fs layer [2022-04-10T05:13:01.702Z] de9db76c5a1d: Pulling fs layer [2022-04-10T05:13:01.702Z] 0eba1c9be4d2: Pulling fs layer [2022-04-10T05:13:01.702Z] 0d57e429df01: Pulling fs layer [2022-04-10T05:13:01.702Z] 4e4be7b47b0d: Pulling fs layer [2022-04-10T05:13:01.702Z] e1f770b5df2f: Pulling fs layer [2022-04-10T05:13:01.702Z] 85a0685a4137: Pulling fs layer [2022-04-10T05:13:01.702Z] 0d57e429df01: Waiting [2022-04-10T05:13:01.702Z] 4e4be7b47b0d: Waiting [2022-04-10T05:13:01.702Z] e1f770b5df2f: Waiting [2022-04-10T05:13:01.702Z] 85a0685a4137: Waiting [2022-04-10T05:13:01.702Z] 0eba1c9be4d2: Waiting [2022-04-10T05:13:01.702Z] de9db76c5a1d: Download complete [2022-04-10T05:13:01.702Z] 0ef7d3d256c8: Download complete [2022-04-10T05:13:01.703Z] 0d57e429df01: Verifying Checksum [2022-04-10T05:13:01.703Z] 0d57e429df01: Download complete [2022-04-10T05:13:01.703Z] 4e4be7b47b0d: Verifying Checksum [2022-04-10T05:13:01.703Z] 4e4be7b47b0d: Download complete [2022-04-10T05:13:01.703Z] 188c0c94c7c5: Verifying Checksum [2022-04-10T05:13:01.703Z] 188c0c94c7c5: Download complete [2022-04-10T05:13:01.966Z] 188c0c94c7c5: Pull complete [2022-04-10T05:13:01.966Z] 0ef7d3d256c8: Pull complete [2022-04-10T05:13:01.966Z] e1f770b5df2f: Download complete [2022-04-10T05:13:02.227Z] de9db76c5a1d: Pull complete [2022-04-10T05:13:02.486Z] 0eba1c9be4d2: Verifying Checksum [2022-04-10T05:13:02.486Z] 0eba1c9be4d2: Download complete [2022-04-10T05:13:02.486Z] 85a0685a4137: Verifying Checksum [2022-04-10T05:13:02.486Z] 85a0685a4137: Download complete [2022-04-10T05:13:05.775Z] 0eba1c9be4d2: Pull complete [2022-04-10T05:13:05.775Z] 0d57e429df01: Pull complete [2022-04-10T05:13:05.775Z] 4e4be7b47b0d: Pull complete [2022-04-10T05:13:06.034Z] e1f770b5df2f: Pull complete [2022-04-10T05:13:09.321Z] 85a0685a4137: Pull complete [2022-04-10T05:13:09.321Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-10T05:13:09.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-10T05:13:09.321Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-10T05:13:09.388Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:13:09.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-10T05:13:11.871Z] $ docker top afb893ffbbe0daae1bd3d192dcd8fc684ac8b22e6f66c5a6b9b4dfe8c84f9ecd -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-10T05:13:11.933Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-10T05:13:12.215Z] + set -o pipefail [2022-04-10T05:13:12.215Z] + snyk monitor '--org=edgex-jenkins' [2022-04-10T05:13:18.806Z] [2022-04-10T05:13:18.806Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-04-10T05:13:18.806Z] [2022-04-10T05:13:18.806Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/108ce7b7-6c22-4a7c-a0fc-bd9e1fca9d51 [2022-04-10T05:13:18.806Z] [2022-04-10T05:13:18.806Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-10T05:13:18.806Z] [2022-04-10T05:13:19.376Z] [Pipeline] } [2022-04-10T05:13:19.404Z] $ docker stop --time=1 afb893ffbbe0daae1bd3d192dcd8fc684ac8b22e6f66c5a6b9b4dfe8c84f9ecd [2022-04-10T05:13:21.690Z] $ docker rm -f afb893ffbbe0daae1bd3d192dcd8fc684ac8b22e6f66c5a6b9b4dfe8c84f9ecd [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-04-10T05:13:22.405Z] + git log --format=format:%s -1 92eeb058ea4423f52907451924a865deb70e0eda [Pipeline] sh [2022-04-10T05:13:22.699Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:13:22.700Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:22.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:13:22.998Z] . [Pipeline] withDockerContainer [2022-04-10T05:13:23.061Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:13:23.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:13:23.633Z] $ docker top 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:13:23.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:13:23.719Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:13:23.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:13:23.863Z] $ docker exec 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 ssh-agent [2022-04-10T05:13:23.959Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPMEdcc/agent.13 [2022-04-10T05:13:23.959Z] SSH_AGENT_PID=19 [2022-04-10T05:13:23.967Z] Running ssh-add (command line suppressed) [2022-04-10T05:13:24.092Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_673541730421086303.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_673541730421086303.key) [2022-04-10T05:13:24.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:13:24.384Z] + git semver tag [2022-04-10T05:13:24.384Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:13:24.384Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-10T05:13:24.384Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-10T05:13:24.384Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:13:24.384Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:13:24.384Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:13:24.384Z] # $SEMVER_BRANCH = main [2022-04-10T05:13:24.384Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-10T05:13:24.384Z] # 92eeb058ea4423f52907451924a865deb70e0eda HEAD [2022-04-10T05:13:24.384Z] # -> Force: false [2022-04-10T05:13:24.384Z] # 53c0a93b6ff01ab52fc61fbd1c87eefa7d36cb15 refs/tags/v2.2.0-dev.10 [Pipeline] } [2022-04-10T05:13:24.411Z] $ docker exec --env ******** --env ******** 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 ssh-agent -k [2022-04-10T05:13:24.515Z] unset SSH_AUTH_SOCK; [2022-04-10T05:13:24.516Z] unset SSH_AGENT_PID; [2022-04-10T05:13:24.516Z] echo Agent pid 19 killed; [2022-04-10T05:13:24.512Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:13:24.828Z] + git semver [Pipeline] } [2022-04-10T05:13:24.857Z] $ docker stop --time=1 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 [2022-04-10T05:13:26.149Z] $ docker rm -f 6f730f5e5e90f31c0ded81962c52b64a729ee2201402899816653c2d43f53663 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:26.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:13:26.528Z] [2022-04-10T05:13:26.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:26.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:13:26.831Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-10T05:13:26.831Z] ab5ef0e58194: Pulling fs layer [2022-04-10T05:13:26.831Z] 9712f1f96733: Pulling fs layer [2022-04-10T05:13:26.831Z] 63f879dbbcfc: Pulling fs layer [2022-04-10T05:13:26.831Z] 0d9ebad4ef96: Pulling fs layer [2022-04-10T05:13:26.831Z] e9a5061849ea: Pulling fs layer [2022-04-10T05:13:26.831Z] d747dcd14b5f: Pulling fs layer [2022-04-10T05:13:26.831Z] 2de7ff778b66: Pulling fs layer [2022-04-10T05:13:26.831Z] 0d9ebad4ef96: Waiting [2022-04-10T05:13:26.831Z] e9a5061849ea: Waiting [2022-04-10T05:13:26.831Z] d747dcd14b5f: Waiting [2022-04-10T05:13:26.831Z] 2de7ff778b66: Waiting [2022-04-10T05:13:26.831Z] 9712f1f96733: Verifying Checksum [2022-04-10T05:13:26.831Z] 9712f1f96733: Download complete [2022-04-10T05:13:27.092Z] 63f879dbbcfc: Verifying Checksum [2022-04-10T05:13:27.092Z] 63f879dbbcfc: Download complete [2022-04-10T05:13:27.352Z] 0d9ebad4ef96: Verifying Checksum [2022-04-10T05:13:27.352Z] 0d9ebad4ef96: Download complete [2022-04-10T05:13:27.352Z] d747dcd14b5f: Verifying Checksum [2022-04-10T05:13:27.352Z] d747dcd14b5f: Download complete [2022-04-10T05:13:27.352Z] ab5ef0e58194: Verifying Checksum [2022-04-10T05:13:27.352Z] ab5ef0e58194: Download complete [2022-04-10T05:13:27.352Z] e9a5061849ea: Verifying Checksum [2022-04-10T05:13:27.352Z] e9a5061849ea: Download complete [2022-04-10T05:13:27.352Z] 2de7ff778b66: Verifying Checksum [2022-04-10T05:13:27.352Z] 2de7ff778b66: Download complete [2022-04-10T05:13:29.890Z] ab5ef0e58194: Pull complete [2022-04-10T05:13:29.890Z] 9712f1f96733: Pull complete [2022-04-10T05:13:30.827Z] 63f879dbbcfc: Pull complete [2022-04-10T05:13:34.117Z] 0d9ebad4ef96: Pull complete [2022-04-10T05:13:34.378Z] e9a5061849ea: Pull complete [2022-04-10T05:13:34.378Z] d747dcd14b5f: Pull complete [2022-04-10T05:13:35.763Z] 2de7ff778b66: Pull complete [2022-04-10T05:13:35.763Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-10T05:13:35.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-10T05:13:35.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-10T05:13:35.897Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:13:35.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-10T05:13:38.431Z] $ docker top bd1bc26e840b09681d2988a047a5568731e0b389c8929d62109fc2b9e3b83312 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:13:38.508Z] provisioning config files... [2022-04-10T05:13:38.517Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1786499042620112335tmp [2022-04-10T05:13:38.529Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7268007547101608669tmp [2022-04-10T05:13:38.540Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4406313787125881267tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:13:38.557Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:38.845Z] ---> sigul-configuration.sh [2022-04-10T05:13:38.845Z] gpg: directory `/root/.gnupg' created [2022-04-10T05:13:38.845Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-10T05:13:38.845Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-10T05:13:38.845Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-10T05:13:38.845Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-10T05:13:38.845Z] gpg: CAST5 encrypted data [2022-04-10T05:13:38.845Z] gpg: encrypted with 1 passphrase [2022-04-10T05:13:38.845Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-10T05:13:39.134Z] + mkdir /home/jenkins [2022-04-10T05:13:39.134Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-10T05:13:39.424Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-04-10T05:13:39.439Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:39.728Z] ---> sigul-install.sh [2022-04-10T05:13:39.728Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-10T05:13:40.017Z] + git tag --list [2022-04-10T05:13:40.017Z] v1.0.0 [2022-04-10T05:13:40.017Z] v1.1.0 [2022-04-10T05:13:40.017Z] v1.1.1 [2022-04-10T05:13:40.017Z] v1.2.1 [2022-04-10T05:13:40.017Z] v1.2.2 [2022-04-10T05:13:40.017Z] v1.2.3 [2022-04-10T05:13:40.017Z] v1.3.0 [2022-04-10T05:13:40.017Z] v1.3.1 [2022-04-10T05:13:40.017Z] v2.0.0 [2022-04-10T05:13:40.017Z] v2.0.1-dev.1 [2022-04-10T05:13:40.017Z] v2.0.1-dev.10 [2022-04-10T05:13:40.017Z] v2.0.1-dev.11 [2022-04-10T05:13:40.017Z] v2.0.1-dev.12 [2022-04-10T05:13:40.017Z] v2.0.1-dev.13 [2022-04-10T05:13:40.017Z] v2.0.1-dev.14 [2022-04-10T05:13:40.017Z] v2.0.1-dev.15 [2022-04-10T05:13:40.017Z] v2.0.1-dev.2 [2022-04-10T05:13:40.017Z] v2.0.1-dev.3 [2022-04-10T05:13:40.017Z] v2.0.1-dev.4 [2022-04-10T05:13:40.017Z] v2.0.1-dev.5 [2022-04-10T05:13:40.017Z] v2.0.1-dev.6 [2022-04-10T05:13:40.017Z] v2.0.1-dev.7 [2022-04-10T05:13:40.017Z] v2.0.1-dev.8 [2022-04-10T05:13:40.017Z] v2.0.1-dev.9 [2022-04-10T05:13:40.017Z] v2.1.0 [2022-04-10T05:13:40.017Z] v2.2.0-dev.1 [2022-04-10T05:13:40.017Z] v2.2.0-dev.10 [2022-04-10T05:13:40.017Z] v2.2.0-dev.2 [2022-04-10T05:13:40.017Z] v2.2.0-dev.3 [2022-04-10T05:13:40.017Z] v2.2.0-dev.4 [2022-04-10T05:13:40.018Z] v2.2.0-dev.5 [2022-04-10T05:13:40.018Z] v2.2.0-dev.6 [2022-04-10T05:13:40.018Z] v2.2.0-dev.7 [2022-04-10T05:13:40.018Z] v2.2.0-dev.8 [2022-04-10T05:13:40.018Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-10T05:13:40.306Z] + lftools sign git-tag v2.2.0-dev.10 [2022-04-10T05:13:40.876Z] Signing Git tag with Sigul... [2022-04-10T05:13:40.876Z] Signing v2.2.0-dev.10 [Pipeline] echo [2022-04-10T05:13:41.147Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:41.434Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-10T05:13:41.442Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-10T05:13:41.477Z] $ docker stop --time=1 bd1bc26e840b09681d2988a047a5568731e0b389c8929d62109fc2b9e3b83312 [2022-04-10T05:13:42.766Z] $ docker rm -f bd1bc26e840b09681d2988a047a5568731e0b389c8929d62109fc2b9e3b83312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-10T05:13:43.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:13:43.182Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:43.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:13:43.481Z] . [Pipeline] withDockerContainer [2022-04-10T05:13:43.546Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:13:43.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:13:43.977Z] $ docker top 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:13:44.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:13:44.050Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:13:44.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:13:44.191Z] $ docker exec 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf ssh-agent [2022-04-10T05:13:44.295Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHOiEJF/agent.14 [2022-04-10T05:13:44.295Z] SSH_AGENT_PID=21 [2022-04-10T05:13:44.301Z] Running ssh-add (command line suppressed) [2022-04-10T05:13:44.419Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_772926938601573664.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_772926938601573664.key) [2022-04-10T05:13:44.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:13:44.706Z] + git semver bump pre [2022-04-10T05:13:44.707Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:13:44.707Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-10T05:13:44.707Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-10T05:13:44.707Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:13:44.707Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:13:44.707Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:13:44.707Z] # $SEMVER_BRANCH = main [2022-04-10T05:13:44.707Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-10T05:13:44.707Z] 2.2.0-dev.11 [Pipeline] } [2022-04-10T05:13:44.734Z] $ docker exec --env ******** --env ******** 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf ssh-agent -k [2022-04-10T05:13:44.838Z] unset SSH_AUTH_SOCK; [2022-04-10T05:13:44.839Z] unset SSH_AGENT_PID; [2022-04-10T05:13:44.839Z] echo Agent pid 21 killed; [2022-04-10T05:13:44.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:13:45.135Z] + git semver [Pipeline] } [2022-04-10T05:13:45.167Z] $ docker stop --time=1 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf [2022-04-10T05:13:46.459Z] $ docker rm -f 7b675056bee32b3c233483e4c72a1c587789cbf22e734655a872777df09becbf [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-10T05:13:46.800Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-10T05:13:46.800Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:47.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-10T05:13:47.097Z] . [Pipeline] withDockerContainer [2022-04-10T05:13:47.162Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:13:47.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-10T05:13:47.581Z] $ docker top e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-10T05:13:47.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-10T05:13:47.661Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-10T05:13:47.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-10T05:13:47.799Z] $ docker exec e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 ssh-agent [2022-04-10T05:13:47.910Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhJOOlm/agent.15 [2022-04-10T05:13:47.910Z] SSH_AGENT_PID=22 [2022-04-10T05:13:47.915Z] Running ssh-add (command line suppressed) [2022-04-10T05:13:48.066Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1561801420695295204.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1561801420695295204.key) [2022-04-10T05:13:48.065Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-10T05:13:48.355Z] + git semver push [2022-04-10T05:13:48.355Z] # -> Open(): unable to determine branch for HEAD [2022-04-10T05:13:48.355Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-10T05:13:48.355Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-10T05:13:48.355Z] # $SEMVER_REMOTE_NAME = origin [2022-04-10T05:13:48.355Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-10T05:13:48.355Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-10T05:13:48.355Z] # $SEMVER_BRANCH = main [2022-04-10T05:13:48.355Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-10T05:13:50.299Z] $ docker exec --env ******** --env ******** e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 ssh-agent -k [2022-04-10T05:13:50.427Z] unset SSH_AUTH_SOCK; [2022-04-10T05:13:50.428Z] unset SSH_AGENT_PID; [2022-04-10T05:13:50.428Z] echo Agent pid 22 killed; [2022-04-10T05:13:50.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-10T05:13:50.723Z] + git semver [Pipeline] } [2022-04-10T05:13:50.753Z] $ docker stop --time=1 e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 [2022-04-10T05:13:52.071Z] $ docker rm -f e0706b114bf284662bbc4e6ac220796b6d9efab74440e29602b3b5a9e0f4e0e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-10T05:13:52.700Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-04-10T05:13:52.700Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-10T05:13:52.700Z] total 16 [2022-04-10T05:13:52.700Z] drwxr-xr-x 3 root root 4096 Apr 10 05:03 . [2022-04-10T05:13:52.700Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:13 .. [2022-04-10T05:13:52.700Z] drwxr-xr-x 2 root root 4096 Apr 10 05:03 cost [2022-04-10T05:13:52.700Z] -rw-r--r-- 1 root root 87 Apr 10 05:03 cost.csv [2022-04-10T05:13:52.700Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-10T05:13:52.700Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-10T05:13:52.700Z] total 16 [2022-04-10T05:13:52.700Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:03 . [2022-04-10T05:13:52.700Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 05:13 .. [2022-04-10T05:13:52.700Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:03 cost [2022-04-10T05:13:52.700Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 10 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:52.994Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:53.862Z] ---> package-listing.sh [2022-04-10T05:13:53.862Z] ++ facter osfamily [2022-04-10T05:13:53.862Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-10T05:13:54.122Z] + OS_FAMILY=debian [2022-04-10T05:13:54.122Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-04-10T05:13:54.122Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-10T05:13:54.122Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-10T05:13:54.122Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-10T05:13:54.122Z] + PACKAGES=/tmp/packages_start.txt [2022-04-10T05:13:54.122Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-10T05:13:54.122Z] + PACKAGES=/tmp/packages_end.txt [2022-04-10T05:13:54.122Z] + case "${OS_FAMILY}" in [2022-04-10T05:13:54.122Z] + dpkg -l [2022-04-10T05:13:54.122Z] + grep '^ii' [2022-04-10T05:13:54.122Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-10T05:13:54.122Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-10T05:13:54.122Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-10T05:13:54.122Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-10T05:13:54.122Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-04-10T05:13:54.122Z] + 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-04-10T05:13:54.134Z] 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-04-10T05:13:54.415Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-10T05:13:54.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-10T05:13:54.968Z] . [Pipeline] withDockerContainer [2022-04-10T05:13:55.031Z] prd-ubuntu20.04-docker-8c-8g-11753 does not seem to be running inside a container [2022-04-10T05:13:55.104Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-10T05:13:55.333Z] $ docker top 3d4f0fb7f636d220039bab34b9da634f7c6dbd4cdcb5ef58f4afddbccc119de7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-10T05:13:55.674Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-10T05:13:55.966Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-10T05:13:56.261Z] + ls /var/log/sa-host [2022-04-10T05:13:56.261Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-10T05:13:56.369Z] provisioning config files... [2022-04-10T05:13:56.379Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5083687755283249940tmp [Pipeline] { [Pipeline] echo [2022-04-10T05:13:56.396Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:56.679Z] ---> create-netrc.sh [Pipeline] } [2022-04-10T05:13:56.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:57.016Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-10T05:13:57.028Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:57.318Z] ---> sudo-logs.sh [2022-04-10T05:13:57.318Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-10T05:13:57.347Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:57.637Z] ---> job-cost.sh [2022-04-10T05:13:57.637Z] lf-activate-venv: SKIPPING [2022-04-10T05:13:57.637Z] DEBUG: total: 0.2199999988079071 [2022-04-10T05:13:57.637Z] INFO: Retrieving Stack Cost... [2022-04-10T05:13:57.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-10T05:13:58.470Z] INFO: Archiving Costs [Pipeline] echo [2022-04-10T05:13:58.483Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-10T05:13:58.775Z] ---> logs-deploy.sh [2022-04-10T05:13:58.775Z] lf-activate-venv: SKIPPING [2022-04-10T05:13:58.775Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/26 [2022-04-10T05:13:58.775Z] INFO: archiving workspace using pattern(s): [2022-04-10T05:13:59.717Z] Archives upload complete. [2022-04-10T05:13:59.717Z] INFO: archiving logs to Nexus