Pull request #281 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 jinlinGuan for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 rather than 1d794d65e3bd122987564178f6b84a24dab9faf6 Obtained Jenkinsfile from 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 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-ssh6736313504392278173.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12067346630967936784.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh 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-281/workspace@libs/edgex-global-pipelines # 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-281/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17656750915074955544.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-281/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh393136957429150805.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12539774445617870144.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-281/workspace@libs/lf-pipelines # 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-281/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6671291337934650621.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23550 in /w/workspace/foundry_device-virtual-go_PR-281 [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-281 # 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/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 into PR head commit 1d794d65e3bd122987564178f6b84a24dab9faf6 Merge succeeded, producing 1d794d65e3bd122987564178f6b84a24dab9faf6 Checking out Revision 1d794d65e3bd122987564178f6b84a24dab9faf6 (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # 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 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # timeout=10 Commit message: "feat: Add MaxEventSize and ReadingUnits to configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-26T01:39:56.362Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-26T01:39:56.532Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-26T01:39:56.636Z] ========================================================= [2022-04-26T01:39:56.636Z] EdgeX Global Pipelines Version Info [2022-04-26T01:39:56.636Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:39:57.432Z] ------------------- [2022-04-26T01:39:57.432Z] stable info: [2022-04-26T01:39:57.432Z] ------------------- [2022-04-26T01:39:57.432Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T01:39:57.432Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-26T01:39:57.432Z] Message: update stable to v1.0.221 [2022-04-26T01:39:58.009Z] ------------------- [2022-04-26T01:39:58.009Z] experimental info: [2022-04-26T01:39:58.009Z] ------------------- [2022-04-26T01:39:58.009Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-26T01:39:58.009Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-26T01:39:58.009Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-26T01:39:58.371Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-26T01:39:58.409Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-26T01:39:58.450Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-26T01:39:58.492Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-26T01:39:58.529Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-26T01:39:58.566Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-26T01:39:58.608Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-26T01:39:58.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-26T01:39:58.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-26T01:39:58.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-26T01:39:58.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-26T01:39:58.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-26T01:39:58.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-26T01:39:58.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-26T01:39:58.950Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T01:39:58.995Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-26T01:39:59.041Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T01:39:59.087Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-26T01:39:59.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-26T01:39:59.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-26T01:39:59.215Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-26T01:39:59.262Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-26T01:39:59.309Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-26T01:39:59.350Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-26T01:39:59.391Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-26T01:39:59.436Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-26T01:39:59.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo [2022-04-26T01:39:59.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo [2022-04-26T01:39:59.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo [2022-04-26T01:39:59.607Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo [2022-04-26T01:39:59.648Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d794d6 [Pipeline] echo [2022-04-26T01:39:59.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T01:39:59.808Z] provisioning config files... [2022-04-26T01:39:59.828Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config2151371603511905726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:40:00.186Z] ---> docker-login.sh [2022-04-26T01:40:00.186Z] nexus3.edgexfoundry.org:10001 [2022-04-26T01:40:00.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:00.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:00.713Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:00.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:00.713Z] [2022-04-26T01:40:00.713Z] Login Succeeded [2022-04-26T01:40:00.713Z] nexus3.edgexfoundry.org:10002 [2022-04-26T01:40:00.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:00.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:00.713Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:00.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:00.713Z] [2022-04-26T01:40:00.713Z] Login Succeeded [2022-04-26T01:40:00.713Z] nexus3.edgexfoundry.org:10003 [2022-04-26T01:40:00.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:00.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:00.977Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:00.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:00.977Z] [2022-04-26T01:40:00.977Z] Login Succeeded [2022-04-26T01:40:00.977Z] nexus3.edgexfoundry.org:10004 [2022-04-26T01:40:00.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:01.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:01.240Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:01.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:01.240Z] [2022-04-26T01:40:01.240Z] Login Succeeded [2022-04-26T01:40:01.240Z] docker.io [2022-04-26T01:40:01.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:01.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:01.525Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:01.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:01.525Z] [2022-04-26T01:40:01.525Z] Login Succeeded [2022-04-26T01:40:01.525Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T01:40:01.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-26T01:40:02.180Z] + git rev-list -1 --merges 1d794d65e3bd122987564178f6b84a24dab9faf6~1..1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo [2022-04-26T01:40:02.228Z] -----------> git rev-list -1 --merges 1d794d65e3bd122987564178f6b84a24dab9faf6~1..1d794d65e3bd122987564178f6b84a24dab9faf6 1d794d65e3bd122987564178f6b84a24dab9faf6 [false] [Pipeline] sh [2022-04-26T01:40:02.543Z] + git log --format=format:%s -1 1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo [2022-04-26T01:40:02.579Z] ========================================================= [2022-04-26T01:40:02.579Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-26T01:40:02.579Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T01:40:03.009Z] + git log --format=format:%s -1 1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] echo [2022-04-26T01:40:03.042Z] [semverPrep] GIT_COMMIT: 1d794d65e3bd122987564178f6b84a24dab9faf6, Commit Message: feat: Add MaxEventSize and ReadingUnits to configuration [Pipeline] echo [2022-04-26T01:40:03.077Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-26T01:40:03.531Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-26T01:40:03.531Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-26T01:40:03.531Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-26T01:40:03.531Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-26T01:40:03.531Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-26T01:40:03.531Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-26T01:40:03.531Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:40:04.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T01:40:04.001Z] [2022-04-26T01:40:04.001Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:40:04.357Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T01:40:04.357Z] latest: Pulling from edgex-devops/git-semver [2022-04-26T01:40:04.357Z] a0d0a0d46f8b: Pulling fs layer [2022-04-26T01:40:04.357Z] 3e5f54012d9b: Pulling fs layer [2022-04-26T01:40:04.357Z] 4c7163046ea9: Pulling fs layer [2022-04-26T01:40:04.357Z] 0c2d73faf560: Pulling fs layer [2022-04-26T01:40:04.357Z] 0c2d73faf560: Waiting [2022-04-26T01:40:04.357Z] 3e5f54012d9b: Verifying Checksum [2022-04-26T01:40:04.357Z] 3e5f54012d9b: Download complete [2022-04-26T01:40:04.357Z] a0d0a0d46f8b: Download complete [2022-04-26T01:40:04.357Z] 0c2d73faf560: Verifying Checksum [2022-04-26T01:40:04.357Z] 0c2d73faf560: Download complete [2022-04-26T01:40:04.620Z] 4c7163046ea9: Verifying Checksum [2022-04-26T01:40:04.620Z] 4c7163046ea9: Download complete [2022-04-26T01:40:04.620Z] a0d0a0d46f8b: Pull complete [2022-04-26T01:40:04.882Z] 3e5f54012d9b: Pull complete [2022-04-26T01:40:05.458Z] 4c7163046ea9: Pull complete [2022-04-26T01:40:05.459Z] 0c2d73faf560: Pull complete [2022-04-26T01:40:05.459Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-26T01:40:05.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-26T01:40:05.459Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-26T01:40:05.564Z] prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container [2022-04-26T01:40:05.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-26T01:40:06.468Z] $ docker top 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-26T01:40:06.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T01:40:06.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T01:40:06.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T01:40:06.803Z] $ docker exec 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent [2022-04-26T01:40:06.943Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLbDOck/agent.14 [2022-04-26T01:40:06.943Z] SSH_AGENT_PID=20 [2022-04-26T01:40:06.952Z] Running ssh-add (command line suppressed) [2022-04-26T01:40:07.069Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_249237680420734730.key (/w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_249237680420734730.key) [2022-04-26T01:40:07.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T01:40:07.425Z] + git tag --points-at HEAD [Pipeline] } [2022-04-26T01:40:07.454Z] $ docker exec --env ******** --env ******** 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent -k [2022-04-26T01:40:07.575Z] unset SSH_AUTH_SOCK; [2022-04-26T01:40:07.576Z] unset SSH_AGENT_PID; [2022-04-26T01:40:07.576Z] echo Agent pid 20 killed; [2022-04-26T01:40:07.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-26T01:40:07.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-26T01:40:07.678Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-26T01:40:07.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-26T01:40:07.841Z] $ docker exec 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent [2022-04-26T01:40:08.006Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfoiCpL/agent.54 [2022-04-26T01:40:08.006Z] SSH_AGENT_PID=60 [2022-04-26T01:40:08.013Z] Running ssh-add (command line suppressed) [2022-04-26T01:40:08.138Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_8670308199850382105.key (/w/workspace/foundry_device-virtual-go_PR-281@tmp/private_key_8670308199850382105.key) [2022-04-26T01:40:08.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-26T01:40:08.489Z] + git semver init [2022-04-26T01:40:08.489Z] # -> Open(): unable to determine branch for HEAD [2022-04-26T01:40:08.489Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-281/.git [2022-04-26T01:40:08.489Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-281 [2022-04-26T01:40:08.489Z] # $SEMVER_REMOTE_NAME = origin [2022-04-26T01:40:08.489Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-26T01:40:08.489Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-26T01:40:08.489Z] # $SEMVER_BRANCH = PR-281 [2022-04-26T01:40:08.489Z] # $SEMVER_TEMP = /tmp/semver-217513261 [2022-04-26T01:40:08.489Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-26T01:40:09.876Z] # '/tmp/semver-217513261' -> '/w/workspace/foundry_device-virtual-go_PR-281/.semver' [2022-04-26T01:40:09.876Z] # -> Force: false [2022-04-26T01:40:09.876Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-281/.semver [Pipeline] } [2022-04-26T01:40:09.902Z] $ docker exec --env ******** --env ******** 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 ssh-agent -k [2022-04-26T01:40:10.025Z] unset SSH_AUTH_SOCK; [2022-04-26T01:40:10.026Z] unset SSH_AGENT_PID; [2022-04-26T01:40:10.026Z] echo Agent pid 60 killed; [2022-04-26T01:40:10.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-26T01:40:10.481Z] + git semver [Pipeline] } [2022-04-26T01:40:10.513Z] $ docker stop --time=1 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 [2022-04-26T01:40:12.043Z] $ docker rm -f 67a5ea51966134f998f14af312e28c3107dcb4fdebdf7a10d6b70947e5143464 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T01:40:12.475Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-26T01:40:12.797Z] Stashed 1 file(s) [Pipeline] echo [2022-04-26T01:40:12.815Z] [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-04-26T01:40:13.372Z] provisioning config files... [2022-04-26T01:40:13.384Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config4802187251059130768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:40:13.731Z] ---> docker-login.sh [2022-04-26T01:40:13.731Z] nexus3.edgexfoundry.org:10001 [2022-04-26T01:40:13.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:13.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:13.731Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:13.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:13.731Z] [2022-04-26T01:40:13.731Z] Login Succeeded [2022-04-26T01:40:13.731Z] nexus3.edgexfoundry.org:10002 [2022-04-26T01:40:13.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:13.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:13.994Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:13.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:13.994Z] [2022-04-26T01:40:13.994Z] Login Succeeded [2022-04-26T01:40:13.994Z] nexus3.edgexfoundry.org:10003 [2022-04-26T01:40:13.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:13.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:13.994Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:13.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:13.994Z] [2022-04-26T01:40:13.994Z] Login Succeeded [2022-04-26T01:40:13.994Z] nexus3.edgexfoundry.org:10004 [2022-04-26T01:40:14.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:14.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:14.257Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:14.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:14.257Z] [2022-04-26T01:40:14.257Z] Login Succeeded [2022-04-26T01:40:14.257Z] docker.io [2022-04-26T01:40:14.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:40:14.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:40:14.519Z] Configure a credential helper to remove this warning. See [2022-04-26T01:40:14.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:40:14.519Z] [2022-04-26T01:40:14.519Z] Login Succeeded [2022-04-26T01:40:14.519Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T01:40:14.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T01:40:14.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T01:40:14.752Z] ========================================================= [2022-04-26T01:40:14.752Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-26T01:40:14.752Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:40:15.158Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T01:40:15.158Z] Sending build context to Docker daemon 22.92MB [2022-04-26T01:40:15.158Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T01:40:15.158Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T01:40:15.419Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-26T01:40:15.419Z] 59bf1c3509f3: Pulling fs layer [2022-04-26T01:40:15.419Z] 666ba61612fd: Pulling fs layer [2022-04-26T01:40:15.419Z] 8ed8ca486205: Pulling fs layer [2022-04-26T01:40:15.419Z] 4fe6c5a15a65: Pulling fs layer [2022-04-26T01:40:15.419Z] 22a0e8bec74d: Pulling fs layer [2022-04-26T01:40:15.419Z] ca2b28591e48: Pulling fs layer [2022-04-26T01:40:15.419Z] a51346096db8: Pulling fs layer [2022-04-26T01:40:15.419Z] daebc70d1ce1: Pulling fs layer [2022-04-26T01:40:15.419Z] 0e18a0eac166: Pulling fs layer [2022-04-26T01:40:15.419Z] ca2b28591e48: Waiting [2022-04-26T01:40:15.419Z] 4fe6c5a15a65: Waiting [2022-04-26T01:40:15.419Z] a51346096db8: Waiting [2022-04-26T01:40:15.419Z] 22a0e8bec74d: Waiting [2022-04-26T01:40:15.419Z] daebc70d1ce1: Waiting [2022-04-26T01:40:15.419Z] 0e18a0eac166: Waiting [2022-04-26T01:40:15.419Z] 8ed8ca486205: Verifying Checksum [2022-04-26T01:40:15.419Z] 8ed8ca486205: Download complete [2022-04-26T01:40:15.419Z] 666ba61612fd: Download complete [2022-04-26T01:40:15.419Z] 22a0e8bec74d: Verifying Checksum [2022-04-26T01:40:15.419Z] 22a0e8bec74d: Download complete [2022-04-26T01:40:15.419Z] ca2b28591e48: Download complete [2022-04-26T01:40:15.419Z] 59bf1c3509f3: Verifying Checksum [2022-04-26T01:40:15.419Z] 59bf1c3509f3: Download complete [2022-04-26T01:40:15.419Z] a51346096db8: Verifying Checksum [2022-04-26T01:40:15.419Z] a51346096db8: Download complete [2022-04-26T01:40:15.419Z] daebc70d1ce1: Verifying Checksum [2022-04-26T01:40:15.419Z] daebc70d1ce1: Download complete [2022-04-26T01:40:15.680Z] 59bf1c3509f3: Pull complete [2022-04-26T01:40:15.680Z] 666ba61612fd: Pull complete [2022-04-26T01:40:15.680Z] 8ed8ca486205: Pull complete [2022-04-26T01:40:15.943Z] 0e18a0eac166: Verifying Checksum [2022-04-26T01:40:15.943Z] 0e18a0eac166: Download complete [2022-04-26T01:40:16.204Z] 4fe6c5a15a65: Verifying Checksum [2022-04-26T01:40:16.204Z] 4fe6c5a15a65: Download complete [2022-04-26T01:40:20.405Z] 4fe6c5a15a65: Pull complete [2022-04-26T01:40:20.405Z] 22a0e8bec74d: Pull complete [2022-04-26T01:40:20.405Z] ca2b28591e48: Pull complete [2022-04-26T01:40:20.664Z] a51346096db8: Pull complete [2022-04-26T01:40:20.923Z] daebc70d1ce1: Pull complete [2022-04-26T01:40:23.466Z] 0e18a0eac166: Pull complete [2022-04-26T01:40:23.466Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-26T01:40:23.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-26T01:40:23.466Z] ---> f018257e8ee9 [2022-04-26T01:40:23.466Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T01:40:26.025Z] ---> Running in 1c1b0a61cc7d [2022-04-26T01:40:26.025Z] Removing intermediate container 1c1b0a61cc7d [2022-04-26T01:40:26.025Z] ---> a67d8e640a1e [2022-04-26T01:40:26.025Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T01:40:26.025Z] ---> Running in 6aa60741c43f [2022-04-26T01:40:26.025Z] Removing intermediate container 6aa60741c43f [2022-04-26T01:40:26.025Z] ---> cbc1d1e6f564 [2022-04-26T01:40:26.025Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-26T01:40:26.025Z] ---> Running in 1e90b3a112c7 [2022-04-26T01:40:26.288Z] Removing intermediate container 1e90b3a112c7 [2022-04-26T01:40:26.288Z] ---> 54bc3275e859 [2022-04-26T01:40:26.288Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T01:40:26.288Z] ---> Running in fb84548f7986 [2022-04-26T01:40:26.869Z] Removing intermediate container fb84548f7986 [2022-04-26T01:40:26.869Z] ---> 44f90923abac [2022-04-26T01:40:26.869Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T01:40:26.869Z] ---> Running in 401a757413ce [2022-04-26T01:40:27.442Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T01:40:28.016Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T01:40:28.208Z] Still waiting to schedule task [2022-04-26T01:40:28.208Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-26T01:40:28.588Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T01:40:28.588Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T01:40:28.588Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T01:40:28.588Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T01:40:28.848Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T01:40:28.848Z] OK: 224 MiB in 56 packages [2022-04-26T01:40:29.119Z] Removing intermediate container 401a757413ce [2022-04-26T01:40:29.119Z] ---> 5e7d6f062903 [2022-04-26T01:40:29.119Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T01:40:29.383Z] ---> 7256f5082a2e [2022-04-26T01:40:29.383Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T01:40:29.383Z] ---> Running in b3abd878ab86 [2022-04-26T01:40:47.511Z] Removing intermediate container b3abd878ab86 [2022-04-26T01:40:47.511Z] ---> ec7f81593b4e [2022-04-26T01:40:47.511Z] Step 10/12 : COPY . . [2022-04-26T01:40:47.511Z] ---> 491bfa48040c [2022-04-26T01:40:47.511Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T01:40:47.511Z] ---> Running in 34dedeabe751 [2022-04-26T01:40:47.511Z] Removing intermediate container 34dedeabe751 [2022-04-26T01:40:47.511Z] ---> 35312a6353ef [2022-04-26T01:40:47.511Z] Step 12/12 : RUN $MAKE [2022-04-26T01:40:47.511Z] ---> Running in d8c7cbba4b7b [2022-04-26T01:40:47.511Z] noop [2022-04-26T01:40:47.771Z] Removing intermediate container d8c7cbba4b7b [2022-04-26T01:40:47.771Z] ---> 02bc37cb3dae [2022-04-26T01:40:47.771Z] Successfully built 02bc37cb3dae [2022-04-26T01:40:47.771Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:40:48.104Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T01:40:48.104Z] . [Pipeline] withDockerContainer [2022-04-26T01:40:48.199Z] prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container [2022-04-26T01:40:48.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@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 ******** ci-base-image-x86_64 cat [2022-04-26T01:40:48.829Z] $ docker top ffd6569dd776c7e4e18084ef27a496aad83af6a46b04d9c876d7e8157b7ce65a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T01:40:49.246Z] + go version [2022-04-26T01:40:49.246Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-26T01:40:49.275Z] $ docker stop --time=1 ffd6569dd776c7e4e18084ef27a496aad83af6a46b04d9c876d7e8157b7ce65a [2022-04-26T01:40:50.580Z] $ docker rm -f ffd6569dd776c7e4e18084ef27a496aad83af6a46b04d9c876d7e8157b7ce65a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:40:51.257Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-26T01:40:51.257Z] . [Pipeline] withDockerContainer [2022-04-26T01:40:51.350Z] prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container [2022-04-26T01:40:51.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@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 ******** ci-base-image-x86_64 cat [2022-04-26T01:40:51.850Z] $ docker top b04843e699de8980ccab03d5b49f3f4e271c7381700a9687605d83ee07ce304c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T01:40:52.353Z] + make test [2022-04-26T01:40:52.353Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T01:40:52.613Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-26T01:41:02.599Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-26T01:41:02.599Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-04-26T01:41:10.728Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T01:41:14.927Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T01:41:14.927Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T01:41:14.927Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T01:41:15.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T01:41:15.250Z] $ docker stop --time=1 b04843e699de8980ccab03d5b49f3f4e271c7381700a9687605d83ee07ce304c [2022-04-26T01:41:17.314Z] $ docker rm -f b04843e699de8980ccab03d5b49f3f4e271c7381700a9687605d83ee07ce304c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T01:41:17.859Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T01:41:17.937Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-26T01:41:19.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T01:41:19.523Z] + ls -al . [2022-04-26T01:41:19.523Z] total 184 [2022-04-26T01:41:19.523Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:41 . [2022-04-26T01:41:19.523Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:39 .. [2022-04-26T01:41:19.523Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:39 .git [2022-04-26T01:41:19.523Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:39 .github [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 26 01:39 .gitignore [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 01:39 .golangci.yml [2022-04-26T01:41:19.523Z] drwx------ 3 jenkins jenkins 4096 Apr 26 01:40 .semver [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 7893 Apr 26 01:39 Attribution.txt [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 26 01:39 CHANGELOG.md [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 26 01:39 Dockerfile [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 01:39 GOVERNANCE.md [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 01:39 Jenkinsfile [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 01:39 LICENSE [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 26 01:39 Makefile [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 01:39 OWNERS.md [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 26 01:39 README.md [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 01:40 VERSION [2022-04-26T01:41:19.523Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:39 bin [2022-04-26T01:41:19.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:39 cmd [2022-04-26T01:41:19.523Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 26 01:41 coverage.out [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 3185 Apr 26 01:39 go.mod [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 34643 Apr 26 01:39 go.sum [2022-04-26T01:41:19.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:39 internal [2022-04-26T01:41:19.523Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 01:39 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:41:19.859Z] + 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=1d794d65e3bd122987564178f6b84a24dab9faf6 --label arch=amd64 --label version=0.0.0 . [2022-04-26T01:41:19.859Z] Sending build context to Docker daemon 22.96MB [2022-04-26T01:41:19.859Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T01:41:19.859Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-26T01:41:19.859Z] ---> 02bc37cb3dae [2022-04-26T01:41:19.860Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T01:41:20.434Z] ---> Running in ee08b6811699 [2022-04-26T01:41:20.434Z] Removing intermediate container ee08b6811699 [2022-04-26T01:41:20.434Z] ---> da1cc77f5f2e [2022-04-26T01:41:20.434Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T01:41:20.695Z] ---> Running in db7e87108de4 [2022-04-26T01:41:20.958Z] Removing intermediate container db7e87108de4 [2022-04-26T01:41:20.958Z] ---> 593e50c55f24 [2022-04-26T01:41:20.958Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-26T01:41:20.958Z] ---> Running in 19c27585bed8 [2022-04-26T01:41:21.233Z] Removing intermediate container 19c27585bed8 [2022-04-26T01:41:21.233Z] ---> 0427dd8dfe9a [2022-04-26T01:41:21.233Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T01:41:21.496Z] ---> Running in b5086883a788 [2022-04-26T01:41:22.885Z] Removing intermediate container b5086883a788 [2022-04-26T01:41:22.885Z] ---> 712b5013776e [2022-04-26T01:41:22.885Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T01:41:22.885Z] ---> Running in dd8c83aae145 [2022-04-26T01:41:23.457Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-26T01:41:24.030Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-26T01:41:24.603Z] OK: 224 MiB in 56 packages [2022-04-26T01:41:24.866Z] Removing intermediate container dd8c83aae145 [2022-04-26T01:41:24.866Z] ---> 1c26c358ce36 [2022-04-26T01:41:24.866Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-26T01:41:25.127Z] ---> 6782a36abe24 [2022-04-26T01:41:25.127Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T01:41:25.127Z] ---> Running in 5adea30cda1d [2022-04-26T01:41:26.073Z] Removing intermediate container 5adea30cda1d [2022-04-26T01:41:26.073Z] ---> 1d9e7d728d86 [2022-04-26T01:41:26.073Z] Step 10/26 : COPY . . [2022-04-26T01:41:26.655Z] ---> 47ce4a4a6f03 [2022-04-26T01:41:26.655Z] Step 11/26 : ARG MAKE='make build' [2022-04-26T01:41:26.655Z] ---> Running in f7ab3bb8449e [2022-04-26T01:41:26.655Z] Removing intermediate container f7ab3bb8449e [2022-04-26T01:41:26.655Z] ---> 1695c4580cc9 [2022-04-26T01:41:26.655Z] Step 12/26 : RUN $MAKE [2022-04-26T01:41:26.917Z] ---> Running in a5ce66e302d5 [2022-04-26T01:41:27.177Z] CGO_ENABLED=1 GO111MODULE=on go build -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-04-26T01:41:49.152Z] Removing intermediate container a5ce66e302d5 [2022-04-26T01:41:49.152Z] ---> cd304efed062 [2022-04-26T01:41:49.152Z] Step 13/26 : FROM alpine:3.14 [2022-04-26T01:41:49.152Z] 3.14: Pulling from library/alpine [2022-04-26T01:41:49.152Z] 8663204ce13b: Pulling fs layer [2022-04-26T01:41:49.152Z] 8663204ce13b: Verifying Checksum [2022-04-26T01:41:49.152Z] 8663204ce13b: Download complete [2022-04-26T01:41:49.152Z] 8663204ce13b: Pull complete [2022-04-26T01:41:49.152Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T01:41:49.152Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T01:41:49.152Z] ---> e04c818066af [2022-04-26T01:41:49.152Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-26T01:41:49.152Z] ---> Running in bf4808f5620d [2022-04-26T01:41:49.152Z] Removing intermediate container bf4808f5620d [2022-04-26T01:41:49.152Z] ---> cc717a2dd231 [2022-04-26T01:41:49.152Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T01:41:49.152Z] ---> Running in 587b68742dbf [2022-04-26T01:41:49.413Z] Removing intermediate container 587b68742dbf [2022-04-26T01:41:49.413Z] ---> 43905b655024 [2022-04-26T01:41:49.413Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T01:41:49.413Z] ---> Running in 15ac50bf6f9f [2022-04-26T01:41:49.985Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-26T01:41:50.558Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-26T01:41:50.819Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T01:41:51.082Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T01:41:51.082Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T01:41:51.082Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T01:41:51.344Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T01:41:51.344Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T01:41:51.344Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T01:41:51.344Z] OK: 8 MiB in 20 packages [2022-04-26T01:41:51.916Z] Removing intermediate container 15ac50bf6f9f [2022-04-26T01:41:51.916Z] ---> 8254284d10d4 [2022-04-26T01:41:51.916Z] Step 17/26 : WORKDIR / [2022-04-26T01:41:51.916Z] ---> Running in 71a954c9ac72 [2022-04-26T01:41:51.916Z] Removing intermediate container 71a954c9ac72 [2022-04-26T01:41:51.916Z] ---> e82715908727 [2022-04-26T01:41:51.916Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-26T01:41:52.178Z] ---> 1cb797b5bcfe [2022-04-26T01:41:52.178Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-26T01:41:52.440Z] ---> de4d08553ac4 [2022-04-26T01:41:52.440Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-26T01:41:53.012Z] ---> 36aedc00b530 [2022-04-26T01:41:53.012Z] Step 21/26 : EXPOSE 59900 [2022-04-26T01:41:53.012Z] ---> Running in 3483c463483a [2022-04-26T01:41:53.272Z] Removing intermediate container 3483c463483a [2022-04-26T01:41:53.272Z] ---> e0e88b0e0774 [2022-04-26T01:41:53.272Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-26T01:41:53.272Z] ---> Running in 76ae9c2b7c84 [2022-04-26T01:41:53.272Z] Removing intermediate container 76ae9c2b7c84 [2022-04-26T01:41:53.272Z] ---> 455c089987d0 [2022-04-26T01:41:53.272Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T01:41:53.536Z] ---> Running in b5723ae1dd1e [2022-04-26T01:41:53.536Z] Removing intermediate container b5723ae1dd1e [2022-04-26T01:41:53.536Z] ---> 718731d4270c [2022-04-26T01:41:53.536Z] Step 24/26 : LABEL arch=amd64 [2022-04-26T01:41:53.536Z] ---> Running in 56dea2015dd4 [2022-04-26T01:41:53.796Z] Removing intermediate container 56dea2015dd4 [2022-04-26T01:41:53.796Z] ---> 83da1e1124f5 [2022-04-26T01:41:53.796Z] Step 25/26 : LABEL git_sha=1d794d65e3bd122987564178f6b84a24dab9faf6 [2022-04-26T01:41:53.796Z] ---> Running in f112d9f8a29a [2022-04-26T01:41:53.796Z] Removing intermediate container f112d9f8a29a [2022-04-26T01:41:53.796Z] ---> fafbab889f3a [2022-04-26T01:41:53.796Z] Step 26/26 : LABEL version=0.0.0 [2022-04-26T01:41:53.796Z] ---> Running in c4263c9a3deb [2022-04-26T01:41:54.060Z] Removing intermediate container c4263c9a3deb [2022-04-26T01:41:54.060Z] ---> 1ce2f6fe6b92 [2022-04-26T01:41:54.060Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T01:41:54.060Z] Successfully built 1ce2f6fe6b92 [2022-04-26T01:41:54.060Z] Successfully tagged device-virtual:latest [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] sh [2022-04-26T01:41:54.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T01:41:54.747Z] [2022-04-26T01:41:54.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:41:55.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T01:41:55.089Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-26T01:41:55.089Z] 5eb5b503b376: Pulling fs layer [2022-04-26T01:41:55.089Z] 5c69ac0246d0: Pulling fs layer [2022-04-26T01:41:55.089Z] ec43610c2a17: Pulling fs layer [2022-04-26T01:41:55.089Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-26T01:41:55.089Z] 33b1e0a273af: Pulling fs layer [2022-04-26T01:41:55.089Z] 5d3b04190fa2: Pulling fs layer [2022-04-26T01:41:55.089Z] 2f39f015ded8: Pulling fs layer [2022-04-26T01:41:55.089Z] 33b1e0a273af: Waiting [2022-04-26T01:41:55.089Z] 3a2ae6a8a46f: Waiting [2022-04-26T01:41:55.089Z] 5d3b04190fa2: Waiting [2022-04-26T01:41:55.089Z] 5c69ac0246d0: Verifying Checksum [2022-04-26T01:41:55.089Z] 5c69ac0246d0: Download complete [2022-04-26T01:41:55.089Z] 3a2ae6a8a46f: Download complete [2022-04-26T01:41:55.089Z] 33b1e0a273af: Verifying Checksum [2022-04-26T01:41:55.089Z] 33b1e0a273af: Download complete [2022-04-26T01:41:55.089Z] 5d3b04190fa2: Verifying Checksum [2022-04-26T01:41:55.089Z] 5d3b04190fa2: Download complete [2022-04-26T01:41:55.089Z] ec43610c2a17: Verifying Checksum [2022-04-26T01:41:55.089Z] ec43610c2a17: Download complete [2022-04-26T01:41:55.351Z] 5eb5b503b376: Download complete [2022-04-26T01:41:55.918Z] 2f39f015ded8: Download complete [2022-04-26T01:41:56.856Z] 5eb5b503b376: Pull complete [2022-04-26T01:41:56.856Z] 5c69ac0246d0: Pull complete [2022-04-26T01:41:57.425Z] ec43610c2a17: Pull complete [2022-04-26T01:41:57.425Z] 3a2ae6a8a46f: Pull complete [2022-04-26T01:41:57.685Z] 33b1e0a273af: Pull complete [2022-04-26T01:41:57.685Z] 5d3b04190fa2: Pull complete [2022-04-26T01:42:02.968Z] 2f39f015ded8: Pull complete [2022-04-26T01:42:02.968Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-26T01:42:02.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T01:42:02.968Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-26T01:42:03.068Z] prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container [2022-04-26T01:42:03.110Z] $ 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-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-26T01:42:05.433Z] $ docker top dcbf999f25186d2db30f1a49b223e03f762e7c02e4b9e2629a678a73828db8b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:42:05.950Z] ---> job-cost.sh [2022-04-26T01:42:05.950Z] lf-activate-venv: SKIPPING [2022-04-26T01:42:05.950Z] INFO: No Stack... [2022-04-26T01:42:06.211Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T01:42:06.783Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T01:42:07.110Z] + cat /w/workspace/foundry_device-virtual-go_PR-281/archives/cost.csv [2022-04-26T01:42:07.111Z] + cut -d, -f6 [Pipeline] lock [2022-04-26T01:42:07.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [2022-04-26T01:42:07.155Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] did not exist. Created. [2022-04-26T01:42:07.155Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T01:42:07.545Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-26T01:42:07.595Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T01:42:07.621Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T01:42:07.700Z] $ docker stop --time=1 dcbf999f25186d2db30f1a49b223e03f762e7c02e4b9e2629a678a73828db8b7 [2022-04-26T01:42:08.884Z] $ docker rm -f dcbf999f25186d2db30f1a49b223e03f762e7c02e4b9e2629a678a73828db8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-26T01:44:14.742Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23552 in /w/workspace/foundry_device-virtual-go_PR-281 [Pipeline] { [Pipeline] ws [2022-04-26T01:44:14.779Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-04-26T01:44:15.083Z] The recommended git tool is: git [2022-04-26T01:44:21.648Z] using credential edgex-jenkins-ssh [2022-04-26T01:44:21.669Z] Cloning the remote Git repository [2022-04-26T01:44:21.731Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-26T01:44:21.814Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-04-26T01:44:21.899Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-26T01:44:21.900Z] > git --version # timeout=10 [2022-04-26T01:44:21.933Z] > git --version # 'git version 2.25.1' [2022-04-26T01:44:21.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T01:44:22.018Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T01:44:24.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-26T01:44:24.020Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-26T01:44:24.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-26T01:44:24.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-26T01:44:24.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T01:44:24.199Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-26T01:44:24.822Z] Merging remotes/origin/main commit 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 into PR head commit 1d794d65e3bd122987564178f6b84a24dab9faf6 [2022-04-26T01:44:25.054Z] Merge succeeded, producing 1d794d65e3bd122987564178f6b84a24dab9faf6 [2022-04-26T01:44:25.054Z] Checking out Revision 1d794d65e3bd122987564178f6b84a24dab9faf6 (PR-281) [2022-04-26T01:44:24.843Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T01:44:24.874Z] > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # timeout=10 [2022-04-26T01:44:24.962Z] > git remote # timeout=10 [2022-04-26T01:44:24.981Z] > git config --get remote.origin.url # timeout=10 [2022-04-26T01:44:25.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-26T01:44:25.015Z] > git merge 48207151525d36e6c5eb15a94183c6d9f8ae1ac7 # timeout=10 [2022-04-26T01:44:25.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-26T01:44:25.065Z] > git config core.sparsecheckout # timeout=10 [2022-04-26T01:44:25.080Z] > git checkout -f 1d794d65e3bd122987564178f6b84a24dab9faf6 # timeout=10 [2022-04-26T01:44:29.229Z] Commit message: "feat: Add MaxEventSize and ReadingUnits to configuration" [2022-04-26T01:44:29.283Z] > git --version # timeout=10 [2022-04-26T01:44:29.303Z] > git --version # 'git version 2.25.1' [2022-04-26T01:44:29.326Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T01:44:30.418Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-26T01:44:30.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T01:44:30.418Z] Dload Upload Total Spent Left Speed [2022-04-26T01:44:30.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98691 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh [2022-04-26T01:44:30.956Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-26T01:44:31.314Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-26T01:44:31.314Z] + sudo tee /etc/docker/daemon.new [2022-04-26T01:44:31.314Z] { [2022-04-26T01:44:31.314Z] "registry-mirrors": [ [2022-04-26T01:44:31.314Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-26T01:44:31.314Z] ], [2022-04-26T01:44:31.314Z] "bip": "10.250.0.254/24", [2022-04-26T01:44:31.314Z] "hosts": [ [2022-04-26T01:44:31.314Z] "tcp://0.0.0.0:5555", [2022-04-26T01:44:31.314Z] "unix:///var/run/docker.sock" [2022-04-26T01:44:31.314Z] ], [2022-04-26T01:44:31.314Z] "mtu": 1458, [2022-04-26T01:44:31.314Z] "selinux-enabled": true, [2022-04-26T01:44:31.314Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-26T01:44:31.314Z] } [Pipeline] sh [2022-04-26T01:44:31.670Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-26T01:44:32.113Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T01:44:50.529Z] provisioning config files... [2022-04-26T01:44:50.556Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3082204001312084614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:44:51.095Z] ---> docker-login.sh [2022-04-26T01:44:51.095Z] nexus3.edgexfoundry.org:10001 [2022-04-26T01:44:51.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:44:51.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:44:51.964Z] Configure a credential helper to remove this warning. See [2022-04-26T01:44:51.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:44:51.964Z] [2022-04-26T01:44:51.964Z] Login Succeeded [2022-04-26T01:44:51.964Z] nexus3.edgexfoundry.org:10002 [2022-04-26T01:44:52.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:44:52.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:44:52.512Z] Configure a credential helper to remove this warning. See [2022-04-26T01:44:52.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:44:52.512Z] [2022-04-26T01:44:52.512Z] Login Succeeded [2022-04-26T01:44:52.512Z] nexus3.edgexfoundry.org:10003 [2022-04-26T01:44:52.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:44:52.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:44:52.797Z] Configure a credential helper to remove this warning. See [2022-04-26T01:44:52.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:44:52.797Z] [2022-04-26T01:44:52.797Z] Login Succeeded [2022-04-26T01:44:52.797Z] nexus3.edgexfoundry.org:10004 [2022-04-26T01:44:53.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:44:53.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:44:53.399Z] Configure a credential helper to remove this warning. See [2022-04-26T01:44:53.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:44:53.399Z] [2022-04-26T01:44:53.399Z] Login Succeeded [2022-04-26T01:44:53.399Z] docker.io [2022-04-26T01:44:53.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-26T01:44:54.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-26T01:44:54.264Z] Configure a credential helper to remove this warning. See [2022-04-26T01:44:54.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-26T01:44:54.264Z] [2022-04-26T01:44:54.264Z] Login Succeeded [2022-04-26T01:44:54.264Z] ---> docker-login.sh ends [Pipeline] } [2022-04-26T01:44:54.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-26T01:44:54.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-26T01:44:54.737Z] ========================================================= [2022-04-26T01:44:54.737Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-26T01:44:54.737Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:44:55.191Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-26T01:44:55.466Z] Sending build context to Docker daemon 11.61MB [2022-04-26T01:44:55.745Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T01:44:55.745Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-26T01:44:55.745Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-26T01:44:55.745Z] 9b3977197b4f: Pulling fs layer [2022-04-26T01:44:55.745Z] 1a89e8eeedd5: Pulling fs layer [2022-04-26T01:44:55.745Z] 94645a83ff95: Pulling fs layer [2022-04-26T01:44:55.745Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-26T01:44:55.745Z] 0c92f367c5e7: Pulling fs layer [2022-04-26T01:44:55.745Z] 3096ccb668a1: Pulling fs layer [2022-04-26T01:44:55.745Z] e8cf19c19ddd: Pulling fs layer [2022-04-26T01:44:55.745Z] a4caa8a26152: Pulling fs layer [2022-04-26T01:44:55.745Z] 3f3a8bcf1eab: Waiting [2022-04-26T01:44:55.745Z] 0c92f367c5e7: Waiting [2022-04-26T01:44:55.745Z] 3096ccb668a1: Waiting [2022-04-26T01:44:55.745Z] e8cf19c19ddd: Waiting [2022-04-26T01:44:55.745Z] a4caa8a26152: Waiting [2022-04-26T01:44:55.745Z] 94645a83ff95: Download complete [2022-04-26T01:44:55.745Z] 1a89e8eeedd5: Verifying Checksum [2022-04-26T01:44:55.745Z] 1a89e8eeedd5: Download complete [2022-04-26T01:44:55.745Z] 0c92f367c5e7: Verifying Checksum [2022-04-26T01:44:55.745Z] 0c92f367c5e7: Download complete [2022-04-26T01:44:55.745Z] 3096ccb668a1: Verifying Checksum [2022-04-26T01:44:55.745Z] 3096ccb668a1: Download complete [2022-04-26T01:44:55.745Z] 9b3977197b4f: Verifying Checksum [2022-04-26T01:44:55.745Z] 9b3977197b4f: Download complete [2022-04-26T01:44:56.019Z] e8cf19c19ddd: Verifying Checksum [2022-04-26T01:44:56.019Z] e8cf19c19ddd: Download complete [2022-04-26T01:44:56.619Z] 9b3977197b4f: Pull complete [2022-04-26T01:44:57.225Z] 1a89e8eeedd5: Pull complete [2022-04-26T01:44:57.500Z] 94645a83ff95: Pull complete [2022-04-26T01:44:57.775Z] a4caa8a26152: Verifying Checksum [2022-04-26T01:44:58.373Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-26T01:44:58.373Z] 3f3a8bcf1eab: Download complete [2022-04-26T01:45:10.807Z] 3f3a8bcf1eab: Pull complete [2022-04-26T01:45:10.807Z] 0c92f367c5e7: Pull complete [2022-04-26T01:45:11.081Z] 3096ccb668a1: Pull complete [2022-04-26T01:45:11.356Z] e8cf19c19ddd: Pull complete [2022-04-26T01:45:18.099Z] a4caa8a26152: Pull complete [2022-04-26T01:45:18.099Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-26T01:45:18.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-26T01:45:18.099Z] ---> 725f1c02e7f9 [2022-04-26T01:45:18.099Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T01:45:18.375Z] ---> Running in 521650094db8 [2022-04-26T01:45:18.981Z] Removing intermediate container 521650094db8 [2022-04-26T01:45:18.981Z] ---> 2797797c1a3d [2022-04-26T01:45:18.981Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T01:45:18.981Z] ---> Running in 4598c0971809 [2022-04-26T01:45:19.256Z] Removing intermediate container 4598c0971809 [2022-04-26T01:45:19.256Z] ---> 5f013bdee47e [2022-04-26T01:45:19.256Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-26T01:45:19.256Z] ---> Running in 1b48dd18106f [2022-04-26T01:45:19.537Z] Removing intermediate container 1b48dd18106f [2022-04-26T01:45:19.537Z] ---> f2d0a96648ea [2022-04-26T01:45:19.537Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T01:45:19.537Z] ---> Running in f23cf48dcf87 [2022-04-26T01:45:22.945Z] Removing intermediate container f23cf48dcf87 [2022-04-26T01:45:22.945Z] ---> 1d218e46c4fe [2022-04-26T01:45:22.945Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T01:45:22.945Z] ---> Running in 84ac05c241c3 [2022-04-26T01:45:23.926Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T01:45:24.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T01:45:25.525Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-26T01:45:25.525Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-26T01:45:25.525Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-26T01:45:25.804Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-26T01:45:25.804Z] Executing busybox-1.34.1-r3.trigger [2022-04-26T01:45:25.804Z] OK: 224 MiB in 56 packages [2022-04-26T01:45:26.796Z] Removing intermediate container 84ac05c241c3 [2022-04-26T01:45:26.796Z] ---> 4ec9ba143063 [2022-04-26T01:45:26.796Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-26T01:45:27.409Z] ---> 34f23bb0b07c [2022-04-26T01:45:27.409Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T01:45:27.409Z] ---> Running in 7e916ccb1a00 [2022-04-26T01:46:14.443Z] Removing intermediate container 7e916ccb1a00 [2022-04-26T01:46:14.443Z] ---> 03f82a3ee423 [2022-04-26T01:46:14.443Z] Step 10/12 : COPY . . [2022-04-26T01:46:14.443Z] ---> 8220093f0416 [2022-04-26T01:46:14.443Z] Step 11/12 : ARG MAKE='make build' [2022-04-26T01:46:14.443Z] ---> Running in 20a303e20884 [2022-04-26T01:46:14.443Z] Removing intermediate container 20a303e20884 [2022-04-26T01:46:14.443Z] ---> 5544c7882343 [2022-04-26T01:46:14.443Z] Step 12/12 : RUN $MAKE [2022-04-26T01:46:14.443Z] ---> Running in 0b85c3b06b59 [2022-04-26T01:46:15.041Z] noop [2022-04-26T01:46:15.636Z] Removing intermediate container 0b85c3b06b59 [2022-04-26T01:46:15.636Z] ---> 5abc64df541f [2022-04-26T01:46:15.636Z] Successfully built 5abc64df541f [2022-04-26T01:46:15.636Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:46:16.027Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T01:46:16.027Z] . [Pipeline] withDockerContainer [2022-04-26T01:46:16.275Z] prd-ubuntu20.04-docker-arm64-4c-16g-23552 does not seem to be running inside a container [2022-04-26T01:46:16.365Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-26T01:46:17.765Z] $ docker top f4b82a5fae84154cc31803551efa355d82125c99897227ef9738e3f7fd831ab3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T01:46:18.749Z] + go version [2022-04-26T01:46:18.749Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-26T01:46:18.786Z] $ docker stop --time=1 f4b82a5fae84154cc31803551efa355d82125c99897227ef9738e3f7fd831ab3 [2022-04-26T01:46:20.425Z] $ docker rm -f f4b82a5fae84154cc31803551efa355d82125c99897227ef9738e3f7fd831ab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:46:21.338Z] + docker inspect -f . ci-base-image-arm64 [2022-04-26T01:46:21.338Z] . [Pipeline] withDockerContainer [2022-04-26T01:46:21.599Z] prd-ubuntu20.04-docker-arm64-4c-16g-23552 does not seem to be running inside a container [2022-04-26T01:46:21.689Z] $ 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 ******** ci-base-image-arm64 cat [2022-04-26T01:46:23.066Z] $ docker top 54bc94f0caaaeb521dc027e41c98b5dee11460fa2f4d58097ede2bad2c65f298 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-26T01:46:24.058Z] + make test [2022-04-26T01:46:24.058Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-26T01:46:25.500Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-26T01:47:47.380Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-26T01:47:47.380Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.148s coverage: 65.7% of statements [2022-04-26T01:47:47.380Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-26T01:47:47.380Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-26T01:48:14.218Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-26T01:48:14.218Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-26T01:48:14.218Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-26T01:48:14.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-26T01:48:14.879Z] $ docker stop --time=1 54bc94f0caaaeb521dc027e41c98b5dee11460fa2f4d58097ede2bad2c65f298 [2022-04-26T01:48:16.679Z] $ docker rm -f 54bc94f0caaaeb521dc027e41c98b5dee11460fa2f4d58097ede2bad2c65f298 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-26T01:48:17.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-26T01:48:17.734Z] Warning: overwriting stash ‘coverage-report’ [2022-04-26T01:48:18.261Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-26T01:48:18.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-26T01:48:19.200Z] + ls -al . [2022-04-26T01:48:19.200Z] total 180 [2022-04-26T01:48:19.201Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 26 01:48 . [2022-04-26T01:48:19.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 01:44 .. [2022-04-26T01:48:19.201Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 01:44 .git [2022-04-26T01:48:19.201Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:44 .github [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 26 01:44 .gitignore [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 01:44 .golangci.yml [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 7893 Apr 26 01:44 Attribution.txt [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 26 01:44 CHANGELOG.md [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 26 01:44 Dockerfile [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 01:44 GOVERNANCE.md [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 26 01:44 Jenkinsfile [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 01:44 LICENSE [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 26 01:44 Makefile [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 26 01:44 OWNERS.md [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 26 01:44 README.md [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 01:40 VERSION [2022-04-26T01:48:19.201Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 01:44 bin [2022-04-26T01:48:19.201Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:44 cmd [2022-04-26T01:48:19.201Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 26 01:47 coverage.out [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 3185 Apr 26 01:44 go.mod [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 34643 Apr 26 01:44 go.sum [2022-04-26T01:48:19.201Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 01:44 internal [2022-04-26T01:48:19.201Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 26 01:44 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:48:19.601Z] + 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=1d794d65e3bd122987564178f6b84a24dab9faf6 --label arch=arm64 --label version=0.0.0 . [2022-04-26T01:48:20.228Z] Sending build context to Docker daemon 11.65MB [2022-04-26T01:48:20.228Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-26T01:48:20.228Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-26T01:48:20.229Z] ---> 5abc64df541f [2022-04-26T01:48:20.229Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-26T01:48:20.521Z] ---> Running in 2e0668c4f9fb [2022-04-26T01:48:20.803Z] Removing intermediate container 2e0668c4f9fb [2022-04-26T01:48:20.803Z] ---> 371ca5975b7b [2022-04-26T01:48:20.803Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-26T01:48:20.803Z] ---> Running in ec982bf0d2c1 [2022-04-26T01:48:21.120Z] Removing intermediate container ec982bf0d2c1 [2022-04-26T01:48:21.120Z] ---> 76d1c24c24eb [2022-04-26T01:48:21.120Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-26T01:48:21.397Z] ---> Running in 4c6f239314e7 [2022-04-26T01:48:21.674Z] Removing intermediate container 4c6f239314e7 [2022-04-26T01:48:21.674Z] ---> 0fa04d3193d4 [2022-04-26T01:48:21.674Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T01:48:21.674Z] ---> Running in adb66bcfd06a [2022-04-26T01:48:23.661Z] Removing intermediate container adb66bcfd06a [2022-04-26T01:48:23.661Z] ---> 14008ace6ad6 [2022-04-26T01:48:23.661Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-26T01:48:23.661Z] ---> Running in edd81396a159 [2022-04-26T01:48:24.254Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-26T01:48:25.236Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-26T01:48:26.218Z] OK: 224 MiB in 56 packages [2022-04-26T01:48:26.814Z] Removing intermediate container edd81396a159 [2022-04-26T01:48:26.814Z] ---> e90abdc549a4 [2022-04-26T01:48:26.814Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-26T01:48:27.415Z] ---> 867a94ce67f3 [2022-04-26T01:48:27.415Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-26T01:48:27.415Z] ---> Running in 2f14046781fc [2022-04-26T01:48:29.387Z] Removing intermediate container 2f14046781fc [2022-04-26T01:48:29.387Z] ---> ee6eff4547a7 [2022-04-26T01:48:29.387Z] Step 10/26 : COPY . . [2022-04-26T01:48:30.366Z] ---> 157dfa74a5d7 [2022-04-26T01:48:30.366Z] Step 11/26 : ARG MAKE='make build' [2022-04-26T01:48:30.644Z] ---> Running in dc18c198cbf8 [2022-04-26T01:48:30.916Z] Removing intermediate container dc18c198cbf8 [2022-04-26T01:48:30.916Z] ---> 47bb830b29d5 [2022-04-26T01:48:30.916Z] Step 12/26 : RUN $MAKE [2022-04-26T01:48:30.916Z] ---> Running in 1ce70998e506 [2022-04-26T01:48:31.917Z] CGO_ENABLED=1 GO111MODULE=on go build -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-04-26T01:50:38.753Z] Removing intermediate container 1ce70998e506 [2022-04-26T01:50:38.753Z] ---> 00bd36086dff [2022-04-26T01:50:38.753Z] Step 13/26 : FROM alpine:3.14 [2022-04-26T01:50:38.753Z] 3.14: Pulling from library/alpine [2022-04-26T01:50:38.753Z] 455c02918c45: Pulling fs layer [2022-04-26T01:50:38.753Z] 455c02918c45: Verifying Checksum [2022-04-26T01:50:38.753Z] 455c02918c45: Download complete [2022-04-26T01:50:38.753Z] 455c02918c45: Pull complete [2022-04-26T01:50:38.753Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-26T01:50:38.753Z] Status: Downloaded newer image for alpine:3.14 [2022-04-26T01:50:38.753Z] ---> ac73e934f311 [2022-04-26T01:50:38.753Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-26T01:50:38.753Z] ---> Running in c09075517078 [2022-04-26T01:50:38.753Z] Removing intermediate container c09075517078 [2022-04-26T01:50:38.753Z] ---> 65322cb92f87 [2022-04-26T01:50:38.753Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-26T01:50:38.753Z] ---> Running in 576e3b1aba5f [2022-04-26T01:50:38.753Z] Removing intermediate container 576e3b1aba5f [2022-04-26T01:50:38.753Z] ---> f47b7b5850b4 [2022-04-26T01:50:38.753Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-26T01:50:38.753Z] ---> Running in 39b174bc91ae [2022-04-26T01:50:38.753Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-26T01:50:38.753Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-26T01:50:38.753Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-26T01:50:38.753Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-26T01:50:38.753Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-26T01:50:38.753Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-26T01:50:38.753Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-26T01:50:38.753Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-26T01:50:38.753Z] Executing busybox-1.33.1-r7.trigger [2022-04-26T01:50:38.753Z] OK: 8 MiB in 20 packages [2022-04-26T01:50:38.753Z] Removing intermediate container 39b174bc91ae [2022-04-26T01:50:38.753Z] ---> adf8e17f68d7 [2022-04-26T01:50:38.753Z] Step 17/26 : WORKDIR / [2022-04-26T01:50:38.753Z] ---> Running in f2c886de0302 [2022-04-26T01:50:38.753Z] Removing intermediate container f2c886de0302 [2022-04-26T01:50:38.753Z] ---> ebadc823c3f9 [2022-04-26T01:50:38.753Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-26T01:50:38.753Z] ---> a34c0caf03b1 [2022-04-26T01:50:38.753Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-26T01:50:38.753Z] ---> c74477577d9a [2022-04-26T01:50:38.753Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-26T01:50:39.354Z] ---> a6ad91e6a8a8 [2022-04-26T01:50:39.354Z] Step 21/26 : EXPOSE 59900 [2022-04-26T01:50:39.354Z] ---> Running in 464df60c660f [2022-04-26T01:50:39.631Z] Removing intermediate container 464df60c660f [2022-04-26T01:50:39.631Z] ---> 657293a062d9 [2022-04-26T01:50:39.631Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-26T01:50:39.910Z] ---> Running in 8bb980b70e8b [2022-04-26T01:50:40.185Z] Removing intermediate container 8bb980b70e8b [2022-04-26T01:50:40.185Z] ---> 78c2487db4c8 [2022-04-26T01:50:40.185Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-26T01:50:40.185Z] ---> Running in 1d6203eef97f [2022-04-26T01:50:40.464Z] Removing intermediate container 1d6203eef97f [2022-04-26T01:50:40.464Z] ---> 20af87652869 [2022-04-26T01:50:40.464Z] Step 24/26 : LABEL arch=arm64 [2022-04-26T01:50:40.464Z] ---> Running in c87645b5c4b9 [2022-04-26T01:50:40.738Z] Removing intermediate container c87645b5c4b9 [2022-04-26T01:50:40.738Z] ---> 51f638c868a3 [2022-04-26T01:50:40.738Z] Step 25/26 : LABEL git_sha=1d794d65e3bd122987564178f6b84a24dab9faf6 [2022-04-26T01:50:41.014Z] ---> Running in 8bfef2892928 [2022-04-26T01:50:41.288Z] Removing intermediate container 8bfef2892928 [2022-04-26T01:50:41.288Z] ---> 3a34bb6d0f86 [2022-04-26T01:50:41.288Z] Step 26/26 : LABEL version=0.0.0 [2022-04-26T01:50:41.288Z] ---> Running in 8b71317b3a48 [2022-04-26T01:50:41.562Z] Removing intermediate container 8b71317b3a48 [2022-04-26T01:50:41.562Z] ---> ecabf408ec80 [2022-04-26T01:50:41.562Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-26T01:50:41.562Z] Successfully built ecabf408ec80 [2022-04-26T01:50:41.562Z] Successfully tagged device-virtual-arm64:latest [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] sh [2022-04-26T01:50:42.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T01:50:42.310Z] [2022-04-26T01:50:42.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:50:42.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T01:50:42.979Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-26T01:50:42.979Z] 8998bd30e6a1: Pulling fs layer [2022-04-26T01:50:42.979Z] 04944245beec: Pulling fs layer [2022-04-26T01:50:42.979Z] 699f458cf7ca: Pulling fs layer [2022-04-26T01:50:42.979Z] 765212b225bb: Pulling fs layer [2022-04-26T01:50:42.979Z] f23df028b6ca: Pulling fs layer [2022-04-26T01:50:42.979Z] d65c8cfc05b1: Pulling fs layer [2022-04-26T01:50:42.979Z] 2437ff75d9bd: Pulling fs layer [2022-04-26T01:50:42.979Z] f23df028b6ca: Waiting [2022-04-26T01:50:42.979Z] d65c8cfc05b1: Waiting [2022-04-26T01:50:42.979Z] 2437ff75d9bd: Waiting [2022-04-26T01:50:42.979Z] 765212b225bb: Waiting [2022-04-26T01:50:42.979Z] 04944245beec: Download complete [2022-04-26T01:50:42.979Z] 765212b225bb: Download complete [2022-04-26T01:50:42.979Z] f23df028b6ca: Download complete [2022-04-26T01:50:42.979Z] d65c8cfc05b1: Download complete [2022-04-26T01:50:42.979Z] 699f458cf7ca: Verifying Checksum [2022-04-26T01:50:42.979Z] 699f458cf7ca: Download complete [2022-04-26T01:50:43.584Z] 8998bd30e6a1: Verifying Checksum [2022-04-26T01:50:43.584Z] 8998bd30e6a1: Download complete [2022-04-26T01:50:45.572Z] 2437ff75d9bd: Verifying Checksum [2022-04-26T01:50:45.572Z] 2437ff75d9bd: Download complete [2022-04-26T01:50:48.198Z] 8998bd30e6a1: Pull complete [2022-04-26T01:50:48.471Z] 04944245beec: Pull complete [2022-04-26T01:50:49.908Z] 699f458cf7ca: Pull complete [2022-04-26T01:50:50.181Z] 765212b225bb: Pull complete [2022-04-26T01:50:50.779Z] f23df028b6ca: Pull complete [2022-04-26T01:50:51.053Z] d65c8cfc05b1: Pull complete [2022-04-26T01:51:06.140Z] 2437ff75d9bd: Pull complete [2022-04-26T01:51:06.140Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-26T01:51:06.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-26T01:51:06.140Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-26T01:51:06.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-23552 does not seem to be running inside a container [2022-04-26T01:51:06.488Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-26T01:51:09.081Z] $ docker top 8e372355df71e2cb4fcac0b1bf2b2a4a6faf29e40c189d51ab6ca22f2a3121e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:10.085Z] ---> job-cost.sh [2022-04-26T01:51:10.085Z] lf-activate-venv: SKIPPING [2022-04-26T01:51:10.085Z] INFO: No Stack... [2022-04-26T01:51:10.360Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-26T01:51:11.337Z] INFO: Archiving Costs [Pipeline] sh [2022-04-26T01:51:12.018Z] + cut -d, -f6 [2022-04-26T01:51:12.018Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-04-26T01:51:12.108Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [2022-04-26T01:51:12.112Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] did not exist. Created. [2022-04-26T01:51:12.112Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-26T01:51:12.850Z] /w/workspace/device-virtual-go/1@tmp/durable-b00ac797/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-26T01:51:13.541Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-26T01:51:13.579Z] Warning: overwriting stash ‘stack-cost’ [2022-04-26T01:51:13.621Z] Stashed 1 file(s) [Pipeline] } [2022-04-26T01:51:13.760Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-281-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-26T01:51:13.841Z] $ docker stop --time=1 8e372355df71e2cb4fcac0b1bf2b2a4a6faf29e40c189d51ab6ca22f2a3121e5 [2022-04-26T01:51:15.343Z] $ docker rm -f 8e372355df71e2cb4fcac0b1bf2b2a4a6faf29e40c189d51ab6ca22f2a3121e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-26T01:51:16.342Z] provisioning config files... [2022-04-26T01:51:16.351Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config2841445664544912813tmp [Pipeline] { [Pipeline] sh [2022-04-26T01:51:16.689Z] + set +x [2022-04-26T01:51:16.689Z] + curl -s https://codecov.io/bash [2022-04-26T01:51:16.689Z] + bash -s -- [2022-04-26T01:51:16.689Z] [2022-04-26T01:51:16.689Z] _____ _ [2022-04-26T01:51:16.689Z] / ____| | | [2022-04-26T01:51:16.689Z] | | ___ __| | ___ ___ _____ __ [2022-04-26T01:51:16.689Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-26T01:51:16.689Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-26T01:51:16.689Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-26T01:51:16.689Z] Bash-1.0.6 [2022-04-26T01:51:16.689Z] [2022-04-26T01:51:16.689Z] [2022-04-26T01:51:16.689Z] ==> git version 2.25.1 found [2022-04-26T01:51:16.689Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-26T01:51:16.689Z] Release-Date: 2020-01-08 [2022-04-26T01:51:16.689Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-26T01:51:16.689Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-26T01:51:16.689Z] ==> Jenkins CI detected. [2022-04-26T01:51:16.689Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-281 [2022-04-26T01:51:16.689Z] project root: . [2022-04-26T01:51:16.689Z] --> token set from env [2022-04-26T01:51:16.689Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-26T01:51:16.689Z] ==> Running gcov in . (disable via -X gcov) [2022-04-26T01:51:16.689Z] ==> Python coveragepy not found [2022-04-26T01:51:16.689Z] ==> Searching for coverage reports in: [2022-04-26T01:51:16.689Z] + . [2022-04-26T01:51:16.689Z] -> Found 1 reports [2022-04-26T01:51:16.689Z] ==> Detecting git/mercurial file structure [2022-04-26T01:51:16.948Z] ==> Reading reports [2022-04-26T01:51:16.949Z] + ./coverage.out bytes=44128 [2022-04-26T01:51:16.949Z] ==> Appending adjustments [2022-04-26T01:51:16.949Z] https://docs.codecov.io/docs/fixing-reports [2022-04-26T01:51:16.949Z] + Found adjustments [2022-04-26T01:51:16.949Z] ==> Gzipping contents [2022-04-26T01:51:16.949Z] 8.0K /tmp/codecov.Yz4fch.gz [2022-04-26T01:51:16.949Z] ==> Uploading reports [2022-04-26T01:51:16.949Z] url: https://codecov.io [2022-04-26T01:51:16.949Z] query: branch=PR-281&commit=1d794d65e3bd122987564178f6b84a24dab9faf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=281&job=&cmd_args= [2022-04-26T01:51:16.949Z] -> Pinging Codecov [2022-04-26T01:51:16.949Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-281&commit=1d794d65e3bd122987564178f6b84a24dab9faf6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-281%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=281&job=&cmd_args= [2022-04-26T01:51:17.207Z] -> Uploading to [2022-04-26T01:51:17.207Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-26/5E52B4B073DB2E39498172D8E973AA87/1d794d65e3bd122987564178f6b84a24dab9faf6/732311ed-3790-4011-927e-50ab96b2aa4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T015117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c45ce26b9c18710cd2b81a29d2420e84e444b3e97ac4ce975c8535ebf17f2c87 [2022-04-26T01:51:17.207Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-26T01:51:17.207Z] Dload Upload Total Spent Left Speed [2022-04-26T01:51:17.466Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5300 0 0 100 5300 0 19850 --:--:-- --:--:-- --:--:-- 19850 [2022-04-26T01:51:17.466Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/1d794d65e3bd122987564178f6b84a24dab9faf6 [Pipeline] } [2022-04-26T01:51:17.493Z] 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-04-26T01:51:19.108Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-281/archives ] [2022-04-26T01:51:19.108Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-281/archives [2022-04-26T01:51:19.108Z] total 16 [2022-04-26T01:51:19.108Z] drwxr-xr-x 3 root root 4096 Apr 26 01:42 . [2022-04-26T01:51:19.108Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 01:42 .. [2022-04-26T01:51:19.108Z] drwxr-xr-x 2 root root 4096 Apr 26 01:42 cost [2022-04-26T01:51:19.108Z] -rw-r--r-- 1 root root 88 Apr 26 01:42 cost.csv [2022-04-26T01:51:19.108Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-281/archives [2022-04-26T01:51:19.108Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-281/archives [2022-04-26T01:51:19.108Z] total 16 [2022-04-26T01:51:19.108Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 01:42 . [2022-04-26T01:51:19.108Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 01:42 .. [2022-04-26T01:51:19.108Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 01:42 cost [2022-04-26T01:51:19.108Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 26 01:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:19.440Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:20.334Z] ---> package-listing.sh [2022-04-26T01:51:20.334Z] ++ facter osfamily [2022-04-26T01:51:20.334Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-26T01:51:20.595Z] + OS_FAMILY=debian [2022-04-26T01:51:20.595Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-281 [2022-04-26T01:51:20.595Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-26T01:51:20.595Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-26T01:51:20.595Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-26T01:51:20.595Z] + PACKAGES=/tmp/packages_start.txt [2022-04-26T01:51:20.595Z] + '[' /w/workspace/foundry_device-virtual-go_PR-281 ']' [2022-04-26T01:51:20.595Z] + PACKAGES=/tmp/packages_end.txt [2022-04-26T01:51:20.595Z] + case "${OS_FAMILY}" in [2022-04-26T01:51:20.595Z] + dpkg -l [2022-04-26T01:51:20.595Z] + grep '^ii' [2022-04-26T01:51:20.595Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-26T01:51:20.595Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-26T01:51:20.595Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-26T01:51:20.595Z] + '[' /w/workspace/foundry_device-virtual-go_PR-281 ']' [2022-04-26T01:51:20.595Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-281/archives/ [2022-04-26T01:51:20.595Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-281/archives/ [Pipeline] echo [2022-04-26T01:51:20.628Z] 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-26T01:51:20.924Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-26T01:51:21.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-26T01:51:21.510Z] . [Pipeline] withDockerContainer [2022-04-26T01:51:21.606Z] prd-ubuntu20.04-docker-8c-8g-23550 does not seem to be running inside a container [2022-04-26T01:51:21.648Z] $ 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-281/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-281 -v /w/workspace/foundry_device-virtual-go_PR-281:/w/workspace/foundry_device-virtual-go_PR-281:rw,z -v /w/workspace/foundry_device-virtual-go_PR-281@tmp:/w/workspace/foundry_device-virtual-go_PR-281@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-lftools-log-publisher:latest cat [2022-04-26T01:51:21.917Z] $ docker top c542d6592cd23321d47d64267e14e5d74eba1a3399d6155b87b9b2ba2159a085 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-26T01:51:22.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-26T01:51:22.647Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-26T01:51:22.972Z] + ls /var/log/sa-host [2022-04-26T01:51:22.972Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-26T01:51:23.128Z] provisioning config files... [2022-04-26T01:51:23.138Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-281@tmp/config1020994294602486957tmp [Pipeline] { [Pipeline] echo [2022-04-26T01:51:23.186Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:23.505Z] ---> create-netrc.sh [Pipeline] } [2022-04-26T01:51:23.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:23.924Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-26T01:51:23.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:24.269Z] ---> sudo-logs.sh [2022-04-26T01:51:24.269Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-26T01:51:24.354Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:24.670Z] ---> job-cost.sh [2022-04-26T01:51:24.670Z] lf-activate-venv: SKIPPING [2022-04-26T01:51:24.670Z] DEBUG: total: 0.2199999988079071 [2022-04-26T01:51:24.670Z] INFO: Retrieving Stack Cost... [2022-04-26T01:51:25.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-26T01:51:25.505Z] INFO: Archiving Costs [Pipeline] echo [2022-04-26T01:51:25.539Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-26T01:51:25.858Z] ---> logs-deploy.sh [2022-04-26T01:51:25.858Z] lf-activate-venv: SKIPPING [2022-04-26T01:51:25.858Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-281/1 [2022-04-26T01:51:25.858Z] INFO: archiving workspace using pattern(s): [2022-04-26T01:51:26.802Z] Archives upload complete. [2022-04-26T01:51:27.064Z] INFO: archiving logs to Nexus