Pull request #287 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than 233f1c456e102289b839942e917dfe041468284f Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh12110380392570341583.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh866911320932652761.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-287/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-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7556983667907943494.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-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13728723298756690265.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh17542804962518209052.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-287/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-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15753173147801711131.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-546 in /w/workspace/foundry_device-virtual-go_PR-287 [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-287 # 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 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 233f1c456e102289b839942e917dfe041468284f Merge succeeded, producing 233f1c456e102289b839942e917dfe041468284f Checking out Revision 233f1c456e102289b839942e917dfe041468284f (PR-287) > 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/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 233f1c456e102289b839942e917dfe041468284f # 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 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 233f1c456e102289b839942e917dfe041468284f # timeout=10 Commit message: "feat(snap): Add snap packaing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T14:49:30.773Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T14:49:30.956Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T14:49:31.050Z] ========================================================= [2022-06-01T14:49:31.050Z] EdgeX Global Pipelines Version Info [2022-06-01T14:49:31.050Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:49:31.841Z] ------------------- [2022-06-01T14:49:31.841Z] stable info: [2022-06-01T14:49:31.841Z] ------------------- [2022-06-01T14:49:31.841Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T14:49:31.841Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T14:49:31.841Z] Message: update stable to v1.0.230 [2022-06-01T14:49:32.415Z] ------------------- [2022-06-01T14:49:32.415Z] experimental info: [2022-06-01T14:49:32.415Z] ------------------- [2022-06-01T14:49:32.415Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T14:49:32.415Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T14:49:32.415Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T14:49:32.817Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-01T14:49:32.858Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-01T14:49:32.896Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T14:49:32.942Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T14:49:32.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T14:49:33.019Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T14:49:33.060Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T14:49:33.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T14:49:33.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T14:49:33.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T14:49:33.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T14:49:33.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-01T14:49:33.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T14:49:33.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T14:49:33.388Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T14:49:33.428Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T14:49:33.467Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T14:49:33.506Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T14:49:33.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T14:49:33.584Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-01T14:49:33.619Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T14:49:33.655Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T14:49:33.693Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T14:49:33.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T14:49:33.767Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T14:49:33.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T14:49:33.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-01T14:49:33.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-01T14:49:33.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-01T14:49:33.961Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 233f1c456e102289b839942e917dfe041468284f [Pipeline] echo [2022-06-01T14:49:33.998Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 233f1c4 [Pipeline] echo [2022-06-01T14:49:34.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T14:49:34.140Z] provisioning config files... [2022-06-01T14:49:34.158Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config8746088849959430655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:49:34.513Z] ---> docker-login.sh [2022-06-01T14:49:34.513Z] nexus3.edgexfoundry.org:10001 [2022-06-01T14:49:34.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:34.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:34.776Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:34.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:34.776Z] [2022-06-01T14:49:34.776Z] Login Succeeded [2022-06-01T14:49:34.776Z] nexus3.edgexfoundry.org:10002 [2022-06-01T14:49:35.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:35.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:35.039Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:35.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:35.039Z] [2022-06-01T14:49:35.039Z] Login Succeeded [2022-06-01T14:49:35.039Z] nexus3.edgexfoundry.org:10003 [2022-06-01T14:49:35.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:35.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:35.301Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:35.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:35.301Z] [2022-06-01T14:49:35.301Z] Login Succeeded [2022-06-01T14:49:35.301Z] nexus3.edgexfoundry.org:10004 [2022-06-01T14:49:35.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:35.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:35.301Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:35.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:35.301Z] [2022-06-01T14:49:35.301Z] Login Succeeded [2022-06-01T14:49:35.301Z] docker.io [2022-06-01T14:49:35.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:35.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:35.877Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:35.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:35.877Z] [2022-06-01T14:49:35.877Z] Login Succeeded [2022-06-01T14:49:35.877Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T14:49:35.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T14:49:36.505Z] + git rev-list -1 --merges 233f1c456e102289b839942e917dfe041468284f~1..233f1c456e102289b839942e917dfe041468284f [Pipeline] echo [2022-06-01T14:49:36.555Z] -----------> git rev-list -1 --merges 233f1c456e102289b839942e917dfe041468284f~1..233f1c456e102289b839942e917dfe041468284f 233f1c456e102289b839942e917dfe041468284f [false] [Pipeline] sh [2022-06-01T14:49:36.870Z] + git log --format=format:%s -1 233f1c456e102289b839942e917dfe041468284f [Pipeline] echo [2022-06-01T14:49:36.904Z] ========================================================= [2022-06-01T14:49:36.904Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T14:49:36.904Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T14:49:37.345Z] + git log --format=format:%s -1 233f1c456e102289b839942e917dfe041468284f [Pipeline] echo [2022-06-01T14:49:37.375Z] [semverPrep] GIT_COMMIT: 233f1c456e102289b839942e917dfe041468284f, Commit Message: feat(snap): Add snap packaing [Pipeline] echo [2022-06-01T14:49:37.405Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T14:49:37.806Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T14:49:37.806Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T14:49:37.806Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T14:49:37.806Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T14:49:37.806Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T14:49:37.806Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T14:49:37.806Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:49:38.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T14:49:38.296Z] [2022-06-01T14:49:38.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:49:38.677Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T14:49:38.677Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T14:49:38.677Z] 1fe172e4850f: Pulling fs layer [2022-06-01T14:49:38.677Z] caf521ccaac6: Pulling fs layer [2022-06-01T14:49:38.677Z] 3ead6fa29328: Pulling fs layer [2022-06-01T14:49:38.677Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T14:49:38.677Z] a8d5f1318db7: Pulling fs layer [2022-06-01T14:49:38.677Z] c427282e49a2: Pulling fs layer [2022-06-01T14:49:38.677Z] 1827001aaf11: Pulling fs layer [2022-06-01T14:49:38.677Z] 0714d37db230: Pulling fs layer [2022-06-01T14:49:38.677Z] ac28cf19c067: Pulling fs layer [2022-06-01T14:49:38.677Z] c427282e49a2: Waiting [2022-06-01T14:49:38.677Z] 5c2a1cbceb83: Waiting [2022-06-01T14:49:38.677Z] a8d5f1318db7: Waiting [2022-06-01T14:49:38.677Z] 1827001aaf11: Waiting [2022-06-01T14:49:38.677Z] ac28cf19c067: Waiting [2022-06-01T14:49:38.677Z] ca983d60f3e2: Pulling fs layer [2022-06-01T14:49:38.677Z] 9f894cec8388: Pulling fs layer [2022-06-01T14:49:38.677Z] 9f894cec8388: Waiting [2022-06-01T14:49:38.677Z] ca983d60f3e2: Waiting [2022-06-01T14:49:38.677Z] caf521ccaac6: Download complete [2022-06-01T14:49:38.677Z] 5c2a1cbceb83: Download complete [2022-06-01T14:49:38.938Z] a8d5f1318db7: Verifying Checksum [2022-06-01T14:49:38.938Z] a8d5f1318db7: Download complete [2022-06-01T14:49:38.938Z] c427282e49a2: Verifying Checksum [2022-06-01T14:49:38.938Z] c427282e49a2: Download complete [2022-06-01T14:49:38.938Z] 3ead6fa29328: Verifying Checksum [2022-06-01T14:49:38.938Z] 3ead6fa29328: Download complete [2022-06-01T14:49:38.938Z] 0714d37db230: Download complete [2022-06-01T14:49:38.938Z] ac28cf19c067: Verifying Checksum [2022-06-01T14:49:38.938Z] ac28cf19c067: Download complete [2022-06-01T14:49:38.938Z] ca983d60f3e2: Download complete [2022-06-01T14:49:38.938Z] 9f894cec8388: Download complete [2022-06-01T14:49:38.938Z] 1fe172e4850f: Verifying Checksum [2022-06-01T14:49:38.938Z] 1fe172e4850f: Download complete [2022-06-01T14:49:39.197Z] 1827001aaf11: Verifying Checksum [2022-06-01T14:49:39.197Z] 1827001aaf11: Download complete [2022-06-01T14:49:40.140Z] 1fe172e4850f: Pull complete [2022-06-01T14:49:40.400Z] caf521ccaac6: Pull complete [2022-06-01T14:49:40.970Z] 3ead6fa29328: Pull complete [2022-06-01T14:49:40.970Z] 5c2a1cbceb83: Pull complete [2022-06-01T14:49:41.229Z] a8d5f1318db7: Pull complete [2022-06-01T14:49:41.229Z] c427282e49a2: Pull complete [2022-06-01T14:49:43.138Z] 1827001aaf11: Pull complete [2022-06-01T14:49:43.138Z] 0714d37db230: Pull complete [2022-06-01T14:49:43.399Z] ac28cf19c067: Pull complete [2022-06-01T14:49:43.399Z] ca983d60f3e2: Pull complete [2022-06-01T14:49:43.660Z] 9f894cec8388: Pull complete [2022-06-01T14:49:43.660Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T14:49:43.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T14:49:43.660Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:49:43.890Z] prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container [2022-06-01T14:49:43.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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:latest cat [2022-06-01T14:49:45.445Z] $ docker top cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 -eo pid,comm [2022-06-01T14:49:45.524Z] 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-06-01T14:49:45.524Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T14:49:45.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T14:49:45.640Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T14:49:45.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T14:49:45.799Z] $ docker exec cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent [2022-06-01T14:49:45.928Z] SSH_AUTH_SOCK=/tmp/ssh-Tj87pIvPaFyB/agent.33 [2022-06-01T14:49:45.928Z] SSH_AGENT_PID=39 [2022-06-01T14:49:45.935Z] Running ssh-add (command line suppressed) [2022-06-01T14:49:46.063Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_8554492827372666133.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_8554492827372666133.key) [2022-06-01T14:49:46.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T14:49:46.407Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T14:49:46.439Z] $ docker exec --env ******** --env ******** cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent -k [2022-06-01T14:49:46.557Z] unset SSH_AUTH_SOCK; [2022-06-01T14:49:46.557Z] unset SSH_AGENT_PID; [2022-06-01T14:49:46.557Z] echo Agent pid 39 killed; [2022-06-01T14:49:46.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T14:49:46.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T14:49:46.651Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T14:49:46.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T14:49:46.787Z] $ docker exec cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent [2022-06-01T14:49:46.944Z] SSH_AUTH_SOCK=/tmp/ssh-sn02bsa6N6p1/agent.71 [2022-06-01T14:49:46.944Z] SSH_AGENT_PID=77 [2022-06-01T14:49:46.950Z] Running ssh-add (command line suppressed) [2022-06-01T14:49:47.071Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_329200352660956018.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_329200352660956018.key) [2022-06-01T14:49:47.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T14:49:47.423Z] + git semver init [2022-06-01T14:49:47.684Z] 2022-06-01 14:49:47,637 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T14:49:47.684Z] 2022-06-01 14:49:47,638 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-01T14:49:47.684Z] 2022-06-01 14:49:47,638 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-01T14:49:47.684Z] 2022-06-01 14:49:47,638 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,579 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,579 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,584 [execute] INFO git cat-file --batch-check [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,590 [execute] INFO git cat-file --batch [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T14:49:48.628Z] 2022-06-01 14:49:48,596 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-01T14:49:48.628Z] 0.0.0 [Pipeline] } [2022-06-01T14:49:48.663Z] $ docker exec --env ******** --env ******** cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 ssh-agent -k [2022-06-01T14:49:48.787Z] unset SSH_AUTH_SOCK; [2022-06-01T14:49:48.787Z] unset SSH_AGENT_PID; [2022-06-01T14:49:48.787Z] echo Agent pid 77 killed; [2022-06-01T14:49:48.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T14:49:49.218Z] + git semver [Pipeline] } [2022-06-01T14:49:49.513Z] $ docker stop --time=1 cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 [2022-06-01T14:49:50.837Z] $ docker rm -f cef7153f5b6791a077dd5c893d0261f1ee37dc57e84236e7929883cd29428896 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T14:49:51.252Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T14:49:51.552Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T14:49:51.569Z] [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-06-01T14:49:52.130Z] provisioning config files... [2022-06-01T14:49:52.141Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config9151591810602785088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:49:52.486Z] ---> docker-login.sh [2022-06-01T14:49:52.486Z] nexus3.edgexfoundry.org:10001 [2022-06-01T14:49:52.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:52.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:52.486Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:52.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:52.486Z] [2022-06-01T14:49:52.486Z] Login Succeeded [2022-06-01T14:49:52.486Z] nexus3.edgexfoundry.org:10002 [2022-06-01T14:49:52.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:52.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:52.748Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:52.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:52.748Z] [2022-06-01T14:49:52.748Z] Login Succeeded [2022-06-01T14:49:52.748Z] nexus3.edgexfoundry.org:10003 [2022-06-01T14:49:52.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:52.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:52.748Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:52.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:52.748Z] [2022-06-01T14:49:52.748Z] Login Succeeded [2022-06-01T14:49:52.748Z] nexus3.edgexfoundry.org:10004 [2022-06-01T14:49:52.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:53.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:53.009Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:53.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:53.009Z] [2022-06-01T14:49:53.009Z] Login Succeeded [2022-06-01T14:49:53.009Z] docker.io [2022-06-01T14:49:53.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:49:53.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:49:53.271Z] Configure a credential helper to remove this warning. See [2022-06-01T14:49:53.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:49:53.271Z] [2022-06-01T14:49:53.271Z] Login Succeeded [2022-06-01T14:49:53.271Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T14:49:53.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T14:49:53.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T14:49:53.517Z] ========================================================= [2022-06-01T14:49:53.517Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-01T14:49:53.517Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:49:53.981Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-01T14:49:53.981Z] Sending build context to Docker daemon 22.93MB [2022-06-01T14:49:53.981Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T14:49:53.981Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T14:49:54.247Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-01T14:49:54.247Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T14:49:54.247Z] 666ba61612fd: Pulling fs layer [2022-06-01T14:49:54.247Z] 8ed8ca486205: Pulling fs layer [2022-06-01T14:49:54.247Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T14:49:54.247Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T14:49:54.247Z] ca2b28591e48: Pulling fs layer [2022-06-01T14:49:54.247Z] a51346096db8: Pulling fs layer [2022-06-01T14:49:54.247Z] daebc70d1ce1: Pulling fs layer [2022-06-01T14:49:54.247Z] 0e18a0eac166: Pulling fs layer [2022-06-01T14:49:54.247Z] 4fe6c5a15a65: Waiting [2022-06-01T14:49:54.247Z] ca2b28591e48: Waiting [2022-06-01T14:49:54.247Z] 22a0e8bec74d: Waiting [2022-06-01T14:49:54.247Z] 0e18a0eac166: Waiting [2022-06-01T14:49:54.247Z] daebc70d1ce1: Waiting [2022-06-01T14:49:54.247Z] 8ed8ca486205: Verifying Checksum [2022-06-01T14:49:54.247Z] 666ba61612fd: Download complete [2022-06-01T14:49:54.247Z] 22a0e8bec74d: Verifying Checksum [2022-06-01T14:49:54.247Z] 22a0e8bec74d: Download complete [2022-06-01T14:49:54.247Z] ca2b28591e48: Download complete [2022-06-01T14:49:54.247Z] 59bf1c3509f3: Download complete [2022-06-01T14:49:54.247Z] a51346096db8: Verifying Checksum [2022-06-01T14:49:54.247Z] a51346096db8: Download complete [2022-06-01T14:49:54.247Z] daebc70d1ce1: Verifying Checksum [2022-06-01T14:49:54.247Z] daebc70d1ce1: Download complete [2022-06-01T14:49:54.247Z] 59bf1c3509f3: Pull complete [2022-06-01T14:49:54.509Z] 666ba61612fd: Pull complete [2022-06-01T14:49:54.509Z] 8ed8ca486205: Pull complete [2022-06-01T14:49:55.082Z] 0e18a0eac166: Verifying Checksum [2022-06-01T14:49:55.082Z] 0e18a0eac166: Download complete [2022-06-01T14:49:55.082Z] 4fe6c5a15a65: Verifying Checksum [2022-06-01T14:49:55.082Z] 4fe6c5a15a65: Download complete [2022-06-01T14:49:59.281Z] 4fe6c5a15a65: Pull complete [2022-06-01T14:49:59.281Z] 22a0e8bec74d: Pull complete [2022-06-01T14:49:59.281Z] ca2b28591e48: Pull complete [2022-06-01T14:49:59.281Z] a51346096db8: Pull complete [2022-06-01T14:49:59.281Z] daebc70d1ce1: Pull complete [2022-06-01T14:50:01.816Z] 0e18a0eac166: Pull complete [2022-06-01T14:50:01.816Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-01T14:50:01.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-01T14:50:01.816Z] ---> f018257e8ee9 [2022-06-01T14:50:01.816Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T14:50:03.207Z] ---> Running in 05d4e6db0784 [2022-06-01T14:50:03.207Z] Removing intermediate container 05d4e6db0784 [2022-06-01T14:50:03.207Z] ---> 1954f7c67efb [2022-06-01T14:50:03.207Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T14:50:03.207Z] ---> Running in c1230d51eb1d [2022-06-01T14:50:03.207Z] Removing intermediate container c1230d51eb1d [2022-06-01T14:50:03.207Z] ---> 7e99d3c07783 [2022-06-01T14:50:03.207Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-01T14:50:03.467Z] ---> Running in 23b5374d2cfc [2022-06-01T14:50:03.467Z] Removing intermediate container 23b5374d2cfc [2022-06-01T14:50:03.467Z] ---> 87050ad81122 [2022-06-01T14:50:03.467Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T14:50:03.467Z] ---> Running in 70eb02db5074 [2022-06-01T14:50:04.035Z] Removing intermediate container 70eb02db5074 [2022-06-01T14:50:04.035Z] ---> c09b404bf68e [2022-06-01T14:50:04.035Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T14:50:04.035Z] ---> Running in b90688e1b8b4 [2022-06-01T14:50:04.295Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T14:50:05.238Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T14:50:05.811Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T14:50:05.811Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T14:50:05.811Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T14:50:06.071Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T14:50:06.071Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T14:50:06.071Z] OK: 224 MiB in 56 packages [2022-06-01T14:50:06.653Z] Removing intermediate container b90688e1b8b4 [2022-06-01T14:50:06.653Z] ---> 7be139d7845c [2022-06-01T14:50:06.653Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-01T14:50:06.653Z] ---> 708d3bfafdcf [2022-06-01T14:50:06.653Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T14:50:06.914Z] ---> Running in 0eee08325021 [2022-06-01T14:50:06.970Z] Still waiting to schedule task [2022-06-01T14:50:06.970Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-01T14:50:21.825Z] Removing intermediate container 0eee08325021 [2022-06-01T14:50:21.825Z] ---> e8c84663012d [2022-06-01T14:50:21.825Z] Step 10/12 : COPY . . [2022-06-01T14:50:21.825Z] ---> df7d117b76bb [2022-06-01T14:50:21.825Z] Step 11/12 : ARG MAKE='make build' [2022-06-01T14:50:21.825Z] ---> Running in 9099a05b6788 [2022-06-01T14:50:21.825Z] Removing intermediate container 9099a05b6788 [2022-06-01T14:50:21.825Z] ---> 9d350d8e192a [2022-06-01T14:50:21.825Z] Step 12/12 : RUN $MAKE [2022-06-01T14:50:21.825Z] ---> Running in e6d48f1df21f [2022-06-01T14:50:21.825Z] noop [2022-06-01T14:50:22.087Z] Removing intermediate container e6d48f1df21f [2022-06-01T14:50:22.087Z] ---> 6e7faec6c88a [2022-06-01T14:50:22.087Z] Successfully built 6e7faec6c88a [2022-06-01T14:50:22.087Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:50:22.537Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T14:50:22.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:50:22.712Z] prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container [2022-06-01T14:50:22.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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-06-01T14:50:23.160Z] $ docker top 1d64eee892e32c7227b75d927e9ad988a82600f5b435b170c5ff4247afdad365 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T14:50:23.557Z] + go version [2022-06-01T14:50:23.557Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T14:50:23.595Z] $ docker stop --time=1 1d64eee892e32c7227b75d927e9ad988a82600f5b435b170c5ff4247afdad365 [2022-06-01T14:50:24.925Z] $ docker rm -f 1d64eee892e32c7227b75d927e9ad988a82600f5b435b170c5ff4247afdad365 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:50:25.657Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T14:50:25.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:50:25.830Z] prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container [2022-06-01T14:50:25.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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-06-01T14:50:26.303Z] $ docker top d11b5cbf57d4e64057788a3a777eebd7dc4bc29cefcac3710df47c7d58edf2c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T14:50:26.785Z] + make test [2022-06-01T14:50:26.785Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-01T14:50:27.046Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-01T14:50:35.175Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-01T14:50:35.745Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-06-01T14:50:42.323Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T14:50:46.532Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T14:50:46.532Z] ./snap/local/hooks/cmd/install/install.go [2022-06-01T14:50:46.532Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T14:50:46.532Z] make: *** [Makefile:56: test] Error 1 [Pipeline] } [2022-06-01T14:50:46.594Z] $ docker stop --time=1 d11b5cbf57d4e64057788a3a777eebd7dc4bc29cefcac3710df47c7d58edf2c4 [2022-06-01T14:50:48.357Z] $ docker rm -f d11b5cbf57d4e64057788a3a777eebd7dc4bc29cefcac3710df47c7d58edf2c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:50:49.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T14:50:49.513Z] [2022-06-01T14:50:49.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:50:49.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T14:50:49.886Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T14:50:49.886Z] 5eb5b503b376: Pulling fs layer [2022-06-01T14:50:49.886Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T14:50:49.886Z] ec43610c2a17: Pulling fs layer [2022-06-01T14:50:49.886Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T14:50:49.886Z] 33b1e0a273af: Pulling fs layer [2022-06-01T14:50:49.886Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T14:50:49.886Z] 2f39f015ded8: Pulling fs layer [2022-06-01T14:50:49.886Z] 3a2ae6a8a46f: Waiting [2022-06-01T14:50:49.886Z] 33b1e0a273af: Waiting [2022-06-01T14:50:49.886Z] 5d3b04190fa2: Waiting [2022-06-01T14:50:49.886Z] 2f39f015ded8: Waiting [2022-06-01T14:50:49.886Z] 5c69ac0246d0: Verifying Checksum [2022-06-01T14:50:49.886Z] 5c69ac0246d0: Download complete [2022-06-01T14:50:49.886Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-01T14:50:49.886Z] 3a2ae6a8a46f: Download complete [2022-06-01T14:50:49.886Z] 33b1e0a273af: Verifying Checksum [2022-06-01T14:50:49.886Z] 33b1e0a273af: Download complete [2022-06-01T14:50:50.147Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T14:50:50.147Z] 5d3b04190fa2: Download complete [2022-06-01T14:50:50.147Z] ec43610c2a17: Verifying Checksum [2022-06-01T14:50:50.147Z] ec43610c2a17: Download complete [2022-06-01T14:50:50.147Z] 5eb5b503b376: Download complete [2022-06-01T14:50:50.718Z] 2f39f015ded8: Download complete [2022-06-01T14:50:51.286Z] 5eb5b503b376: Pull complete [2022-06-01T14:50:51.546Z] 5c69ac0246d0: Pull complete [2022-06-01T14:50:52.117Z] ec43610c2a17: Pull complete [2022-06-01T14:50:52.117Z] 3a2ae6a8a46f: Pull complete [2022-06-01T14:50:52.378Z] 33b1e0a273af: Pull complete [2022-06-01T14:50:52.378Z] 5d3b04190fa2: Pull complete [2022-06-01T14:50:56.572Z] 2f39f015ded8: Pull complete [2022-06-01T14:50:56.572Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T14:50:56.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T14:50:56.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:50:56.782Z] prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container [2022-06-01T14:50:56.827Z] $ 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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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-06-01T14:50:58.622Z] $ docker top 5e34fd63fa27ec5538adfaa4b62227d32a5f2cc086006693fe1f8682caded26a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:50:59.083Z] ---> job-cost.sh [2022-06-01T14:50:59.083Z] lf-activate-venv: SKIPPING [2022-06-01T14:50:59.083Z] INFO: No Stack... [2022-06-01T14:50:59.344Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T14:50:59.914Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T14:51:00.232Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-01T14:51:00.232Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T14:51:00.273Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [2022-06-01T14:51:00.278Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] did not exist. Created. [2022-06-01T14:51:00.278Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T14:51:00.661Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T14:51:00.716Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T14:51:00.744Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T14:51:00.827Z] $ docker stop --time=1 5e34fd63fa27ec5538adfaa4b62227d32a5f2cc086006693fe1f8682caded26a [2022-06-01T14:51:01.995Z] $ docker rm -f 5e34fd63fa27ec5538adfaa4b62227d32a5f2cc086006693fe1f8682caded26a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T14:51:02.377Z] Failed in branch amd64 [2022-06-01T14:51:49.102Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-547 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-01T14:51:49.145Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-06-01T14:51:49.270Z] The recommended git tool is: git [2022-06-01T14:51:55.418Z] using credential edgex-jenkins-ssh [2022-06-01T14:51:55.436Z] Cloning the remote Git repository [2022-06-01T14:51:55.506Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-01T14:51:55.584Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-06-01T14:51:55.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-01T14:51:55.658Z] > git --version # timeout=10 [2022-06-01T14:51:55.684Z] > git --version # 'git version 2.25.1' [2022-06-01T14:51:55.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T14:51:55.798Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T14:51:57.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-01T14:51:57.770Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T14:51:57.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-01T14:51:57.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-01T14:51:57.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T14:51:57.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-01T14:51:58.538Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 233f1c456e102289b839942e917dfe041468284f [2022-06-01T14:51:58.749Z] Merge succeeded, producing 233f1c456e102289b839942e917dfe041468284f [2022-06-01T14:51:58.750Z] Checking out Revision 233f1c456e102289b839942e917dfe041468284f (PR-287) [2022-06-01T14:51:58.560Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T14:51:58.584Z] > git checkout -f 233f1c456e102289b839942e917dfe041468284f # timeout=10 [2022-06-01T14:51:58.669Z] > git remote # timeout=10 [2022-06-01T14:51:58.687Z] > git config --get remote.origin.url # timeout=10 [2022-06-01T14:51:58.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T14:51:58.714Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-01T14:51:58.738Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-01T14:51:58.762Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T14:51:58.775Z] > git checkout -f 233f1c456e102289b839942e917dfe041468284f # timeout=10 [2022-06-01T14:52:02.912Z] Commit message: "feat(snap): Add snap packaing" [2022-06-01T14:52:02.975Z] > git --version # timeout=10 [2022-06-01T14:52:02.989Z] > git --version # 'git version 2.25.1' [2022-06-01T14:52:03.004Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T14:52:04.145Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T14:52:04.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T14:52:04.146Z] Dload Upload Total Spent Left Speed [2022-06-01T14:52:04.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10503 0 0 83357 0 --:--:-- --:--:-- --:--:-- 83357 100 12253 100 12253 0 0 96480 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh [2022-06-01T14:52:04.955Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T14:52:05.309Z] + sudo tee /etc/docker/daemon.new [2022-06-01T14:52:05.310Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-01T14:52:05.310Z] { [2022-06-01T14:52:05.310Z] "registry-mirrors": [ [2022-06-01T14:52:05.310Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T14:52:05.310Z] ], [2022-06-01T14:52:05.310Z] "bip": "10.250.0.254/24", [2022-06-01T14:52:05.310Z] "hosts": [ [2022-06-01T14:52:05.310Z] "tcp://0.0.0.0:5555", [2022-06-01T14:52:05.310Z] "unix:///var/run/docker.sock" [2022-06-01T14:52:05.310Z] ], [2022-06-01T14:52:05.310Z] "mtu": 1458, [2022-06-01T14:52:05.310Z] "selinux-enabled": true, [2022-06-01T14:52:05.310Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T14:52:05.310Z] } [Pipeline] sh [2022-06-01T14:52:05.665Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T14:52:06.020Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T14:52:24.554Z] provisioning config files... [2022-06-01T14:52:24.580Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6535908764863166803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:52:24.976Z] ---> docker-login.sh [2022-06-01T14:52:24.976Z] nexus3.edgexfoundry.org:10001 [2022-06-01T14:52:25.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:52:25.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:52:25.850Z] Configure a credential helper to remove this warning. See [2022-06-01T14:52:25.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:52:25.850Z] [2022-06-01T14:52:25.850Z] Login Succeeded [2022-06-01T14:52:25.850Z] nexus3.edgexfoundry.org:10002 [2022-06-01T14:52:26.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:52:26.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:52:26.123Z] Configure a credential helper to remove this warning. See [2022-06-01T14:52:26.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:52:26.123Z] [2022-06-01T14:52:26.123Z] Login Succeeded [2022-06-01T14:52:26.398Z] nexus3.edgexfoundry.org:10003 [2022-06-01T14:52:26.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:52:26.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:52:26.674Z] Configure a credential helper to remove this warning. See [2022-06-01T14:52:26.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:52:26.674Z] [2022-06-01T14:52:26.674Z] Login Succeeded [2022-06-01T14:52:26.674Z] nexus3.edgexfoundry.org:10004 [2022-06-01T14:52:26.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:52:27.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:52:27.225Z] Configure a credential helper to remove this warning. See [2022-06-01T14:52:27.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:52:27.225Z] [2022-06-01T14:52:27.225Z] Login Succeeded [2022-06-01T14:52:27.225Z] docker.io [2022-06-01T14:52:27.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:52:27.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:52:27.774Z] Configure a credential helper to remove this warning. See [2022-06-01T14:52:27.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:52:27.774Z] [2022-06-01T14:52:27.774Z] Login Succeeded [2022-06-01T14:52:27.774Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T14:52:27.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T14:52:28.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T14:52:28.206Z] ========================================================= [2022-06-01T14:52:28.206Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-01T14:52:28.206Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:52:28.706Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-01T14:52:28.978Z] Sending build context to Docker daemon 11.61MB [2022-06-01T14:52:29.253Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T14:52:29.253Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T14:52:29.253Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T14:52:29.253Z] 9b3977197b4f: Pulling fs layer [2022-06-01T14:52:29.253Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T14:52:29.253Z] 94645a83ff95: Pulling fs layer [2022-06-01T14:52:29.253Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T14:52:29.253Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T14:52:29.253Z] 3096ccb668a1: Pulling fs layer [2022-06-01T14:52:29.253Z] e8cf19c19ddd: Pulling fs layer [2022-06-01T14:52:29.253Z] a4caa8a26152: Pulling fs layer [2022-06-01T14:52:29.253Z] 3f3a8bcf1eab: Waiting [2022-06-01T14:52:29.253Z] 0c92f367c5e7: Waiting [2022-06-01T14:52:29.253Z] 3096ccb668a1: Waiting [2022-06-01T14:52:29.253Z] a4caa8a26152: Waiting [2022-06-01T14:52:29.253Z] e8cf19c19ddd: Waiting [2022-06-01T14:52:29.253Z] 94645a83ff95: Verifying Checksum [2022-06-01T14:52:29.253Z] 94645a83ff95: Download complete [2022-06-01T14:52:29.253Z] 1a89e8eeedd5: Verifying Checksum [2022-06-01T14:52:29.253Z] 1a89e8eeedd5: Download complete [2022-06-01T14:52:29.253Z] 0c92f367c5e7: Verifying Checksum [2022-06-01T14:52:29.253Z] 0c92f367c5e7: Download complete [2022-06-01T14:52:29.253Z] 3096ccb668a1: Verifying Checksum [2022-06-01T14:52:29.253Z] 3096ccb668a1: Download complete [2022-06-01T14:52:29.253Z] 9b3977197b4f: Download complete [2022-06-01T14:52:29.538Z] e8cf19c19ddd: Verifying Checksum [2022-06-01T14:52:29.538Z] e8cf19c19ddd: Download complete [2022-06-01T14:52:30.144Z] 9b3977197b4f: Pull complete [2022-06-01T14:52:30.748Z] 1a89e8eeedd5: Pull complete [2022-06-01T14:52:30.748Z] 94645a83ff95: Pull complete [2022-06-01T14:52:31.354Z] a4caa8a26152: Verifying Checksum [2022-06-01T14:52:31.954Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T14:52:31.954Z] 3f3a8bcf1eab: Download complete [2022-06-01T14:52:44.370Z] 3f3a8bcf1eab: Pull complete [2022-06-01T14:52:44.370Z] 0c92f367c5e7: Pull complete [2022-06-01T14:52:44.644Z] 3096ccb668a1: Pull complete [2022-06-01T14:52:44.919Z] e8cf19c19ddd: Pull complete [2022-06-01T14:52:51.641Z] a4caa8a26152: Pull complete [2022-06-01T14:52:51.641Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-01T14:52:51.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-01T14:52:51.641Z] ---> 725f1c02e7f9 [2022-06-01T14:52:51.641Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T14:52:51.916Z] ---> Running in 59f31ceb75da [2022-06-01T14:52:52.199Z] Removing intermediate container 59f31ceb75da [2022-06-01T14:52:52.199Z] ---> 732f148de504 [2022-06-01T14:52:52.199Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T14:52:52.478Z] ---> Running in 832ca93d8986 [2022-06-01T14:52:52.752Z] Removing intermediate container 832ca93d8986 [2022-06-01T14:52:52.752Z] ---> adc6134a9a33 [2022-06-01T14:52:52.752Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-01T14:52:52.752Z] ---> Running in 6e1f59cdfcd6 [2022-06-01T14:52:53.032Z] Removing intermediate container 6e1f59cdfcd6 [2022-06-01T14:52:53.032Z] ---> b3efacfa6dd3 [2022-06-01T14:52:53.032Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T14:52:53.032Z] ---> Running in d57e611dc9dd [2022-06-01T14:52:55.056Z] Removing intermediate container d57e611dc9dd [2022-06-01T14:52:55.057Z] ---> 93649cc1f2f0 [2022-06-01T14:52:55.057Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T14:52:55.057Z] ---> Running in 2844efc64178 [2022-06-01T14:52:57.046Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T14:52:57.643Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T14:52:58.625Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T14:52:58.625Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T14:52:58.625Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T14:52:58.900Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T14:52:58.900Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T14:52:58.900Z] OK: 224 MiB in 56 packages [2022-06-01T14:52:59.891Z] Removing intermediate container 2844efc64178 [2022-06-01T14:52:59.891Z] ---> 16345d6ba8eb [2022-06-01T14:52:59.891Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-01T14:53:00.492Z] ---> 48c1f73c8898 [2022-06-01T14:53:00.492Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T14:53:00.492Z] ---> Running in c2c80a2ea171 [2022-06-01T14:53:47.517Z] Removing intermediate container c2c80a2ea171 [2022-06-01T14:53:47.517Z] ---> b10c8fc65dbd [2022-06-01T14:53:47.517Z] Step 10/12 : COPY . . [2022-06-01T14:53:47.517Z] ---> 8b11a97e97f8 [2022-06-01T14:53:47.517Z] Step 11/12 : ARG MAKE='make build' [2022-06-01T14:53:47.517Z] ---> Running in 1bd0caaf80ac [2022-06-01T14:53:47.517Z] Removing intermediate container 1bd0caaf80ac [2022-06-01T14:53:47.517Z] ---> 3c0ee360c1c1 [2022-06-01T14:53:47.517Z] Step 12/12 : RUN $MAKE [2022-06-01T14:53:47.517Z] ---> Running in e8f38bf71e41 [2022-06-01T14:53:47.517Z] noop [2022-06-01T14:53:47.517Z] Removing intermediate container e8f38bf71e41 [2022-06-01T14:53:47.517Z] ---> 9502579728ae [2022-06-01T14:53:47.517Z] Successfully built 9502579728ae [2022-06-01T14:53:47.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:53:47.993Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T14:53:47.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:53:48.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-547 does not seem to be running inside a container [2022-06-01T14:53:48.412Z] $ 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-06-01T14:53:49.664Z] $ docker top 52dc373d0fdbfea4bd86e9e002e9ac337a4d4c165e5aa660372047268da7ace5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T14:53:50.616Z] + go version [2022-06-01T14:53:50.616Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T14:53:50.663Z] $ docker stop --time=1 52dc373d0fdbfea4bd86e9e002e9ac337a4d4c165e5aa660372047268da7ace5 [2022-06-01T14:53:52.322Z] $ docker rm -f 52dc373d0fdbfea4bd86e9e002e9ac337a4d4c165e5aa660372047268da7ace5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:53:53.187Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T14:53:53.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:53:53.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-547 does not seem to be running inside a container [2022-06-01T14:53:53.591Z] $ 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-06-01T14:53:54.905Z] $ docker top 29491a1aaa133f0e177dd0fe22dc522b1309f9b440ad20be4b41fabdbaab75ce -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T14:53:55.900Z] + make test [2022-06-01T14:53:55.900Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-01T14:53:57.342Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-01T14:55:19.190Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-01T14:55:19.190Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements [2022-06-01T14:55:19.190Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-01T14:55:19.190Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T14:55:37.570Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T14:55:37.570Z] ./snap/local/hooks/cmd/install/install.go [2022-06-01T14:55:37.570Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T14:55:37.570Z] make: *** [Makefile:56: test] Error 1 [Pipeline] } [2022-06-01T14:55:37.700Z] $ docker stop --time=1 29491a1aaa133f0e177dd0fe22dc522b1309f9b440ad20be4b41fabdbaab75ce [2022-06-01T14:55:39.466Z] $ docker rm -f 29491a1aaa133f0e177dd0fe22dc522b1309f9b440ad20be4b41fabdbaab75ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:55:40.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T14:55:40.962Z] [2022-06-01T14:55:40.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:55:41.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T14:55:41.653Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T14:55:41.653Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T14:55:41.653Z] 04944245beec: Pulling fs layer [2022-06-01T14:55:41.653Z] 699f458cf7ca: Pulling fs layer [2022-06-01T14:55:41.653Z] 765212b225bb: Pulling fs layer [2022-06-01T14:55:41.653Z] f23df028b6ca: Pulling fs layer [2022-06-01T14:55:41.653Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T14:55:41.653Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T14:55:41.653Z] 765212b225bb: Waiting [2022-06-01T14:55:41.653Z] f23df028b6ca: Waiting [2022-06-01T14:55:41.653Z] d65c8cfc05b1: Waiting [2022-06-01T14:55:41.653Z] 2437ff75d9bd: Waiting [2022-06-01T14:55:41.653Z] 04944245beec: Verifying Checksum [2022-06-01T14:55:41.653Z] 04944245beec: Download complete [2022-06-01T14:55:41.653Z] 765212b225bb: Verifying Checksum [2022-06-01T14:55:41.653Z] 765212b225bb: Download complete [2022-06-01T14:55:41.653Z] f23df028b6ca: Verifying Checksum [2022-06-01T14:55:41.653Z] f23df028b6ca: Download complete [2022-06-01T14:55:41.653Z] d65c8cfc05b1: Verifying Checksum [2022-06-01T14:55:41.653Z] d65c8cfc05b1: Download complete [2022-06-01T14:55:41.930Z] 699f458cf7ca: Verifying Checksum [2022-06-01T14:55:41.930Z] 699f458cf7ca: Download complete [2022-06-01T14:55:42.205Z] 8998bd30e6a1: Verifying Checksum [2022-06-01T14:55:42.205Z] 8998bd30e6a1: Download complete [2022-06-01T14:55:44.836Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T14:55:44.836Z] 2437ff75d9bd: Download complete [2022-06-01T14:55:46.817Z] 8998bd30e6a1: Pull complete [2022-06-01T14:55:47.094Z] 04944245beec: Pull complete [2022-06-01T14:55:48.528Z] 699f458cf7ca: Pull complete [2022-06-01T14:55:48.803Z] 765212b225bb: Pull complete [2022-06-01T14:55:49.403Z] f23df028b6ca: Pull complete [2022-06-01T14:55:49.680Z] d65c8cfc05b1: Pull complete [2022-06-01T14:56:04.775Z] 2437ff75d9bd: Pull complete [2022-06-01T14:56:04.775Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T14:56:04.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T14:56:04.775Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:56:05.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-547 does not seem to be running inside a container [2022-06-01T14:56:05.242Z] $ 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-06-01T14:56:07.644Z] $ docker top 8ece25f6ae00d15b1475f1093e4405c89ddac713922de2ccb4fa2ca1d38bef90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:08.634Z] ---> job-cost.sh [2022-06-01T14:56:08.634Z] lf-activate-venv: SKIPPING [2022-06-01T14:56:08.634Z] INFO: No Stack... [2022-06-01T14:56:09.235Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T14:56:10.212Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T14:56:10.889Z] + cut -d, -f6 [2022-06-01T14:56:10.889Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-06-01T14:56:10.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [2022-06-01T14:56:10.979Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] did not exist. Created. [2022-06-01T14:56:10.979Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T14:56:11.732Z] /w/workspace/device-virtual-go/1@tmp/durable-43dd49e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T14:56:12.443Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T14:56:12.479Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T14:56:12.918Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T14:56:12.933Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T14:56:13.025Z] $ docker stop --time=1 8ece25f6ae00d15b1475f1093e4405c89ddac713922de2ccb4fa2ca1d38bef90 [2022-06-01T14:56:14.501Z] $ docker rm -f 8ece25f6ae00d15b1475f1093e4405c89ddac713922de2ccb4fa2ca1d38bef90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T14:56:15.204Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-06-01T14:56:17.277Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-01T14:56:17.278Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-01T14:56:17.278Z] total 16 [2022-06-01T14:56:17.278Z] drwxr-xr-x 3 root root 4096 Jun 1 14:50 . [2022-06-01T14:56:17.278Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:51 .. [2022-06-01T14:56:17.278Z] drwxr-xr-x 2 root root 4096 Jun 1 14:50 cost [2022-06-01T14:56:17.278Z] -rw-r--r-- 1 root root 88 Jun 1 14:50 cost.csv [2022-06-01T14:56:17.278Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-01T14:56:17.278Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-01T14:56:17.278Z] total 16 [2022-06-01T14:56:17.278Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 14:50 . [2022-06-01T14:56:17.278Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:51 .. [2022-06-01T14:56:17.278Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 14:50 cost [2022-06-01T14:56:17.278Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 1 14:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:17.611Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:18.509Z] ---> package-listing.sh [2022-06-01T14:56:18.509Z] ++ facter osfamily [2022-06-01T14:56:18.509Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T14:56:18.770Z] + OS_FAMILY=debian [2022-06-01T14:56:18.770Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-01T14:56:18.770Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T14:56:18.770Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T14:56:18.770Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T14:56:18.770Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T14:56:18.770Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-01T14:56:18.770Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T14:56:18.770Z] + case "${OS_FAMILY}" in [2022-06-01T14:56:18.770Z] + dpkg -l [2022-06-01T14:56:18.770Z] + grep '^ii' [2022-06-01T14:56:18.770Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T14:56:18.770Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T14:56:18.770Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T14:56:18.770Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-01T14:56:18.770Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-01T14:56:18.770Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo [2022-06-01T14:56:18.805Z] 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-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-01T14:56:19.098Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:56:19.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T14:56:19.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:56:19.886Z] prd-ubuntu20.04-docker-8c-8g-546 does not seem to be running inside a container [2022-06-01T14:56:19.923Z] $ 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-287/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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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-06-01T14:56:20.135Z] $ docker top ed28ea9dda7f542b609d1e308e3e95b43deab647205dd84cc3c218cbea69486f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T14:56:20.536Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T14:56:20.845Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T14:56:21.163Z] + ls /var/log/sa-host [2022-06-01T14:56:21.163Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T14:56:21.387Z] provisioning config files... [2022-06-01T14:56:21.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config6029284762187594262tmp [Pipeline] { [Pipeline] echo [2022-06-01T14:56:21.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:21.764Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T14:56:21.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:22.194Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T14:56:22.296Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:22.679Z] ---> sudo-logs.sh [2022-06-01T14:56:22.680Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T14:56:22.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:23.083Z] ---> job-cost.sh [2022-06-01T14:56:23.083Z] lf-activate-venv: SKIPPING [2022-06-01T14:56:23.083Z] DEBUG: total: 0.2199999988079071 [2022-06-01T14:56:23.083Z] INFO: Retrieving Stack Cost... [2022-06-01T14:56:24.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T14:56:24.289Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T14:56:24.325Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:56:24.643Z] ---> logs-deploy.sh [2022-06-01T14:56:24.644Z] lf-activate-venv: SKIPPING [2022-06-01T14:56:24.644Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/1 [2022-06-01T14:56:24.644Z] INFO: archiving workspace using pattern(s): [2022-06-01T14:56:25.587Z] Archives upload complete. [2022-06-01T14:56:25.587Z] INFO: archiving logs to Nexus