Pull request #322 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55+0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 (d1495c41627aa3a7c727dae7a5e9402a002b15c1) 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-ssh16138901341548426873.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3177670638571660071.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/PR-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9883270025454297543.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/PR-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5174477793376413414.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3649441208114387882.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/PR-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2795557659520420431.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-121188 in /w/workspace/foundry_device-virtual-go_PR-322 [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/foundry_device-virtual-go_PR-322 # 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 > 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 remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 into PR head commit 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 Merge succeeded, producing 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 Checking out Revision 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 (PR-322) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 # timeout=10 Commit message: "refactor: update module to v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-14T07:09:13.585Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-14T07:09:13.754Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-14T07:09:13.846Z] ========================================================= [2022-12-14T07:09:13.846Z] EdgeX Global Pipelines Version Info [2022-12-14T07:09:13.846Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:09:14.597Z] ------------------- [2022-12-14T07:09:14.597Z] stable info: [2022-12-14T07:09:14.597Z] ------------------- [2022-12-14T07:09:14.597Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-14T07:09:14.597Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-14T07:09:14.597Z] Message: update stable to v1.0.244 [2022-12-14T07:09:15.164Z] ------------------- [2022-12-14T07:09:15.164Z] experimental info: [2022-12-14T07:09:15.164Z] ------------------- [2022-12-14T07:09:15.164Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-14T07:09:15.164Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-14T07:09:15.164Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-14T07:09:15.471Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-12-14T07:09:15.511Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-12-14T07:09:15.551Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-14T07:09:15.593Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-14T07:09:15.631Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-14T07:09:15.671Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-14T07:09:15.708Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-14T07:09:15.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-14T07:09:15.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-14T07:09:15.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-14T07:09:15.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-14T07:09:15.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-12-14T07:09:15.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-14T07:09:15.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-14T07:09:16.028Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-14T07:09:16.068Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-14T07:09:16.110Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-14T07:09:16.146Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-14T07:09:16.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-14T07:09:16.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-14T07:09:16.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-14T07:09:16.300Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-14T07:09:16.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-14T07:09:16.376Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-14T07:09:16.416Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-14T07:09:16.452Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-14T07:09:16.490Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-14T07:09:16.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-322 [Pipeline] echo [2022-12-14T07:09:16.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-322 [Pipeline] echo [2022-12-14T07:09:16.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-322 [Pipeline] echo [2022-12-14T07:09:16.646Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [Pipeline] echo [2022-12-14T07:09:16.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a82d9e [Pipeline] echo [2022-12-14T07:09:16.730Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-14T07:09:16.840Z] provisioning config files... [2022-12-14T07:09:16.850Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-322@tmp/config2476163813863476130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:09:17.192Z] ---> docker-login.sh [2022-12-14T07:09:17.192Z] nexus3.edgexfoundry.org:10001 [2022-12-14T07:09:17.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:17.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:17.451Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:17.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:17.451Z] [2022-12-14T07:09:17.451Z] Login Succeeded [2022-12-14T07:09:17.451Z] nexus3.edgexfoundry.org:10002 [2022-12-14T07:09:17.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:17.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:17.710Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:17.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:17.710Z] [2022-12-14T07:09:17.710Z] Login Succeeded [2022-12-14T07:09:17.710Z] nexus3.edgexfoundry.org:10003 [2022-12-14T07:09:17.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:17.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:17.710Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:17.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:17.710Z] [2022-12-14T07:09:17.710Z] Login Succeeded [2022-12-14T07:09:17.710Z] nexus3.edgexfoundry.org:10004 [2022-12-14T07:09:17.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:17.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:17.710Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:17.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:17.710Z] [2022-12-14T07:09:17.710Z] Login Succeeded [2022-12-14T07:09:17.710Z] docker.io [2022-12-14T07:09:17.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:17.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:17.971Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:17.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:17.971Z] [2022-12-14T07:09:17.971Z] Login Succeeded [2022-12-14T07:09:17.971Z] ---> docker-login.sh ends [Pipeline] } [2022-12-14T07:09:17.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-14T07:09:18.638Z] + git rev-list -1 --merges 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55~1..6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [Pipeline] echo [2022-12-14T07:09:18.686Z] -----------> git rev-list -1 --merges 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55~1..6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [false] [Pipeline] sh [2022-12-14T07:09:19.018Z] + git log --format=format:%s -1 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [Pipeline] echo [2022-12-14T07:09:19.051Z] ========================================================= [2022-12-14T07:09:19.051Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-14T07:09:19.051Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-14T07:09:19.501Z] + git log --format=format:%s -1 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [Pipeline] echo [2022-12-14T07:09:19.536Z] [semverPrep] GIT_COMMIT: 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55, Commit Message: refactor: update module to v3 [Pipeline] echo [2022-12-14T07:09:19.563Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-14T07:09:19.965Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-14T07:09:19.965Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-14T07:09:19.965Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-14T07:09:19.965Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-14T07:09:19.965Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-14T07:09:19.965Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-14T07:09:19.965Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:09:20.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-14T07:09:20.493Z] [2022-12-14T07:09:20.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:09:20.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-14T07:09:20.904Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-14T07:09:20.904Z] b85a868b505f: Pulling fs layer [2022-12-14T07:09:20.904Z] e2be974225ed: Pulling fs layer [2022-12-14T07:09:20.904Z] 339a4e72a1f5: Pulling fs layer [2022-12-14T07:09:20.904Z] 988bab9f4d93: Pulling fs layer [2022-12-14T07:09:20.904Z] 1469e6f7b9e6: Pulling fs layer [2022-12-14T07:09:20.904Z] eaf3925da568: Pulling fs layer [2022-12-14T07:09:20.904Z] bab4dde63d76: Pulling fs layer [2022-12-14T07:09:20.904Z] bde34c3a00c8: Pulling fs layer [2022-12-14T07:09:20.904Z] b352a97aabf1: Pulling fs layer [2022-12-14T07:09:20.904Z] 4872d77fe225: Pulling fs layer [2022-12-14T07:09:20.904Z] 5851b861e8e6: Pulling fs layer [2022-12-14T07:09:20.904Z] 988bab9f4d93: Waiting [2022-12-14T07:09:20.904Z] 1469e6f7b9e6: Waiting [2022-12-14T07:09:20.904Z] eaf3925da568: Waiting [2022-12-14T07:09:20.904Z] bab4dde63d76: Waiting [2022-12-14T07:09:20.905Z] bde34c3a00c8: Waiting [2022-12-14T07:09:20.905Z] b352a97aabf1: Waiting [2022-12-14T07:09:20.905Z] 4872d77fe225: Waiting [2022-12-14T07:09:20.905Z] 5851b861e8e6: Waiting [2022-12-14T07:09:20.905Z] e2be974225ed: Verifying Checksum [2022-12-14T07:09:20.905Z] e2be974225ed: Download complete [2022-12-14T07:09:20.905Z] 988bab9f4d93: Verifying Checksum [2022-12-14T07:09:20.905Z] 988bab9f4d93: Download complete [2022-12-14T07:09:21.186Z] 1469e6f7b9e6: Verifying Checksum [2022-12-14T07:09:21.186Z] 1469e6f7b9e6: Download complete [2022-12-14T07:09:21.186Z] eaf3925da568: Verifying Checksum [2022-12-14T07:09:21.186Z] eaf3925da568: Download complete [2022-12-14T07:09:21.186Z] 339a4e72a1f5: Verifying Checksum [2022-12-14T07:09:21.186Z] 339a4e72a1f5: Download complete [2022-12-14T07:09:21.186Z] bde34c3a00c8: Verifying Checksum [2022-12-14T07:09:21.186Z] bde34c3a00c8: Download complete [2022-12-14T07:09:21.186Z] b352a97aabf1: Verifying Checksum [2022-12-14T07:09:21.186Z] b352a97aabf1: Download complete [2022-12-14T07:09:21.186Z] 4872d77fe225: Verifying Checksum [2022-12-14T07:09:21.186Z] 4872d77fe225: Download complete [2022-12-14T07:09:21.186Z] 5851b861e8e6: Verifying Checksum [2022-12-14T07:09:21.186Z] 5851b861e8e6: Download complete [2022-12-14T07:09:22.146Z] b85a868b505f: Verifying Checksum [2022-12-14T07:09:22.146Z] b85a868b505f: Download complete [2022-12-14T07:09:22.414Z] bab4dde63d76: Verifying Checksum [2022-12-14T07:09:22.414Z] bab4dde63d76: Download complete [2022-12-14T07:09:23.391Z] b85a868b505f: Pull complete [2022-12-14T07:09:23.391Z] e2be974225ed: Pull complete [2022-12-14T07:09:23.666Z] 339a4e72a1f5: Pull complete [2022-12-14T07:09:23.946Z] 988bab9f4d93: Pull complete [2022-12-14T07:09:24.230Z] 1469e6f7b9e6: Pull complete [2022-12-14T07:09:24.230Z] eaf3925da568: Pull complete [2022-12-14T07:09:25.685Z] bab4dde63d76: Pull complete [2022-12-14T07:09:25.961Z] bde34c3a00c8: Pull complete [2022-12-14T07:09:25.961Z] b352a97aabf1: Pull complete [2022-12-14T07:09:25.961Z] 4872d77fe225: Pull complete [2022-12-14T07:09:26.236Z] 5851b861e8e6: Pull complete [2022-12-14T07:09:26.236Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-14T07:09:26.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-14T07:09:26.236Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:09:26.529Z] prd-ubuntu20.04-docker-8c-8g-121188 does not seem to be running inside a container [2022-12-14T07:09:26.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-322 -v /w/workspace/foundry_device-virtual-go_PR-322:/w/workspace/foundry_device-virtual-go_PR-322:rw,z -v /w/workspace/foundry_device-virtual-go_PR-322@tmp:/w/workspace/foundry_device-virtual-go_PR-322@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-14T07:09:30.179Z] $ docker top 59ab795a1c4fc82ab097a4046d3435373abf4d4de375accf92e6407f1827b828 -eo pid,comm [2022-12-14T07:09:30.229Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-14T07:09:30.229Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-14T07:09:30.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-14T07:09:30.354Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-14T07:09:30.497Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-14T07:09:30.511Z] $ docker exec 59ab795a1c4fc82ab097a4046d3435373abf4d4de375accf92e6407f1827b828 ssh-agent [2022-12-14T07:09:30.627Z] SSH_AUTH_SOCK=/tmp/ssh-pSc0kXDiEF9H/agent.33 [2022-12-14T07:09:30.627Z] SSH_AGENT_PID=39 [2022-12-14T07:09:30.660Z] Running ssh-add (command line suppressed) [2022-12-14T07:09:30.780Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-322@tmp/private_key_7324263467939790017.key (/w/workspace/foundry_device-virtual-go_PR-322@tmp/private_key_7324263467939790017.key) [2022-12-14T07:09:30.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-14T07:09:31.233Z] + git tag --points-at HEAD [Pipeline] } [2022-12-14T07:09:31.277Z] $ docker exec --env ******** --env ******** 59ab795a1c4fc82ab097a4046d3435373abf4d4de375accf92e6407f1827b828 ssh-agent -k [2022-12-14T07:09:31.374Z] unset SSH_AUTH_SOCK; [2022-12-14T07:09:31.375Z] unset SSH_AGENT_PID; [2022-12-14T07:09:31.375Z] echo Agent pid 39 killed; [2022-12-14T07:09:31.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-14T07:09:31.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-14T07:09:31.486Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-14T07:09:31.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-14T07:09:31.603Z] $ docker exec 59ab795a1c4fc82ab097a4046d3435373abf4d4de375accf92e6407f1827b828 ssh-agent [2022-12-14T07:09:31.712Z] SSH_AUTH_SOCK=/tmp/ssh-AF6PHkzhBtEm/agent.71 [2022-12-14T07:09:31.712Z] SSH_AGENT_PID=77 [2022-12-14T07:09:31.717Z] Running ssh-add (command line suppressed) [2022-12-14T07:09:31.821Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-322@tmp/private_key_7239922125528151411.key (/w/workspace/foundry_device-virtual-go_PR-322@tmp/private_key_7239922125528151411.key) [2022-12-14T07:09:31.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-14T07:09:32.231Z] + git semver init [2022-12-14T07:09:32.493Z] 2022-12-14 07:09:32,378 [run_init] DEBUG init version:0.0.0 force:False [2022-12-14T07:09:32.493Z] 2022-12-14 07:09:32,378 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-322/.semver [2022-12-14T07:09:32.493Z] 2022-12-14 07:09:32,379 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-322/.semver [2022-12-14T07:09:32.493Z] 2022-12-14 07:09:32,379 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-322/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-322, universal_newlines=False, shell=None, istream=None) [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,482 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-322/.git/info/exclude [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,483 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-322/.semver/PR-322 with force:False [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,483 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-322/.semver/PR-322 [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,487 [execute] INFO git cat-file --batch-check [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,492 [execute] INFO git cat-file --batch [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) [2022-12-14T07:09:33.895Z] 2022-12-14 07:09:33,497 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-322/.semver/PR-322 [2022-12-14T07:09:33.895Z] 0.0.0 [Pipeline] } [2022-12-14T07:09:33.926Z] $ docker exec --env ******** --env ******** 59ab795a1c4fc82ab097a4046d3435373abf4d4de375accf92e6407f1827b828 ssh-agent -k [2022-12-14T07:09:34.022Z] unset SSH_AUTH_SOCK; [2022-12-14T07:09:34.022Z] unset SSH_AGENT_PID; [2022-12-14T07:09:34.022Z] echo Agent pid 77 killed; [2022-12-14T07:09:34.027Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-14T07:09:34.469Z] + git semver [Pipeline] } [2022-12-14T07:09:34.755Z] $ docker stop --time=1 59ab795a1c4fc82ab097a4046d3435373abf4d4de375accf92e6407f1827b828 [2022-12-14T07:09:36.015Z] $ docker rm -f 59ab795a1c4fc82ab097a4046d3435373abf4d4de375accf92e6407f1827b828 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-14T07:09:36.403Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-14T07:09:36.650Z] Stashed 1 file(s) [Pipeline] echo [2022-12-14T07:09:36.665Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-14T07:09:37.178Z] provisioning config files... [2022-12-14T07:09:37.189Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-322@tmp/config3414379964105846782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:09:37.524Z] ---> docker-login.sh [2022-12-14T07:09:37.524Z] nexus3.edgexfoundry.org:10001 [2022-12-14T07:09:37.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:37.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:37.524Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:37.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:37.524Z] [2022-12-14T07:09:37.524Z] Login Succeeded [2022-12-14T07:09:37.524Z] nexus3.edgexfoundry.org:10002 [2022-12-14T07:09:37.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:37.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:37.524Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:37.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:37.524Z] [2022-12-14T07:09:37.524Z] Login Succeeded [2022-12-14T07:09:37.524Z] nexus3.edgexfoundry.org:10003 [2022-12-14T07:09:37.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:37.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:37.783Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:37.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:37.783Z] [2022-12-14T07:09:37.783Z] Login Succeeded [2022-12-14T07:09:37.783Z] nexus3.edgexfoundry.org:10004 [2022-12-14T07:09:37.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:37.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:37.783Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:37.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:37.783Z] [2022-12-14T07:09:37.783Z] Login Succeeded [2022-12-14T07:09:37.783Z] docker.io [2022-12-14T07:09:37.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:09:38.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:09:38.041Z] Configure a credential helper to remove this warning. See [2022-12-14T07:09:38.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:09:38.041Z] [2022-12-14T07:09:38.042Z] Login Succeeded [2022-12-14T07:09:38.042Z] ---> docker-login.sh ends [Pipeline] } [2022-12-14T07:09:38.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-14T07:09:38.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T07:09:38.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T07:09:38.307Z] ========================================================= [2022-12-14T07:09:38.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-14T07:09:38.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:09:38.764Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-14T07:09:38.764Z] Sending build context to Docker daemon 23.34MB [2022-12-14T07:09:38.764Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T07:09:38.764Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-14T07:09:38.764Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-14T07:09:38.764Z] 213ec9aee27d: Pulling fs layer [2022-12-14T07:09:38.764Z] 4583459ba037: Pulling fs layer [2022-12-14T07:09:38.764Z] 93c1e223e6f2: Pulling fs layer [2022-12-14T07:09:38.764Z] 53926ce57604: Pulling fs layer [2022-12-14T07:09:38.764Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-14T07:09:38.764Z] 22ff95d597cd: Pulling fs layer [2022-12-14T07:09:38.764Z] 12d6caf4c0d1: Pulling fs layer [2022-12-14T07:09:38.764Z] 96b7cbca73a9: Pulling fs layer [2022-12-14T07:09:38.765Z] a7acece74701: Pulling fs layer [2022-12-14T07:09:38.765Z] 21b2b0c7a3f4: Waiting [2022-12-14T07:09:38.765Z] 96b7cbca73a9: Waiting [2022-12-14T07:09:38.765Z] 22ff95d597cd: Waiting [2022-12-14T07:09:38.765Z] a7acece74701: Waiting [2022-12-14T07:09:38.765Z] 12d6caf4c0d1: Waiting [2022-12-14T07:09:38.765Z] 53926ce57604: Waiting [2022-12-14T07:09:39.030Z] 93c1e223e6f2: Verifying Checksum [2022-12-14T07:09:39.030Z] 93c1e223e6f2: Download complete [2022-12-14T07:09:39.030Z] 4583459ba037: Verifying Checksum [2022-12-14T07:09:39.030Z] 4583459ba037: Download complete [2022-12-14T07:09:39.030Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-14T07:09:39.030Z] 21b2b0c7a3f4: Download complete [2022-12-14T07:09:39.030Z] 22ff95d597cd: Verifying Checksum [2022-12-14T07:09:39.030Z] 22ff95d597cd: Download complete [2022-12-14T07:09:39.030Z] 213ec9aee27d: Verifying Checksum [2022-12-14T07:09:39.030Z] 213ec9aee27d: Download complete [2022-12-14T07:09:39.030Z] 12d6caf4c0d1: Verifying Checksum [2022-12-14T07:09:39.030Z] 12d6caf4c0d1: Download complete [2022-12-14T07:09:39.030Z] 213ec9aee27d: Pull complete [2022-12-14T07:09:39.295Z] 4583459ba037: Pull complete [2022-12-14T07:09:39.295Z] 93c1e223e6f2: Pull complete [2022-12-14T07:09:39.558Z] a7acece74701: Download complete [2022-12-14T07:09:39.817Z] 96b7cbca73a9: Verifying Checksum [2022-12-14T07:09:39.817Z] 96b7cbca73a9: Download complete [2022-12-14T07:09:39.817Z] 53926ce57604: Verifying Checksum [2022-12-14T07:09:39.817Z] 53926ce57604: Download complete [2022-12-14T07:09:44.016Z] 53926ce57604: Pull complete [2022-12-14T07:09:44.016Z] 21b2b0c7a3f4: Pull complete [2022-12-14T07:09:44.016Z] 22ff95d597cd: Pull complete [2022-12-14T07:09:44.016Z] 12d6caf4c0d1: Pull complete [2022-12-14T07:09:45.914Z] 96b7cbca73a9: Pull complete [2022-12-14T07:09:46.487Z] a7acece74701: Pull complete [2022-12-14T07:09:46.487Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-14T07:09:46.487Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-14T07:09:46.487Z] ---> db6d94c90886 [2022-12-14T07:09:46.487Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T07:09:51.761Z] ---> Running in 556fb77e8b5b [2022-12-14T07:09:52.019Z] Removing intermediate container 556fb77e8b5b [2022-12-14T07:09:52.019Z] ---> 74e30223bccd [2022-12-14T07:09:52.019Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T07:09:52.022Z] Still waiting to schedule task [2022-12-14T07:09:52.022Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-14T07:09:52.277Z] ---> Running in e2b4ad61d8ed [2022-12-14T07:09:52.536Z] Removing intermediate container e2b4ad61d8ed [2022-12-14T07:09:52.536Z] ---> 4a25e9d68ef7 [2022-12-14T07:09:52.536Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-12-14T07:09:52.536Z] ---> Running in cfd559fd26ed [2022-12-14T07:09:52.796Z] Removing intermediate container cfd559fd26ed [2022-12-14T07:09:52.796Z] ---> 9122a9708040 [2022-12-14T07:09:52.796Z] Step 6/12 : WORKDIR /device-virtual-go [2022-12-14T07:09:52.796Z] ---> Running in 9363458aa135 [2022-12-14T07:09:53.054Z] Removing intermediate container 9363458aa135 [2022-12-14T07:09:53.054Z] ---> d64deec7c67f [2022-12-14T07:09:53.054Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T07:09:53.054Z] ---> Running in 17badadee9b3 [2022-12-14T07:09:53.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-14T07:09:53.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-14T07:09:53.831Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-14T07:09:53.831Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-14T07:09:53.831Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-14T07:09:53.831Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-14T07:09:53.831Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T07:09:53.831Z] OK: 216 MiB in 55 packages [2022-12-14T07:09:54.398Z] Removing intermediate container 17badadee9b3 [2022-12-14T07:09:54.398Z] ---> 9d3247480ef6 [2022-12-14T07:09:54.398Z] Step 8/12 : COPY go.mod vendor* ./ [2022-12-14T07:09:54.398Z] ---> 7482a0aafe04 [2022-12-14T07:09:54.398Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T07:09:54.398Z] ---> Running in 4a020707e959 [2022-12-14T07:10:20.959Z] Removing intermediate container 4a020707e959 [2022-12-14T07:10:20.959Z] ---> 0c8dcce1af23 [2022-12-14T07:10:20.959Z] Step 10/12 : COPY . . [2022-12-14T07:10:20.959Z] ---> 224af5572755 [2022-12-14T07:10:20.959Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T07:10:20.959Z] ---> Running in d1c6ca6eaaa7 [2022-12-14T07:10:20.959Z] Removing intermediate container d1c6ca6eaaa7 [2022-12-14T07:10:20.959Z] ---> 5630a2bcaaae [2022-12-14T07:10:20.959Z] Step 12/12 : RUN $MAKE [2022-12-14T07:10:20.959Z] ---> Running in 5ea348f7aa80 [2022-12-14T07:10:21.216Z] noop [2022-12-14T07:10:21.474Z] Removing intermediate container 5ea348f7aa80 [2022-12-14T07:10:21.474Z] ---> 732e28f7f3c9 [2022-12-14T07:10:21.474Z] Successfully built 732e28f7f3c9 [2022-12-14T07:10:21.474Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:10:21.908Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-14T07:10:21.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:10:22.051Z] prd-ubuntu20.04-docker-8c-8g-121188 does not seem to be running inside a container [2022-12-14T07:10:22.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-322 -v /w/workspace/foundry_device-virtual-go_PR-322:/w/workspace/foundry_device-virtual-go_PR-322:rw,z -v /w/workspace/foundry_device-virtual-go_PR-322@tmp:/w/workspace/foundry_device-virtual-go_PR-322@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-14T07:10:22.429Z] $ docker top f456be8fa719e3d967ce5f199708706d611d9529366111b27ea895a7dbee8902 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T07:10:22.820Z] + go version [2022-12-14T07:10:22.820Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-14T07:10:22.853Z] $ docker stop --time=1 f456be8fa719e3d967ce5f199708706d611d9529366111b27ea895a7dbee8902 [2022-12-14T07:10:24.130Z] $ docker rm -f f456be8fa719e3d967ce5f199708706d611d9529366111b27ea895a7dbee8902 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:10:24.813Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-14T07:10:24.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:10:24.957Z] prd-ubuntu20.04-docker-8c-8g-121188 does not seem to be running inside a container [2022-12-14T07:10:24.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-322 -v /w/workspace/foundry_device-virtual-go_PR-322:/w/workspace/foundry_device-virtual-go_PR-322:rw,z -v /w/workspace/foundry_device-virtual-go_PR-322@tmp:/w/workspace/foundry_device-virtual-go_PR-322@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-14T07:10:25.314Z] $ docker top 5822511691b2acc6e9a0d5e2dc82cba7c507a5a3fc0655f98756b40b0795c373 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T07:10:25.712Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-322 [Pipeline] fileExists [Pipeline] sh [2022-12-14T07:10:26.076Z] + make test [2022-12-14T07:10:26.076Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-12-14T07:10:26.334Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-12-14T07:10:34.446Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-12-14T07:10:35.392Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2022-12-14T07:10:41.970Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-14T07:10:41.970Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-14T07:10:45.252Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-14T07:10:45.252Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-14T07:10:45.252Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-14T07:10:45.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-14T07:10:45.329Z] $ docker stop --time=1 5822511691b2acc6e9a0d5e2dc82cba7c507a5a3fc0655f98756b40b0795c373 [2022-12-14T07:10:47.701Z] $ docker rm -f 5822511691b2acc6e9a0d5e2dc82cba7c507a5a3fc0655f98756b40b0795c373 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-14T07:10:48.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-14T07:10:48.284Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-14T07:10:48.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-14T07:10:49.251Z] + ls -al . [2022-12-14T07:10:49.251Z] total 204 [2022-12-14T07:10:49.251Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 14 07:10 . [2022-12-14T07:10:49.251Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 07:09 .. [2022-12-14T07:10:49.251Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 07:10 .git [2022-12-14T07:10:49.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 07:09 .github [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 337 Dec 14 07:09 .gitignore [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 07:09 .golangci.yml [2022-12-14T07:10:49.251Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 07:09 .semver [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 8527 Dec 14 07:09 Attribution.txt [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 11367 Dec 14 07:09 CHANGELOG.md [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 1709 Dec 14 07:09 Dockerfile [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 07:09 GOVERNANCE.md [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 660 Dec 14 07:09 Jenkinsfile [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 07:09 LICENSE [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 2457 Dec 14 07:09 Makefile [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 623 Dec 14 07:09 OWNERS.md [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 3578 Dec 14 07:09 README.md [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 07:09 VERSION [2022-12-14T07:10:49.251Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 07:09 bin [2022-12-14T07:10:49.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 07:09 cmd [2022-12-14T07:10:49.251Z] -rw-r--r-- 1 jenkins jenkins 44128 Dec 14 07:10 coverage.out [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 3340 Dec 14 07:09 go.mod [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 44412 Dec 14 07:09 go.sum [2022-12-14T07:10:49.251Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 07:09 internal [2022-12-14T07:10:49.251Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 07:09 snap [2022-12-14T07:10:49.251Z] -rw-rw-r-- 1 jenkins jenkins 235 Dec 14 07:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:10:49.773Z] + 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=6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 --label arch=amd64 --label version=0.0.0 . [2022-12-14T07:10:49.773Z] Sending build context to Docker daemon 23.38MB [2022-12-14T07:10:49.773Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T07:10:49.773Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-14T07:10:49.773Z] ---> 732e28f7f3c9 [2022-12-14T07:10:49.773Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T07:10:50.035Z] ---> Running in 8c1252a7482f [2022-12-14T07:10:50.295Z] Removing intermediate container 8c1252a7482f [2022-12-14T07:10:50.295Z] ---> f7d77fa511e1 [2022-12-14T07:10:50.295Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T07:10:50.295Z] ---> Running in 094590623c20 [2022-12-14T07:10:50.295Z] Removing intermediate container 094590623c20 [2022-12-14T07:10:50.295Z] ---> c973af7394ac [2022-12-14T07:10:50.295Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-12-14T07:10:50.295Z] ---> Running in e739039055c5 [2022-12-14T07:10:50.295Z] Removing intermediate container e739039055c5 [2022-12-14T07:10:50.295Z] ---> 06bc71d28b33 [2022-12-14T07:10:50.295Z] Step 6/25 : WORKDIR /device-virtual-go [2022-12-14T07:10:50.295Z] ---> Running in 944a311b7f98 [2022-12-14T07:10:50.565Z] Removing intermediate container 944a311b7f98 [2022-12-14T07:10:50.565Z] ---> 85efd74d1c89 [2022-12-14T07:10:50.565Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T07:10:50.565Z] ---> Running in 587cd96da3b1 [2022-12-14T07:10:50.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-14T07:10:50.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-14T07:10:51.086Z] OK: 216 MiB in 55 packages [2022-12-14T07:10:51.346Z] Removing intermediate container 587cd96da3b1 [2022-12-14T07:10:51.346Z] ---> b1a5bb04c9bd [2022-12-14T07:10:51.346Z] Step 8/25 : COPY go.mod vendor* ./ [2022-12-14T07:10:51.346Z] ---> 308b268679da [2022-12-14T07:10:51.346Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T07:10:51.346Z] ---> Running in d90d03b572bc [2022-12-14T07:10:51.913Z] Removing intermediate container d90d03b572bc [2022-12-14T07:10:51.913Z] ---> 67a07318b76d [2022-12-14T07:10:51.913Z] Step 10/25 : COPY . . [2022-12-14T07:10:52.851Z] ---> feea5d628552 [2022-12-14T07:10:52.851Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T07:10:52.851Z] ---> Running in 535a984aad89 [2022-12-14T07:10:52.851Z] Removing intermediate container 535a984aad89 [2022-12-14T07:10:52.851Z] ---> 61474ede2ebd [2022-12-14T07:10:52.851Z] Step 12/25 : RUN $MAKE [2022-12-14T07:10:52.851Z] ---> Running in d9aead64c461 [2022-12-14T07:10:53.113Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-12-14T07:11:15.047Z] Removing intermediate container d9aead64c461 [2022-12-14T07:11:15.047Z] ---> 3f6c154e4149 [2022-12-14T07:11:15.047Z] Step 13/25 : FROM alpine:3.16 [2022-12-14T07:11:15.047Z] 3.16: Pulling from library/alpine [2022-12-14T07:11:15.047Z] ca7dd9ec2225: Pulling fs layer [2022-12-14T07:11:15.047Z] ca7dd9ec2225: Download complete [2022-12-14T07:11:15.047Z] ca7dd9ec2225: Pull complete [2022-12-14T07:11:15.047Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-14T07:11:15.047Z] Status: Downloaded newer image for alpine:3.16 [2022-12-14T07:11:15.047Z] ---> bfe296a52501 [2022-12-14T07:11:15.047Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-12-14T07:11:15.047Z] ---> Running in be7cfde2613b [2022-12-14T07:11:15.047Z] Removing intermediate container be7cfde2613b [2022-12-14T07:11:15.047Z] ---> 26163e9a7c7d [2022-12-14T07:11:15.047Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-14T07:11:15.047Z] ---> Running in 1254053934c7 [2022-12-14T07:11:15.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-14T07:11:15.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-14T07:11:15.047Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-14T07:11:15.047Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-14T07:11:15.047Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-14T07:11:15.047Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-14T07:11:15.047Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-14T07:11:15.047Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-14T07:11:15.047Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T07:11:15.047Z] OK: 8 MiB in 20 packages [2022-12-14T07:11:15.047Z] Removing intermediate container 1254053934c7 [2022-12-14T07:11:15.047Z] ---> 1a37fcc8c599 [2022-12-14T07:11:15.047Z] Step 16/25 : WORKDIR / [2022-12-14T07:11:15.047Z] ---> Running in 43bdb74d50c9 [2022-12-14T07:11:15.047Z] Removing intermediate container 43bdb74d50c9 [2022-12-14T07:11:15.047Z] ---> 6f8b99d2a5aa [2022-12-14T07:11:15.047Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-12-14T07:11:15.047Z] ---> c099b6783f6b [2022-12-14T07:11:15.047Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-12-14T07:11:15.047Z] ---> e97316cfd631 [2022-12-14T07:11:15.047Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-12-14T07:11:15.047Z] ---> 62e05b7fb388 [2022-12-14T07:11:15.047Z] Step 20/25 : EXPOSE 59900 [2022-12-14T07:11:15.047Z] ---> Running in 0b8b815d67c9 [2022-12-14T07:11:15.047Z] Removing intermediate container 0b8b815d67c9 [2022-12-14T07:11:15.047Z] ---> 632aac22e830 [2022-12-14T07:11:15.047Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-12-14T07:11:15.047Z] ---> Running in 18199b18edab [2022-12-14T07:11:15.309Z] Removing intermediate container 18199b18edab [2022-12-14T07:11:15.309Z] ---> a1228bd1d0b8 [2022-12-14T07:11:15.309Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-14T07:11:15.309Z] ---> Running in 5170af14284c [2022-12-14T07:11:15.309Z] Removing intermediate container 5170af14284c [2022-12-14T07:11:15.309Z] ---> c0c024ca323e [2022-12-14T07:11:15.309Z] Step 23/25 : LABEL arch=amd64 [2022-12-14T07:11:15.309Z] ---> Running in b14ed7a1844a [2022-12-14T07:11:15.309Z] Removing intermediate container b14ed7a1844a [2022-12-14T07:11:15.309Z] ---> d1740c13e868 [2022-12-14T07:11:15.309Z] Step 24/25 : LABEL git_sha=6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [2022-12-14T07:11:15.309Z] ---> Running in a28bb03cd2d7 [2022-12-14T07:11:15.568Z] Removing intermediate container a28bb03cd2d7 [2022-12-14T07:11:15.568Z] ---> c1fd9f0b0960 [2022-12-14T07:11:15.568Z] Step 25/25 : LABEL version=0.0.0 [2022-12-14T07:11:15.568Z] ---> Running in 55241d47b4fc [2022-12-14T07:11:15.568Z] Removing intermediate container 55241d47b4fc [2022-12-14T07:11:15.568Z] ---> 67e65defb22b [2022-12-14T07:11:15.568Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-14T07:11:15.568Z] Successfully built 67e65defb22b [2022-12-14T07:11:15.568Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:11:16.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T07:11:16.429Z] [2022-12-14T07:11:16.429Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:11:16.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T07:11:16.805Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-14T07:11:16.805Z] 5eb5b503b376: Pulling fs layer [2022-12-14T07:11:16.805Z] 5c69ac0246d0: Pulling fs layer [2022-12-14T07:11:16.805Z] ec43610c2a17: Pulling fs layer [2022-12-14T07:11:16.805Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-14T07:11:16.805Z] 33b1e0a273af: Pulling fs layer [2022-12-14T07:11:16.805Z] 5d3b04190fa2: Pulling fs layer [2022-12-14T07:11:16.805Z] 2f39f015ded8: Pulling fs layer [2022-12-14T07:11:16.805Z] 3a2ae6a8a46f: Waiting [2022-12-14T07:11:16.805Z] 33b1e0a273af: Waiting [2022-12-14T07:11:16.805Z] 5d3b04190fa2: Waiting [2022-12-14T07:11:16.805Z] 2f39f015ded8: Waiting [2022-12-14T07:11:16.805Z] 5c69ac0246d0: Download complete [2022-12-14T07:11:16.805Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-14T07:11:16.805Z] 3a2ae6a8a46f: Download complete [2022-12-14T07:11:17.064Z] 33b1e0a273af: Verifying Checksum [2022-12-14T07:11:17.064Z] 33b1e0a273af: Download complete [2022-12-14T07:11:17.064Z] ec43610c2a17: Verifying Checksum [2022-12-14T07:11:17.064Z] ec43610c2a17: Download complete [2022-12-14T07:11:17.064Z] 5d3b04190fa2: Download complete [2022-12-14T07:11:17.064Z] 5eb5b503b376: Verifying Checksum [2022-12-14T07:11:17.064Z] 5eb5b503b376: Download complete [2022-12-14T07:11:17.629Z] 2f39f015ded8: Download complete [2022-12-14T07:11:18.196Z] 5eb5b503b376: Pull complete [2022-12-14T07:11:18.196Z] 5c69ac0246d0: Pull complete [2022-12-14T07:11:18.761Z] ec43610c2a17: Pull complete [2022-12-14T07:11:18.761Z] 3a2ae6a8a46f: Pull complete [2022-12-14T07:11:19.020Z] 33b1e0a273af: Pull complete [2022-12-14T07:11:19.020Z] 5d3b04190fa2: Pull complete [2022-12-14T07:11:23.203Z] 2f39f015ded8: Pull complete [2022-12-14T07:11:23.203Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-14T07:11:23.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T07:11:23.203Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:11:23.413Z] prd-ubuntu20.04-docker-8c-8g-121188 does not seem to be running inside a container [2022-12-14T07:11:23.445Z] $ 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/foundry_device-virtual-go_PR-322 -v /w/workspace/foundry_device-virtual-go_PR-322:/w/workspace/foundry_device-virtual-go_PR-322:rw,z -v /w/workspace/foundry_device-virtual-go_PR-322@tmp:/w/workspace/foundry_device-virtual-go_PR-322@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-14T07:11:26.145Z] $ docker top dea288d8dab31dda5298b1037ff64375654ad543bc86c6e7878b107f76acf0c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [2022-12-14T07:11:26.310Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121189 in /w/workspace/foundry_device-virtual-go_PR-322 [Pipeline] sh [Pipeline] { [Pipeline] ws [2022-12-14T07:11:26.415Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-12-14T07:11:26.491Z] The recommended git tool is: git [2022-12-14T07:11:26.600Z] ---> job-cost.sh [2022-12-14T07:11:26.600Z] lf-activate-venv: SKIPPING [2022-12-14T07:11:26.600Z] INFO: No Stack... [2022-12-14T07:11:27.537Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-14T07:11:27.796Z] INFO: Archiving Costs [Pipeline] sh [2022-12-14T07:11:28.128Z] + cat /w/workspace/foundry_device-virtual-go_PR-322/archives/cost.csv [2022-12-14T07:11:28.128Z] + cut -d, -f6 [Pipeline] lock [2022-12-14T07:11:28.167Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] [2022-12-14T07:11:28.171Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] did not exist. Created. [2022-12-14T07:11:28.171Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-14T07:11:28.569Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-14T07:11:28.617Z] Stashed 1 file(s) [Pipeline] } [2022-12-14T07:11:28.652Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-14T07:11:28.798Z] $ docker stop --time=1 dea288d8dab31dda5298b1037ff64375654ad543bc86c6e7878b107f76acf0c2 [2022-12-14T07:11:29.946Z] $ docker rm -f dea288d8dab31dda5298b1037ff64375654ad543bc86c6e7878b107f76acf0c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-14T07:11:31.323Z] using credential edgex-jenkins-ssh [2022-12-14T07:11:31.338Z] Cloning the remote Git repository [2022-12-14T07:11:31.377Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-12-14T07:11:31.454Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-12-14T07:11:31.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-12-14T07:11:31.589Z] > git --version # timeout=10 [2022-12-14T07:11:31.613Z] > git --version # 'git version 2.25.1' [2022-12-14T07:11:31.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-14T07:11:31.669Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-14T07:11:33.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-12-14T07:11:33.637Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-14T07:11:34.516Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-12-14T07:11:34.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-12-14T07:11:34.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-14T07:11:34.582Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-14T07:11:35.199Z] Merging remotes/origin/main commit 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 into PR head commit 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [2022-12-14T07:11:35.428Z] Merge succeeded, producing 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [2022-12-14T07:11:35.429Z] Checking out Revision 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 (PR-322) [2022-12-14T07:11:35.213Z] > git config core.sparsecheckout # timeout=10 [2022-12-14T07:11:35.235Z] > git checkout -f 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 # timeout=10 [2022-12-14T07:11:35.322Z] > git remote # timeout=10 [2022-12-14T07:11:35.342Z] > git config --get remote.origin.url # timeout=10 [2022-12-14T07:11:35.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-14T07:11:35.379Z] > git merge 0c2f1e9213ddf10d1b3316c025c729eab3a2bc23 # timeout=10 [2022-12-14T07:11:35.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-14T07:11:35.432Z] > git config core.sparsecheckout # timeout=10 [2022-12-14T07:11:35.449Z] > git checkout -f 6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 # timeout=10 [2022-12-14T07:11:38.899Z] Commit message: "refactor: update module to v3" [2022-12-14T07:11:38.952Z] > git --version # timeout=10 [2022-12-14T07:11:38.962Z] > git --version # 'git version 2.25.1' [2022-12-14T07:11:38.977Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-14T07:11:40.018Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-14T07:11:40.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-14T07:11:40.019Z] Dload Upload Total Spent Left Speed [2022-12-14T07:11:40.019Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93072 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2022-12-14T07:11:40.704Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-14T07:11:41.049Z] + sudo tee /etc/docker/daemon.new [2022-12-14T07:11:41.049Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-14T07:11:41.049Z] { [2022-12-14T07:11:41.049Z] "registry-mirrors": [ [2022-12-14T07:11:41.049Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-14T07:11:41.049Z] ], [2022-12-14T07:11:41.049Z] "bip": "10.250.0.254/24", [2022-12-14T07:11:41.049Z] "hosts": [ [2022-12-14T07:11:41.049Z] "tcp://0.0.0.0:5555", [2022-12-14T07:11:41.049Z] "unix:///var/run/docker.sock" [2022-12-14T07:11:41.049Z] ], [2022-12-14T07:11:41.049Z] "mtu": 1458, [2022-12-14T07:11:41.049Z] "selinux-enabled": true, [2022-12-14T07:11:41.049Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-14T07:11:41.049Z] } [Pipeline] sh [2022-12-14T07:11:41.399Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-14T07:11:41.744Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-14T07:12:00.071Z] provisioning config files... [2022-12-14T07:12:00.097Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8449674336742195640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:12:00.473Z] ---> docker-login.sh [2022-12-14T07:12:00.473Z] nexus3.edgexfoundry.org:10001 [2022-12-14T07:12:01.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:12:01.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:12:01.063Z] Configure a credential helper to remove this warning. See [2022-12-14T07:12:01.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:12:01.063Z] [2022-12-14T07:12:01.063Z] Login Succeeded [2022-12-14T07:12:01.063Z] nexus3.edgexfoundry.org:10002 [2022-12-14T07:12:01.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:12:01.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:12:01.332Z] Configure a credential helper to remove this warning. See [2022-12-14T07:12:01.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:12:01.332Z] [2022-12-14T07:12:01.332Z] Login Succeeded [2022-12-14T07:12:01.602Z] nexus3.edgexfoundry.org:10003 [2022-12-14T07:12:01.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:12:01.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:12:01.874Z] Configure a credential helper to remove this warning. See [2022-12-14T07:12:01.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:12:01.874Z] [2022-12-14T07:12:01.874Z] Login Succeeded [2022-12-14T07:12:01.874Z] nexus3.edgexfoundry.org:10004 [2022-12-14T07:12:02.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:12:02.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:12:02.145Z] Configure a credential helper to remove this warning. See [2022-12-14T07:12:02.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:12:02.145Z] [2022-12-14T07:12:02.145Z] Login Succeeded [2022-12-14T07:12:02.145Z] docker.io [2022-12-14T07:12:02.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-14T07:12:02.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-14T07:12:02.681Z] Configure a credential helper to remove this warning. See [2022-12-14T07:12:02.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-14T07:12:02.681Z] [2022-12-14T07:12:02.681Z] Login Succeeded [2022-12-14T07:12:02.681Z] ---> docker-login.sh ends [Pipeline] } [2022-12-14T07:12:02.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-14T07:12:03.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T07:12:03.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-14T07:12:03.106Z] ========================================================= [2022-12-14T07:12:03.106Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-14T07:12:03.106Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:12:03.587Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-12-14T07:12:03.858Z] Sending build context to Docker daemon 11.85MB [2022-12-14T07:12:03.858Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T07:12:03.858Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-14T07:12:04.130Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-14T07:12:04.130Z] 9b18e9b68314: Pulling fs layer [2022-12-14T07:12:04.130Z] 35d82f9e3411: Pulling fs layer [2022-12-14T07:12:04.130Z] e16973657156: Pulling fs layer [2022-12-14T07:12:04.130Z] fc693d55d65f: Pulling fs layer [2022-12-14T07:12:04.130Z] 7e9fc2657dce: Pulling fs layer [2022-12-14T07:12:04.130Z] dda99020689f: Pulling fs layer [2022-12-14T07:12:04.130Z] db1c61fa0a46: Pulling fs layer [2022-12-14T07:12:04.130Z] 891c053d2c06: Pulling fs layer [2022-12-14T07:12:04.130Z] fc693d55d65f: Waiting [2022-12-14T07:12:04.130Z] db1c61fa0a46: Waiting [2022-12-14T07:12:04.130Z] 7e9fc2657dce: Waiting [2022-12-14T07:12:04.130Z] 891c053d2c06: Waiting [2022-12-14T07:12:04.130Z] dda99020689f: Waiting [2022-12-14T07:12:04.130Z] e16973657156: Download complete [2022-12-14T07:12:04.130Z] 35d82f9e3411: Verifying Checksum [2022-12-14T07:12:04.130Z] 35d82f9e3411: Download complete [2022-12-14T07:12:04.130Z] 7e9fc2657dce: Verifying Checksum [2022-12-14T07:12:04.130Z] 7e9fc2657dce: Download complete [2022-12-14T07:12:04.130Z] dda99020689f: Download complete [2022-12-14T07:12:04.130Z] 9b18e9b68314: Verifying Checksum [2022-12-14T07:12:04.130Z] 9b18e9b68314: Download complete [2022-12-14T07:12:05.126Z] 9b18e9b68314: Pull complete [2022-12-14T07:12:05.400Z] 891c053d2c06: Verifying Checksum [2022-12-14T07:12:05.400Z] 891c053d2c06: Download complete [2022-12-14T07:12:06.377Z] db1c61fa0a46: Download complete [2022-12-14T07:12:06.964Z] fc693d55d65f: Verifying Checksum [2022-12-14T07:12:06.964Z] fc693d55d65f: Download complete [2022-12-14T07:12:07.234Z] 35d82f9e3411: Pull complete [2022-12-14T07:12:07.504Z] e16973657156: Pull complete [2022-12-14T07:12:19.851Z] fc693d55d65f: Pull complete [2022-12-14T07:12:19.851Z] 7e9fc2657dce: Pull complete [2022-12-14T07:12:19.851Z] dda99020689f: Pull complete [2022-12-14T07:12:26.528Z] db1c61fa0a46: Pull complete [2022-12-14T07:12:27.947Z] 891c053d2c06: Pull complete [2022-12-14T07:12:27.948Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-14T07:12:27.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-14T07:12:27.948Z] ---> f96f9c87975a [2022-12-14T07:12:27.948Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T07:12:29.900Z] ---> Running in ac76e14b018a [2022-12-14T07:12:29.900Z] Removing intermediate container ac76e14b018a [2022-12-14T07:12:29.900Z] ---> 8b274e28adf7 [2022-12-14T07:12:29.900Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T07:12:29.900Z] ---> Running in 88a266bd6bfb [2022-12-14T07:12:30.172Z] Removing intermediate container 88a266bd6bfb [2022-12-14T07:12:30.172Z] ---> ada72dc02691 [2022-12-14T07:12:30.172Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-12-14T07:12:30.441Z] ---> Running in 3daeeb2acb1f [2022-12-14T07:12:30.710Z] Removing intermediate container 3daeeb2acb1f [2022-12-14T07:12:30.710Z] ---> 1da13c6043e9 [2022-12-14T07:12:30.710Z] Step 6/12 : WORKDIR /device-virtual-go [2022-12-14T07:12:30.710Z] ---> Running in ead903a0fd85 [2022-12-14T07:12:30.980Z] Removing intermediate container ead903a0fd85 [2022-12-14T07:12:30.980Z] ---> e78e68e71b30 [2022-12-14T07:12:30.980Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T07:12:30.980Z] ---> Running in b9c7864c9bc0 [2022-12-14T07:12:32.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-14T07:12:32.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-14T07:12:33.369Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-14T07:12:33.369Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-14T07:12:33.369Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-14T07:12:33.369Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-14T07:12:33.369Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T07:12:33.639Z] OK: 226 MiB in 55 packages [2022-12-14T07:12:34.604Z] Removing intermediate container b9c7864c9bc0 [2022-12-14T07:12:34.604Z] ---> 4fe9e753c595 [2022-12-14T07:12:34.604Z] Step 8/12 : COPY go.mod vendor* ./ [2022-12-14T07:12:34.875Z] ---> f61880e2d217 [2022-12-14T07:12:34.875Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T07:12:35.145Z] ---> Running in 81ffb1f84a93 [2022-12-14T07:13:31.584Z] Removing intermediate container 81ffb1f84a93 [2022-12-14T07:13:31.584Z] ---> 59fd665468a3 [2022-12-14T07:13:31.584Z] Step 10/12 : COPY . . [2022-12-14T07:13:31.584Z] ---> 5bed3f52886f [2022-12-14T07:13:31.584Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T07:13:31.584Z] ---> Running in a33493ad419b [2022-12-14T07:13:31.584Z] Removing intermediate container a33493ad419b [2022-12-14T07:13:31.584Z] ---> 5db8f9f3901b [2022-12-14T07:13:31.584Z] Step 12/12 : RUN $MAKE [2022-12-14T07:13:31.584Z] ---> Running in d615b6a30999 [2022-12-14T07:13:31.584Z] noop [2022-12-14T07:13:31.584Z] Removing intermediate container d615b6a30999 [2022-12-14T07:13:31.584Z] ---> cf2013494bae [2022-12-14T07:13:31.584Z] Successfully built cf2013494bae [2022-12-14T07:13:31.584Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:13:32.053Z] + docker inspect -f . ci-base-image-arm64 [2022-12-14T07:13:32.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:13:32.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-121189 does not seem to be running inside a container [2022-12-14T07:13:32.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-14T07:13:33.440Z] $ docker top cd8f52e3a348074f3ec977a434b5545dcacd9465981f2b7affd173611a3ca1ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T07:13:34.295Z] + go version [2022-12-14T07:13:34.295Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-14T07:13:34.328Z] $ docker stop --time=1 cd8f52e3a348074f3ec977a434b5545dcacd9465981f2b7affd173611a3ca1ef [2022-12-14T07:13:35.922Z] $ docker rm -f cd8f52e3a348074f3ec977a434b5545dcacd9465981f2b7affd173611a3ca1ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:13:36.760Z] + docker inspect -f . ci-base-image-arm64 [2022-12-14T07:13:36.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:13:37.000Z] prd-ubuntu20.04-docker-arm64-4c-16g-121189 does not seem to be running inside a container [2022-12-14T07:13:37.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-14T07:13:38.180Z] $ docker top 8568d1ac6d3106ae477eb050ae34cae0152199e6796642925c87801423b60999 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T07:13:38.732Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-14T07:13:39.125Z] + make test [2022-12-14T07:13:39.396Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-12-14T07:13:40.830Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-12-14T07:15:02.466Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-12-14T07:15:02.466Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.123s coverage: 65.7% of statements [2022-12-14T07:15:02.466Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-14T07:15:02.466Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-14T07:15:20.705Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-14T07:15:20.705Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-14T07:15:20.705Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-14T07:15:20.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-14T07:15:20.774Z] $ docker stop --time=1 8568d1ac6d3106ae477eb050ae34cae0152199e6796642925c87801423b60999 [2022-12-14T07:15:22.598Z] $ docker rm -f 8568d1ac6d3106ae477eb050ae34cae0152199e6796642925c87801423b60999 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-14T07:15:23.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-14T07:15:23.647Z] Warning: overwriting stash ‘coverage-report’ [2022-12-14T07:15:24.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-14T07:15:24.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-14T07:15:25.025Z] + ls -al . [2022-12-14T07:15:25.025Z] total 200 [2022-12-14T07:15:25.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 07:13 . [2022-12-14T07:15:25.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 07:11 .. [2022-12-14T07:15:25.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 07:11 .git [2022-12-14T07:15:25.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 07:11 .github [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 337 Dec 14 07:11 .gitignore [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 14 07:11 .golangci.yml [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 8527 Dec 14 07:11 Attribution.txt [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 11367 Dec 14 07:11 CHANGELOG.md [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 1709 Dec 14 07:11 Dockerfile [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 07:11 GOVERNANCE.md [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 660 Dec 14 07:11 Jenkinsfile [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 14 07:11 LICENSE [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 2457 Dec 14 07:11 Makefile [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 623 Dec 14 07:11 OWNERS.md [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 3578 Dec 14 07:11 README.md [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 07:09 VERSION [2022-12-14T07:15:25.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 07:11 bin [2022-12-14T07:15:25.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 07:11 cmd [2022-12-14T07:15:25.025Z] -rw-r--r-- 1 jenkins jenkins 44128 Dec 14 07:14 coverage.out [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 3340 Dec 14 07:11 go.mod [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 44412 Dec 14 07:11 go.sum [2022-12-14T07:15:25.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 07:11 internal [2022-12-14T07:15:25.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 07:11 snap [2022-12-14T07:15:25.025Z] -rw-rw-r-- 1 jenkins jenkins 235 Dec 14 07:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:15:25.438Z] + 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=6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 --label arch=arm64 --label version=0.0.0 . [2022-12-14T07:15:25.706Z] Sending build context to Docker daemon 11.9MB [2022-12-14T07:15:25.974Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-12-14T07:15:25.974Z] Step 2/25 : FROM ${BASE} AS builder [2022-12-14T07:15:25.974Z] ---> cf2013494bae [2022-12-14T07:15:25.974Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-14T07:15:25.974Z] ---> Running in 6e708e396d46 [2022-12-14T07:15:26.242Z] Removing intermediate container 6e708e396d46 [2022-12-14T07:15:26.242Z] ---> 11ee383d20d0 [2022-12-14T07:15:26.242Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-12-14T07:15:26.242Z] ---> Running in f355e3ccb9a3 [2022-12-14T07:15:26.832Z] Removing intermediate container f355e3ccb9a3 [2022-12-14T07:15:26.832Z] ---> 54520c25217d [2022-12-14T07:15:26.832Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-12-14T07:15:26.832Z] ---> Running in 5ffc7735e64b [2022-12-14T07:15:27.101Z] Removing intermediate container 5ffc7735e64b [2022-12-14T07:15:27.101Z] ---> 78538d76ff8a [2022-12-14T07:15:27.101Z] Step 6/25 : WORKDIR /device-virtual-go [2022-12-14T07:15:27.101Z] ---> Running in 423f16c76a65 [2022-12-14T07:15:27.370Z] Removing intermediate container 423f16c76a65 [2022-12-14T07:15:27.370Z] ---> aead7145918c [2022-12-14T07:15:27.370Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-14T07:15:27.370Z] ---> Running in 77b1c75c764d [2022-12-14T07:15:28.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-14T07:15:28.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-14T07:15:29.746Z] OK: 226 MiB in 55 packages [2022-12-14T07:15:30.709Z] Removing intermediate container 77b1c75c764d [2022-12-14T07:15:30.709Z] ---> d70c2bdd2250 [2022-12-14T07:15:30.709Z] Step 8/25 : COPY go.mod vendor* ./ [2022-12-14T07:15:30.977Z] ---> ceef7d4b2933 [2022-12-14T07:15:30.977Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-14T07:15:31.244Z] ---> Running in 905a6142da25 [2022-12-14T07:15:33.195Z] Removing intermediate container 905a6142da25 [2022-12-14T07:15:33.195Z] ---> 08bda2953685 [2022-12-14T07:15:33.195Z] Step 10/25 : COPY . . [2022-12-14T07:15:34.161Z] ---> 786b2b278858 [2022-12-14T07:15:34.161Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-14T07:15:34.431Z] ---> Running in e3a1a79a9b4a [2022-12-14T07:15:34.698Z] Removing intermediate container e3a1a79a9b4a [2022-12-14T07:15:34.698Z] ---> 595d40e7c035 [2022-12-14T07:15:34.698Z] Step 12/25 : RUN $MAKE [2022-12-14T07:15:34.698Z] ---> Running in daf0aff0d01a [2022-12-14T07:15:35.662Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-12-14T07:18:12.532Z] Removing intermediate container daf0aff0d01a [2022-12-14T07:18:12.532Z] ---> 00b377c1e82f [2022-12-14T07:18:12.532Z] Step 13/25 : FROM alpine:3.16 [2022-12-14T07:18:12.532Z] 3.16: Pulling from library/alpine [2022-12-14T07:18:12.532Z] 6875df1f5354: Pulling fs layer [2022-12-14T07:18:12.532Z] 6875df1f5354: Verifying Checksum [2022-12-14T07:18:12.532Z] 6875df1f5354: Download complete [2022-12-14T07:18:12.532Z] 6875df1f5354: Pull complete [2022-12-14T07:18:12.532Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-14T07:18:12.532Z] Status: Downloaded newer image for alpine:3.16 [2022-12-14T07:18:12.532Z] ---> 2b4661558fb8 [2022-12-14T07:18:12.532Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-12-14T07:18:12.532Z] ---> Running in 1423fee4e70d [2022-12-14T07:18:12.532Z] Removing intermediate container 1423fee4e70d [2022-12-14T07:18:12.532Z] ---> 37dbc190d160 [2022-12-14T07:18:12.532Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-14T07:18:12.532Z] ---> Running in 2e32fed7a532 [2022-12-14T07:18:12.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-14T07:18:12.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-14T07:18:12.532Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-14T07:18:12.532Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-14T07:18:12.532Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-14T07:18:12.532Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-14T07:18:12.532Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-14T07:18:12.532Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-14T07:18:12.532Z] Executing busybox-1.35.0-r17.trigger [2022-12-14T07:18:12.532Z] OK: 8 MiB in 20 packages [2022-12-14T07:18:12.532Z] Removing intermediate container 2e32fed7a532 [2022-12-14T07:18:12.532Z] ---> e914b41c3ae3 [2022-12-14T07:18:12.532Z] Step 16/25 : WORKDIR / [2022-12-14T07:18:12.532Z] ---> Running in ac599109363f [2022-12-14T07:18:12.532Z] Removing intermediate container ac599109363f [2022-12-14T07:18:12.532Z] ---> b10a46efab8d [2022-12-14T07:18:12.532Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-12-14T07:18:12.532Z] ---> b1ad349f4159 [2022-12-14T07:18:12.532Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-12-14T07:18:12.532Z] ---> 88be40d91f48 [2022-12-14T07:18:12.532Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-12-14T07:18:12.532Z] ---> b043471c9607 [2022-12-14T07:18:12.532Z] Step 20/25 : EXPOSE 59900 [2022-12-14T07:18:12.532Z] ---> Running in 479c9cad63f0 [2022-12-14T07:18:12.532Z] Removing intermediate container 479c9cad63f0 [2022-12-14T07:18:12.532Z] ---> f4f55ba00e8e [2022-12-14T07:18:12.532Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-12-14T07:18:12.532Z] ---> Running in 90c6b43712b3 [2022-12-14T07:18:12.532Z] Removing intermediate container 90c6b43712b3 [2022-12-14T07:18:12.532Z] ---> 9c54ef115bc2 [2022-12-14T07:18:12.532Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-14T07:18:12.532Z] ---> Running in aa0ba5ecea0d [2022-12-14T07:18:12.532Z] Removing intermediate container aa0ba5ecea0d [2022-12-14T07:18:12.532Z] ---> eb2f69b0d8f4 [2022-12-14T07:18:12.532Z] Step 23/25 : LABEL arch=arm64 [2022-12-14T07:18:12.532Z] ---> Running in 78a1ed6804f9 [2022-12-14T07:18:12.532Z] Removing intermediate container 78a1ed6804f9 [2022-12-14T07:18:12.532Z] ---> 9441f877da02 [2022-12-14T07:18:12.532Z] Step 24/25 : LABEL git_sha=6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [2022-12-14T07:18:12.532Z] ---> Running in 94e26ab8e9ca [2022-12-14T07:18:12.799Z] Removing intermediate container 94e26ab8e9ca [2022-12-14T07:18:12.799Z] ---> 4a9f48a08075 [2022-12-14T07:18:12.799Z] Step 25/25 : LABEL version=0.0.0 [2022-12-14T07:18:12.799Z] ---> Running in 6eb443911b6f [2022-12-14T07:18:13.065Z] Removing intermediate container 6eb443911b6f [2022-12-14T07:18:13.065Z] ---> af991fe962bc [2022-12-14T07:18:13.065Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-14T07:18:13.065Z] Successfully built af991fe962bc [2022-12-14T07:18:13.065Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:18:13.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-14T07:18:13.892Z] [2022-12-14T07:18:13.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:18:14.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-14T07:18:14.294Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-14T07:18:14.294Z] 8998bd30e6a1: Pulling fs layer [2022-12-14T07:18:14.294Z] 04944245beec: Pulling fs layer [2022-12-14T07:18:14.294Z] 699f458cf7ca: Pulling fs layer [2022-12-14T07:18:14.294Z] 765212b225bb: Pulling fs layer [2022-12-14T07:18:14.294Z] f23df028b6ca: Pulling fs layer [2022-12-14T07:18:14.294Z] d65c8cfc05b1: Pulling fs layer [2022-12-14T07:18:14.294Z] 2437ff75d9bd: Pulling fs layer [2022-12-14T07:18:14.294Z] 765212b225bb: Waiting [2022-12-14T07:18:14.294Z] f23df028b6ca: Waiting [2022-12-14T07:18:14.294Z] d65c8cfc05b1: Waiting [2022-12-14T07:18:14.294Z] 2437ff75d9bd: Waiting [2022-12-14T07:18:14.566Z] 04944245beec: Verifying Checksum [2022-12-14T07:18:14.566Z] 04944245beec: Download complete [2022-12-14T07:18:14.566Z] 765212b225bb: Verifying Checksum [2022-12-14T07:18:14.566Z] 765212b225bb: Download complete [2022-12-14T07:18:14.566Z] f23df028b6ca: Download complete [2022-12-14T07:18:14.566Z] d65c8cfc05b1: Download complete [2022-12-14T07:18:14.836Z] 699f458cf7ca: Verifying Checksum [2022-12-14T07:18:14.836Z] 699f458cf7ca: Download complete [2022-12-14T07:18:15.105Z] 8998bd30e6a1: Verifying Checksum [2022-12-14T07:18:15.105Z] 8998bd30e6a1: Download complete [2022-12-14T07:18:17.697Z] 2437ff75d9bd: Verifying Checksum [2022-12-14T07:18:17.697Z] 2437ff75d9bd: Download complete [2022-12-14T07:18:19.106Z] 8998bd30e6a1: Pull complete [2022-12-14T07:18:19.373Z] 04944245beec: Pull complete [2022-12-14T07:18:20.783Z] 699f458cf7ca: Pull complete [2022-12-14T07:18:20.783Z] 765212b225bb: Pull complete [2022-12-14T07:18:21.739Z] f23df028b6ca: Pull complete [2022-12-14T07:18:21.739Z] d65c8cfc05b1: Pull complete [2022-12-14T07:18:36.727Z] 2437ff75d9bd: Pull complete [2022-12-14T07:18:36.727Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-14T07:18:36.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-14T07:18:36.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:18:37.141Z] prd-ubuntu20.04-docker-arm64-4c-16g-121189 does not seem to be running inside a container [2022-12-14T07:18:37.195Z] $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-14T07:18:39.592Z] $ docker top 40fda2d5bed981a2b5a0679c7139e6e40981802d4b2b86c53bc8a88cd0b781e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:40.149Z] ---> job-cost.sh [2022-12-14T07:18:40.415Z] lf-activate-venv: SKIPPING [2022-12-14T07:18:40.415Z] INFO: No Stack... [2022-12-14T07:18:40.679Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-14T07:18:41.633Z] INFO: Archiving Costs [Pipeline] sh [2022-12-14T07:18:41.969Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-12-14T07:18:41.969Z] + cut -d, -f6 [Pipeline] lock [2022-12-14T07:18:42.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] [2022-12-14T07:18:42.047Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] did not exist. Created. [2022-12-14T07:18:42.047Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-14T07:18:42.445Z] /w/workspace/device-virtual-go/1@tmp/durable-738bcc4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-14T07:18:42.788Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-14T07:18:42.827Z] Warning: overwriting stash ‘stack-cost’ [2022-12-14T07:18:42.872Z] Stashed 1 file(s) [Pipeline] } [2022-12-14T07:18:42.885Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-322-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-14T07:18:42.949Z] $ docker stop --time=1 40fda2d5bed981a2b5a0679c7139e6e40981802d4b2b86c53bc8a88cd0b781e7 [2022-12-14T07:18:44.420Z] $ docker rm -f 40fda2d5bed981a2b5a0679c7139e6e40981802d4b2b86c53bc8a88cd0b781e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-14T07:18:45.324Z] provisioning config files... [2022-12-14T07:18:45.332Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-322@tmp/config14464626884985088768tmp [Pipeline] { [Pipeline] sh [2022-12-14T07:18:45.661Z] + set +x [2022-12-14T07:18:45.661Z] + curl -s https://codecov.io/bash [2022-12-14T07:18:45.661Z] + bash -s -- [2022-12-14T07:18:45.661Z] [2022-12-14T07:18:45.661Z] _____ _ [2022-12-14T07:18:45.661Z] / ____| | | [2022-12-14T07:18:45.661Z] | | ___ __| | ___ ___ _____ __ [2022-12-14T07:18:45.661Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-14T07:18:45.661Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-14T07:18:45.661Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-14T07:18:45.661Z] Bash-1.0.6 [2022-12-14T07:18:45.661Z] [2022-12-14T07:18:45.661Z] [2022-12-14T07:18:45.661Z] ==> git version 2.25.1 found [2022-12-14T07:18:45.661Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-14T07:18:45.661Z] Release-Date: 2020-01-08 [2022-12-14T07:18:45.661Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-14T07:18:45.661Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-14T07:18:45.661Z] ==> Jenkins CI detected. [2022-12-14T07:18:45.661Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-322 [2022-12-14T07:18:45.661Z] project root: . [2022-12-14T07:18:45.661Z] --> token set from env [2022-12-14T07:18:45.661Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-14T07:18:45.661Z] ==> Running gcov in . (disable via -X gcov) [2022-12-14T07:18:45.661Z] ==> Python coveragepy not found [2022-12-14T07:18:45.661Z] ==> Searching for coverage reports in: [2022-12-14T07:18:45.661Z] + . [2022-12-14T07:18:45.661Z] -> Found 1 reports [2022-12-14T07:18:45.661Z] ==> Detecting git/mercurial file structure [2022-12-14T07:18:45.661Z] ==> Reading reports [2022-12-14T07:18:45.661Z] + ./coverage.out bytes=44128 [2022-12-14T07:18:45.661Z] ==> Appending adjustments [2022-12-14T07:18:45.661Z] https://docs.codecov.io/docs/fixing-reports [2022-12-14T07:18:45.920Z] + Found adjustments [2022-12-14T07:18:45.920Z] ==> Gzipping contents [2022-12-14T07:18:45.920Z] 8.0K /tmp/codecov.cJUxNJ.gz [2022-12-14T07:18:45.920Z] ==> Uploading reports [2022-12-14T07:18:45.920Z] url: https://codecov.io [2022-12-14T07:18:45.920Z] query: branch=PR-322&commit=6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=322&job=&cmd_args= [2022-12-14T07:18:45.920Z] -> Pinging Codecov [2022-12-14T07:18:45.920Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-322&commit=6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-322%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=322&job=&cmd_args= [2022-12-14T07:18:46.180Z] -> Uploading to [2022-12-14T07:18:46.180Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-14/5E52B4B073DB2E39498172D8E973AA87/6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55/6dcf4000-d583-4bb1-a001-f50dc15bde7d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T071846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04a1e316e82efada180f32575eb4a04a99df23490ce59ebaf27f7bded8d13127 [2022-12-14T07:18:46.180Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-14T07:18:46.180Z] Dload Upload Total Spent Left Speed [2022-12-14T07:18:46.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5481 0 0 100 5481 0 24039 --:--:-- --:--:-- --:--:-- 23934 100 5481 0 0 100 5481 0 23830 --:--:-- --:--:-- --:--:-- 23727 [2022-12-14T07:18:46.440Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6a82d9e4456b4f7ca90b395e6b6ea8ad462e5a55 [Pipeline] } [2022-12-14T07:18:46.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-14T07:18:48.210Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-322/archives ] [2022-12-14T07:18:48.210Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-322/archives [2022-12-14T07:18:48.210Z] total 16 [2022-12-14T07:18:48.210Z] drwxr-xr-x 3 root root 4096 Dec 14 07:11 . [2022-12-14T07:18:48.210Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 07:11 .. [2022-12-14T07:18:48.210Z] drwxr-xr-x 2 root root 4096 Dec 14 07:11 cost [2022-12-14T07:18:48.210Z] -rw-r--r-- 1 root root 89 Dec 14 07:11 cost.csv [2022-12-14T07:18:48.210Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-322/archives [2022-12-14T07:18:48.210Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-322/archives [2022-12-14T07:18:48.210Z] total 16 [2022-12-14T07:18:48.210Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 07:11 . [2022-12-14T07:18:48.210Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 07:11 .. [2022-12-14T07:18:48.210Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 07:11 cost [2022-12-14T07:18:48.210Z] -rw-r--r-- 1 jenkins jenkins 89 Dec 14 07:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:48.540Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:49.427Z] ---> package-listing.sh [2022-12-14T07:18:49.427Z] ++ facter osfamily [2022-12-14T07:18:49.427Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-14T07:18:49.686Z] + OS_FAMILY=debian [2022-12-14T07:18:49.686Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-322 [2022-12-14T07:18:49.686Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-14T07:18:49.686Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-14T07:18:49.686Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-14T07:18:49.686Z] + PACKAGES=/tmp/packages_start.txt [2022-12-14T07:18:49.686Z] + '[' /w/workspace/foundry_device-virtual-go_PR-322 ']' [2022-12-14T07:18:49.686Z] + PACKAGES=/tmp/packages_end.txt [2022-12-14T07:18:49.686Z] + case "${OS_FAMILY}" in [2022-12-14T07:18:49.686Z] + dpkg -l [2022-12-14T07:18:49.686Z] + grep '^ii' [2022-12-14T07:18:49.686Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-14T07:18:49.686Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-14T07:18:49.686Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-14T07:18:49.686Z] + '[' /w/workspace/foundry_device-virtual-go_PR-322 ']' [2022-12-14T07:18:49.686Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-322/archives/ [2022-12-14T07:18:49.686Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-322/archives/ [Pipeline] echo [2022-12-14T07:18:49.723Z] 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/foundry_device-virtual-go_PR-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-14T07:18:50.013Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-14T07:18:50.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-14T07:18:50.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-14T07:18:50.765Z] prd-ubuntu20.04-docker-8c-8g-121188 does not seem to be running inside a container [2022-12-14T07:18:50.794Z] $ 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/foundry_device-virtual-go_PR-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-322 -v /w/workspace/foundry_device-virtual-go_PR-322:/w/workspace/foundry_device-virtual-go_PR-322:rw,z -v /w/workspace/foundry_device-virtual-go_PR-322@tmp:/w/workspace/foundry_device-virtual-go_PR-322@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-14T07:18:50.997Z] $ docker top 89d5d78bfd20e3fb24f6c8b35e8b92b27ccf5d3cb54384ca607709b9376de909 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-14T07:18:51.388Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-14T07:18:51.694Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-14T07:18:52.002Z] + ls /var/log/sa-host [2022-12-14T07:18:52.002Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-14T07:18:52.214Z] provisioning config files... [2022-12-14T07:18:52.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-322@tmp/config9706241672359837739tmp [Pipeline] { [Pipeline] echo [2022-12-14T07:18:52.273Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:52.581Z] ---> create-netrc.sh [Pipeline] } [2022-12-14T07:18:52.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:53.012Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-14T07:18:53.042Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:53.350Z] ---> sudo-logs.sh [2022-12-14T07:18:53.350Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-14T07:18:53.435Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:53.746Z] ---> job-cost.sh [2022-12-14T07:18:53.746Z] lf-activate-venv: SKIPPING [2022-12-14T07:18:53.746Z] DEBUG: total: 0.2199999988079071 [2022-12-14T07:18:53.746Z] INFO: Retrieving Stack Cost... [2022-12-14T07:18:54.314Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-14T07:18:54.577Z] INFO: Archiving Costs [Pipeline] echo [2022-12-14T07:18:54.619Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-14T07:18:54.931Z] ---> logs-deploy.sh [2022-12-14T07:18:54.931Z] lf-activate-venv: SKIPPING [2022-12-14T07:18:54.931Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-322/1 [2022-12-14T07:18:54.931Z] INFO: archiving workspace using pattern(s): [2022-12-14T07:18:55.868Z] Archives upload complete. [2022-12-14T07:18:55.868Z] INFO: archiving logs to Nexus