Pull request #300 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 rather than 823b52c7643ad1913637706eece5191282a1b1de Obtained Jenkinsfile from b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 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-ssh15396501469499933384.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh15119315038249124137.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2062839445834471855.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-300/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8787641803317998425.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh382814682642850353.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-300/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10980242420297161328.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22515 in /w/workspace/foundry_device-virtual-go_PR-300 [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-300 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit 823b52c7643ad1913637706eece5191282a1b1de Merge succeeded, producing 823b52c7643ad1913637706eece5191282a1b1de Checking out Revision 823b52c7643ad1913637706eece5191282a1b1de (PR-300) > 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/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 823b52c7643ad1913637706eece5191282a1b1de # 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 b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 823b52c7643ad1913637706eece5191282a1b1de # timeout=10 Commit message: "build(snap): Upgrade snap hook to 2.4.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:24:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:24:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:24:29 ========================================================= 16:24:29 EdgeX Global Pipelines Version Info 16:24:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:24:30 ------------------- 16:24:30 stable info: 16:24:30 ------------------- 16:24:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:24:30 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:24:30 Message: update stable to v1.0.238 16:24:31 ------------------- 16:24:31 experimental info: 16:24:31 ------------------- 16:24:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:24:31 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 16:24:31 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:24:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-300 [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-300 [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-300 [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 823b52c [Pipeline] echo 16:24:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:32 provisioning config files... 16:24:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config7302044098469977931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:33 ---> docker-login.sh 16:24:33 nexus3.edgexfoundry.org:10001 16:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:33 Configure a credential helper to remove this warning. See 16:24:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:33 16:24:33 Login Succeeded 16:24:33 nexus3.edgexfoundry.org:10002 16:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:34 Configure a credential helper to remove this warning. See 16:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:34 16:24:34 Login Succeeded 16:24:34 nexus3.edgexfoundry.org:10003 16:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:34 Configure a credential helper to remove this warning. See 16:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:34 16:24:34 Login Succeeded 16:24:34 nexus3.edgexfoundry.org:10004 16:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:34 Configure a credential helper to remove this warning. See 16:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:34 16:24:34 Login Succeeded 16:24:34 docker.io 16:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:34 Configure a credential helper to remove this warning. See 16:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:34 16:24:34 Login Succeeded 16:24:34 ---> docker-login.sh ends [Pipeline] } 16:24:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:24:35 + git rev-list -1 --merges 823b52c7643ad1913637706eece5191282a1b1de~1..823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo 16:24:35 -----------> git rev-list -1 --merges 823b52c7643ad1913637706eece5191282a1b1de~1..823b52c7643ad1913637706eece5191282a1b1de 823b52c7643ad1913637706eece5191282a1b1de [false] [Pipeline] sh 16:24:35 + git log --format=format:%s -1 823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo 16:24:35 ========================================================= 16:24:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:24:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:36 + git log --format=format:%s -1 823b52c7643ad1913637706eece5191282a1b1de [Pipeline] echo 16:24:36 [semverPrep] GIT_COMMIT: 823b52c7643ad1913637706eece5191282a1b1de, Commit Message: build(snap): Upgrade snap hook to 2.4.1 [Pipeline] echo 16:24:36 [semverPrep] This is not a build commit. [Pipeline] sh 16:24:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:24:36 + grep -v github /etc/ssh/ssh_known_hosts 16:24:36 + [ -e /tmp/ssh_known_hosts ] 16:24:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:24:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:24:36 + sudo tee -a /etc/ssh/ssh_known_hosts 16:24:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:24:37 16:24:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:24:37 0.1.4: Pulling from edgex-devops/py-git-semver 16:24:37 b85a868b505f: Pulling fs layer 16:24:37 e2be974225ed: Pulling fs layer 16:24:37 339a4e72a1f5: Pulling fs layer 16:24:37 988bab9f4d93: Pulling fs layer 16:24:37 1469e6f7b9e6: Pulling fs layer 16:24:37 eaf3925da568: Pulling fs layer 16:24:37 bab4dde63d76: Pulling fs layer 16:24:37 bde34c3a00c8: Pulling fs layer 16:24:37 b352a97aabf1: Pulling fs layer 16:24:37 4872d77fe225: Pulling fs layer 16:24:37 5851b861e8e6: Pulling fs layer 16:24:37 bde34c3a00c8: Waiting 16:24:37 988bab9f4d93: Waiting 16:24:37 1469e6f7b9e6: Waiting 16:24:37 b352a97aabf1: Waiting 16:24:37 4872d77fe225: Waiting 16:24:37 5851b861e8e6: Waiting 16:24:37 eaf3925da568: Waiting 16:24:37 bab4dde63d76: Waiting 16:24:37 e2be974225ed: Verifying Checksum 16:24:37 e2be974225ed: Download complete 16:24:37 988bab9f4d93: Download complete 16:24:37 1469e6f7b9e6: Verifying Checksum 16:24:37 1469e6f7b9e6: Download complete 16:24:37 339a4e72a1f5: Verifying Checksum 16:24:37 339a4e72a1f5: Download complete 16:24:37 eaf3925da568: Verifying Checksum 16:24:37 eaf3925da568: Download complete 16:24:37 bde34c3a00c8: Download complete 16:24:37 b352a97aabf1: Verifying Checksum 16:24:37 b352a97aabf1: Download complete 16:24:37 4872d77fe225: Verifying Checksum 16:24:37 4872d77fe225: Download complete 16:24:37 5851b861e8e6: Verifying Checksum 16:24:37 5851b861e8e6: Download complete 16:24:37 b85a868b505f: Verifying Checksum 16:24:37 b85a868b505f: Download complete 16:24:38 bab4dde63d76: Verifying Checksum 16:24:38 bab4dde63d76: Download complete 16:24:39 b85a868b505f: Pull complete 16:24:39 e2be974225ed: Pull complete 16:24:39 339a4e72a1f5: Pull complete 16:24:39 988bab9f4d93: Pull complete 16:24:40 1469e6f7b9e6: Pull complete 16:24:40 eaf3925da568: Pull complete 16:24:42 bab4dde63d76: Pull complete 16:24:42 bde34c3a00c8: Pull complete 16:24:42 b352a97aabf1: Pull complete 16:24:42 4872d77fe225: Pull complete 16:24:42 5851b861e8e6: Pull complete 16:24:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:24:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:24:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:43 prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container 16:24:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@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-devops/py-git-semver:0.1.4 cat 16:24:44 $ docker top 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 -eo pid,comm 16:24:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:24:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:24:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:44 [ssh-agent] Looking for ssh-agent implementation... 16:24:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:45 $ docker exec 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent 16:24:45 SSH_AUTH_SOCK=/tmp/ssh-i1vs0SrcxFVA/agent.34 16:24:45 SSH_AGENT_PID=40 16:24:45 Running ssh-add (command line suppressed) 16:24:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_5022827503250311118.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_5022827503250311118.key) 16:24:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:45 + git tag --points-at HEAD [Pipeline] } 16:24:45 $ docker exec --env ******** --env ******** 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent -k 16:24:45 unset SSH_AUTH_SOCK; 16:24:45 unset SSH_AGENT_PID; 16:24:45 echo Agent pid 40 killed; 16:24:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:24:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:24:45 [ssh-agent] Looking for ssh-agent implementation... 16:24:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:24:46 $ docker exec 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent 16:24:46 SSH_AUTH_SOCK=/tmp/ssh-L4AA7T4L8Rr9/agent.74 16:24:46 SSH_AGENT_PID=81 16:24:46 Running ssh-add (command line suppressed) 16:24:46 Identity added: /w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7579429865554651420.key (/w/workspace/foundry_device-virtual-go_PR-300@tmp/private_key_7579429865554651420.key) 16:24:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:24:46 + git semver init 16:24:46 2022-08-11 16:24:46,907 [run_init] DEBUG init version:0.0.0 force:False 16:24:46 2022-08-11 16:24:46,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-300/.semver 16:24:46 2022-08-11 16:24:46,908 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-300/.semver 16:24:46 2022-08-11 16:24:46,908 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-300/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-300, universal_newlines=False, shell=None, istream=None) 16:24:47 2022-08-11 16:24:47,851 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-300/.git/info/exclude 16:24:47 2022-08-11 16:24:47,852 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 with force:False 16:24:47 2022-08-11 16:24:47,852 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 16:24:47 2022-08-11 16:24:47,857 [execute] INFO git cat-file --batch-check 16:24:47 2022-08-11 16:24:47,857 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) 16:24:47 2022-08-11 16:24:47,864 [execute] INFO git cat-file --batch 16:24:47 2022-08-11 16:24:47,864 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-300/.semver, universal_newlines=False, shell=None, istream=) 16:24:47 2022-08-11 16:24:47,870 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-300/.semver/PR-300 16:24:47 0.0.0 [Pipeline] } 16:24:47 $ docker exec --env ******** --env ******** 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 ssh-agent -k 16:24:48 unset SSH_AUTH_SOCK; 16:24:48 unset SSH_AGENT_PID; 16:24:48 echo Agent pid 81 killed; 16:24:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:24:48 + git semver [Pipeline] } 16:24:48 $ docker stop --time=1 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 16:24:50 $ docker rm -f 906020383ab50c8bc6fa75514623f74ba2b97053e02a84b7c3ccc0287fe0ceb2 [Pipeline] // withDockerContainer [Pipeline] sh 16:24:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:24:50 Stashed 1 file(s) [Pipeline] echo 16:24:50 [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 16:24:51 provisioning config files... 16:24:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config5935096059214978435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:51 ---> docker-login.sh 16:24:51 nexus3.edgexfoundry.org:10001 16:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:51 Configure a credential helper to remove this warning. See 16:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:51 16:24:51 Login Succeeded 16:24:51 nexus3.edgexfoundry.org:10002 16:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:52 Configure a credential helper to remove this warning. See 16:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:52 16:24:52 Login Succeeded 16:24:52 nexus3.edgexfoundry.org:10003 16:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:52 Configure a credential helper to remove this warning. See 16:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:52 16:24:52 Login Succeeded 16:24:52 nexus3.edgexfoundry.org:10004 16:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:52 Configure a credential helper to remove this warning. See 16:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:52 16:24:52 Login Succeeded 16:24:52 docker.io 16:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:52 Configure a credential helper to remove this warning. See 16:24:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:52 16:24:52 Login Succeeded 16:24:52 ---> docker-login.sh ends [Pipeline] } 16:24:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:52 ========================================================= 16:24:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:24:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:24:53 Sending build context to Docker daemon 23.1MB 16:24:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:24:53 Step 2/12 : FROM ${BASE} AS builder 16:24:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:24:53 2408cc74d12b: Pulling fs layer 16:24:53 ea60b727a1ce: Pulling fs layer 16:24:53 30c4a7721957: Pulling fs layer 16:24:53 370296b7ddb6: Pulling fs layer 16:24:53 7c6cee850709: Pulling fs layer 16:24:53 370296b7ddb6: Waiting 16:24:53 39a5fcdaea64: Pulling fs layer 16:24:53 d94ebbe4e438: Pulling fs layer 16:24:53 bcfd1f05c69d: Pulling fs layer 16:24:53 7c6cee850709: Waiting 16:24:53 39a5fcdaea64: Waiting 16:24:53 d94ebbe4e438: Waiting 16:24:53 59ccb84bbe0f: Pulling fs layer 16:24:53 59ccb84bbe0f: Waiting 16:24:53 30c4a7721957: Verifying Checksum 16:24:53 30c4a7721957: Download complete 16:24:53 ea60b727a1ce: Verifying Checksum 16:24:53 ea60b727a1ce: Download complete 16:24:53 7c6cee850709: Download complete 16:24:53 39a5fcdaea64: Verifying Checksum 16:24:53 39a5fcdaea64: Download complete 16:24:53 2408cc74d12b: Download complete 16:24:53 d94ebbe4e438: Download complete 16:24:53 2408cc74d12b: Pull complete 16:24:53 ea60b727a1ce: Pull complete 16:24:53 30c4a7721957: Pull complete 16:24:54 59ccb84bbe0f: Verifying Checksum 16:24:54 59ccb84bbe0f: Download complete 16:24:54 bcfd1f05c69d: Verifying Checksum 16:24:54 bcfd1f05c69d: Download complete 16:24:54 370296b7ddb6: Verifying Checksum 16:24:54 370296b7ddb6: Download complete 16:24:59 370296b7ddb6: Pull complete 16:24:59 7c6cee850709: Pull complete 16:24:59 39a5fcdaea64: Pull complete 16:24:59 d94ebbe4e438: Pull complete 16:25:01 bcfd1f05c69d: Pull complete 16:25:02 59ccb84bbe0f: Pull complete 16:25:02 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:25:02 ---> a4fb48ad2a94 16:25:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:25:04 ---> Running in 655bba793e3c 16:25:04 Removing intermediate container 655bba793e3c 16:25:04 ---> 3e4984bea2b1 16:25:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:25:04 ---> Running in 8e3414f6fbab 16:25:04 Removing intermediate container 8e3414f6fbab 16:25:04 ---> d39a6e09c0cf 16:25:04 Step 5/12 : WORKDIR /device-virtual-go 16:25:04 ---> Running in 6f9bd042886c 16:25:04 Removing intermediate container 6f9bd042886c 16:25:04 ---> d7dea62ce8d8 16:25:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:25:05 ---> Running in 1a309285d3c6 16:25:05 Removing intermediate container 1a309285d3c6 16:25:05 ---> 91bcad43d575 16:25:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:05 ---> Running in a945a00cdcee 16:25:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:25:06 Still waiting to schedule task 16:25:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:25:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:25:07 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:25:07 (2/4) Installing libedit (20210910.3.1-r0) 16:25:07 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:25:07 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:25:07 Executing busybox-1.35.0-r13.trigger 16:25:07 OK: 216 MiB in 55 packages 16:25:07 Removing intermediate container a945a00cdcee 16:25:07 ---> a98963200156 16:25:07 Step 8/12 : COPY go.mod vendor* ./ 16:25:08 ---> c85f3ad8c4b6 16:25:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:08 ---> Running in d475b41cd7f7 16:25:26 Removing intermediate container d475b41cd7f7 16:25:26 ---> 98f694f21312 16:25:26 Step 10/12 : COPY . . 16:25:26 ---> 0e1ab4b73c65 16:25:26 Step 11/12 : ARG MAKE='make build' 16:25:27 ---> Running in 7b24b1aa029a 16:25:27 Removing intermediate container 7b24b1aa029a 16:25:27 ---> 11e8819908ec 16:25:27 Step 12/12 : RUN $MAKE 16:25:27 ---> Running in 0458a3cfcb89 16:25:27 noop 16:25:27 Removing intermediate container 0458a3cfcb89 16:25:27 ---> 896adbefc126 16:25:28 Successfully built 896adbefc126 16:25:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:28 + docker inspect -f . ci-base-image-x86_64 16:25:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:28 prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container 16:25:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:25:29 $ docker top 5c8ce9ffcd382cba369a78f57f1c7bd4cf22d281a4fa1d85326deb0b529d7d24 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:29 + go version 16:25:29 go version go1.18.3 linux/amd64 [Pipeline] } 16:25:29 $ docker stop --time=1 5c8ce9ffcd382cba369a78f57f1c7bd4cf22d281a4fa1d85326deb0b529d7d24 16:25:30 $ docker rm -f 5c8ce9ffcd382cba369a78f57f1c7bd4cf22d281a4fa1d85326deb0b529d7d24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:31 + docker inspect -f . ci-base-image-x86_64 16:25:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:31 prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container 16:25:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:25:32 $ docker top 36eb03ba32556cbb0c94c227b9b0d8cce2a3884010ad3c6addba202fe208018c -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:32 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] fileExists [Pipeline] sh 16:25:32 + make test 16:25:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:25:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:25:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:25:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 16:25:49 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:25:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:25:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:25:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:25:53 ./bin/test-attribution-txt.sh 16:25:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:25:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:25:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:25:53 $ docker stop --time=1 36eb03ba32556cbb0c94c227b9b0d8cce2a3884010ad3c6addba202fe208018c 16:25:54 $ docker rm -f 36eb03ba32556cbb0c94c227b9b0d8cce2a3884010ad3c6addba202fe208018c [Pipeline] // withDockerContainer [Pipeline] sh 16:25:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:25:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:25:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:56 + ls -al . 16:25:56 total 192 16:25:56 drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 16:25 . 16:25:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:24 .. 16:25:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:25 .git 16:25:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:24 .github 16:25:56 -rw-rw-r-- 1 jenkins jenkins 337 Aug 11 16:24 .gitignore 16:25:56 -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:24 .golangci.yml 16:25:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:24 .semver 16:25:56 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 11 16:24 Attribution.txt 16:25:56 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 11 16:24 CHANGELOG.md 16:25:56 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 11 16:24 Dockerfile 16:25:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:24 GOVERNANCE.md 16:25:56 -rw-rw-r-- 1 jenkins jenkins 660 Aug 11 16:24 Jenkinsfile 16:25:56 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:24 LICENSE 16:25:56 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 11 16:24 Makefile 16:25:56 -rw-rw-r-- 1 jenkins jenkins 623 Aug 11 16:24 OWNERS.md 16:25:56 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 11 16:24 README.md 16:25:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:24 VERSION 16:25:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:24 bin 16:25:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:24 cmd 16:25:56 -rw-r--r-- 1 jenkins jenkins 44128 Aug 11 16:25 coverage.out 16:25:56 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 11 16:24 go.mod 16:25:56 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 11 16:24 go.sum 16:25:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:24 internal 16:25:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:24 snap 16:25:56 -rw-rw-r-- 1 jenkins jenkins 235 Aug 11 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:56 + 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=823b52c7643ad1913637706eece5191282a1b1de --label arch=amd64 --label version=0.0.0 . 16:25:56 Sending build context to Docker daemon 23.15MB 16:25:56 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:25:56 Step 2/26 : FROM ${BASE} AS builder 16:25:56 ---> 896adbefc126 16:25:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:25:57 ---> Running in 8fa1b18c2632 16:25:57 Removing intermediate container 8fa1b18c2632 16:25:57 ---> c53aa921a54a 16:25:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:25:57 ---> Running in d0db32a717d5 16:25:57 Removing intermediate container d0db32a717d5 16:25:57 ---> 841dd702581f 16:25:57 Step 5/26 : WORKDIR /device-virtual-go 16:25:57 ---> Running in 0a5a7322ee3e 16:25:57 Removing intermediate container 0a5a7322ee3e 16:25:57 ---> eead797655d8 16:25:57 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:25:57 ---> Running in 2602f9219902 16:25:58 Removing intermediate container 2602f9219902 16:25:58 ---> 2e1aed29d875 16:25:58 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:58 ---> Running in db2932da2844 16:25:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:25:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:25:59 OK: 216 MiB in 55 packages 16:25:59 Removing intermediate container db2932da2844 16:25:59 ---> 1f38a9706445 16:25:59 Step 8/26 : COPY go.mod vendor* ./ 16:26:00 ---> ff346367f661 16:26:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:00 ---> Running in 4e7371ffbf9f 16:26:01 Removing intermediate container 4e7371ffbf9f 16:26:01 ---> 02f13ac0918e 16:26:01 Step 10/26 : COPY . . 16:26:01 ---> 35fc9748a1fc 16:26:01 Step 11/26 : ARG MAKE='make build' 16:26:01 ---> Running in 175cfdb8362c 16:26:01 Removing intermediate container 175cfdb8362c 16:26:01 ---> b4ba50cdf2b7 16:26:01 Step 12/26 : RUN $MAKE 16:26:01 ---> Running in 4f38af39fd68 16:26:01 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 16:26:23 Removing intermediate container 4f38af39fd68 16:26:23 ---> 4d87b801dd02 16:26:23 Step 13/26 : FROM alpine:3.16 16:26:23 3.16: Pulling from library/alpine 16:26:23 213ec9aee27d: Pulling fs layer 16:26:23 213ec9aee27d: Verifying Checksum 16:26:23 213ec9aee27d: Download complete 16:26:23 213ec9aee27d: Pull complete 16:26:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:26:23 Status: Downloaded newer image for alpine:3.16 16:26:23 ---> 9c6f07244728 16:26:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:26:23 ---> Running in 56a41f0f0eb7 16:26:23 Removing intermediate container 56a41f0f0eb7 16:26:23 ---> de7aaa05599e 16:26:23 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:26:23 ---> Running in 2c94b4ccd7cd 16:26:23 Removing intermediate container 2c94b4ccd7cd 16:26:23 ---> 59fa4100686b 16:26:23 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:26:23 ---> Running in 10b559b89e83 16:26:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:26:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:26:24 (1/6) Installing dumb-init (1.2.5-r1) 16:26:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:26:24 (3/6) Installing libsodium (1.0.18-r0) 16:26:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:26:24 (5/6) Installing libzmq (4.3.4-r0) 16:26:24 (6/6) Installing zeromq (4.3.4-r0) 16:26:25 Executing busybox-1.35.0-r17.trigger 16:26:25 OK: 8 MiB in 20 packages 16:26:25 Removing intermediate container 10b559b89e83 16:26:25 ---> f973e4957cc5 16:26:25 Step 17/26 : WORKDIR / 16:26:25 ---> Running in 084c21f050d4 16:26:25 Removing intermediate container 084c21f050d4 16:26:25 ---> 5b0d147e6709 16:26:25 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:26:25 ---> 57dc7e0ecdd0 16:26:25 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 16:26:25 ---> e4303292d98c 16:26:25 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 16:26:26 ---> d3e800cb9f67 16:26:26 Step 21/26 : EXPOSE 59900 16:26:26 ---> Running in f1b25f1084de 16:26:26 Removing intermediate container f1b25f1084de 16:26:26 ---> 520cbdcee547 16:26:26 Step 22/26 : ENTRYPOINT ["/device-virtual"] 16:26:26 ---> Running in b9fbcef875d6 16:26:26 Removing intermediate container b9fbcef875d6 16:26:26 ---> eeddaf637572 16:26:26 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:26:26 ---> Running in f33da1bdc5bd 16:26:27 Removing intermediate container f33da1bdc5bd 16:26:27 ---> 765776371579 16:26:27 Step 24/26 : LABEL arch=amd64 16:26:27 ---> Running in 4ee820729b8d 16:26:27 Removing intermediate container 4ee820729b8d 16:26:27 ---> ab71e9e52c4e 16:26:27 Step 25/26 : LABEL git_sha=823b52c7643ad1913637706eece5191282a1b1de 16:26:27 ---> Running in be54ef68b6d8 16:26:27 Removing intermediate container be54ef68b6d8 16:26:27 ---> a10b41842512 16:26:27 Step 26/26 : LABEL version=0.0.0 16:26:27 ---> Running in 2d63b524ac1d 16:26:27 Removing intermediate container 2d63b524ac1d 16:26:27 ---> 8b17fee7d8c4 16:26:27 [Warning] One or more build-args [ARCH] were not consumed 16:26:27 Successfully built 8b17fee7d8c4 16:26:27 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:28 16:26:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:28 latest: Pulling from edgex-lftools-log-publisher 16:26:28 5eb5b503b376: Pulling fs layer 16:26:28 5c69ac0246d0: Pulling fs layer 16:26:28 ec43610c2a17: Pulling fs layer 16:26:28 3a2ae6a8a46f: Pulling fs layer 16:26:28 33b1e0a273af: Pulling fs layer 16:26:28 5d3b04190fa2: Pulling fs layer 16:26:28 2f39f015ded8: Pulling fs layer 16:26:28 33b1e0a273af: Waiting 16:26:28 5d3b04190fa2: Waiting 16:26:28 2f39f015ded8: Waiting 16:26:28 3a2ae6a8a46f: Waiting 16:26:28 5c69ac0246d0: Download complete 16:26:28 3a2ae6a8a46f: Download complete 16:26:28 ec43610c2a17: Verifying Checksum 16:26:28 ec43610c2a17: Download complete 16:26:28 33b1e0a273af: Verifying Checksum 16:26:28 33b1e0a273af: Download complete 16:26:28 5d3b04190fa2: Verifying Checksum 16:26:28 5d3b04190fa2: Download complete 16:26:28 5eb5b503b376: Verifying Checksum 16:26:28 5eb5b503b376: Download complete 16:26:29 2f39f015ded8: Download complete 16:26:29 5eb5b503b376: Pull complete 16:26:30 5c69ac0246d0: Pull complete 16:26:30 ec43610c2a17: Pull complete 16:26:30 3a2ae6a8a46f: Pull complete 16:26:30 33b1e0a273af: Pull complete 16:26:30 5d3b04190fa2: Pull complete 16:26:35 2f39f015ded8: Pull complete 16:26:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:26:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:26:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:35 prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container 16:26:35 $ 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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:26:37 $ docker top e1bdcac27b816cf4bf8c7b1fa23a1dc973edb9b86616d5782bea333b93933dc0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:38 ---> job-cost.sh 16:26:38 lf-activate-venv: SKIPPING 16:26:38 INFO: No Stack... 16:26:38 INFO: Retrieving Pricing Info for: v3-standard-8 16:26:39 INFO: Archiving Costs [Pipeline] sh 16:26:39 + cat /w/workspace/foundry_device-virtual-go_PR-300/archives/cost.csv 16:26:39 + cut -d, -f6 [Pipeline] lock 16:26:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] 16:26:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] did not exist. Created. 16:26:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:26:40 + echo total: 0.2199999988079071 [Pipeline] stash 16:26:40 Stashed 1 file(s) [Pipeline] } 16:26:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:26:40 $ docker stop --time=1 e1bdcac27b816cf4bf8c7b1fa23a1dc973edb9b86616d5782bea333b93933dc0 16:26:41 $ docker rm -f e1bdcac27b816cf4bf8c7b1fa23a1dc973edb9b86616d5782bea333b93933dc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:26:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22516 in /w/workspace/foundry_device-virtual-go_PR-300 [Pipeline] { [Pipeline] ws 16:26:48 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 16:26:48 The recommended git tool is: git 16:26:54 using credential edgex-jenkins-ssh 16:26:54 Cloning the remote Git repository 16:26:54 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:26:54 > git init /w/workspace/device-virtual-go/1 # timeout=10 16:26:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:26:54 > git --version # timeout=10 16:26:54 > git --version # 'git version 2.25.1' 16:26:54 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:26:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:26:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:26:56 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:26:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:26:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/300/head:refs/remotes/origin/PR-300 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:26:57 Merging remotes/origin/main commit b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 into PR head commit 823b52c7643ad1913637706eece5191282a1b1de 16:26:57 Merge succeeded, producing 823b52c7643ad1913637706eece5191282a1b1de 16:26:57 Checking out Revision 823b52c7643ad1913637706eece5191282a1b1de (PR-300) 16:26:57 > git config core.sparsecheckout # timeout=10 16:26:57 > git checkout -f 823b52c7643ad1913637706eece5191282a1b1de # timeout=10 16:26:57 > git remote # timeout=10 16:26:57 > git config --get remote.origin.url # timeout=10 16:26:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:26:57 > git merge b155924b7e348e7f4c6bc2e32e3176dc0fde7f12 # timeout=10 16:26:57 > git rev-parse HEAD^{commit} # timeout=10 16:26:57 > git config core.sparsecheckout # timeout=10 16:26:57 > git checkout -f 823b52c7643ad1913637706eece5191282a1b1de # timeout=10 16:27:01 Commit message: "build(snap): Upgrade snap hook to 2.4.1" 16:27:01 > git --version # timeout=10 16:27:01 > git --version # 'git version 2.25.1' 16:27:01 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:27:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:27:02 % Total % Received % Xferd Average Speed Time Time Time Current 16:27:02 Dload Upload Total Spent Left Speed 16:27:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 77075 0 --:--:-- --:--:-- --:--:-- 77075 [Pipeline] sh 16:27:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:27:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:27:03 + sudo tee /etc/docker/daemon.new 16:27:03 { 16:27:03 "registry-mirrors": [ 16:27:03 "https://nexus3.edgexfoundry.org:10001" 16:27:03 ], 16:27:03 "bip": "10.250.0.254/24", 16:27:03 "hosts": [ 16:27:03 "tcp://0.0.0.0:5555", 16:27:03 "unix:///var/run/docker.sock" 16:27:03 ], 16:27:03 "mtu": 1458, 16:27:03 "selinux-enabled": true, 16:27:03 "seccomp-profile": "/etc/docker/seccomp.json" 16:27:03 } [Pipeline] sh 16:27:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:27:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:23 provisioning config files... 16:27:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3821775785661105461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:23 ---> docker-login.sh 16:27:23 nexus3.edgexfoundry.org:10001 16:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:24 Configure a credential helper to remove this warning. See 16:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:24 16:27:24 Login Succeeded 16:27:24 nexus3.edgexfoundry.org:10002 16:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:25 Configure a credential helper to remove this warning. See 16:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:25 16:27:25 Login Succeeded 16:27:25 nexus3.edgexfoundry.org:10003 16:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:25 Configure a credential helper to remove this warning. See 16:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:25 16:27:25 Login Succeeded 16:27:25 nexus3.edgexfoundry.org:10004 16:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:25 Configure a credential helper to remove this warning. See 16:27:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:25 16:27:25 Login Succeeded 16:27:25 docker.io 16:27:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:26 Configure a credential helper to remove this warning. See 16:27:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:26 16:27:26 Login Succeeded 16:27:26 ---> docker-login.sh ends [Pipeline] } 16:27:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:27 ========================================================= 16:27:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:27:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:27:28 Sending build context to Docker daemon 11.69MB 16:27:28 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:27:28 Step 2/12 : FROM ${BASE} AS builder 16:27:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:27:28 b3c136eddcbf: Pulling fs layer 16:27:28 c0a3192eca97: Pulling fs layer 16:27:28 a050256f5b6f: Pulling fs layer 16:27:28 656be50a0ddc: Pulling fs layer 16:27:28 2bbca73fdf42: Pulling fs layer 16:27:28 46d945488cbd: Pulling fs layer 16:27:28 8a5474983e97: Pulling fs layer 16:27:28 329c88fbcd65: Pulling fs layer 16:27:28 2bbca73fdf42: Waiting 16:27:28 46d945488cbd: Waiting 16:27:28 8a5474983e97: Waiting 16:27:28 329c88fbcd65: Waiting 16:27:28 656be50a0ddc: Waiting 16:27:28 a050256f5b6f: Download complete 16:27:28 c0a3192eca97: Verifying Checksum 16:27:28 c0a3192eca97: Download complete 16:27:28 2bbca73fdf42: Download complete 16:27:28 46d945488cbd: Verifying Checksum 16:27:28 46d945488cbd: Download complete 16:27:28 b3c136eddcbf: Verifying Checksum 16:27:28 b3c136eddcbf: Download complete 16:27:29 b3c136eddcbf: Pull complete 16:27:29 329c88fbcd65: Verifying Checksum 16:27:29 329c88fbcd65: Download complete 16:27:29 c0a3192eca97: Pull complete 16:27:30 a050256f5b6f: Pull complete 16:27:30 8a5474983e97: Verifying Checksum 16:27:30 8a5474983e97: Download complete 16:27:31 656be50a0ddc: Verifying Checksum 16:27:31 656be50a0ddc: Download complete 16:27:43 656be50a0ddc: Pull complete 16:27:44 2bbca73fdf42: Pull complete 16:27:44 46d945488cbd: Pull complete 16:27:51 8a5474983e97: Pull complete 16:27:53 329c88fbcd65: Pull complete 16:27:53 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:27:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:27:53 ---> ff4287adb874 16:27:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:27:53 ---> Running in 25859b191dea 16:27:53 Removing intermediate container 25859b191dea 16:27:53 ---> 4ce760dc935f 16:27:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:27:53 ---> Running in 07cd5ac07655 16:27:54 Removing intermediate container 07cd5ac07655 16:27:54 ---> 78e7dee08cbc 16:27:54 Step 5/12 : WORKDIR /device-virtual-go 16:27:54 ---> Running in d5bb0a1f79c9 16:27:54 Removing intermediate container d5bb0a1f79c9 16:27:54 ---> 293ffba84d14 16:27:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:27:54 ---> Running in 8bdabd563a2f 16:27:57 Removing intermediate container 8bdabd563a2f 16:27:57 ---> 90b34f839f9d 16:27:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:27:57 ---> Running in 269d01abcd8d 16:27:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:27:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:28:00 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:28:00 (2/4) Installing libedit (20210910.3.1-r0) 16:28:00 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:28:00 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:28:00 Executing busybox-1.35.0-r13.trigger 16:28:00 OK: 226 MiB in 55 packages 16:28:01 Removing intermediate container 269d01abcd8d 16:28:01 ---> bdd060ddd33e 16:28:01 Step 8/12 : COPY go.mod vendor* ./ 16:28:02 ---> 7087fe5c1289 16:28:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:02 ---> Running in e46bb77de490 16:28:49 Removing intermediate container e46bb77de490 16:28:49 ---> c34079e6c492 16:28:49 Step 10/12 : COPY . . 16:28:49 ---> f0033a431e4f 16:28:49 Step 11/12 : ARG MAKE='make build' 16:28:49 ---> Running in aa8dec6d519b 16:28:50 Removing intermediate container aa8dec6d519b 16:28:50 ---> 4c7f51f91881 16:28:50 Step 12/12 : RUN $MAKE 16:28:50 ---> Running in 4db1b24893bc 16:28:51 noop 16:28:51 Removing intermediate container 4db1b24893bc 16:28:51 ---> 5c6f1facddb3 16:28:51 Successfully built 5c6f1facddb3 16:28:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:52 + docker inspect -f . ci-base-image-arm64 16:28:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:52 prd-ubuntu20.04-docker-arm64-4c-16g-22516 does not seem to be running inside a container 16:28:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:28:53 $ docker top 47ce40c77b2506afca6b0b26fd6879c0ce6b97658821714e84d42e60d904ded3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:54 + go version 16:28:54 go version go1.18.3 linux/arm64 [Pipeline] } 16:28:54 $ docker stop --time=1 47ce40c77b2506afca6b0b26fd6879c0ce6b97658821714e84d42e60d904ded3 16:28:56 $ docker rm -f 47ce40c77b2506afca6b0b26fd6879c0ce6b97658821714e84d42e60d904ded3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:57 + docker inspect -f . ci-base-image-arm64 16:28:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:57 prd-ubuntu20.04-docker-arm64-4c-16g-22516 does not seem to be running inside a container 16:28:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:28:59 $ docker top 91251e32a039f0bd9b6e9e0da05c678f7fc47948a114a29391c402487c041046 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:59 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 16:29:00 + make test 16:29:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:29:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:30:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:30:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.126s coverage: 65.7% of statements 16:30:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:30:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:30:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:30:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:30:39 ./bin/test-attribution-txt.sh 16:30:39 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:30:39 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:30:39 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:30:39 $ docker stop --time=1 91251e32a039f0bd9b6e9e0da05c678f7fc47948a114a29391c402487c041046 16:30:40 $ docker rm -f 91251e32a039f0bd9b6e9e0da05c678f7fc47948a114a29391c402487c041046 [Pipeline] // withDockerContainer [Pipeline] sh 16:30:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:30:42 Warning: overwriting stash ‘coverage-report’ 16:30:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:30:43 + ls -al . 16:30:43 total 188 16:30:43 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:29 . 16:30:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:26 .. 16:30:43 drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 16:27 .git 16:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:26 .github 16:30:43 -rw-rw-r-- 1 jenkins jenkins 337 Aug 11 16:26 .gitignore 16:30:43 -rw-rw-r-- 1 jenkins jenkins 41 Aug 11 16:26 .golangci.yml 16:30:43 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 11 16:26 Attribution.txt 16:30:43 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 11 16:26 CHANGELOG.md 16:30:43 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 11 16:26 Dockerfile 16:30:43 -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 16:26 GOVERNANCE.md 16:30:43 -rw-rw-r-- 1 jenkins jenkins 660 Aug 11 16:26 Jenkinsfile 16:30:43 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 11 16:26 LICENSE 16:30:43 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 11 16:26 Makefile 16:30:43 -rw-rw-r-- 1 jenkins jenkins 623 Aug 11 16:26 OWNERS.md 16:30:43 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 11 16:26 README.md 16:30:43 -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 16:24 VERSION 16:30:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 16:26 bin 16:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:26 cmd 16:30:43 -rw-r--r-- 1 jenkins jenkins 44128 Aug 11 16:30 coverage.out 16:30:43 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 11 16:26 go.mod 16:30:43 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 11 16:26 go.sum 16:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 16:26 internal 16:30:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 16:26 snap 16:30:43 -rw-rw-r-- 1 jenkins jenkins 235 Aug 11 16:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:44 + 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=823b52c7643ad1913637706eece5191282a1b1de --label arch=arm64 --label version=0.0.0 . 16:30:44 Sending build context to Docker daemon 11.74MB 16:30:44 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:30:44 Step 2/26 : FROM ${BASE} AS builder 16:30:44 ---> 5c6f1facddb3 16:30:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:30:44 ---> Running in 6a9655ed9b80 16:30:45 Removing intermediate container 6a9655ed9b80 16:30:45 ---> f2e17a491ecb 16:30:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:30:45 ---> Running in 01b0b640873c 16:30:45 Removing intermediate container 01b0b640873c 16:30:45 ---> e76808132f91 16:30:45 Step 5/26 : WORKDIR /device-virtual-go 16:30:45 ---> Running in 963402fc7b00 16:30:45 Removing intermediate container 963402fc7b00 16:30:45 ---> 063d565c0672 16:30:45 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:30:45 ---> Running in 2bb9fd234a73 16:30:47 Removing intermediate container 2bb9fd234a73 16:30:47 ---> f1a660b89956 16:30:47 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:30:47 ---> Running in afc249ed2a16 16:30:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:30:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:30:50 OK: 226 MiB in 55 packages 16:30:51 Removing intermediate container afc249ed2a16 16:30:51 ---> a3a1c9d7f6bd 16:30:51 Step 8/26 : COPY go.mod vendor* ./ 16:30:51 ---> 979cda273401 16:30:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:30:51 ---> Running in 1f14fcf1e10d 16:30:53 Removing intermediate container 1f14fcf1e10d 16:30:53 ---> 809524217af4 16:30:53 Step 10/26 : COPY . . 16:30:54 ---> 079ff9f9ae22 16:30:54 Step 11/26 : ARG MAKE='make build' 16:30:54 ---> Running in 1c944bd87e7b 16:30:55 Removing intermediate container 1c944bd87e7b 16:30:55 ---> e1a232c6e23d 16:30:55 Step 12/26 : RUN $MAKE 16:30:55 ---> Running in 67c7da8d3012 16:30:56 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 16:33:03 Removing intermediate container 67c7da8d3012 16:33:03 ---> f39d5c1af067 16:33:03 Step 13/26 : FROM alpine:3.16 16:33:03 3.16: Pulling from library/alpine 16:33:03 9b18e9b68314: Pulling fs layer 16:33:03 9b18e9b68314: Verifying Checksum 16:33:03 9b18e9b68314: Download complete 16:33:03 9b18e9b68314: Pull complete 16:33:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:33:03 Status: Downloaded newer image for alpine:3.16 16:33:03 ---> a6215f271958 16:33:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:33:03 ---> Running in d2f7b65da4af 16:33:03 Removing intermediate container d2f7b65da4af 16:33:03 ---> e7269666ef17 16:33:03 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:33:03 ---> Running in cd5e57a81bbc 16:33:03 Removing intermediate container cd5e57a81bbc 16:33:03 ---> 21bc1fc8538e 16:33:03 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:33:03 ---> Running in 368e10685bd3 16:33:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:33:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:33:03 (1/6) Installing dumb-init (1.2.5-r1) 16:33:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:33:03 (3/6) Installing libsodium (1.0.18-r0) 16:33:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:33:03 (5/6) Installing libzmq (4.3.4-r0) 16:33:03 (6/6) Installing zeromq (4.3.4-r0) 16:33:03 Executing busybox-1.35.0-r17.trigger 16:33:03 OK: 8 MiB in 20 packages 16:33:03 Removing intermediate container 368e10685bd3 16:33:03 ---> ac5dd0be08b7 16:33:03 Step 17/26 : WORKDIR / 16:33:03 ---> Running in 5ea7b8ee0608 16:33:03 Removing intermediate container 5ea7b8ee0608 16:33:03 ---> de811122aab4 16:33:03 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:33:04 ---> 3f3c6116427d 16:33:04 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 16:33:04 ---> f5ccc702ec4f 16:33:04 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 16:33:06 ---> 5dfc6b7fdc48 16:33:06 Step 21/26 : EXPOSE 59900 16:33:06 ---> Running in ef8efc8c9502 16:33:06 Removing intermediate container ef8efc8c9502 16:33:06 ---> aca60f3ee0c4 16:33:06 Step 22/26 : ENTRYPOINT ["/device-virtual"] 16:33:06 ---> Running in 4492333e7b41 16:33:06 Removing intermediate container 4492333e7b41 16:33:06 ---> dccbb4b6d0f8 16:33:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:33:07 ---> Running in 7c2f5f25b087 16:33:07 Removing intermediate container 7c2f5f25b087 16:33:07 ---> d6513eb9f2a0 16:33:07 Step 24/26 : LABEL arch=arm64 16:33:07 ---> Running in 9938f0003b1c 16:33:07 Removing intermediate container 9938f0003b1c 16:33:07 ---> e3dd1bbb9baa 16:33:07 Step 25/26 : LABEL git_sha=823b52c7643ad1913637706eece5191282a1b1de 16:33:07 ---> Running in 636b10191d64 16:33:07 Removing intermediate container 636b10191d64 16:33:07 ---> 696f73c23f9e 16:33:07 Step 26/26 : LABEL version=0.0.0 16:33:07 ---> Running in 0e074104794f 16:33:08 Removing intermediate container 0e074104794f 16:33:08 ---> 8093a7b860ed 16:33:08 [Warning] One or more build-args [ARCH] were not consumed 16:33:08 Successfully built 8093a7b860ed 16:33:08 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:09 16:33:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:09 arm64: Pulling from edgex-lftools-log-publisher 16:33:09 8998bd30e6a1: Pulling fs layer 16:33:09 04944245beec: Pulling fs layer 16:33:09 699f458cf7ca: Pulling fs layer 16:33:09 765212b225bb: Pulling fs layer 16:33:09 f23df028b6ca: Pulling fs layer 16:33:09 d65c8cfc05b1: Pulling fs layer 16:33:09 2437ff75d9bd: Pulling fs layer 16:33:09 f23df028b6ca: Waiting 16:33:09 d65c8cfc05b1: Waiting 16:33:09 2437ff75d9bd: Waiting 16:33:09 04944245beec: Verifying Checksum 16:33:09 04944245beec: Download complete 16:33:09 765212b225bb: Verifying Checksum 16:33:09 765212b225bb: Download complete 16:33:09 f23df028b6ca: Download complete 16:33:09 d65c8cfc05b1: Verifying Checksum 16:33:09 d65c8cfc05b1: Download complete 16:33:10 699f458cf7ca: Verifying Checksum 16:33:10 699f458cf7ca: Download complete 16:33:10 8998bd30e6a1: Verifying Checksum 16:33:10 8998bd30e6a1: Download complete 16:33:13 2437ff75d9bd: Verifying Checksum 16:33:13 2437ff75d9bd: Download complete 16:33:14 8998bd30e6a1: Pull complete 16:33:15 04944245beec: Pull complete 16:33:16 699f458cf7ca: Pull complete 16:33:16 765212b225bb: Pull complete 16:33:17 f23df028b6ca: Pull complete 16:33:17 d65c8cfc05b1: Pull complete 16:33:32 2437ff75d9bd: Pull complete 16:33:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:33:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:33 prd-ubuntu20.04-docker-arm64-4c-16g-22516 does not seem to be running inside a container 16:33:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:33:35 $ docker top 54ef7dc7e318bb73316f879dc7e00dc1b9588252acf808897347a80ede3e6a89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:37 ---> job-cost.sh 16:33:37 lf-activate-venv: SKIPPING 16:33:37 INFO: No Stack... 16:33:37 INFO: Retrieving Pricing Info for: v3-standard-4 16:33:38 INFO: Archiving Costs [Pipeline] sh 16:33:38 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 16:33:38 + cut -d, -f6 [Pipeline] lock 16:33:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] 16:33:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] did not exist. Created. 16:33:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:33:39 /w/workspace/device-virtual-go/1@tmp/durable-1f152574/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:33:40 + echo total: 0.10999999940395355 [Pipeline] stash 16:33:40 Warning: overwriting stash ‘stack-cost’ 16:33:40 Stashed 1 file(s) [Pipeline] } 16:33:40 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-300-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:33:40 $ docker stop --time=1 54ef7dc7e318bb73316f879dc7e00dc1b9588252acf808897347a80ede3e6a89 16:33:42 $ docker rm -f 54ef7dc7e318bb73316f879dc7e00dc1b9588252acf808897347a80ede3e6a89 [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 16:33:43 provisioning config files... 16:33:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config6275651770092600799tmp [Pipeline] { [Pipeline] sh 16:33:43 + set +x 16:33:43 + curl -s https://codecov.io/bash 16:33:43 + bash -s -- 16:33:43 16:33:43 _____ _ 16:33:43 / ____| | | 16:33:43 | | ___ __| | ___ ___ _____ __ 16:33:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:33:43 | |___| (_) | (_| | __/ (_| (_) \ V / 16:33:43 \_____\___/ \__,_|\___|\___\___/ \_/ 16:33:43 Bash-1.0.6 16:33:43 16:33:43 16:33:43 ==> git version 2.25.1 found 16:33:43 ==> 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 16:33:43 Release-Date: 2020-01-08 16:33:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:33:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:33:43 ==> Jenkins CI detected. 16:33:43 current dir:  /w/workspace/foundry_device-virtual-go_PR-300 16:33:43 project root: . 16:33:43 --> token set from env 16:33:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:33:43 ==> Running gcov in . (disable via -X gcov) 16:33:43 ==> Python coveragepy not found 16:33:43 ==> Searching for coverage reports in: 16:33:43 + . 16:33:43 -> Found 1 reports 16:33:43 ==> Detecting git/mercurial file structure 16:33:43 ==> Reading reports 16:33:43 + ./coverage.out bytes=44128 16:33:43 ==> Appending adjustments 16:33:43 https://docs.codecov.io/docs/fixing-reports 16:33:43 + Found adjustments 16:33:43 ==> Gzipping contents 16:33:43 8.0K /tmp/codecov.zQnzo0.gz 16:33:43 ==> Uploading reports 16:33:43 url: https://codecov.io 16:33:43 query: branch=PR-300&commit=823b52c7643ad1913637706eece5191282a1b1de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= 16:33:43 -> Pinging Codecov 16:33:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-300&commit=823b52c7643ad1913637706eece5191282a1b1de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-300%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=300&job=&cmd_args= 16:33:44 -> Uploading to 16:33:44 https://storage.googleapis.com/codecov/v4/raw/2022-08-11/5E52B4B073DB2E39498172D8E973AA87/823b52c7643ad1913637706eece5191282a1b1de/1768753b-7c72-4649-b08c-df23a943c9f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220811T163344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f91626e904b86684f7e05e6e654b44814a15d6e85c2e9624648fa812975bf5eb 16:33:45 % Total % Received % Xferd Average Speed Time Time Time Current 16:33:45 Dload Upload Total Spent Left Speed 16:33:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5479 0 0 100 5479 0 24351 --:--:-- --:--:-- --:--:-- 24351 16:33:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/823b52c7643ad1913637706eece5191282a1b1de [Pipeline] } 16:33:45 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 16:33:46 + [ -d /w/workspace/foundry_device-virtual-go_PR-300/archives ] 16:33:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives 16:33:46 total 16 16:33:46 drwxr-xr-x 3 root root 4096 Aug 11 16:26 . 16:33:46 drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:26 .. 16:33:46 drwxr-xr-x 2 root root 4096 Aug 11 16:26 cost 16:33:46 -rw-r--r-- 1 root root 89 Aug 11 16:26 cost.csv 16:33:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-300/archives 16:33:46 + ls -al /w/workspace/foundry_device-virtual-go_PR-300/archives 16:33:46 total 16 16:33:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 16:26 . 16:33:46 drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 16:26 .. 16:33:46 drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 16:26 cost 16:33:46 -rw-r--r-- 1 jenkins jenkins 89 Aug 11 16:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:33:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:33:48 ---> package-listing.sh 16:33:48 ++ facter osfamily 16:33:48 ++ tr '[:upper:]' '[:lower:]' 16:33:48 + OS_FAMILY=debian 16:33:48 + workspace=/w/workspace/foundry_device-virtual-go_PR-300 16:33:48 + START_PACKAGES=/tmp/packages_start.txt 16:33:48 + END_PACKAGES=/tmp/packages_end.txt 16:33:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:33:48 + PACKAGES=/tmp/packages_start.txt 16:33:48 + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' 16:33:48 + PACKAGES=/tmp/packages_end.txt 16:33:48 + case "${OS_FAMILY}" in 16:33:48 + dpkg -l 16:33:48 + grep '^ii' 16:33:48 + '[' -f /tmp/packages_start.txt ']' 16:33:48 + '[' -f /tmp/packages_end.txt ']' 16:33:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:33:48 + '[' /w/workspace/foundry_device-virtual-go_PR-300 ']' 16:33:48 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-300/archives/ 16:33:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-300/archives/ [Pipeline] echo 16:33:48 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-300/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:33:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:33:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:49 prd-ubuntu20.04-docker-8c-8g-22515 does not seem to be running inside a container 16:33:49 $ 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-300/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-300 -v /w/workspace/foundry_device-virtual-go_PR-300:/w/workspace/foundry_device-virtual-go_PR-300:rw,z -v /w/workspace/foundry_device-virtual-go_PR-300@tmp:/w/workspace/foundry_device-virtual-go_PR-300@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:33:49 $ docker top 0ea309621caf3d04d30c8988b9ea7a8010fee590fc2f982d34f4c1661d4b5753 -eo pid,comm [Pipeline] { [Pipeline] sh 16:33:50 + touch /tmp/pre-build-complete [Pipeline] sh 16:33:50 + mkdir -p /var/log/sysstat [Pipeline] sh 16:33:50 + ls /var/log/sa-host 16:33:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:33:51 provisioning config files... 16:33:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-300@tmp/config1340736977680078821tmp [Pipeline] { [Pipeline] echo 16:33:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:33:51 ---> create-netrc.sh [Pipeline] } 16:33:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:33:51 ---> python-tools-install.sh [Pipeline] echo 16:33:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:33:52 ---> sudo-logs.sh 16:33:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:33:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:33:52 ---> job-cost.sh 16:33:52 lf-activate-venv: SKIPPING 16:33:52 DEBUG: total: 0.2199999988079071 16:33:52 INFO: Retrieving Stack Cost... 16:33:53 INFO: Retrieving Pricing Info for: v3-standard-8 16:33:53 INFO: Archiving Costs [Pipeline] echo 16:33:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:33:53 ---> logs-deploy.sh 16:33:53 lf-activate-venv: SKIPPING 16:33:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-300/1 16:33:53 INFO: archiving workspace using pattern(s): 16:33:54 Archives upload complete. 16:33:54 INFO: archiving logs to Nexus 16:33:55 ---> uname -a: 16:33:55 Linux prd-ubuntu20-04-docker-8c-8g-22515 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 16:33:55 16:33:55 16:33:55 ---> lscpu: 16:33:55 Architecture: x86_64 16:33:55 CPU op-mode(s): 32-bit, 64-bit 16:33:55 Byte Order: Little Endian 16:33:55 Address sizes: 40 bits physical, 48 bits virtual 16:33:55 CPU(s): 8 16:33:55 On-line CPU(s) list: 0-7 16:33:55 Thread(s) per core: 1 16:33:55 Core(s) per socket: 1 16:33:55 Socket(s): 8 16:33:55 NUMA node(s): 1 16:33:55 Vendor ID: AuthenticAMD 16:33:55 CPU family: 23 16:33:55 Model: 49 16:33:55 Model name: AMD EPYC-Rome Processor 16:33:55 Stepping: 0 16:33:55 CPU MHz: 2799.994 16:33:55 BogoMIPS: 5599.98 16:33:55 Virtualization: AMD-V 16:33:55 Hypervisor vendor: KVM 16:33:55 Virtualization type: full 16:33:55 L1d cache: 256 KiB 16:33:55 L1i cache: 256 KiB 16:33:55 L2 cache: 4 MiB 16:33:55 L3 cache: 128 MiB 16:33:55 NUMA node0 CPU(s): 0-7 16:33:55 Vulnerability Itlb multihit: Not affected 16:33:55 Vulnerability L1tf: Not affected 16:33:55 Vulnerability Mds: Not affected 16:33:55 Vulnerability Meltdown: Not affected 16:33:55 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:33:55 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:33:55 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:33:55 Vulnerability Srbds: Not affected 16:33:55 Vulnerability Tsx async abort: Not affected 16:33:55 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:33:55 16:33:55 16:33:55 ---> nproc: 16:33:55 8 16:33:55 16:33:55 16:33:55 ---> df -h: 16:33:55 Filesystem Size Used Avail Use% Mounted on 16:33:55 overlay 155G 11G 145G 7% / 16:33:55 tmpfs 64M 0 64M 0% /dev 16:33:55 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:33:55 shm 64M 0 64M 0% /dev/shm 16:33:55 /dev/vda1 155G 11G 145G 7% /facter-os 16:33:55 16:33:55 16:33:55 ---> sar -b -r -n DEV: 16:33:55 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22515) 08/11/22 _x86_64_ (8 CPU) 16:33:55 16:33:55 16:23:40 LINUX RESTART (8 CPU) 16:33:55 16:33:55 16:24:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:33:55 16:25:02 337.74 55.57 282.17 0.00 7433.16 148054.79 0.00 16:33:55 16:26:01 228.70 1.15 227.55 0.00 18.30 108864.11 0.00 16:33:55 16:27:01 130.61 0.03 130.57 0.00 8.53 33435.65 0.00 16:33:55 16:28:01 1.33 0.00 1.33 0.00 0.00 16.01 0.00 16:33:55 16:29:01 1.33 0.02 1.32 0.00 0.13 14.40 0.00 16:33:55 16:30:01 1.52 0.00 1.52 0.00 0.00 17.86 0.00 16:33:55 16:31:01 1.07 0.00 1.07 0.00 0.00 12.80 0.00 16:33:55 16:32:01 0.92 0.00 0.92 0.00 0.00 12.26 0.00 16:33:55 16:33:01 1.13 0.00 1.13 0.00 0.00 13.06 0.00 16:33:55 Average: 77.98 6.32 71.66 0.00 830.33 32128.80 0.00 16:33:55 16:33:55 16:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:33:55 16:25:02 28834180 31766232 533520 1.62 117308 3085028 1986116 5.85 1112120 2554864 703040 16:33:55 16:26:01 28269620 31735652 553488 1.68 163556 3512764 2001892 5.90 1283628 2875492 0 16:33:55 16:27:01 27574060 31765944 519752 1.58 173740 4167416 1791944 5.28 1300608 3489500 160 16:33:55 16:28:01 27575244 31767284 517952 1.58 173776 4167416 1791944 5.28 1299864 3489500 172 16:33:55 16:29:01 27575324 31767256 517804 1.57 173808 4167416 1791944 5.28 1300216 3489504 12 16:33:55 16:30:01 27576128 31768100 516952 1.57 173844 4167416 1791944 5.28 1299980 3489508 8 16:33:55 16:31:01 27584600 31776604 508368 1.55 173876 4167428 1791944 5.28 1290584 3489512 16 16:33:55 16:32:01 27584300 31776500 508580 1.55 173896 4167432 1791944 5.28 1291232 3489672 176 16:33:55 16:33:01 27585264 31777480 507744 1.54 173924 4167432 1791944 5.28 1290476 3489672 20 16:33:55 Average: 27795413 31766784 520462 1.58 166414 3974416 1836846 5.41 1274301 3317469 78178 16:33:55 16:33:55 16:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:33:55 16:25:02 ens3 892.63 564.84 7725.32 112.60 0.00 0.00 0.00 0.00 16:33:55 16:25:02 lo 7.40 7.40 0.71 0.71 0.00 0.00 0.00 0.00 16:33:55 16:25:02 docker0 22.03 23.31 1.77 185.36 0.00 0.00 0.00 0.00 16:33:55 16:26:01 ens3 238.68 189.16 1591.12 74.80 0.00 0.00 0.00 0.00 16:33:55 16:26:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 16:33:55 16:26:01 docker0 136.12 167.11 10.67 1545.14 0.00 0.00 0.00 0.00 16:33:55 16:27:01 ens3 158.26 114.30 2636.07 69.26 0.00 0.00 0.00 0.00 16:33:55 16:27:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 16:33:55 16:27:01 docker0 9.60 11.95 0.59 58.26 0.00 0.00 0.00 0.00 16:33:55 16:28:01 ens3 0.77 0.77 0.05 0.07 0.00 0.00 0.00 0.00 16:33:55 16:28:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:33:55 16:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:29:01 ens3 0.22 0.20 0.12 0.07 0.00 0.00 0.00 0.00 16:33:55 16:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:30:01 ens3 0.23 0.20 0.08 0.07 0.00 0.00 0.00 0.00 16:33:55 16:30:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:33:55 16:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:31:01 ens3 0.37 0.00 0.04 0.00 0.00 0.00 0.00 0.00 16:33:55 16:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:32:01 ens3 3.37 1.73 4.59 0.30 0.00 0.00 0.00 0.00 16:33:55 16:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:33:55 16:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:33:01 ens3 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 16:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:33:55 Average: ens3 143.66 96.63 1328.07 28.49 0.00 0.00 0.00 0.00 16:33:55 Average: lo 1.12 1.12 0.11 0.11 0.00 0.00 0.00 0.00 16:33:55 Average: docker0 18.42 22.22 1.43 196.26 0.00 0.00 0.00 0.00 16:33:55 16:33:55 16:33:55 ---> sar -P ALL: 16:33:55 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-22515) 08/11/22 _x86_64_ (8 CPU) 16:33:55 16:33:55 16:23:40 LINUX RESTART (8 CPU) 16:33:55 16:33:55 16:24:01 CPU %user %nice %system %iowait %steal %idle 16:33:55 16:25:02 all 11.94 0.00 4.63 2.07 0.06 81.30 16:33:55 16:25:02 0 13.60 0.00 5.27 1.89 0.07 79.18 16:33:55 16:25:02 1 10.65 0.00 5.13 3.88 0.07 80.27 16:33:55 16:25:02 2 12.92 0.00 4.25 0.74 0.05 82.04 16:33:55 16:25:02 3 12.37 0.00 4.26 6.90 0.07 76.41 16:33:55 16:25:02 4 11.13 0.00 4.92 0.44 0.07 83.45 16:33:55 16:25:02 5 10.03 0.00 3.67 0.20 0.05 86.05 16:33:55 16:25:02 6 10.86 0.00 5.40 2.19 0.05 81.51 16:33:55 16:25:02 7 14.03 0.00 4.11 0.27 0.09 81.51 16:33:55 16:26:01 all 25.42 0.00 5.84 1.95 0.09 66.71 16:33:55 16:26:01 0 25.35 0.00 5.53 1.30 0.09 67.74 16:33:55 16:26:01 1 24.42 0.00 4.94 0.50 0.09 70.05 16:33:55 16:26:01 2 25.40 0.00 5.60 2.94 0.09 65.97 16:33:55 16:26:01 3 25.38 0.00 5.88 4.39 0.09 64.26 16:33:55 16:26:01 4 26.79 0.00 5.95 0.56 0.09 66.61 16:33:55 16:26:01 5 25.98 0.00 6.45 1.10 0.10 66.37 16:33:55 16:26:01 6 25.52 0.00 5.83 1.76 0.09 66.80 16:33:55 16:26:01 7 24.50 0.00 6.53 3.03 0.10 65.84 16:33:55 16:27:01 all 19.13 0.00 4.09 0.99 0.05 75.73 16:33:55 16:27:01 0 19.04 0.00 3.93 2.94 0.05 74.04 16:33:55 16:27:01 1 19.25 0.00 4.09 0.79 0.08 75.78 16:33:55 16:27:01 2 19.81 0.00 4.10 0.12 0.05 75.93 16:33:55 16:27:01 3 19.14 0.00 3.97 0.10 0.05 76.74 16:33:55 16:27:01 4 18.71 0.00 3.94 0.17 0.05 77.13 16:33:55 16:27:01 5 17.54 0.00 4.73 1.78 0.05 75.90 16:33:55 16:27:01 6 20.32 0.00 3.82 1.87 0.05 73.95 16:33:55 16:27:01 7 19.26 0.00 4.14 0.15 0.05 76.40 16:33:55 16:28:01 all 0.01 0.00 0.01 0.01 0.00 99.97 16:33:55 16:28:01 0 0.00 0.00 0.00 0.10 0.00 99.90 16:33:55 16:28:01 1 0.00 0.00 0.02 0.00 0.00 99.98 16:33:55 16:28:01 2 0.03 0.00 0.02 0.00 0.00 99.95 16:33:55 16:28:01 3 0.02 0.00 0.02 0.00 0.00 99.97 16:33:55 16:28:01 4 0.02 0.00 0.00 0.02 0.00 99.97 16:33:55 16:28:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:33:55 16:28:01 6 0.00 0.00 0.00 0.00 0.00 100.00 16:33:55 16:28:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:33:55 16:29:01 all 0.02 0.00 0.02 0.00 0.00 99.95 16:33:55 16:29:01 0 0.03 0.00 0.02 0.02 0.00 99.93 16:33:55 16:29:01 1 0.03 0.00 0.03 0.00 0.02 99.92 16:33:55 16:29:01 2 0.02 0.00 0.05 0.00 0.00 99.93 16:33:55 16:29:01 3 0.03 0.00 0.02 0.00 0.00 99.95 16:33:55 16:29:01 4 0.02 0.00 0.00 0.02 0.00 99.97 16:33:55 16:29:01 5 0.02 0.00 0.02 0.00 0.00 99.97 16:33:55 16:29:01 6 0.02 0.00 0.02 0.00 0.00 99.97 16:33:55 16:29:01 7 0.00 0.00 0.02 0.00 0.00 99.98 16:33:55 16:30:01 all 0.01 0.00 0.00 0.01 0.00 99.97 16:33:55 16:30:01 0 0.00 0.00 0.00 0.02 0.00 99.98 16:33:55 16:30:01 1 0.02 0.00 0.00 0.00 0.00 99.98 16:33:55 16:30:01 2 0.00 0.00 0.00 0.00 0.00 100.00 16:33:55 16:30:01 3 0.00 0.00 0.02 0.00 0.00 99.98 16:33:55 16:30:01 4 0.02 0.00 0.00 0.03 0.00 99.95 16:33:55 16:30:01 5 0.00 0.00 0.00 0.00 0.00 100.00 16:33:55 16:30:01 6 0.03 0.00 0.00 0.02 0.02 99.93 16:33:55 16:30:01 7 0.02 0.00 0.02 0.00 0.00 99.97 16:33:55 16:31:01 all 0.03 0.00 0.02 0.00 0.01 99.94 16:33:55 16:31:01 0 0.02 0.00 0.00 0.00 0.00 99.98 16:33:55 16:31:01 1 0.05 0.00 0.05 0.00 0.02 99.88 16:33:55 16:31:01 2 0.08 0.00 0.03 0.00 0.00 99.88 16:33:55 16:31:01 3 0.00 0.00 0.02 0.00 0.02 99.97 16:33:55 16:31:01 4 0.02 0.00 0.02 0.02 0.00 99.95 16:33:55 16:31:01 5 0.02 0.00 0.00 0.00 0.00 99.98 16:33:55 16:31:01 6 0.03 0.00 0.05 0.02 0.00 99.90 16:33:55 16:31:01 7 0.02 0.00 0.00 0.00 0.02 99.97 16:33:55 16:32:01 all 0.02 0.00 0.02 0.01 0.00 99.95 16:33:55 16:32:01 0 0.00 0.00 0.02 0.02 0.00 99.97 16:33:55 16:32:01 1 0.03 0.00 0.05 0.00 0.00 99.92 16:33:55 16:32:01 2 0.02 0.00 0.00 0.00 0.02 99.97 16:33:55 16:32:01 3 0.03 0.00 0.03 0.00 0.00 99.93 16:33:55 16:32:01 4 0.03 0.00 0.02 0.03 0.00 99.92 16:33:55 16:32:01 5 0.02 0.00 0.00 0.00 0.00 99.98 16:33:55 16:32:01 6 0.00 0.00 0.00 0.00 0.00 100.00 16:33:55 16:32:01 7 0.03 0.00 0.03 0.00 0.00 99.93 16:33:55 16:33:01 all 0.02 0.00 0.01 0.01 0.00 99.97 16:33:55 16:33:01 0 0.00 0.00 0.00 0.03 0.00 99.97 16:33:55 16:33:01 1 0.03 0.00 0.03 0.00 0.02 99.92 16:33:55 16:33:01 2 0.03 0.00 0.00 0.00 0.00 99.97 16:33:55 16:33:01 3 0.00 0.00 0.00 0.00 0.00 100.00 16:33:55 16:33:01 4 0.00 0.00 0.02 0.02 0.00 99.97 16:33:55 16:33:01 5 0.05 0.00 0.00 0.00 0.00 99.95 16:33:55 16:33:01 6 0.02 0.00 0.00 0.00 0.00 99.98 16:33:55 16:33:01 7 0.02 0.00 0.00 0.00 0.00 99.98 16:33:55 Average: all 6.21 0.00 1.61 0.55 0.02 91.60 16:33:55 Average: 0 6.38 0.00 1.62 0.70 0.02 91.28 16:33:55 Average: 1 5.98 0.00 1.58 0.57 0.03 91.83 16:33:55 Average: 2 6.40 0.00 1.54 0.41 0.02 91.62 16:33:55 Average: 3 6.24 0.00 1.56 1.25 0.02 90.92 16:33:55 Average: 4 6.22 0.00 1.63 0.14 0.02 91.98 16:33:55 Average: 5 5.88 0.00 1.63 0.34 0.02 92.12 16:33:55 Average: 6 6.24 0.00 1.66 0.64 0.02 91.43 16:33:55 Average: 7 6.34 0.00 1.62 0.38 0.03 91.63 16:33:55 16:33:55 16:33:55