Pull request #317 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 ejlee3 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 213c59a90fa2a9f25f91c2628b566ab82c721a2b rather than e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 Obtained Jenkinsfile from 213c59a90fa2a9f25f91c2628b566ab82c721a2b 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-ssh13376536085462330708.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh243102006527087049.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-317/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-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4211848480919320863.key Verifying host key using known hosts file > 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-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14071870372189300837.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh17184980788235022274.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/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-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11095570208673783420.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117002 in /w/workspace/foundry_device-virtual-go_PR-317 [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-317 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 Merge succeeded, producing e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 Checking out Revision e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 (PR-317) > git config core.sparsecheckout # timeout=10 > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:08:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:08:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:08:10 ========================================================= 23:08:10 EdgeX Global Pipelines Version Info 23:08:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:08:11 ------------------- 23:08:11 stable info: 23:08:11 ------------------- 23:08:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:08:11 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:08:11 Message: update stable to v1.0.243 23:08:12 ------------------- 23:08:12 experimental info: 23:08:12 ------------------- 23:08:12 Commited By: **** collab-it+edgex@linuxfoundation.org 23:08:12 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 23:08:12 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:08:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e245ba1 [Pipeline] echo 23:08:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:13 provisioning config files... 23:08:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config18135249135530163720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:14 ---> docker-login.sh 23:08:14 nexus3.edgexfoundry.org:10001 23:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:14 Configure a credential helper to remove this warning. See 23:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:14 23:08:14 Login Succeeded 23:08:14 nexus3.edgexfoundry.org:10002 23:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:14 Configure a credential helper to remove this warning. See 23:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:14 23:08:14 Login Succeeded 23:08:14 nexus3.edgexfoundry.org:10003 23:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:14 Configure a credential helper to remove this warning. See 23:08:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:14 23:08:14 Login Succeeded 23:08:14 nexus3.edgexfoundry.org:10004 23:08:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:15 Configure a credential helper to remove this warning. See 23:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:15 23:08:15 Login Succeeded 23:08:15 docker.io 23:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:15 Configure a credential helper to remove this warning. See 23:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:15 23:08:15 Login Succeeded 23:08:15 ---> docker-login.sh ends [Pipeline] } 23:08:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:08:16 + git rev-list -1 --merges e245ba1a7bb4665bce4f103bf9d77925b6c6aa39~1..e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo 23:08:16 -----------> git rev-list -1 --merges e245ba1a7bb4665bce4f103bf9d77925b6c6aa39~1..e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [false] [Pipeline] sh 23:08:16 + git log --format=format:%s -1 e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo 23:08:16 ========================================================= 23:08:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:08:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:16 + git log --format=format:%s -1 e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] echo 23:08:16 [semverPrep] GIT_COMMIT: e245ba1a7bb4665bce4f103bf9d77925b6c6aa39, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 23:08:16 [semverPrep] This is not a build commit. [Pipeline] sh 23:08:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:08:17 + grep -v github /etc/ssh/ssh_known_hosts 23:08:17 + [ -e /tmp/ssh_known_hosts ] 23:08:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:08:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:08:17 + sudo tee -a /etc/ssh/ssh_known_hosts 23:08:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:17 23:08:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:18 0.1.4: Pulling from edgex-devops/py-git-semver 23:08:18 b85a868b505f: Pulling fs layer 23:08:18 e2be974225ed: Pulling fs layer 23:08:18 339a4e72a1f5: Pulling fs layer 23:08:18 988bab9f4d93: Pulling fs layer 23:08:18 1469e6f7b9e6: Pulling fs layer 23:08:18 eaf3925da568: Pulling fs layer 23:08:18 bab4dde63d76: Pulling fs layer 23:08:18 bde34c3a00c8: Pulling fs layer 23:08:18 b352a97aabf1: Pulling fs layer 23:08:18 4872d77fe225: Pulling fs layer 23:08:18 5851b861e8e6: Pulling fs layer 23:08:18 eaf3925da568: Waiting 23:08:18 bab4dde63d76: Waiting 23:08:18 4872d77fe225: Waiting 23:08:18 5851b861e8e6: Waiting 23:08:18 bde34c3a00c8: Waiting 23:08:18 b352a97aabf1: Waiting 23:08:18 1469e6f7b9e6: Waiting 23:08:18 988bab9f4d93: Waiting 23:08:18 e2be974225ed: Verifying Checksum 23:08:18 e2be974225ed: Download complete 23:08:18 988bab9f4d93: Verifying Checksum 23:08:18 988bab9f4d93: Download complete 23:08:18 1469e6f7b9e6: Verifying Checksum 23:08:18 1469e6f7b9e6: Download complete 23:08:18 eaf3925da568: Verifying Checksum 23:08:18 eaf3925da568: Download complete 23:08:18 339a4e72a1f5: Verifying Checksum 23:08:18 339a4e72a1f5: Download complete 23:08:18 bde34c3a00c8: Download complete 23:08:18 b352a97aabf1: Download complete 23:08:18 4872d77fe225: Verifying Checksum 23:08:18 4872d77fe225: Download complete 23:08:18 5851b861e8e6: Verifying Checksum 23:08:18 5851b861e8e6: Download complete 23:08:18 b85a868b505f: Download complete 23:08:18 bab4dde63d76: Verifying Checksum 23:08:18 bab4dde63d76: Download complete 23:08:19 b85a868b505f: Pull complete 23:08:19 e2be974225ed: Pull complete 23:08:20 339a4e72a1f5: Pull complete 23:08:20 988bab9f4d93: Pull complete 23:08:20 1469e6f7b9e6: Pull complete 23:08:20 eaf3925da568: Pull complete 23:08:22 bab4dde63d76: Pull complete 23:08:22 bde34c3a00c8: Pull complete 23:08:22 b352a97aabf1: Pull complete 23:08:22 4872d77fe225: Pull complete 23:08:22 5851b861e8e6: Pull complete 23:08:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:08:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:23 prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container 23:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 23:08:25 $ docker top 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b -eo pid,comm 23:08:25 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). 23:08:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:08:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:25 [ssh-agent] Looking for ssh-agent implementation... 23:08:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:25 $ docker exec 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent 23:08:25 SSH_AUTH_SOCK=/tmp/ssh-d4PmEsi2kg0N/agent.32 23:08:25 SSH_AGENT_PID=38 23:08:25 Running ssh-add (command line suppressed) 23:08:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_9416830473641615290.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_9416830473641615290.key) 23:08:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:26 + git tag --points-at HEAD [Pipeline] } 23:08:26 $ docker exec --env ******** --env ******** 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent -k 23:08:26 unset SSH_AUTH_SOCK; 23:08:26 unset SSH_AGENT_PID; 23:08:26 echo Agent pid 38 killed; 23:08:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:08:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:08:26 [ssh-agent] Looking for ssh-agent implementation... 23:08:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:08:26 $ docker exec 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent 23:08:26 SSH_AUTH_SOCK=/tmp/ssh-jSWJteIVf89X/agent.71 23:08:26 SSH_AGENT_PID=77 23:08:26 Running ssh-add (command line suppressed) 23:08:26 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_16030641859253516311.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_16030641859253516311.key) 23:08:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:08:27 + git semver init 23:08:27 2022-10-25 23:08:27,316 [run_init] DEBUG init version:0.0.0 force:False 23:08:27 2022-10-25 23:08:27,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver 23:08:27 2022-10-25 23:08:27,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-317/.semver 23:08:27 2022-10-25 23:08:27,318 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-317/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-317, universal_newlines=False, shell=None, istream=None) 23:08:28 2022-10-25 23:08:28,449 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude 23:08:28 2022-10-25 23:08:28,450 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 with force:False 23:08:28 2022-10-25 23:08:28,450 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 23:08:28 2022-10-25 23:08:28,454 [execute] INFO git cat-file --batch-check 23:08:28 2022-10-25 23:08:28,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 23:08:28 2022-10-25 23:08:28,460 [execute] INFO git cat-file --batch 23:08:28 2022-10-25 23:08:28,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 23:08:28 2022-10-25 23:08:28,465 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 23:08:28 0.0.0 [Pipeline] } 23:08:28 $ docker exec --env ******** --env ******** 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b ssh-agent -k 23:08:28 unset SSH_AUTH_SOCK; 23:08:28 unset SSH_AGENT_PID; 23:08:28 echo Agent pid 77 killed; 23:08:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:08:29 + git semver [Pipeline] } 23:08:29 $ docker stop --time=1 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b 23:08:30 $ docker rm -f 8f4553dcb93e26d7d549922ef5423653bb25e2c7b192e67dd244792d45533f1b [Pipeline] // withDockerContainer [Pipeline] sh 23:08:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:08:31 Stashed 1 file(s) [Pipeline] echo 23:08:31 [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 23:08:32 provisioning config files... 23:08:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config5631105620044818579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:32 ---> docker-login.sh 23:08:32 nexus3.edgexfoundry.org:10001 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10002 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10003 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 nexus3.edgexfoundry.org:10004 23:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:32 Configure a credential helper to remove this warning. See 23:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:32 23:08:32 Login Succeeded 23:08:32 docker.io 23:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:33 Configure a credential helper to remove this warning. See 23:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:33 23:08:33 Login Succeeded 23:08:33 ---> docker-login.sh ends [Pipeline] } 23:08:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:08:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:33 ========================================================= 23:08:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:08:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:34 + 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 . 23:08:34 Sending build context to Docker daemon 23.26MB 23:08:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:08:34 Step 2/12 : FROM ${BASE} AS builder 23:08:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:08:34 213ec9aee27d: Pulling fs layer 23:08:34 4583459ba037: Pulling fs layer 23:08:34 93c1e223e6f2: Pulling fs layer 23:08:34 53926ce57604: Pulling fs layer 23:08:34 21b2b0c7a3f4: Pulling fs layer 23:08:34 30f14e443154: Pulling fs layer 23:08:34 801331c1e519: Pulling fs layer 23:08:34 99cc6dd402b0: Pulling fs layer 23:08:34 7d9ed39f4882: Pulling fs layer 23:08:34 53926ce57604: Waiting 23:08:34 21b2b0c7a3f4: Waiting 23:08:34 30f14e443154: Waiting 23:08:34 801331c1e519: Waiting 23:08:34 99cc6dd402b0: Waiting 23:08:34 7d9ed39f4882: Waiting 23:08:34 93c1e223e6f2: Verifying Checksum 23:08:34 93c1e223e6f2: Download complete 23:08:34 4583459ba037: Download complete 23:08:34 21b2b0c7a3f4: Verifying Checksum 23:08:34 21b2b0c7a3f4: Download complete 23:08:34 30f14e443154: Verifying Checksum 23:08:34 30f14e443154: Download complete 23:08:34 213ec9aee27d: Verifying Checksum 23:08:34 213ec9aee27d: Download complete 23:08:34 801331c1e519: Download complete 23:08:34 213ec9aee27d: Pull complete 23:08:34 4583459ba037: Pull complete 23:08:34 93c1e223e6f2: Pull complete 23:08:35 7d9ed39f4882: Verifying Checksum 23:08:35 7d9ed39f4882: Download complete 23:08:35 53926ce57604: Download complete 23:08:35 99cc6dd402b0: Verifying Checksum 23:08:35 99cc6dd402b0: Download complete 23:08:39 53926ce57604: Pull complete 23:08:39 21b2b0c7a3f4: Pull complete 23:08:39 30f14e443154: Pull complete 23:08:39 801331c1e519: Pull complete 23:08:41 99cc6dd402b0: Pull complete 23:08:41 7d9ed39f4882: Pull complete 23:08:41 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 23:08:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:08:41 ---> 1dedd983c030 23:08:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:08:45 ---> Running in 614740f52a44 23:08:45 Removing intermediate container 614740f52a44 23:08:45 ---> b193199dbb56 23:08:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:08:45 ---> Running in ae43578c9ce5 23:08:45 Removing intermediate container ae43578c9ce5 23:08:45 ---> 734458173687 23:08:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:08:45 ---> Running in 1d375fd01677 23:08:45 Removing intermediate container 1d375fd01677 23:08:45 ---> f111cfce9fba 23:08:45 Step 6/12 : WORKDIR /device-virtual-go 23:08:45 ---> Running in e733ca44763b 23:08:45 Removing intermediate container e733ca44763b 23:08:45 ---> 588e1f489de5 23:08:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:08:45 ---> Running in a17cf2e64bd8 23:08:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:08:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:08:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:08:46 (2/4) Installing libedit (20210910.3.1-r0) 23:08:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:08:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:08:46 Executing busybox-1.35.0-r17.trigger 23:08:46 OK: 216 MiB in 55 packages 23:08:46 Removing intermediate container a17cf2e64bd8 23:08:46 ---> c127d096c690 23:08:46 Step 8/12 : COPY go.mod vendor* ./ 23:08:46 ---> a69cf759d041 23:08:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:46 ---> Running in 477582a5bb84 23:08:47 Still waiting to schedule task 23:08:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117000’ 23:09:04 Removing intermediate container 477582a5bb84 23:09:04 ---> f9b3bfb84baf 23:09:04 Step 10/12 : COPY . . 23:09:05 ---> c7b3df668f68 23:09:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:09:05 ---> Running in ae6cdfaed506 23:09:05 Removing intermediate container ae6cdfaed506 23:09:05 ---> b2737b2aa4e3 23:09:05 Step 12/12 : RUN $MAKE 23:09:05 ---> Running in ec4914303be5 23:09:05 noop 23:09:05 Removing intermediate container ec4914303be5 23:09:05 ---> 40b34bc37f0b 23:09:05 Successfully built 40b34bc37f0b 23:09:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:06 + docker inspect -f . ci-base-image-x86_64 23:09:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:06 prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container 23:09:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 23:09:06 $ docker top 249ff90703ec93265bd1415f1b93dc73a6f5a55dca7c8fd886284772127f693d -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:06 + go version 23:09:06 go version go1.18.7 linux/amd64 [Pipeline] } 23:09:06 $ docker stop --time=1 249ff90703ec93265bd1415f1b93dc73a6f5a55dca7c8fd886284772127f693d 23:09:08 $ docker rm -f 249ff90703ec93265bd1415f1b93dc73a6f5a55dca7c8fd886284772127f693d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:08 + docker inspect -f . ci-base-image-x86_64 23:09:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:09 prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container 23:09:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 23:09:09 $ docker top 855940fdadf02eac81c93c1afd65fa6bdd09dbf5d2918bab313c8bd49702a344 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:09 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh 23:09:10 + make test 23:09:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:09:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:09:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:09:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 23:09:27 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." 23:09:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:09:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:09:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:09:29 ./bin/test-attribution-txt.sh [Pipeline] echo 23:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:09:29 $ docker stop --time=1 855940fdadf02eac81c93c1afd65fa6bdd09dbf5d2918bab313c8bd49702a344 23:09:31 $ docker rm -f 855940fdadf02eac81c93c1afd65fa6bdd09dbf5d2918bab313c8bd49702a344 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:09:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:09:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:09:33 + ls -al . 23:09:33 total 204 23:09:33 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 23:09 . 23:09:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:08 .. 23:09:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:09 .git 23:09:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:08 .github 23:09:33 -rw-rw-r-- 1 jenkins jenkins 337 Oct 25 23:08 .gitignore 23:09:33 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:08 .golangci.yml 23:09:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:08 .semver 23:09:33 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 25 23:08 Attribution.txt 23:09:33 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 25 23:08 CHANGELOG.md 23:09:33 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 25 23:08 Dockerfile 23:09:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:08 GOVERNANCE.md 23:09:33 -rw-rw-r-- 1 jenkins jenkins 660 Oct 25 23:08 Jenkinsfile 23:09:33 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:08 LICENSE 23:09:33 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 25 23:08 Makefile 23:09:33 -rw-rw-r-- 1 jenkins jenkins 623 Oct 25 23:08 OWNERS.md 23:09:33 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 25 23:08 README.md 23:09:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:08 VERSION 23:09:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:08 bin 23:09:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:08 cmd 23:09:33 -rw-r--r-- 1 jenkins jenkins 44128 Oct 25 23:09 coverage.out 23:09:33 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 23:08 go.mod 23:09:33 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 25 23:08 go.sum 23:09:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:08 internal 23:09:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:08 snap 23:09:33 -rw-rw-r-- 1 jenkins jenkins 235 Oct 25 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:33 + 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=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 --label arch=amd64 --label version=0.0.0 . 23:09:33 Sending build context to Docker daemon 23.31MB 23:09:33 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:09:33 Step 2/26 : FROM ${BASE} AS builder 23:09:33 ---> 40b34bc37f0b 23:09:33 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:09:33 ---> Running in 6888777d2261 23:09:33 Removing intermediate container 6888777d2261 23:09:33 ---> 67c227a0a7f6 23:09:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:09:33 ---> Running in 6e81ce40cde9 23:09:34 Removing intermediate container 6e81ce40cde9 23:09:34 ---> 395c22642d33 23:09:34 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:09:34 ---> Running in 42a3b0fc2b2e 23:09:34 Removing intermediate container 42a3b0fc2b2e 23:09:34 ---> 71c9da1f9c9b 23:09:34 Step 6/26 : WORKDIR /device-virtual-go 23:09:34 ---> Running in e653d3b028db 23:09:34 Removing intermediate container e653d3b028db 23:09:34 ---> 5b92e296df9b 23:09:34 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:34 ---> Running in fa138b3bf270 23:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:09:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:09:35 OK: 216 MiB in 55 packages 23:09:35 Removing intermediate container fa138b3bf270 23:09:35 ---> a102477812c7 23:09:35 Step 8/26 : COPY go.mod vendor* ./ 23:09:35 ---> dcbe6f0e8ffe 23:09:35 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:35 ---> Running in 00d9dbd820bc 23:09:35 Removing intermediate container 00d9dbd820bc 23:09:35 ---> 9624ef230e59 23:09:35 Step 10/26 : COPY . . 23:09:36 ---> 6930567229c3 23:09:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:09:36 ---> Running in f7501fdbe856 23:09:36 Removing intermediate container f7501fdbe856 23:09:36 ---> b328dc09a2a7 23:09:36 Step 12/26 : RUN $MAKE 23:09:36 ---> Running in 75ddd1a0d7e9 23:09:36 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 23:09:55 Removing intermediate container 75ddd1a0d7e9 23:09:55 ---> 511ca436f841 23:09:55 Step 13/26 : FROM alpine:3.16 23:09:55 3.16: Pulling from library/alpine 23:09:55 213ec9aee27d: Already exists 23:09:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:09:55 Status: Downloaded newer image for alpine:3.16 23:09:55 ---> 9c6f07244728 23:09:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:09:55 ---> Running in 997f3235624c 23:09:55 Removing intermediate container 997f3235624c 23:09:55 ---> e1234ed40ae1 23:09:55 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:09:55 ---> Running in 7c44058f2bf9 23:09:56 Removing intermediate container 7c44058f2bf9 23:09:56 ---> b687f5d5502b 23:09:56 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:09:56 ---> Running in 3f215d0f7453 23:09:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:09:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:09:57 (1/6) Installing dumb-init (1.2.5-r1) 23:09:58 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:09:58 (3/6) Installing libsodium (1.0.18-r0) 23:09:58 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:09:59 (5/6) Installing libzmq (4.3.4-r0) 23:09:59 (6/6) Installing zeromq (4.3.4-r0) 23:09:59 Executing busybox-1.35.0-r17.trigger 23:09:59 OK: 8 MiB in 20 packages 23:10:00 Removing intermediate container 3f215d0f7453 23:10:00 ---> 8da5cd162864 23:10:00 Step 17/26 : WORKDIR / 23:10:00 ---> Running in 1ed693de48f9 23:10:00 Removing intermediate container 1ed693de48f9 23:10:00 ---> 0eb8fe0255ba 23:10:00 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:10:00 ---> e7fdb024e353 23:10:00 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:10:00 ---> 4fc9318cef7d 23:10:00 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:10:01 ---> db63a6cfe71b 23:10:01 Step 21/26 : EXPOSE 59900 23:10:01 ---> Running in 94f49242660e 23:10:01 Removing intermediate container 94f49242660e 23:10:01 ---> 64a0c0d55792 23:10:01 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:10:01 ---> Running in cf6d4e6c2483 23:10:01 Removing intermediate container cf6d4e6c2483 23:10:01 ---> 5ec0a47f7d26 23:10:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:10:01 ---> Running in d617c79690ce 23:10:01 Removing intermediate container d617c79690ce 23:10:01 ---> 3a32055c8ee4 23:10:01 Step 24/26 : LABEL arch=amd64 23:10:01 ---> Running in c216f8a9ec9c 23:10:01 Removing intermediate container c216f8a9ec9c 23:10:01 ---> 208a08b08593 23:10:01 Step 25/26 : LABEL git_sha=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 23:10:01 ---> Running in 07dac9c5ad50 23:10:01 Removing intermediate container 07dac9c5ad50 23:10:01 ---> 32cbe4624d47 23:10:01 Step 26/26 : LABEL version=0.0.0 23:10:01 ---> Running in 7511f86e17ba 23:10:01 Removing intermediate container 7511f86e17ba 23:10:01 ---> 46ea5e49b6c1 23:10:01 [Warning] One or more build-args [ARCH] were not consumed 23:10:01 Successfully built 46ea5e49b6c1 23:10:01 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 23:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:02 23:10:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:03 latest: Pulling from edgex-lftools-log-publisher 23:10:03 5eb5b503b376: Pulling fs layer 23:10:03 5c69ac0246d0: Pulling fs layer 23:10:03 ec43610c2a17: Pulling fs layer 23:10:03 3a2ae6a8a46f: Pulling fs layer 23:10:03 33b1e0a273af: Pulling fs layer 23:10:03 5d3b04190fa2: Pulling fs layer 23:10:03 2f39f015ded8: Pulling fs layer 23:10:03 33b1e0a273af: Waiting 23:10:03 5d3b04190fa2: Waiting 23:10:03 3a2ae6a8a46f: Waiting 23:10:03 5c69ac0246d0: Download complete 23:10:03 3a2ae6a8a46f: Download complete 23:10:03 33b1e0a273af: Verifying Checksum 23:10:03 33b1e0a273af: Download complete 23:10:03 5d3b04190fa2: Verifying Checksum 23:10:03 5d3b04190fa2: Download complete 23:10:03 ec43610c2a17: Verifying Checksum 23:10:03 ec43610c2a17: Download complete 23:10:03 5eb5b503b376: Verifying Checksum 23:10:03 5eb5b503b376: Download complete 23:10:03 2f39f015ded8: Download complete 23:10:04 5eb5b503b376: Pull complete 23:10:04 5c69ac0246d0: Pull complete 23:10:05 ec43610c2a17: Pull complete 23:10:05 3a2ae6a8a46f: Pull complete 23:10:05 33b1e0a273af: Pull complete 23:10:05 5d3b04190fa2: Pull complete 23:10:09 2f39f015ded8: Pull complete 23:10:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:10:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:09 prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container 23:10:09 $ 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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 23:10:12 $ docker top d2114ce2455b34e16cf7436bd1814f9809890cc5fa76cc1661eeefc436deca69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:12 ---> job-cost.sh 23:10:12 lf-activate-venv: SKIPPING 23:10:12 INFO: No Stack... 23:10:12 INFO: Retrieving Pricing Info for: v3-standard-8 23:10:12 INFO: Archiving Costs [Pipeline] sh 23:10:13 + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv 23:10:13 + cut -d, -f6 [Pipeline] lock 23:10:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] 23:10:13 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] did not exist. Created. 23:10:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:10:13 + echo total: 0.2199999988079071 [Pipeline] stash 23:10:13 Stashed 1 file(s) [Pipeline] } 23:10:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:10:13 $ docker stop --time=1 d2114ce2455b34e16cf7436bd1814f9809890cc5fa76cc1661eeefc436deca69 23:10:15 $ docker rm -f d2114ce2455b34e16cf7436bd1814f9809890cc5fa76cc1661eeefc436deca69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:10:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117003 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws 23:10:43 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 23:10:43 The recommended git tool is: git 23:10:48 using credential edgex-jenkins-ssh 23:10:48 Cloning the remote Git repository 23:10:48 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:10:48 > git init /w/workspace/device-virtual-go/1 # timeout=10 23:10:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:10:48 > git --version # timeout=10 23:10:48 > git --version # 'git version 2.25.1' 23:10:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:10:48 Verifying host key using known hosts file 23:10:48 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:10:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:10:50 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:10:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:10:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:10:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:10:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:10:51 Verifying host key using known hosts file 23:10:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:10:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:10:52 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 23:10:52 Merge succeeded, producing e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 23:10:52 Checking out Revision e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 (PR-317) 23:10:52 > git config core.sparsecheckout # timeout=10 23:10:52 > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 23:10:52 > git remote # timeout=10 23:10:52 > git config --get remote.origin.url # timeout=10 23:10:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:10:52 Verifying host key using known hosts file 23:10:52 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:10:52 > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 23:10:52 > git rev-parse HEAD^{commit} # timeout=10 23:10:52 > git config core.sparsecheckout # timeout=10 23:10:52 > git checkout -f e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 23:10:56 Commit message: "build: Latest go-mods, config and Dockerfile fix" 23:10:56 > git --version # timeout=10 23:10:56 > git --version # 'git version 2.25.1' 23:10:56 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:10:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:10:57 % Total % Received % Xferd Average Speed Time Time Time Current 23:10:57 Dload Upload Total Spent Left Speed 23:10:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75011 [Pipeline] sh 23:10:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:10:58 + sudo tee+ /etc/docker/daemon.new 23:10:58 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:10:58 { 23:10:58 "registry-mirrors": [ 23:10:58 "https://nexus3.edgexfoundry.org:10001" 23:10:58 ], 23:10:58 "bip": "10.250.0.254/24", 23:10:58 "hosts": [ 23:10:58 "tcp://0.0.0.0:5555", 23:10:58 "unix:///var/run/docker.sock" 23:10:58 ], 23:10:58 "mtu": 1458, 23:10:58 "selinux-enabled": true, 23:10:58 "seccomp-profile": "/etc/docker/seccomp.json" 23:10:58 } [Pipeline] sh 23:10:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:10:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:17 provisioning config files... 23:11:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7790694178423622410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:17 ---> docker-login.sh 23:11:17 nexus3.edgexfoundry.org:10001 23:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 nexus3.edgexfoundry.org:10002 23:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 nexus3.edgexfoundry.org:10003 23:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 nexus3.edgexfoundry.org:10004 23:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:19 Configure a credential helper to remove this warning. See 23:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:19 23:11:19 Login Succeeded 23:11:19 docker.io 23:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:19 Configure a credential helper to remove this warning. See 23:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:19 23:11:19 Login Succeeded 23:11:19 ---> docker-login.sh ends [Pipeline] } 23:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:20 ========================================================= 23:11:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:11:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:20 + 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 . 23:11:20 Sending build context to Docker daemon 11.79MB 23:11:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:11:20 Step 2/12 : FROM ${BASE} AS builder 23:11:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:11:21 9b18e9b68314: Pulling fs layer 23:11:21 d32db5db7311: Pulling fs layer 23:11:21 d0c4b47475fc: Pulling fs layer 23:11:21 5831b945b038: Pulling fs layer 23:11:21 86bbec2aaacd: Pulling fs layer 23:11:21 e10730c5d714: Pulling fs layer 23:11:21 5dd5c2283517: Pulling fs layer 23:11:21 d5ac0230b979: Pulling fs layer 23:11:21 e10730c5d714: Waiting 23:11:21 5831b945b038: Waiting 23:11:21 5dd5c2283517: Waiting 23:11:21 d5ac0230b979: Waiting 23:11:21 86bbec2aaacd: Waiting 23:11:21 d0c4b47475fc: Verifying Checksum 23:11:21 d32db5db7311: Download complete 23:11:21 86bbec2aaacd: Download complete 23:11:21 e10730c5d714: Verifying Checksum 23:11:21 e10730c5d714: Download complete 23:11:21 9b18e9b68314: Verifying Checksum 23:11:21 9b18e9b68314: Download complete 23:11:22 d5ac0230b979: Verifying Checksum 23:11:22 d5ac0230b979: Download complete 23:11:22 9b18e9b68314: Pull complete 23:11:22 d32db5db7311: Pull complete 23:11:22 d0c4b47475fc: Pull complete 23:11:23 5dd5c2283517: Verifying Checksum 23:11:23 5dd5c2283517: Download complete 23:11:23 5831b945b038: Download complete 23:11:36 5831b945b038: Pull complete 23:11:36 86bbec2aaacd: Pull complete 23:11:36 e10730c5d714: Pull complete 23:11:42 5dd5c2283517: Pull complete 23:11:43 d5ac0230b979: Pull complete 23:11:43 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 23:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:11:43 ---> 59b3b1a385d4 23:11:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:11:45 ---> Running in f2536a2a7bb1 23:11:45 Removing intermediate container f2536a2a7bb1 23:11:45 ---> 889566f38eee 23:11:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:11:45 ---> Running in f5446345f753 23:11:46 Removing intermediate container f5446345f753 23:11:46 ---> dc65b4b75c8f 23:11:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:11:46 ---> Running in 15e62ddd35b1 23:11:46 Removing intermediate container 15e62ddd35b1 23:11:46 ---> b0e6e0394e7a 23:11:46 Step 6/12 : WORKDIR /device-virtual-go 23:11:46 ---> Running in 91f8f51ae81a 23:11:47 Removing intermediate container 91f8f51ae81a 23:11:47 ---> 696026bc6fa9 23:11:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:47 ---> Running in 84b39589f191 23:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:11:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:11:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:11:49 (2/4) Installing libedit (20210910.3.1-r0) 23:11:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:11:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:11:49 Executing busybox-1.35.0-r17.trigger 23:11:49 OK: 226 MiB in 55 packages 23:11:50 Removing intermediate container 84b39589f191 23:11:50 ---> 1822b409c7af 23:11:50 Step 8/12 : COPY go.mod vendor* ./ 23:11:50 ---> 59eaef014634 23:11:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:11:51 ---> Running in 88b99d1f151f 23:12:47 Removing intermediate container 88b99d1f151f 23:12:47 ---> 4ebae76a3e64 23:12:47 Step 10/12 : COPY . . 23:12:47 ---> babb302dda28 23:12:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:47 ---> Running in 3d9eae265e91 23:12:47 Removing intermediate container 3d9eae265e91 23:12:47 ---> cc159375c51f 23:12:47 Step 12/12 : RUN $MAKE 23:12:47 ---> Running in 1d103747dfe8 23:12:47 noop 23:12:47 Removing intermediate container 1d103747dfe8 23:12:47 ---> 919ba597430b 23:12:47 Successfully built 919ba597430b 23:12:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:47 + docker inspect -f . ci-base-image-arm64 23:12:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:48 prd-ubuntu20.04-docker-arm64-4c-16g-117003 does not seem to be running inside a container 23:12:48 $ 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 23:12:49 $ docker top 8a5caabb004102b7ac8b7ca11c4919c7998969f765d614b352e3e05dc1502db9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:50 + go version 23:12:50 go version go1.18.7 linux/arm64 [Pipeline] } 23:12:50 $ docker stop --time=1 8a5caabb004102b7ac8b7ca11c4919c7998969f765d614b352e3e05dc1502db9 23:12:51 $ docker rm -f 8a5caabb004102b7ac8b7ca11c4919c7998969f765d614b352e3e05dc1502db9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:52 + docker inspect -f . ci-base-image-arm64 23:12:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:52 prd-ubuntu20.04-docker-arm64-4c-16g-117003 does not seem to be running inside a container 23:12:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:12:53 $ docker top c0b22a016530089f518bca5e6e5298f045bafcd5e3f99234617c09941998dc7f -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:54 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 23:12:54 + make test 23:12:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:12:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:14:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:14:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements 23:14:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:14:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:14:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:37 ./bin/test-attribution-txt.sh [Pipeline] echo 23:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:37 $ docker stop --time=1 c0b22a016530089f518bca5e6e5298f045bafcd5e3f99234617c09941998dc7f 23:14:39 $ docker rm -f c0b22a016530089f518bca5e6e5298f045bafcd5e3f99234617c09941998dc7f [Pipeline] // withDockerContainer [Pipeline] sh 23:14:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:40 Warning: overwriting stash ‘coverage-report’ 23:14:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:14:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:42 + ls -al . 23:14:42 total 200 23:14:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:12 . 23:14:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:10 .. 23:14:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:10 .git 23:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:10 .github 23:14:42 -rw-rw-r-- 1 jenkins jenkins 337 Oct 25 23:10 .gitignore 23:14:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:10 .golangci.yml 23:14:42 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 25 23:10 Attribution.txt 23:14:42 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 25 23:10 CHANGELOG.md 23:14:42 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 25 23:10 Dockerfile 23:14:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:10 GOVERNANCE.md 23:14:42 -rw-rw-r-- 1 jenkins jenkins 660 Oct 25 23:10 Jenkinsfile 23:14:42 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 23:10 LICENSE 23:14:42 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 25 23:10 Makefile 23:14:42 -rw-rw-r-- 1 jenkins jenkins 623 Oct 25 23:10 OWNERS.md 23:14:42 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 25 23:10 README.md 23:14:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 23:08 VERSION 23:14:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:10 bin 23:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:10 cmd 23:14:42 -rw-r--r-- 1 jenkins jenkins 44128 Oct 25 23:14 coverage.out 23:14:42 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 25 23:10 go.mod 23:14:42 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 25 23:10 go.sum 23:14:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:10 internal 23:14:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:10 snap 23:14:42 -rw-rw-r-- 1 jenkins jenkins 235 Oct 25 23:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:42 + 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=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 --label arch=arm64 --label version=0.0.0 . 23:14:42 Sending build context to Docker daemon 11.83MB 23:14:42 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:14:42 Step 2/26 : FROM ${BASE} AS builder 23:14:42 ---> 919ba597430b 23:14:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:14:43 ---> Running in 956036c2daab 23:14:43 Removing intermediate container 956036c2daab 23:14:43 ---> 27e9b7dd4c14 23:14:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:14:43 ---> Running in 1bf8f3c9aed2 23:14:43 Removing intermediate container 1bf8f3c9aed2 23:14:43 ---> 572b57cc22d1 23:14:43 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:14:43 ---> Running in b854240f37e7 23:14:44 Removing intermediate container b854240f37e7 23:14:44 ---> 10f72beb5de5 23:14:44 Step 6/26 : WORKDIR /device-virtual-go 23:14:44 ---> Running in dd7518776024 23:14:44 Removing intermediate container dd7518776024 23:14:44 ---> 2b1648e33388 23:14:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:44 ---> Running in 8da8cf73c6c6 23:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:14:46 OK: 226 MiB in 55 packages 23:14:47 Removing intermediate container 8da8cf73c6c6 23:14:47 ---> 032676dc63e9 23:14:47 Step 8/26 : COPY go.mod vendor* ./ 23:14:47 ---> bc49b38c4a5d 23:14:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:47 ---> Running in f09c67b70871 23:14:49 Removing intermediate container f09c67b70871 23:14:49 ---> 43e911875828 23:14:49 Step 10/26 : COPY . . 23:14:51 ---> 988c03acacd9 23:14:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:14:51 ---> Running in 90aa7847a4d1 23:14:51 Removing intermediate container 90aa7847a4d1 23:14:51 ---> 01346d219bf4 23:14:51 Step 12/26 : RUN $MAKE 23:14:51 ---> Running in 024c93b3ba7a 23:14:52 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 23:17:28 Removing intermediate container 024c93b3ba7a 23:17:28 ---> 4ee5ce24b464 23:17:28 Step 13/26 : FROM alpine:3.16 23:17:28 3.16: Pulling from library/alpine 23:17:28 9b18e9b68314: Already exists 23:17:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:17:28 Status: Downloaded newer image for alpine:3.16 23:17:28 ---> a6215f271958 23:17:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:17:28 ---> Running in c7b9f0c3b10e 23:17:28 Removing intermediate container c7b9f0c3b10e 23:17:28 ---> edde5f09fa51 23:17:28 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:17:28 ---> Running in af9d1bc3e389 23:17:28 Removing intermediate container af9d1bc3e389 23:17:28 ---> 3d77275c2aa2 23:17:28 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:17:28 ---> Running in 9f514ab3e943 23:17:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:17:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:17:28 (1/6) Installing dumb-init (1.2.5-r1) 23:17:28 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:17:28 (3/6) Installing libsodium (1.0.18-r0) 23:17:28 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:17:28 (5/6) Installing libzmq (4.3.4-r0) 23:17:28 (6/6) Installing zeromq (4.3.4-r0) 23:17:28 Executing busybox-1.35.0-r17.trigger 23:17:28 OK: 8 MiB in 20 packages 23:17:28 Removing intermediate container 9f514ab3e943 23:17:28 ---> 1152f293c891 23:17:28 Step 17/26 : WORKDIR / 23:17:28 ---> Running in 8e545c84580b 23:17:28 Removing intermediate container 8e545c84580b 23:17:28 ---> e6b5e6d494b3 23:17:28 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:17:28 ---> f537493ce038 23:17:28 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:17:28 ---> 17b8a5bbaf5f 23:17:28 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:17:28 ---> 0ef251fc1989 23:17:28 Step 21/26 : EXPOSE 59900 23:17:28 ---> Running in ed1a52b027ee 23:17:29 Removing intermediate container ed1a52b027ee 23:17:29 ---> b24daa28a237 23:17:29 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:17:29 ---> Running in 3278cece6c61 23:17:29 Removing intermediate container 3278cece6c61 23:17:29 ---> 0673220f9313 23:17:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:17:29 ---> Running in e2357ea185bb 23:17:30 Removing intermediate container e2357ea185bb 23:17:30 ---> 46a9df2487cc 23:17:30 Step 24/26 : LABEL arch=arm64 23:17:30 ---> Running in 06e32e3fb9e2 23:17:30 Removing intermediate container 06e32e3fb9e2 23:17:30 ---> 594018c1a3e7 23:17:30 Step 25/26 : LABEL git_sha=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 23:17:30 ---> Running in af3d6d15688b 23:17:30 Removing intermediate container af3d6d15688b 23:17:30 ---> 073603c27e41 23:17:30 Step 26/26 : LABEL version=0.0.0 23:17:30 ---> Running in dcfc8271b591 23:17:30 Removing intermediate container dcfc8271b591 23:17:30 ---> 5ee8b9bb9fde 23:17:30 [Warning] One or more build-args [ARCH] were not consumed 23:17:30 Successfully built 5ee8b9bb9fde 23:17:30 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 23:17:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:31 23:17:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:32 arm64: Pulling from edgex-lftools-log-publisher 23:17:32 8998bd30e6a1: Pulling fs layer 23:17:32 04944245beec: Pulling fs layer 23:17:32 699f458cf7ca: Pulling fs layer 23:17:32 765212b225bb: Pulling fs layer 23:17:32 f23df028b6ca: Pulling fs layer 23:17:32 d65c8cfc05b1: Pulling fs layer 23:17:32 2437ff75d9bd: Pulling fs layer 23:17:32 f23df028b6ca: Waiting 23:17:32 d65c8cfc05b1: Waiting 23:17:32 765212b225bb: Waiting 23:17:32 2437ff75d9bd: Waiting 23:17:32 04944245beec: Verifying Checksum 23:17:32 04944245beec: Download complete 23:17:32 765212b225bb: Verifying Checksum 23:17:32 765212b225bb: Download complete 23:17:32 f23df028b6ca: Download complete 23:17:32 d65c8cfc05b1: Verifying Checksum 23:17:32 d65c8cfc05b1: Download complete 23:17:32 699f458cf7ca: Verifying Checksum 23:17:32 699f458cf7ca: Download complete 23:17:33 8998bd30e6a1: Verifying Checksum 23:17:33 8998bd30e6a1: Download complete 23:17:35 2437ff75d9bd: Verifying Checksum 23:17:35 2437ff75d9bd: Download complete 23:17:37 8998bd30e6a1: Pull complete 23:17:37 04944245beec: Pull complete 23:17:39 699f458cf7ca: Pull complete 23:17:39 765212b225bb: Pull complete 23:17:39 f23df028b6ca: Pull complete 23:17:39 d65c8cfc05b1: Pull complete 23:17:54 2437ff75d9bd: Pull complete 23:17:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:55 prd-ubuntu20.04-docker-arm64-4c-16g-117003 does not seem to be running inside a container 23:17:55 $ 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 23:17:57 $ docker top 336d789f09daf670d4c816814d19460b7e8ae5c750199c40d054d3fba53eb2ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:58 ---> job-cost.sh 23:17:58 lf-activate-venv: SKIPPING 23:17:58 INFO: No Stack... 23:17:58 INFO: Retrieving Pricing Info for: v3-standard-4 23:17:59 INFO: Archiving Costs [Pipeline] sh 23:18:00 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 23:18:00 + cut -d, -f6 [Pipeline] lock 23:18:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] 23:18:00 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] did not exist. Created. 23:18:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:18:01 /w/workspace/device-virtual-go/1@tmp/durable-f767bffd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:18:01 + echo total: 0.10999999940395355 [Pipeline] stash 23:18:01 Warning: overwriting stash ‘stack-cost’ 23:18:01 Stashed 1 file(s) [Pipeline] } 23:18:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:18:01 $ docker stop --time=1 336d789f09daf670d4c816814d19460b7e8ae5c750199c40d054d3fba53eb2ab 23:18:03 $ docker rm -f 336d789f09daf670d4c816814d19460b7e8ae5c750199c40d054d3fba53eb2ab [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 23:18:04 provisioning config files... 23:18:04 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config13222076690719780481tmp [Pipeline] { [Pipeline] sh 23:18:04 + set +x 23:18:04 + curl -s https://codecov.io/bash 23:18:04 + bash -s -- 23:18:04 23:18:04 _____ _ 23:18:04 / ____| | | 23:18:04 | | ___ __| | ___ ___ _____ __ 23:18:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:18:04 | |___| (_) | (_| | __/ (_| (_) \ V / 23:18:04 \_____\___/ \__,_|\___|\___\___/ \_/ 23:18:04 Bash-1.0.6 23:18:04 23:18:04 23:18:04 ==> git version 2.25.1 found 23:18:04 ==> 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 23:18:04 Release-Date: 2020-01-08 23:18:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:18:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:18:04 ==> Jenkins CI detected. 23:18:04 current dir:  /w/workspace/foundry_device-virtual-go_PR-317 23:18:04 project root: . 23:18:04 --> token set from env 23:18:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:18:04 ==> Running gcov in . (disable via -X gcov) 23:18:04 ==> Python coveragepy not found 23:18:04 ==> Searching for coverage reports in: 23:18:04 + . 23:18:04 -> Found 1 reports 23:18:04 ==> Detecting git/mercurial file structure 23:18:04 ==> Reading reports 23:18:04 + ./coverage.out bytes=44128 23:18:04 ==> Appending adjustments 23:18:04 https://docs.codecov.io/docs/fixing-reports 23:18:04 + Found adjustments 23:18:04 ==> Gzipping contents 23:18:04 8.0K /tmp/codecov.dIDDiV.gz 23:18:04 ==> Uploading reports 23:18:04 url: https://codecov.io 23:18:04 query: branch=PR-317&commit=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 23:18:04 -> Pinging Codecov 23:18:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-317&commit=e245ba1a7bb4665bce4f103bf9d77925b6c6aa39&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 23:18:04 -> Uploading to 23:18:04 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/5E52B4B073DB2E39498172D8E973AA87/e245ba1a7bb4665bce4f103bf9d77925b6c6aa39/f7badbb7-16b8-4a2b-9cbd-38a804652cca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T231804Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=481daf547c08a63b199690039edc148bd049e4b0d0a2d1388b0a1aa2fc0f97e7 23:18:04 % Total % Received % Xferd Average Speed Time Time Time Current 23:18:04 Dload Upload Total Spent Left Speed 23:18:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5471 0 0 100 5471 0 18736 --:--:-- --:--:-- --:--:-- 18736 23:18:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 [Pipeline] } 23:18:05 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 23:18:06 + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] 23:18:06 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 23:18:06 total 16 23:18:06 drwxr-xr-x 3 root root 4096 Oct 25 23:10 . 23:18:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:10 .. 23:18:06 drwxr-xr-x 2 root root 4096 Oct 25 23:10 cost 23:18:06 -rw-r--r-- 1 root root 89 Oct 25 23:10 cost.csv 23:18:06 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives 23:18:06 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 23:18:06 total 16 23:18:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 23:10 . 23:18:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:10 .. 23:18:06 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 23:10 cost 23:18:06 -rw-r--r-- 1 jenkins jenkins 89 Oct 25 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:18:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:18:08 ---> package-listing.sh 23:18:08 ++ tr '[:upper:]' '[:lower:]' 23:18:08 ++ facter osfamily 23:18:08 + OS_FAMILY=debian 23:18:08 + workspace=/w/workspace/foundry_device-virtual-go_PR-317 23:18:08 + START_PACKAGES=/tmp/packages_start.txt 23:18:08 + END_PACKAGES=/tmp/packages_end.txt 23:18:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:18:08 + PACKAGES=/tmp/packages_start.txt 23:18:08 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 23:18:08 + PACKAGES=/tmp/packages_end.txt 23:18:08 + case "${OS_FAMILY}" in 23:18:08 + dpkg -l 23:18:08 + grep '^ii' 23:18:08 + '[' -f /tmp/packages_start.txt ']' 23:18:08 + '[' -f /tmp/packages_end.txt ']' 23:18:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:18:08 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 23:18:08 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ 23:18:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-317/archives/ [Pipeline] echo 23:18:08 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-317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:18:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:09 prd-ubuntu20.04-docker-8c-8g-117002 does not seem to be running inside a container 23:18:09 $ 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-317/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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 23:18:09 $ docker top b1d2a7048ed1f099783d6db3db17bb678906e630abfd60bdacc0f5771b2a0816 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:10 + touch /tmp/pre-build-complete [Pipeline] sh 23:18:10 + mkdir -p /var/log/sysstat [Pipeline] sh 23:18:10 + ls /var/log/sa-host 23:18:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:10 provisioning config files... 23:18:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config5838593694076643066tmp [Pipeline] { [Pipeline] echo 23:18:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:18:11 ---> create-netrc.sh [Pipeline] } 23:18:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:18:11 ---> python-tools-install.sh [Pipeline] echo 23:18:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:18:11 ---> sudo-logs.sh 23:18:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:18:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:18:12 ---> job-cost.sh 23:18:12 lf-activate-venv: SKIPPING 23:18:12 DEBUG: total: 0.2199999988079071 23:18:12 INFO: Retrieving Stack Cost... 23:18:12 INFO: Retrieving Pricing Info for: v3-standard-8 23:18:13 INFO: Archiving Costs [Pipeline] echo 23:18:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:18:13 ---> logs-deploy.sh 23:18:13 lf-activate-venv: SKIPPING 23:18:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/1 23:18:13 INFO: archiving workspace using pattern(s): 23:18:14 Archives upload complete. 23:18:14 INFO: archiving logs to Nexus 23:18:15 ---> uname -a: 23:18:15 Linux prd-ubuntu20-04-docker-8c-8g-117002 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 23:18:15 23:18:15 23:18:15 ---> lscpu: 23:18:15 Architecture: x86_64 23:18:15 CPU op-mode(s): 32-bit, 64-bit 23:18:15 Byte Order: Little Endian 23:18:15 Address sizes: 40 bits physical, 48 bits virtual 23:18:15 CPU(s): 8 23:18:15 On-line CPU(s) list: 0-7 23:18:15 Thread(s) per core: 1 23:18:15 Core(s) per socket: 1 23:18:15 Socket(s): 8 23:18:15 NUMA node(s): 1 23:18:15 Vendor ID: AuthenticAMD 23:18:15 CPU family: 23 23:18:15 Model: 49 23:18:15 Model name: AMD EPYC-Rome Processor 23:18:15 Stepping: 0 23:18:15 CPU MHz: 2799.988 23:18:15 BogoMIPS: 5599.97 23:18:15 Virtualization: AMD-V 23:18:15 Hypervisor vendor: KVM 23:18:15 Virtualization type: full 23:18:15 L1d cache: 256 KiB 23:18:15 L1i cache: 256 KiB 23:18:15 L2 cache: 4 MiB 23:18:15 L3 cache: 128 MiB 23:18:15 NUMA node0 CPU(s): 0-7 23:18:15 Vulnerability Itlb multihit: Not affected 23:18:15 Vulnerability L1tf: Not affected 23:18:15 Vulnerability Mds: Not affected 23:18:15 Vulnerability Meltdown: Not affected 23:18:15 Vulnerability Mmio stale data: Not affected 23:18:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:18:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:18:15 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:18:15 Vulnerability Srbds: Not affected 23:18:15 Vulnerability Tsx async abort: Not affected 23:18:15 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 23:18:15 23:18:15 23:18:15 ---> nproc: 23:18:15 8 23:18:15 23:18:15 23:18:15 ---> df -h: 23:18:15 Filesystem Size Used Avail Use% Mounted on 23:18:15 overlay 155G 12G 144G 8% / 23:18:15 tmpfs 64M 0 64M 0% /dev 23:18:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 23:18:15 shm 64M 0 64M 0% /dev/shm 23:18:15 /dev/vda1 155G 12G 144G 8% /facter-os 23:18:15 23:18:15 23:18:15 ---> sar -b -r -n DEV: 23:18:15 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117002) 10/25/22 _x86_64_ (8 CPU) 23:18:15 23:18:15 23:07:29 LINUX RESTART (8 CPU) 23:18:15 23:18:15 23:08:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 23:18:15 23:09:01 314.30 17.15 297.15 0.00 1984.34 59943.74 0.00 23:18:15 23:10:01 183.54 0.27 183.27 0.00 18.26 43635.39 0.00 23:18:15 23:11:01 65.17 0.05 65.12 0.00 1.60 18937.93 0.00 23:18:15 23:12:01 1.12 0.00 1.12 0.00 0.00 13.73 0.00 23:18:15 23:13:01 39.18 9.33 29.85 0.00 2884.05 4796.80 0.00 23:18:15 23:14:01 2.47 0.00 2.47 0.00 0.00 30.26 0.00 23:18:15 23:15:01 3.22 1.53 1.68 0.00 35.73 21.20 0.00 23:18:15 23:16:01 1.98 0.00 1.98 0.00 0.00 22.13 0.00 23:18:15 23:17:01 1.35 0.02 1.33 0.00 0.13 15.19 0.00 23:18:15 23:18:01 2.58 0.00 2.58 0.00 0.00 39.33 0.00 23:18:15 Average: 61.49 2.83 58.65 0.00 492.39 12745.15 0.00 23:18:15 23:18:15 23:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:18:15 23:09:01 27979028 31581404 731008 2.22 135460 3631808 1898196 5.59 1158392 3271828 524332 23:18:15 23:10:01 28172752 31548428 757900 2.30 141632 3433216 1934312 5.70 1239744 3021176 15216 23:18:15 23:11:01 27738772 31575952 728584 2.22 150556 3837272 1789700 5.27 1233452 3412064 36 23:18:15 23:12:01 27737964 31575204 729212 2.22 150580 3837284 1789700 5.27 1232888 3412068 152 23:18:15 23:13:01 27460188 31567732 717552 2.18 169148 4086068 1822292 5.37 1378796 3519824 244 23:18:15 23:14:01 27460724 31568232 717036 2.18 169208 4086068 1822460 5.37 1378164 3519784 8 23:18:15 23:15:01 27460524 31570308 714780 2.17 169308 4087132 1822460 5.37 1380544 3520092 0 23:18:15 23:16:01 27460516 31570344 714636 2.17 169400 4087132 1806228 5.32 1380252 3520096 8 23:18:15 23:17:01 27459960 31569932 714812 2.17 169460 4087144 1806228 5.32 1380920 3520092 228 23:18:15 23:18:01 27459424 31569776 715236 2.18 169548 4087148 1806228 5.32 1380384 3520384 8 23:18:15 Average: 27638985 31569731 724076 2.20 159430 3926027 1829780 5.39 1314354 3423741 54023 23:18:15 23:18:15 23:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:18:15 23:09:01 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 23:18:15 23:09:01 docker0 175.72 229.66 14.13 1964.86 0.00 0.00 0.00 0.00 23:18:15 23:09:01 ens3 867.87 613.61 8409.25 137.80 0.00 0.00 0.00 0.00 23:18:15 23:10:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 23:18:15 23:10:01 docker0 13.33 16.78 0.77 99.58 0.00 0.00 0.00 0.00 23:18:15 23:10:01 ens3 67.01 46.31 143.87 20.31 0.00 0.00 0.00 0.00 23:18:15 23:11:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 23:18:15 23:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:11:01 ens3 100.93 65.81 2521.80 11.10 0.00 0.00 0.00 0.00 23:18:15 23:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:18:15 23:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:12:01 ens3 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 23:18:15 23:13:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 23:18:15 23:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:13:01 ens3 74.79 47.03 1298.62 3.44 0.00 0.00 0.00 0.00 23:18:15 23:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:18:15 23:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:14:01 ens3 0.33 0.28 0.09 0.08 0.00 0.00 0.00 0.00 23:18:15 23:15:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 23:18:15 23:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:15:01 ens3 8.57 6.22 11.15 5.86 0.00 0.00 0.00 0.00 23:18:15 23:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:18:15 23:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:16:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 23:18:15 23:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:17:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 23:18:15 23:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:18:15 23:18:01 ens3 0.80 0.35 0.30 0.21 0.00 0.00 0.00 0.00 23:18:15 Average: lo 1.01 1.01 0.09 0.09 0.00 0.00 0.00 0.00 23:18:15 Average: docker0 18.90 24.64 1.49 206.44 0.00 0.00 0.00 0.00 23:18:15 Average: ens3 112.06 77.98 1238.47 17.88 0.00 0.00 0.00 0.00 23:18:15 23:18:15 23:18:15 ---> sar -P ALL: 23:18:15 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117002) 10/25/22 _x86_64_ (8 CPU) 23:18:15 23:18:15 23:07:29 LINUX RESTART (8 CPU) 23:18:15 23:18:15 23:08:01 CPU %user %nice %system %iowait %steal %idle 23:18:15 23:09:01 all 12.40 0.00 4.53 2.63 0.06 80.37 23:18:15 23:09:01 0 15.44 0.00 4.05 4.84 0.05 75.62 23:18:15 23:09:01 1 12.45 0.00 3.73 0.52 0.05 83.24 23:18:15 23:09:01 2 8.79 0.00 4.72 2.61 0.07 83.81 23:18:15 23:09:01 3 11.18 0.00 4.09 0.93 0.08 83.71 23:18:15 23:09:01 4 11.84 0.00 4.83 0.35 0.05 82.92 23:18:15 23:09:01 5 14.41 0.00 6.02 4.46 0.07 75.04 23:18:15 23:09:01 6 9.83 0.00 4.24 5.56 0.07 80.31 23:18:15 23:09:01 7 15.29 0.00 4.58 1.75 0.07 78.32 23:18:15 23:10:01 all 35.28 0.00 6.04 1.58 0.07 57.03 23:18:15 23:10:01 0 34.73 0.00 6.08 0.25 0.07 58.87 23:18:15 23:10:01 1 35.83 0.00 5.72 1.05 0.08 57.32 23:18:15 23:10:01 2 35.24 0.00 6.27 3.90 0.07 54.52 23:18:15 23:10:01 3 36.93 0.00 5.80 0.19 0.07 57.02 23:18:15 23:10:01 4 35.25 0.00 5.84 1.66 0.07 57.18 23:18:15 23:10:01 5 33.84 0.00 6.24 0.49 0.07 59.36 23:18:15 23:10:01 6 34.33 0.00 6.31 4.59 0.07 54.71 23:18:15 23:10:01 7 36.12 0.00 6.07 0.51 0.08 57.22 23:18:15 23:11:01 all 2.69 0.00 1.16 0.56 0.02 95.57 23:18:15 23:11:01 0 2.54 0.00 1.42 0.00 0.02 96.03 23:18:15 23:11:01 1 3.11 0.00 1.65 0.03 0.00 95.21 23:18:15 23:11:01 2 2.39 0.00 1.67 2.46 0.02 93.46 23:18:15 23:11:01 3 2.61 0.00 0.97 0.00 0.03 96.38 23:18:15 23:11:01 4 2.86 0.00 1.00 0.40 0.03 95.70 23:18:15 23:11:01 5 3.60 0.00 0.85 0.27 0.02 95.26 23:18:15 23:11:01 6 1.42 0.00 0.65 1.24 0.02 96.67 23:18:15 23:11:01 7 2.96 0.00 1.09 0.07 0.02 95.87 23:18:15 23:12:01 all 0.01 0.00 0.01 0.00 0.00 99.97 23:18:15 23:12:01 0 0.02 0.00 0.03 0.00 0.00 99.95 23:18:15 23:12:01 1 0.03 0.00 0.00 0.00 0.02 99.95 23:18:15 23:12:01 2 0.02 0.00 0.00 0.00 0.00 99.98 23:18:15 23:12:01 3 0.03 0.00 0.00 0.00 0.00 99.97 23:18:15 23:12:01 4 0.02 0.00 0.02 0.00 0.02 99.95 23:18:15 23:12:01 5 0.00 0.00 0.02 0.02 0.00 99.97 23:18:15 23:12:01 6 0.00 0.00 0.00 0.02 0.00 99.98 23:18:15 23:12:01 7 0.00 0.00 0.00 0.00 0.00 100.00 23:18:15 23:13:01 all 1.14 0.00 0.80 0.41 0.01 97.64 23:18:15 23:13:01 0 0.98 0.00 2.40 0.45 0.02 96.15 23:18:15 23:13:01 1 1.69 0.00 0.60 0.05 0.02 97.63 23:18:15 23:13:01 2 0.55 0.00 0.63 0.93 0.02 97.86 23:18:15 23:13:01 3 1.57 0.00 0.63 0.03 0.02 97.75 23:18:15 23:13:01 4 1.34 0.00 0.43 0.03 0.00 98.20 23:18:15 23:13:01 5 0.65 0.00 0.58 0.89 0.02 97.86 23:18:15 23:13:01 6 1.09 0.00 0.67 0.87 0.00 97.38 23:18:15 23:13:01 7 1.24 0.00 0.47 0.02 0.00 98.28 23:18:15 23:14:01 all 0.03 0.00 0.02 0.02 0.01 99.92 23:18:15 23:14:01 0 0.00 0.00 0.03 0.00 0.00 99.97 23:18:15 23:14:01 1 0.07 0.00 0.05 0.00 0.02 99.87 23:18:15 23:14:01 2 0.02 0.00 0.02 0.12 0.02 99.83 23:18:15 23:14:01 3 0.05 0.00 0.03 0.00 0.00 99.92 23:18:15 23:14:01 4 0.00 0.00 0.02 0.00 0.02 99.97 23:18:15 23:14:01 5 0.03 0.00 0.02 0.03 0.00 99.92 23:18:15 23:14:01 6 0.02 0.00 0.00 0.00 0.00 99.98 23:18:15 23:14:01 7 0.08 0.00 0.02 0.00 0.02 99.88 23:18:15 23:15:01 all 0.27 0.00 0.03 0.01 0.00 99.68 23:18:15 23:15:01 0 0.28 0.00 0.05 0.02 0.00 99.65 23:18:15 23:15:01 1 0.25 0.00 0.03 0.00 0.02 99.70 23:18:15 23:15:01 2 0.17 0.00 0.02 0.05 0.00 99.77 23:18:15 23:15:01 3 0.07 0.00 0.00 0.00 0.00 99.93 23:18:15 23:15:01 4 0.28 0.00 0.03 0.03 0.00 99.65 23:18:15 23:15:01 5 0.08 0.00 0.05 0.00 0.02 99.85 23:18:15 23:15:01 6 0.72 0.00 0.00 0.00 0.00 99.28 23:18:15 23:15:01 7 0.30 0.00 0.07 0.02 0.00 99.62 23:18:15 23:16:01 all 0.01 0.00 0.01 0.01 0.01 99.96 23:18:15 23:16:01 0 0.02 0.00 0.02 0.00 0.02 99.95 23:18:15 23:16:01 1 0.02 0.00 0.02 0.00 0.00 99.97 23:18:15 23:16:01 2 0.00 0.00 0.00 0.03 0.00 99.97 23:18:15 23:16:01 3 0.03 0.00 0.02 0.00 0.02 99.93 23:18:15 23:16:01 4 0.02 0.00 0.00 0.00 0.00 99.98 23:18:15 23:16:01 5 0.00 0.00 0.02 0.02 0.03 99.93 23:18:15 23:16:01 6 0.02 0.00 0.00 0.00 0.00 99.98 23:18:15 23:16:01 7 0.00 0.00 0.00 0.00 0.00 100.00 23:18:15 23:17:01 all 0.03 0.00 0.01 0.01 0.01 99.95 23:18:15 23:17:01 0 0.02 0.00 0.00 0.00 0.00 99.98 23:18:15 23:17:01 1 0.02 0.00 0.00 0.00 0.02 99.97 23:18:15 23:17:01 2 0.03 0.00 0.02 0.07 0.00 99.88 23:18:15 23:17:01 3 0.07 0.00 0.02 0.00 0.00 99.92 23:18:15 23:17:01 4 0.02 0.00 0.02 0.00 0.02 99.95 23:18:15 23:17:01 5 0.02 0.00 0.02 0.00 0.02 99.95 23:18:15 23:17:01 6 0.03 0.00 0.02 0.00 0.00 99.95 23:18:15 23:17:01 7 0.00 0.00 0.00 0.00 0.00 100.00 23:18:15 23:18:01 all 0.02 0.00 0.00 0.02 0.01 99.95 23:18:15 23:18:01 0 0.00 0.00 0.02 0.02 0.00 99.97 23:18:15 23:18:01 1 0.02 0.00 0.00 0.00 0.00 99.98 23:18:15 23:18:01 2 0.00 0.00 0.00 0.08 0.02 99.90 23:18:15 23:18:01 3 0.03 0.00 0.02 0.00 0.00 99.95 23:18:15 23:18:01 4 0.00 0.00 0.00 0.02 0.00 99.98 23:18:15 23:18:01 5 0.02 0.00 0.00 0.00 0.02 99.97 23:18:15 23:18:01 6 0.07 0.00 0.00 0.02 0.02 99.90 23:18:15 23:18:01 7 0.03 0.00 0.00 0.02 0.00 99.95 23:18:15 Average: all 5.15 0.00 1.25 0.52 0.02 93.06 23:18:15 Average: 0 5.36 0.00 1.40 0.55 0.02 92.67 23:18:15 Average: 1 5.32 0.00 1.18 0.16 0.02 93.32 23:18:15 Average: 2 4.68 0.00 1.32 1.02 0.02 92.96 23:18:15 Average: 3 5.22 0.00 1.15 0.11 0.02 93.50 23:18:15 Average: 4 5.13 0.00 1.21 0.25 0.02 93.39 23:18:15 Average: 5 5.22 0.00 1.37 0.61 0.03 92.77 23:18:15 Average: 6 4.71 0.00 1.18 1.22 0.02 92.87 23:18:15 Average: 7 5.55 0.00 1.22 0.23 0.02 92.98 23:18:15 23:18:15 23:18:15