Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 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-ssh5554616781885301167.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh978415518823462395.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14997820667145558092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 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-ssh18089926321156610003.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1393366052332118713.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1626’ Running on prd-ubuntu20.04-docker-8c-8g-1628 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a (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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 Commit message: "feat(snap): Add snap packaging (#287)" > git rev-list --no-walk 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:51:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:51:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:51:36 ========================================================= 08:51:36 EdgeX Global Pipelines Version Info 08:51:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:51:37 ------------------- 08:51:37 stable info: 08:51:37 ------------------- 08:51:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:51:37 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 08:51:37 Message: update stable to v1.0.232 08:51:37 ------------------- 08:51:37 experimental info: 08:51:37 ------------------- 08:51:37 Commited By: **** collab-it+edgex@linuxfoundation.org 08:51:37 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 08:51:37 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dce4ce0 [Pipeline] echo 08:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:51:38 provisioning config files... 08:51:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6730924438993005074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:39 ---> docker-login.sh 08:51:39 nexus3.edgexfoundry.org:10001 08:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:39 Configure a credential helper to remove this warning. See 08:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:39 08:51:39 Login Succeeded 08:51:39 nexus3.edgexfoundry.org:10002 08:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:39 Configure a credential helper to remove this warning. See 08:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:39 08:51:39 Login Succeeded 08:51:39 nexus3.edgexfoundry.org:10003 08:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:39 Configure a credential helper to remove this warning. See 08:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:39 08:51:39 Login Succeeded 08:51:39 nexus3.edgexfoundry.org:10004 08:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:39 Configure a credential helper to remove this warning. See 08:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:39 08:51:39 Login Succeeded 08:51:39 docker.io 08:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:40 Configure a credential helper to remove this warning. See 08:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:40 08:51:40 Login Succeeded 08:51:40 ---> docker-login.sh ends [Pipeline] } 08:51:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:51:40 + git rev-list -1 --merges dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a~1..dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] echo 08:51:40 -----------> git rev-list -1 --merges dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a~1..dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [false] [Pipeline] sh 08:51:41 + git log --format=format:%s -1 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] echo 08:51:41 ========================================================= 08:51:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:51:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:51:41 + git log --format=format:%s -1 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] echo 08:51:41 [semverPrep] GIT_COMMIT: dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a, Commit Message: feat(snap): Add snap packaging (#287) [Pipeline] echo 08:51:41 [semverPrep] This is not a build commit. [Pipeline] sh 08:51:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:51:41 + grep -v github /etc/ssh/ssh_known_hosts 08:51:41 + [ -e /tmp/ssh_known_hosts ] 08:51:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:51:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:51:41 + sudo tee -a /etc/ssh/ssh_known_hosts 08:51:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:51:42 08:51:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:51:42 0.1.4: Pulling from edgex-devops/py-git-semver 08:51:42 42c077c10790: Pulling fs layer 08:51:42 f63e77b7563a: Pulling fs layer 08:51:42 bd5fdadae976: Pulling fs layer 08:51:42 205491f53016: Pulling fs layer 08:51:42 df18705c85c3: Pulling fs layer 08:51:42 bdb3f477010e: Pulling fs layer 08:51:42 c8a8fc8e1c8f: Pulling fs layer 08:51:42 2c6e9b1d212d: Pulling fs layer 08:51:42 bdb8f0575790: Pulling fs layer 08:51:42 386e3cb2ff24: Pulling fs layer 08:51:42 df18705c85c3: Waiting 08:51:42 2343380bae48: Pulling fs layer 08:51:42 bdb3f477010e: Waiting 08:51:42 c8a8fc8e1c8f: Waiting 08:51:42 2c6e9b1d212d: Waiting 08:51:42 bdb8f0575790: Waiting 08:51:42 386e3cb2ff24: Waiting 08:51:42 2343380bae48: Waiting 08:51:42 205491f53016: Waiting 08:51:42 f63e77b7563a: Verifying Checksum 08:51:42 f63e77b7563a: Download complete 08:51:42 205491f53016: Download complete 08:51:42 df18705c85c3: Verifying Checksum 08:51:42 df18705c85c3: Download complete 08:51:42 bdb3f477010e: Verifying Checksum 08:51:42 bdb3f477010e: Download complete 08:51:42 bd5fdadae976: Verifying Checksum 08:51:42 bd5fdadae976: Download complete 08:51:42 2c6e9b1d212d: Download complete 08:51:42 bdb8f0575790: Verifying Checksum 08:51:42 bdb8f0575790: Download complete 08:51:42 386e3cb2ff24: Download complete 08:51:42 2343380bae48: Download complete 08:51:42 42c077c10790: Verifying Checksum 08:51:42 42c077c10790: Download complete 08:51:43 c8a8fc8e1c8f: Download complete 08:51:44 42c077c10790: Pull complete 08:51:44 f63e77b7563a: Pull complete 08:51:45 bd5fdadae976: Pull complete 08:51:45 205491f53016: Pull complete 08:51:45 df18705c85c3: Pull complete 08:51:45 bdb3f477010e: Pull complete 08:51:47 c8a8fc8e1c8f: Pull complete 08:51:47 2c6e9b1d212d: Pull complete 08:51:47 bdb8f0575790: Pull complete 08:51:47 386e3cb2ff24: Pull complete 08:51:47 2343380bae48: Pull complete 08:51:47 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 08:51:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:51:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:51:48 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 08:51:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:51:49 $ docker top c52a2e8b482ca99e244feb9b9489856d4cdff8abe1c4462e7deda3058d2aa64b -eo pid,comm 08:51:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 08:51:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:51:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:49 [ssh-agent] Looking for ssh-agent implementation... 08:51:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:49 $ docker exec c52a2e8b482ca99e244feb9b9489856d4cdff8abe1c4462e7deda3058d2aa64b ssh-agent 08:51:49 SSH_AUTH_SOCK=/tmp/ssh-HjKv5xEqGwCa/agent.33 08:51:49 SSH_AGENT_PID=39 08:51:49 Running ssh-add (command line suppressed) 08:51:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3946081672437693603.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3946081672437693603.key) 08:51:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:50 + git tag --points-at HEAD [Pipeline] } 08:51:50 $ docker exec --env ******** --env ******** c52a2e8b482ca99e244feb9b9489856d4cdff8abe1c4462e7deda3058d2aa64b ssh-agent -k 08:51:50 unset SSH_AUTH_SOCK; 08:51:50 unset SSH_AGENT_PID; 08:51:50 echo Agent pid 39 killed; 08:51:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:51:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:51:50 [ssh-agent] Looking for ssh-agent implementation... 08:51:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:51:50 $ docker exec c52a2e8b482ca99e244feb9b9489856d4cdff8abe1c4462e7deda3058d2aa64b ssh-agent 08:51:50 SSH_AUTH_SOCK=/tmp/ssh-rlBjC7COI6Sf/agent.72 08:51:50 SSH_AGENT_PID=79 08:51:50 Running ssh-add (command line suppressed) 08:51:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2138068381879520750.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2138068381879520750.key) 08:51:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:51:51 + git semver init 08:51:51 2022-06-07 08:51:51,326 [run_init] DEBUG init version:0.0.0 force:False 08:51:51 2022-06-07 08:51:51,326 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 08:51:51 2022-06-07 08:51:51,327 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 08:51:51 2022-06-07 08:51:51,327 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 08:51:52 2022-06-07 08:51:52,242 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 08:51:52 2022-06-07 08:51:52,243 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 08:51:52 2022-06-07 08:51:52,243 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:51:52 2022-06-07 08:51:52,243 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 08:51:52 2.2.1-dev.2 [Pipeline] } 08:51:52 $ docker exec --env ******** --env ******** c52a2e8b482ca99e244feb9b9489856d4cdff8abe1c4462e7deda3058d2aa64b ssh-agent -k 08:51:52 unset SSH_AUTH_SOCK; 08:51:52 unset SSH_AGENT_PID; 08:51:52 echo Agent pid 79 killed; 08:51:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:51:52 + git semver [Pipeline] } 08:51:53 $ docker stop --time=1 c52a2e8b482ca99e244feb9b9489856d4cdff8abe1c4462e7deda3058d2aa64b 08:51:54 $ docker rm -f c52a2e8b482ca99e244feb9b9489856d4cdff8abe1c4462e7deda3058d2aa64b [Pipeline] // withDockerContainer [Pipeline] sh 08:51:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:51:55 Stashed 1 file(s) [Pipeline] echo 08:51:55 [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [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 08:51:55 provisioning config files... 08:51:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4708923726635842347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:51:55 ---> docker-login.sh 08:51:55 nexus3.edgexfoundry.org:10001 08:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:55 Configure a credential helper to remove this warning. See 08:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:55 08:51:55 Login Succeeded 08:51:55 nexus3.edgexfoundry.org:10002 08:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:55 Configure a credential helper to remove this warning. See 08:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:55 08:51:55 Login Succeeded 08:51:55 nexus3.edgexfoundry.org:10003 08:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:55 Configure a credential helper to remove this warning. See 08:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:55 08:51:55 Login Succeeded 08:51:55 nexus3.edgexfoundry.org:10004 08:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:55 Configure a credential helper to remove this warning. See 08:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:55 08:51:55 Login Succeeded 08:51:55 docker.io 08:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:51:56 Configure a credential helper to remove this warning. See 08:51:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:51:56 08:51:56 Login Succeeded 08:51:56 ---> docker-login.sh ends [Pipeline] } 08:51:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:51:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:51:56 ========================================================= 08:51:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:51:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:51:56 + 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 . 08:51:56 Sending build context to Docker daemon 23.02MB 08:51:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:51:56 Step 2/12 : FROM ${BASE} AS builder 08:51:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:51:56 59bf1c3509f3: Pulling fs layer 08:51:56 666ba61612fd: Pulling fs layer 08:51:56 8ed8ca486205: Pulling fs layer 08:51:56 cc1cd167ecdc: Pulling fs layer 08:51:56 c516ae0d96e1: Pulling fs layer 08:51:56 684cea983483: Pulling fs layer 08:51:56 dd3240ac7de5: Pulling fs layer 08:51:56 b1e948a4e11c: Pulling fs layer 08:51:56 a8fd76ee1af6: Pulling fs layer 08:51:56 646ad004c059: Pulling fs layer 08:51:56 cc1cd167ecdc: Waiting 08:51:56 c516ae0d96e1: Waiting 08:51:56 684cea983483: Waiting 08:51:56 a8fd76ee1af6: Waiting 08:51:56 dd3240ac7de5: Waiting 08:51:56 b1e948a4e11c: Waiting 08:51:56 646ad004c059: Waiting 08:51:56 8ed8ca486205: Verifying Checksum 08:51:56 8ed8ca486205: Download complete 08:51:56 666ba61612fd: Download complete 08:51:56 c516ae0d96e1: Verifying Checksum 08:51:56 c516ae0d96e1: Download complete 08:51:56 684cea983483: Verifying Checksum 08:51:56 684cea983483: Download complete 08:51:56 dd3240ac7de5: Verifying Checksum 08:51:56 dd3240ac7de5: Download complete 08:51:56 59bf1c3509f3: Verifying Checksum 08:51:56 59bf1c3509f3: Download complete 08:51:56 b1e948a4e11c: Download complete 08:51:56 59bf1c3509f3: Pull complete 08:51:57 666ba61612fd: Pull complete 08:51:57 8ed8ca486205: Pull complete 08:51:57 646ad004c059: Verifying Checksum 08:51:57 646ad004c059: Download complete 08:51:57 a8fd76ee1af6: Verifying Checksum 08:51:57 a8fd76ee1af6: Download complete 08:51:57 cc1cd167ecdc: Verifying Checksum 08:51:57 cc1cd167ecdc: Download complete 08:52:01 cc1cd167ecdc: Pull complete 08:52:01 c516ae0d96e1: Pull complete 08:52:01 684cea983483: Pull complete 08:52:01 dd3240ac7de5: Pull complete 08:52:01 b1e948a4e11c: Pull complete 08:52:04 a8fd76ee1af6: Pull complete 08:52:04 646ad004c059: Pull complete 08:52:04 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 08:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:52:04 ---> 8f69c11f6b0c 08:52:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:52:06 ---> Running in 7d2ef9ccc7b8 08:52:06 Removing intermediate container 7d2ef9ccc7b8 08:52:06 ---> 3d363c929692 08:52:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:52:06 ---> Running in e9ec57a0d1ce 08:52:06 Removing intermediate container e9ec57a0d1ce 08:52:06 ---> cd63cc1ff612 08:52:06 Step 5/12 : WORKDIR /device-virtual-go 08:52:06 ---> Running in d90555252a9f 08:52:06 Removing intermediate container d90555252a9f 08:52:06 ---> ea432066789a 08:52:06 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:06 ---> Running in c9a0629b9274 08:52:07 Removing intermediate container c9a0629b9274 08:52:07 ---> 1d1d25e23358 08:52:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:07 ---> Running in 3c4fe333e30f 08:52:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:52:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:52:08 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:52:08 (2/4) Installing libedit (20210910.3.1-r0) 08:52:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:52:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:52:09 Executing busybox-1.34.1-r3.trigger 08:52:09 OK: 224 MiB in 56 packages 08:52:09 Removing intermediate container 3c4fe333e30f 08:52:09 ---> 0c86901fba7b 08:52:09 Step 8/12 : COPY go.mod vendor* ./ 08:52:09 ---> eab45e43d18f 08:52:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:09 ---> Running in 25c100a009fb 08:52:10 Still waiting to schedule task 08:52:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1627’ is offline 08:52:24 Removing intermediate container 25c100a009fb 08:52:24 ---> 15d5dbc10ecb 08:52:24 Step 10/12 : COPY . . 08:52:24 ---> 0e4a77c96a40 08:52:24 Step 11/12 : ARG MAKE='make build' 08:52:24 ---> Running in 5d1ff4b005da 08:52:24 Removing intermediate container 5d1ff4b005da 08:52:24 ---> e943889e351d 08:52:24 Step 12/12 : RUN $MAKE 08:52:24 ---> Running in 38c0a76e4d2f 08:52:24 noop 08:52:24 Removing intermediate container 38c0a76e4d2f 08:52:24 ---> c836488c2f42 08:52:24 Successfully built c836488c2f42 08:52:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:25 + docker inspect -f . ci-base-image-x86_64 08:52:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:25 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 08:52:25 $ 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 08:52:25 $ docker top 34b69fbbeaab06a858d09fa97aa365fe6fe34a4f07697d996964a54aed26b920 -eo pid,comm [Pipeline] { [Pipeline] sh 08:52:26 + go version 08:52:26 go version go1.17.7 linux/amd64 [Pipeline] } 08:52:26 $ docker stop --time=1 34b69fbbeaab06a858d09fa97aa365fe6fe34a4f07697d996964a54aed26b920 08:52:27 $ docker rm -f 34b69fbbeaab06a858d09fa97aa365fe6fe34a4f07697d996964a54aed26b920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:27 + docker inspect -f . ci-base-image-x86_64 08:52:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:52:28 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 08:52:28 $ 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 08:52:28 $ docker top 5569bade59abeba20b1e3710bc5b0c3394a385e66b7adff2c35e9851031055de -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:52:28 + make test 08:52:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:52:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:52:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:52:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 08:52:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:52:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:52:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:52:50 ./bin/test-attribution-txt.sh [Pipeline] echo 08:52:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:52:50 $ docker stop --time=1 5569bade59abeba20b1e3710bc5b0c3394a385e66b7adff2c35e9851031055de 08:52:52 $ docker rm -f 5569bade59abeba20b1e3710bc5b0c3394a385e66b7adff2c35e9851031055de [Pipeline] // withDockerContainer [Pipeline] sh 08:52:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:52:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:52:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:53 + ls -al . 08:52:53 total 192 08:52:53 drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 08:52 . 08:52:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 08:51 .. 08:52:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 08:51 .git 08:52:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:51 .github 08:52:53 -rw-rw-r-- 1 jenkins jenkins 337 Jun 7 08:51 .gitignore 08:52:53 -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 08:51 .golangci.yml 08:52:53 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 08:51 .semver 08:52:53 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 7 08:51 Attribution.txt 08:52:53 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 7 08:51 CHANGELOG.md 08:52:53 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 7 08:51 Dockerfile 08:52:53 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 08:51 GOVERNANCE.md 08:52:53 -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 08:51 Jenkinsfile 08:52:53 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 08:51 LICENSE 08:52:53 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 7 08:51 Makefile 08:52:53 -rw-rw-r-- 1 jenkins jenkins 623 Jun 7 08:51 OWNERS.md 08:52:53 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 7 08:51 README.md 08:52:53 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 08:51 VERSION 08:52:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:51 bin 08:52:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:51 cmd 08:52:53 -rw-r--r-- 1 jenkins jenkins 44128 Jun 7 08:52 coverage.out 08:52:53 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 7 08:51 go.mod 08:52:53 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 7 08:51 go.sum 08:52:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:51 internal 08:52:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:51 snap 08:52:53 -rw-rw-r-- 1 jenkins jenkins 235 Jun 7 08:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:52:54 + 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=dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a --label arch=amd64 --label version=2.2.1-dev.2 . 08:52:54 Sending build context to Docker daemon 23.06MB 08:52:54 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 08:52:54 Step 2/26 : FROM ${BASE} AS builder 08:52:54 ---> c836488c2f42 08:52:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:52:54 ---> Running in 918e0addaa7f 08:52:54 Removing intermediate container 918e0addaa7f 08:52:54 ---> 2666a8a79339 08:52:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:52:54 ---> Running in 69086c83e7e6 08:52:54 Removing intermediate container 69086c83e7e6 08:52:54 ---> c830ee90bb6b 08:52:54 Step 5/26 : WORKDIR /device-virtual-go 08:52:54 ---> Running in f2c544180fb1 08:52:54 Removing intermediate container f2c544180fb1 08:52:54 ---> af7a8cb41ee0 08:52:54 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:54 ---> Running in f1e9be734f8e 08:52:55 Removing intermediate container f1e9be734f8e 08:52:55 ---> 0af980479101 08:52:55 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:55 ---> Running in 8deffe0c141c 08:52:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:52:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:52:56 OK: 224 MiB in 56 packages 08:52:57 Removing intermediate container 8deffe0c141c 08:52:57 ---> 776421c4f257 08:52:57 Step 8/26 : COPY go.mod vendor* ./ 08:52:57 ---> b7f4d0122d40 08:52:57 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:57 ---> Running in a4e381f44714 08:52:57 Removing intermediate container a4e381f44714 08:52:57 ---> c1be9dcf3b69 08:52:57 Step 10/26 : COPY . . 08:52:58 ---> 32d83ddef5b3 08:52:58 Step 11/26 : ARG MAKE='make build' 08:52:58 ---> Running in 386d0b67ef2e 08:52:58 Removing intermediate container 386d0b67ef2e 08:52:58 ---> 55c85c8f346f 08:52:58 Step 12/26 : RUN $MAKE 08:52:58 ---> Running in 64c356c76bb1 08:52:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 08:53:20 Removing intermediate container 64c356c76bb1 08:53:20 ---> fb3cae218caf 08:53:20 Step 13/26 : FROM alpine:3.14 08:53:20 3.14: Pulling from library/alpine 08:53:20 8663204ce13b: Pulling fs layer 08:53:20 8663204ce13b: Verifying Checksum 08:53:20 8663204ce13b: Download complete 08:53:20 8663204ce13b: Pull complete 08:53:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:53:20 Status: Downloaded newer image for alpine:3.14 08:53:20 ---> e04c818066af 08:53:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:53:20 ---> Running in c661769cbba1 08:53:20 Removing intermediate container c661769cbba1 08:53:20 ---> 084c2db0e552 08:53:20 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:53:20 ---> Running in 984cfa6163fd 08:53:20 Removing intermediate container 984cfa6163fd 08:53:20 ---> c3781b177be9 08:53:20 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 08:53:20 ---> Running in d36c6bb4c220 08:53:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:53:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:53:21 (1/6) Installing dumb-init (1.2.5-r1) 08:53:21 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:53:22 (3/6) Installing libsodium (1.0.18-r0) 08:53:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:53:22 (5/6) Installing libzmq (4.3.4-r0) 08:53:22 (6/6) Installing zeromq (4.3.4-r0) 08:53:22 Executing busybox-1.33.1-r7.trigger 08:53:22 OK: 8 MiB in 20 packages 08:53:22 Removing intermediate container d36c6bb4c220 08:53:22 ---> f667e5244f0b 08:53:22 Step 17/26 : WORKDIR / 08:53:22 ---> Running in 764a6809bfb1 08:53:22 Removing intermediate container 764a6809bfb1 08:53:22 ---> 08e1918904ef 08:53:22 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:53:23 ---> b9cb3135b2b8 08:53:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 08:53:23 ---> a1007dd02af1 08:53:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 08:53:23 ---> 5d691c2501ea 08:53:23 Step 21/26 : EXPOSE 59900 08:53:23 ---> Running in e92385a2b920 08:53:23 Removing intermediate container e92385a2b920 08:53:23 ---> 60744318bb67 08:53:23 Step 22/26 : ENTRYPOINT ["/device-virtual"] 08:53:23 ---> Running in b2ecc1a3a7a0 08:53:23 Removing intermediate container b2ecc1a3a7a0 08:53:23 ---> 399f2c8371e5 08:53:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:53:23 ---> Running in 15791531fec9 08:53:23 Removing intermediate container 15791531fec9 08:53:23 ---> e5dbbd82eced 08:53:23 Step 24/26 : LABEL arch=amd64 08:53:24 ---> Running in 542ee0808a8f 08:53:24 Removing intermediate container 542ee0808a8f 08:53:24 ---> e8d70fc1620c 08:53:24 Step 25/26 : LABEL git_sha=dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 08:53:24 ---> Running in 2f54bac819df 08:53:24 Removing intermediate container 2f54bac819df 08:53:24 ---> e6da43ab9532 08:53:24 Step 26/26 : LABEL version=2.2.1-dev.2 08:53:24 ---> Running in f951bf179f65 08:53:24 Removing intermediate container f951bf179f65 08:53:24 ---> 0a73b3763f68 08:53:24 [Warning] One or more build-args [ARCH] were not consumed 08:53:24 Successfully built 0a73b3763f68 08:53:24 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:53:24 provisioning config files... 08:53:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1547226007227399885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:53:24 ---> docker-login.sh 08:53:24 nexus3.edgexfoundry.org:10001 08:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:24 Configure a credential helper to remove this warning. See 08:53:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:24 08:53:24 Login Succeeded 08:53:24 nexus3.edgexfoundry.org:10002 08:53:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:25 Configure a credential helper to remove this warning. See 08:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:25 08:53:25 Login Succeeded 08:53:25 nexus3.edgexfoundry.org:10003 08:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:25 Configure a credential helper to remove this warning. See 08:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:25 08:53:25 Login Succeeded 08:53:25 nexus3.edgexfoundry.org:10004 08:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:25 Configure a credential helper to remove this warning. See 08:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:25 08:53:25 Login Succeeded 08:53:25 docker.io 08:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:25 Configure a credential helper to remove this warning. See 08:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:25 08:53:25 Login Succeeded 08:53:25 ---> docker-login.sh ends [Pipeline] } 08:53:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:53:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:53:25 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 08:53:25 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 08:53:25 latest 08:53:25 2.2.1-dev.2 08:53:25 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 08:53:25 main 08:53:25 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 08:53:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:53:26 d84ca44a8da3: Preparing 08:53:26 4ae5ae7abc77: Preparing 08:53:26 4b1cff0cbfd5: Preparing 08:53:26 bc81b93ecd93: Preparing 08:53:26 3e97a06efc71: Preparing 08:53:26 b541d28bf3b4: Preparing 08:53:26 b541d28bf3b4: Waiting 08:53:26 4ae5ae7abc77: Pushed 08:53:26 4b1cff0cbfd5: Pushed 08:53:26 3e97a06efc71: Pushed 08:53:26 b541d28bf3b4: Layer already exists 08:53:26 bc81b93ecd93: Pushed 08:53:29 d84ca44a8da3: Pushed 08:53:29 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a: digest: sha256:882790142856c4a98eed99145f4058e2025ee319dd7b79e42dcc80bcb5c72cfe size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:29 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:29 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 08:53:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:53:29 d84ca44a8da3: Preparing 08:53:29 4ae5ae7abc77: Preparing 08:53:29 4b1cff0cbfd5: Preparing 08:53:29 bc81b93ecd93: Preparing 08:53:29 3e97a06efc71: Preparing 08:53:29 b541d28bf3b4: Preparing 08:53:29 b541d28bf3b4: Waiting 08:53:29 4b1cff0cbfd5: Layer already exists 08:53:29 3e97a06efc71: Layer already exists 08:53:29 d84ca44a8da3: Layer already exists 08:53:29 4ae5ae7abc77: Layer already exists 08:53:29 bc81b93ecd93: Layer already exists 08:53:29 b541d28bf3b4: Layer already exists 08:53:29 latest: digest: sha256:882790142856c4a98eed99145f4058e2025ee319dd7b79e42dcc80bcb5c72cfe size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:30 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:30 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.2 08:53:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:53:30 d84ca44a8da3: Preparing 08:53:30 4ae5ae7abc77: Preparing 08:53:30 4b1cff0cbfd5: Preparing 08:53:30 bc81b93ecd93: Preparing 08:53:30 3e97a06efc71: Preparing 08:53:30 b541d28bf3b4: Preparing 08:53:30 4b1cff0cbfd5: Layer already exists 08:53:30 d84ca44a8da3: Layer already exists 08:53:30 bc81b93ecd93: Layer already exists 08:53:30 3e97a06efc71: Layer already exists 08:53:30 4ae5ae7abc77: Layer already exists 08:53:30 b541d28bf3b4: Layer already exists 08:53:30 2.2.1-dev.2: digest: sha256:882790142856c4a98eed99145f4058e2025ee319dd7b79e42dcc80bcb5c72cfe size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:30 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 08:53:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:53:31 d84ca44a8da3: Preparing 08:53:31 4ae5ae7abc77: Preparing 08:53:31 4b1cff0cbfd5: Preparing 08:53:31 bc81b93ecd93: Preparing 08:53:31 3e97a06efc71: Preparing 08:53:31 b541d28bf3b4: Preparing 08:53:31 b541d28bf3b4: Waiting 08:53:31 3e97a06efc71: Layer already exists 08:53:31 bc81b93ecd93: Layer already exists 08:53:31 d84ca44a8da3: Layer already exists 08:53:31 4b1cff0cbfd5: Layer already exists 08:53:31 4ae5ae7abc77: Layer already exists 08:53:31 b541d28bf3b4: Layer already exists 08:53:31 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2: digest: sha256:882790142856c4a98eed99145f4058e2025ee319dd7b79e42dcc80bcb5c72cfe size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 08:53:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 08:53:31 d84ca44a8da3: Preparing 08:53:31 4ae5ae7abc77: Preparing 08:53:31 4b1cff0cbfd5: Preparing 08:53:31 bc81b93ecd93: Preparing 08:53:31 3e97a06efc71: Preparing 08:53:31 b541d28bf3b4: Preparing 08:53:31 b541d28bf3b4: Waiting 08:53:31 d84ca44a8da3: Layer already exists 08:53:31 4b1cff0cbfd5: Layer already exists 08:53:31 4ae5ae7abc77: Layer already exists 08:53:31 bc81b93ecd93: Layer already exists 08:53:31 3e97a06efc71: Layer already exists 08:53:31 b541d28bf3b4: Layer already exists 08:53:31 main: digest: sha256:882790142856c4a98eed99145f4058e2025ee319dd7b79e42dcc80bcb5c72cfe size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:53:31 ===================================================== [Pipeline] echo 08:53:31 taggedImages: 08:53:31 - nexus3.edgexfoundry.org:10004/device-virtual:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 08:53:31 - nexus3.edgexfoundry.org:10004/device-virtual:latest 08:53:31 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.2 08:53:31 - nexus3.edgexfoundry.org:10004/device-virtual:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 08:53:31 - 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] withEnv [Pipeline] { [Pipeline] sh 08:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:53:32 08:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:53:32 latest: Pulling from edgex-lftools-log-publisher 08:53:32 5eb5b503b376: Pulling fs layer 08:53:32 5c69ac0246d0: Pulling fs layer 08:53:32 ec43610c2a17: Pulling fs layer 08:53:32 3a2ae6a8a46f: Pulling fs layer 08:53:32 33b1e0a273af: Pulling fs layer 08:53:32 5d3b04190fa2: Pulling fs layer 08:53:32 2f39f015ded8: Pulling fs layer 08:53:32 3a2ae6a8a46f: Waiting 08:53:32 33b1e0a273af: Waiting 08:53:32 5d3b04190fa2: Waiting 08:53:32 2f39f015ded8: Waiting 08:53:32 5c69ac0246d0: Download complete 08:53:32 3a2ae6a8a46f: Verifying Checksum 08:53:32 3a2ae6a8a46f: Download complete 08:53:32 ec43610c2a17: Verifying Checksum 08:53:32 ec43610c2a17: Download complete 08:53:32 5d3b04190fa2: Verifying Checksum 08:53:32 33b1e0a273af: Verifying Checksum 08:53:32 33b1e0a273af: Download complete 08:53:32 5d3b04190fa2: Download complete 08:53:32 5eb5b503b376: Download complete 08:53:33 2f39f015ded8: Download complete 08:53:34 5eb5b503b376: Pull complete 08:53:34 5c69ac0246d0: Pull complete 08:53:34 ec43610c2a17: Pull complete 08:53:34 3a2ae6a8a46f: Pull complete 08:53:35 33b1e0a273af: Pull complete 08:53:35 5d3b04190fa2: Pull complete 08:53:40 2f39f015ded8: Pull complete 08:53:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:53:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:53:40 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 08:53:40 $ 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 08:53:42 $ docker top ed5600a044a4213bb6c3e215d139f56e703f4cff945a9282335efb6e10aa657b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:53:42 ---> job-cost.sh 08:53:42 lf-activate-venv: SKIPPING 08:53:42 INFO: No Stack... 08:53:42 INFO: Retrieving Pricing Info for: v3-standard-8 08:53:43 INFO: Archiving Costs [Pipeline] sh 08:53:43 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 08:53:43 + cut -d, -f6 [Pipeline] lock 08:53:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] 08:53:43 Resource [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] did not exist. Created. 08:53:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:53:44 + echo total: 0.2199999988079071 [Pipeline] stash 08:53:44 Stashed 1 file(s) [Pipeline] } 08:53:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 08:53:44 $ docker stop --time=1 ed5600a044a4213bb6c3e215d139f56e703f4cff945a9282335efb6e10aa657b 08:53:45 $ docker rm -f ed5600a044a4213bb6c3e215d139f56e703f4cff945a9282335efb6e10aa657b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:53:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1630 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 08:53:49 Running in /w/workspace/device-virtual-go/38 [Pipeline] { [Pipeline] checkout 08:53:50 The recommended git tool is: git 08:53:56 using credential edgex-jenkins-ssh 08:53:56 Cloning the remote Git repository 08:53:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:53:56 > git init /w/workspace/device-virtual-go/38 # timeout=10 08:53:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:53:56 > git --version # timeout=10 08:53:56 > git --version # 'git version 2.25.1' 08:53:56 using GIT_SSH to set credentials SSH Credentials for GitHub 08:53:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:53:58 Avoid second fetch 08:53:58 Checking out Revision dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a (main) 08:53:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:53:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:53:58 > git config core.sparsecheckout # timeout=10 08:53:58 > git checkout -f dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 08:54:02 Commit message: "feat(snap): Add snap packaging (#287)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:54:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:54:03 % Total % Received % Xferd Average Speed Time Time Time Current 08:54:03 Dload Upload Total Spent Left Speed 08:54:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 64830 0 --:--:-- --:--:-- --:--:-- 64830 [Pipeline] sh 08:54:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:54:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 08:54:05 sudo tee /etc/docker/daemon.new 08:54:05 { 08:54:05 "registry-mirrors": [ 08:54:05 "https://nexus3.edgexfoundry.org:10001" 08:54:05 ], 08:54:05 "bip": "10.250.0.254/24", 08:54:05 "hosts": [ 08:54:05 "tcp://0.0.0.0:5555", 08:54:05 "unix:///var/run/docker.sock" 08:54:05 ], 08:54:05 "mtu": 1458, 08:54:05 "selinux-enabled": true, 08:54:05 "seccomp-profile": "/etc/docker/seccomp.json" 08:54:05 } [Pipeline] sh 08:54:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:54:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:54:24 provisioning config files... 08:54:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/38@tmp/config3676820629644976212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:24 ---> docker-login.sh 08:54:24 nexus3.edgexfoundry.org:10001 08:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:25 Configure a credential helper to remove this warning. See 08:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:25 08:54:25 Login Succeeded 08:54:25 nexus3.edgexfoundry.org:10002 08:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:25 Configure a credential helper to remove this warning. See 08:54:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:25 08:54:25 Login Succeeded 08:54:25 nexus3.edgexfoundry.org:10003 08:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:26 Configure a credential helper to remove this warning. See 08:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:26 08:54:26 Login Succeeded 08:54:26 nexus3.edgexfoundry.org:10004 08:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:26 Configure a credential helper to remove this warning. See 08:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:26 08:54:26 Login Succeeded 08:54:26 docker.io 08:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:54:27 Configure a credential helper to remove this warning. See 08:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:54:27 08:54:27 Login Succeeded 08:54:27 ---> docker-login.sh ends [Pipeline] } 08:54:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:54:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:54:28 ========================================================= 08:54:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:54:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:28 + 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 . 08:54:28 Sending build context to Docker daemon 11.64MB 08:54:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:54:29 Step 2/12 : FROM ${BASE} AS builder 08:54:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:54:29 9b3977197b4f: Pulling fs layer 08:54:29 1a89e8eeedd5: Pulling fs layer 08:54:29 94645a83ff95: Pulling fs layer 08:54:29 e6fb740bc735: Pulling fs layer 08:54:29 3a77bd46dcc9: Pulling fs layer 08:54:29 355e64cbe906: Pulling fs layer 08:54:29 63ab81a10011: Pulling fs layer 08:54:29 555d1d1c4555: Pulling fs layer 08:54:29 7d9057610161: Pulling fs layer 08:54:29 3a77bd46dcc9: Waiting 08:54:29 355e64cbe906: Waiting 08:54:29 63ab81a10011: Waiting 08:54:29 555d1d1c4555: Waiting 08:54:29 7d9057610161: Waiting 08:54:29 e6fb740bc735: Waiting 08:54:29 94645a83ff95: Verifying Checksum 08:54:29 94645a83ff95: Download complete 08:54:29 1a89e8eeedd5: Verifying Checksum 08:54:29 1a89e8eeedd5: Download complete 08:54:29 3a77bd46dcc9: Verifying Checksum 08:54:29 3a77bd46dcc9: Download complete 08:54:29 9b3977197b4f: Verifying Checksum 08:54:29 9b3977197b4f: Download complete 08:54:29 355e64cbe906: Download complete 08:54:29 63ab81a10011: Verifying Checksum 08:54:29 63ab81a10011: Download complete 08:54:30 9b3977197b4f: Pull complete 08:54:30 7d9057610161: Verifying Checksum 08:54:30 7d9057610161: Download complete 08:54:30 1a89e8eeedd5: Pull complete 08:54:30 94645a83ff95: Pull complete 08:54:31 555d1d1c4555: Verifying Checksum 08:54:31 555d1d1c4555: Download complete 08:54:32 e6fb740bc735: Verifying Checksum 08:54:32 e6fb740bc735: Download complete 08:54:44 e6fb740bc735: Pull complete 08:54:44 3a77bd46dcc9: Pull complete 08:54:44 355e64cbe906: Pull complete 08:54:44 63ab81a10011: Pull complete 08:54:51 555d1d1c4555: Pull complete 08:54:53 7d9057610161: Pull complete 08:54:53 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 08:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:54:53 ---> 819e984ddca1 08:54:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:54:53 ---> Running in 98534f99d0ea 08:54:54 Removing intermediate container 98534f99d0ea 08:54:54 ---> 13f2d69432d0 08:54:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:54:54 ---> Running in 7ba2f11fb99f 08:54:54 Removing intermediate container 7ba2f11fb99f 08:54:54 ---> ede47d61f402 08:54:54 Step 5/12 : WORKDIR /device-virtual-go 08:54:54 ---> Running in c38e8047d0a2 08:54:54 Removing intermediate container c38e8047d0a2 08:54:54 ---> 8b523e1f8e1d 08:54:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:54:55 ---> Running in 6543fb46ef6d 08:54:57 Removing intermediate container 6543fb46ef6d 08:54:57 ---> ecfd2590a727 08:54:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:54:57 ---> Running in e47e4dc68a9d 08:54:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:54:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:55:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:55:00 (2/4) Installing libedit (20210910.3.1-r0) 08:55:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:55:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:55:00 Executing busybox-1.34.1-r3.trigger 08:55:00 OK: 224 MiB in 56 packages 08:55:01 Removing intermediate container e47e4dc68a9d 08:55:01 ---> 5650dedd4427 08:55:01 Step 8/12 : COPY go.mod vendor* ./ 08:55:02 ---> 7f92dc4db919 08:55:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:55:02 ---> Running in c6694b301a27 08:55:49 Removing intermediate container c6694b301a27 08:55:49 ---> 231afecb9fbc 08:55:49 Step 10/12 : COPY . . 08:55:49 ---> 6ca10701c2fd 08:55:49 Step 11/12 : ARG MAKE='make build' 08:55:49 ---> Running in d40f38a18d2b 08:55:49 Removing intermediate container d40f38a18d2b 08:55:49 ---> fb7c695e27b5 08:55:49 Step 12/12 : RUN $MAKE 08:55:49 ---> Running in 037f35360c42 08:55:49 noop 08:55:49 Removing intermediate container 037f35360c42 08:55:49 ---> d486ca885825 08:55:49 Successfully built d486ca885825 08:55:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:49 + docker inspect -f . ci-base-image-arm64 08:55:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:50 prd-ubuntu20.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 08:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/38 -v /w/workspace/device-virtual-go/38:/w/workspace/device-virtual-go/38:rw,z -v /w/workspace/device-virtual-go/38@tmp:/w/workspace/device-virtual-go/38@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 08:55:51 $ docker top ce91738213f32bed1b966eafd2da32f80da550fde49c580cdb37c89305158b71 -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:52 + go version 08:55:52 go version go1.17.7 linux/arm64 [Pipeline] } 08:55:52 $ docker stop --time=1 ce91738213f32bed1b966eafd2da32f80da550fde49c580cdb37c89305158b71 08:55:54 $ docker rm -f ce91738213f32bed1b966eafd2da32f80da550fde49c580cdb37c89305158b71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:55:54 + docker inspect -f . ci-base-image-arm64 08:55:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:55:54 prd-ubuntu20.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 08:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/38 -v /w/workspace/device-virtual-go/38:/w/workspace/device-virtual-go/38:rw,z -v /w/workspace/device-virtual-go/38@tmp:/w/workspace/device-virtual-go/38@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 08:55:56 $ docker top 4d9fcb1be414ffcf4004a4460856e2ef0481877e407205e8a75b7a83df2e4a88 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:55:57 + make test 08:55:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:55:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:57:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:57:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements 08:57:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:57:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:57:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:57:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:57:39 ./bin/test-attribution-txt.sh [Pipeline] echo 08:57:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:57:42 $ docker stop --time=1 4d9fcb1be414ffcf4004a4460856e2ef0481877e407205e8a75b7a83df2e4a88 08:57:44 $ docker rm -f 4d9fcb1be414ffcf4004a4460856e2ef0481877e407205e8a75b7a83df2e4a88 [Pipeline] // withDockerContainer [Pipeline] sh 08:57:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:57:45 Warning: overwriting stash ‘coverage-report’ 08:57:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:57:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:57:46 + ls -al . 08:57:46 total 188 08:57:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 08:57 . 08:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 08:53 .. 08:57:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 08:54 .git 08:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:53 .github 08:57:46 -rw-rw-r-- 1 jenkins jenkins 337 Jun 7 08:53 .gitignore 08:57:46 -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 08:53 .golangci.yml 08:57:46 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 7 08:53 Attribution.txt 08:57:46 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 7 08:53 CHANGELOG.md 08:57:46 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 7 08:53 Dockerfile 08:57:46 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 08:53 GOVERNANCE.md 08:57:46 -rw-rw-r-- 1 jenkins jenkins 660 Jun 7 08:53 Jenkinsfile 08:57:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 08:53 LICENSE 08:57:46 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 7 08:53 Makefile 08:57:46 -rw-rw-r-- 1 jenkins jenkins 623 Jun 7 08:53 OWNERS.md 08:57:46 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 7 08:53 README.md 08:57:46 -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 08:51 VERSION 08:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:53 bin 08:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:53 cmd 08:57:46 -rw-r--r-- 1 jenkins jenkins 44128 Jun 7 08:57 coverage.out 08:57:46 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 7 08:53 go.mod 08:57:46 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 7 08:53 go.sum 08:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:53 internal 08:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:53 snap 08:57:46 -rw-rw-r-- 1 jenkins jenkins 235 Jun 7 08:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:46 + 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=dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a --label arch=arm64 --label version=2.2.1-dev.2 . 08:57:46 Sending build context to Docker daemon 11.68MB 08:57:46 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 08:57:46 Step 2/26 : FROM ${BASE} AS builder 08:57:46 ---> d486ca885825 08:57:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:57:47 ---> Running in f29772ac3a05 08:57:47 Removing intermediate container f29772ac3a05 08:57:47 ---> 9fba720cef0e 08:57:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:57:47 ---> Running in d14926a602c2 08:57:47 Removing intermediate container d14926a602c2 08:57:47 ---> 8febd6293628 08:57:47 Step 5/26 : WORKDIR /device-virtual-go 08:57:48 ---> Running in 0d45a6ed94fc 08:57:48 Removing intermediate container 0d45a6ed94fc 08:57:48 ---> 2710226efde1 08:57:48 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:57:48 ---> Running in f161da1cf4f3 08:57:50 Removing intermediate container f161da1cf4f3 08:57:50 ---> 96b12f554529 08:57:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:57:50 ---> Running in f4f0fd951492 08:57:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:57:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:57:52 OK: 224 MiB in 56 packages 08:57:53 Removing intermediate container f4f0fd951492 08:57:53 ---> 19d9bc0a0360 08:57:53 Step 8/26 : COPY go.mod vendor* ./ 08:57:53 ---> eec5f10440a9 08:57:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:57:54 ---> Running in e4b8a16e8660 08:57:56 Removing intermediate container e4b8a16e8660 08:57:56 ---> b78ba2a64b10 08:57:56 Step 10/26 : COPY . . 08:57:57 ---> 1d5570172c6d 08:57:57 Step 11/26 : ARG MAKE='make build' 08:57:57 ---> Running in 8c4e9286037c 08:57:57 Removing intermediate container 8c4e9286037c 08:57:57 ---> f84bc77b3430 08:57:57 Step 12/26 : RUN $MAKE 08:57:57 ---> Running in 4f3a5af8c763 08:57:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:00:05 Removing intermediate container 4f3a5af8c763 09:00:05 ---> 70f86dcc7c89 09:00:05 Step 13/26 : FROM alpine:3.14 09:00:05 3.14: Pulling from library/alpine 09:00:05 455c02918c45: Pulling fs layer 09:00:05 455c02918c45: Verifying Checksum 09:00:05 455c02918c45: Download complete 09:00:05 455c02918c45: Pull complete 09:00:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:00:05 Status: Downloaded newer image for alpine:3.14 09:00:05 ---> ac73e934f311 09:00:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:00:05 ---> Running in 7dd9ced6cb0b 09:00:05 Removing intermediate container 7dd9ced6cb0b 09:00:05 ---> 54da10af2871 09:00:05 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:05 ---> Running in 11c2850146a7 09:00:05 Removing intermediate container 11c2850146a7 09:00:05 ---> b7b28369d9f0 09:00:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 09:00:05 ---> Running in 62b0ffeda735 09:00:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:00:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:00:05 (1/6) Installing dumb-init (1.2.5-r1) 09:00:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:00:05 (3/6) Installing libsodium (1.0.18-r0) 09:00:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:00:05 (5/6) Installing libzmq (4.3.4-r0) 09:00:05 (6/6) Installing zeromq (4.3.4-r0) 09:00:05 Executing busybox-1.33.1-r7.trigger 09:00:05 OK: 8 MiB in 20 packages 09:00:05 Removing intermediate container 62b0ffeda735 09:00:05 ---> 78a1f7757120 09:00:05 Step 17/26 : WORKDIR / 09:00:05 ---> Running in 6db8441154fe 09:00:05 Removing intermediate container 6db8441154fe 09:00:05 ---> dc50e73439d0 09:00:05 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:00:05 ---> 56971e385abe 09:00:05 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:00:05 ---> c9753390bd65 09:00:05 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:00:05 ---> 190b33ea0655 09:00:05 Step 21/26 : EXPOSE 59900 09:00:05 ---> Running in 83e901182642 09:00:05 Removing intermediate container 83e901182642 09:00:05 ---> 16941d3413ea 09:00:05 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:00:05 ---> Running in 99fd63be63bf 09:00:05 Removing intermediate container 99fd63be63bf 09:00:05 ---> aa69ebb7e6fc 09:00:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:00:05 ---> Running in 942153ff054b 09:00:05 Removing intermediate container 942153ff054b 09:00:05 ---> 04ee93ac4102 09:00:05 Step 24/26 : LABEL arch=arm64 09:00:05 ---> Running in e872a55fdc44 09:00:05 Removing intermediate container e872a55fdc44 09:00:05 ---> 4c56c0893656 09:00:05 Step 25/26 : LABEL git_sha=dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 09:00:05 ---> Running in e8d7b25e5214 09:00:05 Removing intermediate container e8d7b25e5214 09:00:05 ---> 3589b22fc8a0 09:00:05 Step 26/26 : LABEL version=2.2.1-dev.2 09:00:05 ---> Running in a5d210c029b3 09:00:06 Removing intermediate container a5d210c029b3 09:00:06 ---> 0bfc21cab2aa 09:00:06 [Warning] One or more build-args [ARCH] were not consumed 09:00:06 Successfully built 0bfc21cab2aa 09:00:06 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:00:06 provisioning config files... 09:00:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/38@tmp/config8925637274498303815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:06 ---> docker-login.sh 09:00:06 nexus3.edgexfoundry.org:10001 09:00:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:06 Configure a credential helper to remove this warning. See 09:00:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:06 09:00:06 Login Succeeded 09:00:07 nexus3.edgexfoundry.org:10002 09:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:07 Configure a credential helper to remove this warning. See 09:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:07 09:00:07 Login Succeeded 09:00:07 nexus3.edgexfoundry.org:10003 09:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:07 Configure a credential helper to remove this warning. See 09:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:07 09:00:07 Login Succeeded 09:00:07 nexus3.edgexfoundry.org:10004 09:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:08 Configure a credential helper to remove this warning. See 09:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:08 09:00:08 Login Succeeded 09:00:08 docker.io 09:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:09 Configure a credential helper to remove this warning. See 09:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:09 09:00:09 Login Succeeded 09:00:09 ---> docker-login.sh ends [Pipeline] } 09:00:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:00:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:00:09 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 09:00:09 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 09:00:09 latest 09:00:09 2.2.1-dev.2 09:00:09 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 09:00:09 main 09:00:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 09:00:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:00:09 5b073730991e: Preparing 09:00:09 78f55f18dd9e: Preparing 09:00:09 4846135ad9cb: Preparing 09:00:09 4d89926f4dbc: Preparing 09:00:09 256473578bad: Preparing 09:00:09 f73e7dbfee58: Preparing 09:00:10 78f55f18dd9e: Pushed 09:00:10 256473578bad: Pushed 09:00:10 4846135ad9cb: Pushed 09:00:10 f73e7dbfee58: Layer already exists 09:00:10 4d89926f4dbc: Pushed 09:00:17 5b073730991e: Pushed 09:00:17 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a: digest: sha256:6a678b1de5e5941af905da2fa9440b134faaa39bee06ab9de72c44e7604e6c99 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:00:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:00:18 5b073730991e: Preparing 09:00:18 78f55f18dd9e: Preparing 09:00:18 4846135ad9cb: Preparing 09:00:18 4d89926f4dbc: Preparing 09:00:18 256473578bad: Preparing 09:00:18 f73e7dbfee58: Preparing 09:00:18 f73e7dbfee58: Waiting 09:00:18 4d89926f4dbc: Layer already exists 09:00:18 5b073730991e: Layer already exists 09:00:18 78f55f18dd9e: Layer already exists 09:00:18 4846135ad9cb: Layer already exists 09:00:18 256473578bad: Layer already exists 09:00:18 f73e7dbfee58: Layer already exists 09:00:18 latest: digest: sha256:6a678b1de5e5941af905da2fa9440b134faaa39bee06ab9de72c44e7604e6c99 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.2 09:00:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:00:19 5b073730991e: Preparing 09:00:19 78f55f18dd9e: Preparing 09:00:19 4846135ad9cb: Preparing 09:00:19 4d89926f4dbc: Preparing 09:00:19 256473578bad: Preparing 09:00:19 f73e7dbfee58: Preparing 09:00:19 f73e7dbfee58: Waiting 09:00:19 4846135ad9cb: Layer already exists 09:00:19 4d89926f4dbc: Layer already exists 09:00:19 78f55f18dd9e: Layer already exists 09:00:19 5b073730991e: Layer already exists 09:00:19 256473578bad: Layer already exists 09:00:19 f73e7dbfee58: Layer already exists 09:00:19 2.2.1-dev.2: digest: sha256:6a678b1de5e5941af905da2fa9440b134faaa39bee06ab9de72c44e7604e6c99 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:19 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 09:00:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:00:20 5b073730991e: Preparing 09:00:20 78f55f18dd9e: Preparing 09:00:20 4846135ad9cb: Preparing 09:00:20 4d89926f4dbc: Preparing 09:00:20 256473578bad: Preparing 09:00:20 f73e7dbfee58: Preparing 09:00:20 f73e7dbfee58: Waiting 09:00:20 78f55f18dd9e: Layer already exists 09:00:20 5b073730991e: Layer already exists 09:00:20 4846135ad9cb: Layer already exists 09:00:20 256473578bad: Layer already exists 09:00:20 4d89926f4dbc: Layer already exists 09:00:20 f73e7dbfee58: Layer already exists 09:00:20 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2: digest: sha256:6a678b1de5e5941af905da2fa9440b134faaa39bee06ab9de72c44e7604e6c99 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:20 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 09:00:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 09:00:21 5b073730991e: Preparing 09:00:21 78f55f18dd9e: Preparing 09:00:21 4846135ad9cb: Preparing 09:00:21 4d89926f4dbc: Preparing 09:00:21 256473578bad: Preparing 09:00:21 f73e7dbfee58: Preparing 09:00:21 f73e7dbfee58: Waiting 09:00:21 256473578bad: Layer already exists 09:00:21 4d89926f4dbc: Layer already exists 09:00:21 78f55f18dd9e: Layer already exists 09:00:21 4846135ad9cb: Layer already exists 09:00:21 5b073730991e: Layer already exists 09:00:21 f73e7dbfee58: Layer already exists 09:00:21 main: digest: sha256:6a678b1de5e5941af905da2fa9440b134faaa39bee06ab9de72c44e7604e6c99 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:00:21 ===================================================== [Pipeline] echo 09:00:21 taggedImages: 09:00:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 09:00:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 09:00:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.2 09:00:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a-2.2.1-dev.2 09:00:21 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:21 09:00:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:22 arm64: Pulling from edgex-lftools-log-publisher 09:00:22 8998bd30e6a1: Pulling fs layer 09:00:22 04944245beec: Pulling fs layer 09:00:22 699f458cf7ca: Pulling fs layer 09:00:22 765212b225bb: Pulling fs layer 09:00:22 f23df028b6ca: Pulling fs layer 09:00:22 d65c8cfc05b1: Pulling fs layer 09:00:22 2437ff75d9bd: Pulling fs layer 09:00:22 d65c8cfc05b1: Waiting 09:00:22 2437ff75d9bd: Waiting 09:00:22 765212b225bb: Waiting 09:00:22 f23df028b6ca: Waiting 09:00:22 04944245beec: Verifying Checksum 09:00:22 04944245beec: Download complete 09:00:22 765212b225bb: Verifying Checksum 09:00:22 765212b225bb: Download complete 09:00:22 f23df028b6ca: Verifying Checksum 09:00:22 f23df028b6ca: Download complete 09:00:22 d65c8cfc05b1: Download complete 09:00:22 699f458cf7ca: Verifying Checksum 09:00:22 699f458cf7ca: Download complete 09:00:23 8998bd30e6a1: Verifying Checksum 09:00:23 8998bd30e6a1: Download complete 09:00:25 2437ff75d9bd: Verifying Checksum 09:00:25 2437ff75d9bd: Download complete 09:00:27 8998bd30e6a1: Pull complete 09:00:27 04944245beec: Pull complete 09:00:29 699f458cf7ca: Pull complete 09:00:29 765212b225bb: Pull complete 09:00:30 f23df028b6ca: Pull complete 09:00:30 d65c8cfc05b1: Pull complete 09:00:45 2437ff75d9bd: Pull complete 09:00:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:46 prd-ubuntu20.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 09:00:46 $ 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/38 -v /w/workspace/device-virtual-go/38:/w/workspace/device-virtual-go/38:rw,z -v /w/workspace/device-virtual-go/38@tmp:/w/workspace/device-virtual-go/38@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 09:00:48 $ docker top 0bdd25a5bc83625061d437416c96757d804898552dad7f85c049295732a0c190 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:49 ---> job-cost.sh 09:00:49 lf-activate-venv: SKIPPING 09:00:49 INFO: No Stack... 09:00:49 INFO: Retrieving Pricing Info for: v3-standard-4 09:00:50 INFO: Archiving Costs [Pipeline] sh 09:00:51 + cat /w/workspace/device-virtual-go/38/archives/cost.csv 09:00:51 + cut -d, -f6 [Pipeline] lock 09:00:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] 09:00:51 Resource [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] did not exist. Created. 09:00:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:00:52 /w/workspace/device-virtual-go/38@tmp/durable-fca12d9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:00:52 + echo total: 0.10999999940395355 [Pipeline] stash 09:00:52 Warning: overwriting stash ‘stack-cost’ 09:00:53 Stashed 1 file(s) [Pipeline] } 09:00:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 09:00:53 $ docker stop --time=1 0bdd25a5bc83625061d437416c96757d804898552dad7f85c049295732a0c190 09:00:54 $ docker rm -f 0bdd25a5bc83625061d437416c96757d804898552dad7f85c049295732a0c190 [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 09:00:55 provisioning config files... 09:00:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3451594723446819554tmp [Pipeline] { [Pipeline] sh 09:00:55 + set +x 09:00:55 + curl -s https://codecov.io/bash 09:00:55 + bash -s -- 09:00:55 09:00:55 _____ _ 09:00:55 / ____| | | 09:00:55 | | ___ __| | ___ ___ _____ __ 09:00:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:00:55 | |___| (_) | (_| | __/ (_| (_) \ V / 09:00:55 \_____\___/ \__,_|\___|\___\___/ \_/ 09:00:55 Bash-1.0.6 09:00:55 09:00:55 09:00:55 ==> git version 2.25.1 found 09:00:55 ==> 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 09:00:55 Release-Date: 2020-01-08 09:00:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:00:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:00:55 ==> Jenkins CI detected. 09:00:55 current dir:  /w/workspace/exfoundry_device-virtual-go_main 09:00:55 project root: . 09:00:55 --> token set from env 09:00:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:00:55 ==> Running gcov in . (disable via -X gcov) 09:00:55 ==> Python coveragepy not found 09:00:55 ==> Searching for coverage reports in: 09:00:55 + . 09:00:55 -> Found 1 reports 09:00:55 ==> Detecting git/mercurial file structure 09:00:55 ==> Reading reports 09:00:55 + ./coverage.out bytes=44128 09:00:55 ==> Appending adjustments 09:00:55 https://docs.codecov.io/docs/fixing-reports 09:00:55 + Found adjustments 09:00:55 ==> Gzipping contents 09:00:55 8.0K /tmp/codecov.blH34i.gz 09:00:55 ==> Uploading reports 09:00:55 url: https://codecov.io 09:00:55 query: branch=main&commit=dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:00:55 -> Pinging Codecov 09:00:55 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=dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:00:55 -> Uploading to 09:00:55 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/5E52B4B073DB2E39498172D8E973AA87/dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a/70803350-8f77-4456-996c-4572ac0edd7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T090055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1828f8ce9b7008fd6bf55ba1712c5af88dc179132875617122bf40a230e75ff0 09:00:55 % Total % Received % Xferd Average Speed Time Time Time Current 09:00:55 Dload Upload Total Spent Left Speed 09:00:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5475 0 0 100 5475 0 24225 --:--:-- --:--:-- --:--:-- 24225 09:00:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] } 09:00:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:00:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:00:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:00:56 09:00:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:00:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:00:56 df9b9388f04a: Pulling fs layer 09:00:56 52dc419b0ee2: Pulling fs layer 09:00:56 25bc292e5bac: Pulling fs layer 09:00:56 114826534d7a: Pulling fs layer 09:00:56 4657fd5d0bcf: Pulling fs layer 09:00:56 6ad1cebc031e: Pulling fs layer 09:00:56 8a3aa393b2d8: Pulling fs layer 09:00:56 4657fd5d0bcf: Waiting 09:00:56 6ad1cebc031e: Waiting 09:00:56 8a3aa393b2d8: Waiting 09:00:56 114826534d7a: Waiting 09:00:56 25bc292e5bac: Verifying Checksum 09:00:56 25bc292e5bac: Download complete 09:00:56 52dc419b0ee2: Verifying Checksum 09:00:56 52dc419b0ee2: Download complete 09:00:56 4657fd5d0bcf: Download complete 09:00:56 df9b9388f04a: Download complete 09:00:57 df9b9388f04a: Pull complete 09:00:57 6ad1cebc031e: Download complete 09:00:57 52dc419b0ee2: Pull complete 09:00:57 25bc292e5bac: Pull complete 09:00:57 114826534d7a: Verifying Checksum 09:00:57 114826534d7a: Download complete 09:00:57 8a3aa393b2d8: Verifying Checksum 09:00:57 8a3aa393b2d8: Download complete 09:01:01 114826534d7a: Pull complete 09:01:01 4657fd5d0bcf: Pull complete 09:01:01 6ad1cebc031e: Pull complete 09:01:05 8a3aa393b2d8: Pull complete 09:01:05 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:01:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:05 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 09:01:05 $ 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 09:01:07 $ docker top bbb341accca3b25c19da23e65a3ed8361bc67f80b73035a1ac95ebbceb768d81 -eo pid,comm [Pipeline] { [Pipeline] echo 09:01:07 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 09:01:07 + set -o pipefail 09:01:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 09:01:12 09:01:12 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 09:01:12 09:01:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/858bd0ac-0884-4698-a995-f819360afc1f 09:01:12 09:01:12 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:01:12 09:01:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:01:12 09:01:12 [Pipeline] } 09:01:12 $ docker stop --time=1 bbb341accca3b25c19da23e65a3ed8361bc67f80b73035a1ac95ebbceb768d81 09:01:14 $ docker rm -f bbb341accca3b25c19da23e65a3ed8361bc67f80b73035a1ac95ebbceb768d81 [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 09:01:15 + git log --format=format:%s -1 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a [Pipeline] sh 09:01:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:01:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:16 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 09:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:01:16 $ docker top a26c470f0a118b97bcb6c04d0be5d9f8033e1d1b783ffc7f53916370133516f9 -eo pid,comm 09:01:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:01:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:01:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:16 [ssh-agent] Looking for ssh-agent implementation... 09:01:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:17 $ docker exec a26c470f0a118b97bcb6c04d0be5d9f8033e1d1b783ffc7f53916370133516f9 ssh-agent 09:01:17 SSH_AUTH_SOCK=/tmp/ssh-QYD6XTvdtjnz/agent.32 09:01:17 SSH_AGENT_PID=39 09:01:17 Running ssh-add (command line suppressed) 09:01:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6378212902313744560.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6378212902313744560.key) 09:01:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:17 + git semver tag 09:01:17 2022-06-07 09:01:17,906 [run_tag] DEBUG tag force:False 09:01:17 2022-06-07 09:01:17,906 [check_head_tag] DEBUG check head tag 09:01:17 2022-06-07 09:01:17,907 [execute] INFO git cat-file --batch-check 09:01:17 2022-06-07 09:01:17,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:01:17 2022-06-07 09:01:17,912 [execute] INFO git cat-file --batch 09:01:17 2022-06-07 09:01:17,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 09:01:17 2022-06-07 09:01:17,921 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:01:17 2022-06-07 09:01:17,921 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 09:01:17 2022-06-07 09:01:17,922 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:01:17 2022-06-07 09:01:17,928 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:01:17 2.2.1-dev.2 [Pipeline] } 09:01:18 $ docker exec --env ******** --env ******** a26c470f0a118b97bcb6c04d0be5d9f8033e1d1b783ffc7f53916370133516f9 ssh-agent -k 09:01:18 unset SSH_AUTH_SOCK; 09:01:18 unset SSH_AGENT_PID; 09:01:18 echo Agent pid 39 killed; 09:01:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:01:18 + git semver [Pipeline] } 09:01:18 $ docker stop --time=1 a26c470f0a118b97bcb6c04d0be5d9f8033e1d1b783ffc7f53916370133516f9 09:01:20 $ docker rm -f a26c470f0a118b97bcb6c04d0be5d9f8033e1d1b783ffc7f53916370133516f9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:01:20 09:01:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:01:21 0.23.1-centos7: Pulling from edgex-lftools 09:01:21 ab5ef0e58194: Pulling fs layer 09:01:21 9712f1f96733: Pulling fs layer 09:01:21 63f879dbbcfc: Pulling fs layer 09:01:21 0d9ebad4ef96: Pulling fs layer 09:01:21 e9a5061849ea: Pulling fs layer 09:01:21 d747dcd14b5f: Pulling fs layer 09:01:21 2de7ff778b66: Pulling fs layer 09:01:21 e9a5061849ea: Waiting 09:01:21 d747dcd14b5f: Waiting 09:01:21 2de7ff778b66: Waiting 09:01:21 0d9ebad4ef96: Waiting 09:01:21 9712f1f96733: Verifying Checksum 09:01:21 9712f1f96733: Download complete 09:01:21 63f879dbbcfc: Verifying Checksum 09:01:21 63f879dbbcfc: Download complete 09:01:21 0d9ebad4ef96: Verifying Checksum 09:01:21 0d9ebad4ef96: Download complete 09:01:21 ab5ef0e58194: Verifying Checksum 09:01:21 ab5ef0e58194: Download complete 09:01:21 d747dcd14b5f: Download complete 09:01:21 e9a5061849ea: Verifying Checksum 09:01:21 e9a5061849ea: Download complete 09:01:21 2de7ff778b66: Verifying Checksum 09:01:21 2de7ff778b66: Download complete 09:01:25 ab5ef0e58194: Pull complete 09:01:25 9712f1f96733: Pull complete 09:01:25 63f879dbbcfc: Pull complete 09:01:29 0d9ebad4ef96: Pull complete 09:01:29 e9a5061849ea: Pull complete 09:01:29 d747dcd14b5f: Pull complete 09:01:30 2de7ff778b66: Pull complete 09:01:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:01:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:30 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 09:01:30 $ 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 09:01:32 $ docker top fdc4e08e33e04ed363f94337b8dde49d4f0d226041e4e3fb46f9b9352aa8eb30 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:01:32 provisioning config files... 09:01:32 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config80781075215267550tmp 09:01:33 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4404731786744646802tmp 09:01:33 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1271124946495194696tmp [Pipeline] { [Pipeline] echo 09:01:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:01:33 ---> sigul-configuration.sh 09:01:33 gpg: directory `/root/.gnupg' created 09:01:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:01:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:01:33 gpg: keyring `/root/.gnupg/secring.gpg' created 09:01:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:01:33 gpg: CAST5 encrypted data 09:01:33 gpg: encrypted with 1 passphrase 09:01:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:01:33 + mkdir /home/jenkins 09:01:33 + mkdir /home/jenkins/sigul [Pipeline] sh 09:01:33 + 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 09:01:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:01:34 ---> sigul-install.sh 09:01:34 Sigul already installed; skipping installation. [Pipeline] sh 09:01:34 + git tag --list 09:01:34 v1.0.0 09:01:34 v1.1.0 09:01:34 v1.1.1 09:01:34 v1.2.1 09:01:34 v1.2.2 09:01:34 v1.2.3 09:01:34 v1.3.0 09:01:34 v1.3.1 09:01:34 v2.0.0 09:01:34 v2.1.0 09:01:34 v2.1.1-dev.1 09:01:34 v2.1.1-dev.2 09:01:34 v2.2.0 09:01:34 v2.2.1-dev.1 09:01:34 v2.2.1-dev.2 [Pipeline] sh 09:01:34 + lftools sign git-tag v2.2.1-dev.2 09:01:35 Signing Git tag with Sigul... 09:01:35 Signing v2.2.1-dev.2 [Pipeline] echo 09:01:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:01:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:01:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:01:36 $ docker stop --time=1 fdc4e08e33e04ed363f94337b8dde49d4f0d226041e4e3fb46f9b9352aa8eb30 09:01:37 $ docker rm -f fdc4e08e33e04ed363f94337b8dde49d4f0d226041e4e3fb46f9b9352aa8eb30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:01:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:01:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:38 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 09:01:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:01:38 $ docker top 51bd71234c81e0eb637dbd0b480f3fbf5ada0dd137ed5a9c0fb1d2c71adc0d08 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:01:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:38 [ssh-agent] Looking for ssh-agent implementation... 09:01:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:39 $ docker exec 51bd71234c81e0eb637dbd0b480f3fbf5ada0dd137ed5a9c0fb1d2c71adc0d08 ssh-agent 09:01:39 SSH_AUTH_SOCK=/tmp/ssh-qBLSkJNDScgR/agent.33 09:01:39 SSH_AGENT_PID=40 09:01:39 Running ssh-add (command line suppressed) 09:01:39 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4985758608150073918.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4985758608150073918.key) 09:01:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:39 + git semver bump pre 09:01:39 2022-06-07 09:01:39,790 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:01:39 2022-06-07 09:01:39,791 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev 09:01:39 2022-06-07 09:01:39,791 [bump_version] DEBUG bumped version:2.2.1-dev.3 09:01:39 2022-06-07 09:01:39,791 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 09:01:39 2022-06-07 09:01:39,791 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:01:39 2022-06-07 09:01:39,791 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:01:39 2022-06-07 09:01:39,793 [execute] INFO git cat-file --batch-check 09:01:39 2022-06-07 09:01:39,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:01:39 2022-06-07 09:01:39,800 [execute] INFO git cat-file --batch 09:01:39 2022-06-07 09:01:39,800 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:01:39 2022-06-07 09:01:39,805 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:01:39 2.2.1-dev.3 [Pipeline] } 09:01:39 $ docker exec --env ******** --env ******** 51bd71234c81e0eb637dbd0b480f3fbf5ada0dd137ed5a9c0fb1d2c71adc0d08 ssh-agent -k 09:01:39 unset SSH_AUTH_SOCK; 09:01:39 unset SSH_AGENT_PID; 09:01:39 echo Agent pid 40 killed; 09:01:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:01:40 + git semver [Pipeline] } 09:01:40 $ docker stop --time=1 51bd71234c81e0eb637dbd0b480f3fbf5ada0dd137ed5a9c0fb1d2c71adc0d08 09:01:41 $ docker rm -f 51bd71234c81e0eb637dbd0b480f3fbf5ada0dd137ed5a9c0fb1d2c71adc0d08 [Pipeline] // withDockerContainer [Pipeline] sh 09:01:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:01:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:42 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 09:01:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:01:43 $ docker top 75a46c594b06887d0d45bd75769edeabc49fa86ef82960edf7106e2bed31e931 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:43 [ssh-agent] Looking for ssh-agent implementation... 09:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:43 $ docker exec 75a46c594b06887d0d45bd75769edeabc49fa86ef82960edf7106e2bed31e931 ssh-agent 09:01:43 SSH_AUTH_SOCK=/tmp/ssh-CotbbKV5978G/agent.33 09:01:43 SSH_AGENT_PID=40 09:01:43 Running ssh-add (command line suppressed) 09:01:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2489549466162208419.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2489549466162208419.key) 09:01:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:43 + git semver push 09:01:44 2022-06-07 09:01:44,083 [run_push] DEBUG push 09:01:44 2022-06-07 09:01:44,083 [execute] INFO git cat-file --batch-check 09:01:44 2022-06-07 09:01:44,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:01:44 2022-06-07 09:01:44,088 [execute] INFO git rev-list 8efdb9ca1035d13df43d62e94cffeb9be5a1f1ff -- 09:01:44 2022-06-07 09:01:44,089 [execute] DEBUG Popen(['git', 'rev-list', '8efdb9ca1035d13df43d62e94cffeb9be5a1f1ff', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:01:44 2022-06-07 09:01:44,099 [execute] INFO git fetch -v origin 09:01:44 2022-06-07 09:01:44,100 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:01:44 2022-06-07 09:01:44,579 [run_push] DEBUG no remote changes detected 09:01:44 2022-06-07 09:01:44,580 [execute] INFO git push origin semver 09:01:44 2022-06-07 09:01:44,580 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:01:45 2022-06-07 09:01:45,240 [run_push] DEBUG push all version tags 09:01:45 2022-06-07 09:01:45,241 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:01:45 2022-06-07 09:01:45,241 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 09:01:46 2022-06-07 09:01:45,890 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 09:01:46 2.2.1-dev.3 [Pipeline] } 09:01:46 $ docker exec --env ******** --env ******** 75a46c594b06887d0d45bd75769edeabc49fa86ef82960edf7106e2bed31e931 ssh-agent -k 09:01:46 unset SSH_AUTH_SOCK; 09:01:46 unset SSH_AGENT_PID; 09:01:46 echo Agent pid 40 killed; 09:01:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:01:46 + git semver [Pipeline] } 09:01:46 $ docker stop --time=1 75a46c594b06887d0d45bd75769edeabc49fa86ef82960edf7106e2bed31e931 09:01:48 $ docker rm -f 75a46c594b06887d0d45bd75769edeabc49fa86ef82960edf7106e2bed31e931 [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 09:01:48 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 09:01:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:01:48 total 16 09:01:48 drwxr-xr-x 3 root root 4096 Jun 7 08:53 . 09:01:48 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 09:01 .. 09:01:48 drwxr-xr-x 2 root root 4096 Jun 7 08:53 cost 09:01:48 -rw-r--r-- 1 root root 87 Jun 7 08:53 cost.csv 09:01:48 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 09:01:48 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 09:01:48 total 16 09:01:48 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 08:53 . 09:01:48 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 09:01 .. 09:01:48 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 08:53 cost 09:01:48 -rw-r--r-- 1 jenkins jenkins 87 Jun 7 08:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:01:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:01:49 ---> package-listing.sh 09:01:49 ++ facter osfamily 09:01:49 ++ tr '[:upper:]' '[:lower:]' 09:01:50 + OS_FAMILY=debian 09:01:50 + workspace=/w/workspace/exfoundry_device-virtual-go_main 09:01:50 + START_PACKAGES=/tmp/packages_start.txt 09:01:50 + END_PACKAGES=/tmp/packages_end.txt 09:01:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:01:50 + PACKAGES=/tmp/packages_start.txt 09:01:50 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:01:50 + PACKAGES=/tmp/packages_end.txt 09:01:50 + case "${OS_FAMILY}" in 09:01:50 + dpkg -l 09:01:50 + grep '^ii' 09:01:50 + '[' -f /tmp/packages_start.txt ']' 09:01:50 + '[' -f /tmp/packages_end.txt ']' 09:01:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:01:50 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 09:01:50 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 09:01:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 09:01:50 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 09:01:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:01:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:51 prd-ubuntu20.04-docker-8c-8g-1628 does not seem to be running inside a container 09:01:51 $ 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 09:01:51 $ docker top e53f8a56cfa6234abc52ab93783244375b62a90034a4a544c32f8a9694678920 -eo pid,comm [Pipeline] { [Pipeline] sh 09:01:52 + touch /tmp/pre-build-complete [Pipeline] sh 09:01:52 + mkdir -p /var/log/sysstat [Pipeline] sh 09:01:52 + ls /var/log/sa-host 09:01:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:01:52 provisioning config files... 09:01:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7332653578812248534tmp [Pipeline] { [Pipeline] echo 09:01:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:01:53 ---> create-netrc.sh [Pipeline] } 09:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:01:53 ---> python-tools-install.sh [Pipeline] echo 09:01:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:01:53 ---> sudo-logs.sh 09:01:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:01:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:01:53 ---> job-cost.sh 09:01:53 lf-activate-venv: SKIPPING 09:01:53 DEBUG: total: 0.2199999988079071 09:01:53 INFO: Retrieving Stack Cost... 09:01:54 INFO: Retrieving Pricing Info for: v3-standard-8 09:01:54 INFO: Archiving Costs [Pipeline] echo 09:01:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:01:55 ---> logs-deploy.sh 09:01:55 lf-activate-venv: SKIPPING 09:01:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/38 09:01:55 INFO: archiving workspace using pattern(s): 09:01:56 Archives upload complete. 09:01:56 INFO: archiving logs to Nexus