Pull request #495 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-modbus-go Obtained Jenkinsfile from accf0ba7dae5ff6f1d6038ab97a4ba19277b3798+1035885eab2253e2bed58002dbe5aaa8ab8aecd1 (9f6f7b9cfe3f29abef7b56da077dc938a5e618ad) 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-ssh9480823657746220410.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh18143730295808326617.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-modbus-go/branches/PR-495/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-modbus-go/branches/PR-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11110004969405622437.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-495/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14117603787492694212.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh13290602073590685336.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-495/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-modbus-go/branches/PR-495/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4652678008429211527.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-modbus-go, buildSnap:false] ========================================================= [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-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-modbus 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 ‘prd-ubuntu20.04-docker-8c-8g-4501’ Running on prd-ubuntu20.04-docker-8c-8g-4503 in /w/workspace/xfoundry_device-modbus-go_PR-495 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-495 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 into PR head commit accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 Merge succeeded, producing accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 Checking out Revision accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 (PR-495) > git config core.sparsecheckout # timeout=10 > git checkout -f accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:34:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:34:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:34:41 ========================================================= 06:34:41 EdgeX Global Pipelines Version Info 06:34:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:34:41 ------------------- 06:34:41 stable info: 06:34:41 ------------------- 06:34:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:34:41 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:34:41 Message: update stable to v1.0.253 06:34:42 ------------------- 06:34:42 experimental info: 06:34:42 ------------------- 06:34:42 Commited By: **** collab-it+edgex@linuxfoundation.org 06:34:42 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:34:42 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:34:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-495 [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-495 [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-495 [Pipeline] echo 06:34:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = accf0ba [Pipeline] echo 06:34:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:44 provisioning config files... 06:34:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config17622888482896499524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:44 ---> docker-login.sh 06:34:44 nexus3.edgexfoundry.org:10001 06:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:44 Configure a credential helper to remove this warning. See 06:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:44 06:34:44 Login Succeeded 06:34:44 nexus3.edgexfoundry.org:10002 06:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:45 Configure a credential helper to remove this warning. See 06:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:45 06:34:45 Login Succeeded 06:34:45 nexus3.edgexfoundry.org:10003 06:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:45 Configure a credential helper to remove this warning. See 06:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:45 06:34:45 Login Succeeded 06:34:45 nexus3.edgexfoundry.org:10004 06:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:45 Configure a credential helper to remove this warning. See 06:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:45 06:34:45 Login Succeeded 06:34:45 docker.io 06:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:45 Configure a credential helper to remove this warning. See 06:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:45 06:34:45 Login Succeeded 06:34:45 ---> docker-login.sh ends [Pipeline] } 06:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:34:46 + git rev-list -1 --merges accf0ba7dae5ff6f1d6038ab97a4ba19277b3798~1..accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 [Pipeline] echo 06:34:46 -----------> git rev-list -1 --merges accf0ba7dae5ff6f1d6038ab97a4ba19277b3798~1..accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 [false] [Pipeline] sh 06:34:46 + git log --format=format:%s -1 accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 [Pipeline] echo 06:34:46 ========================================================= 06:34:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:34:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:47 + git log --format=format:%s -1 accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 [Pipeline] echo 06:34:47 [semverPrep] GIT_COMMIT: accf0ba7dae5ff6f1d6038ab97a4ba19277b3798, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 06:34:47 [semverPrep] This is not a build commit. [Pipeline] sh 06:34:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:34:47 + grep -v github /etc/ssh/ssh_known_hosts 06:34:47 + [ -e /tmp/ssh_known_hosts ] 06:34:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:34:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:34:47 + sudo tee -a /etc/ssh/ssh_known_hosts 06:34:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:47 06:34:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:48 0.1.4: Pulling from edgex-devops/py-git-semver 06:34:48 b85a868b505f: Pulling fs layer 06:34:48 e2be974225ed: Pulling fs layer 06:34:48 339a4e72a1f5: Pulling fs layer 06:34:48 988bab9f4d93: Pulling fs layer 06:34:48 1469e6f7b9e6: Pulling fs layer 06:34:48 eaf3925da568: Pulling fs layer 06:34:48 bab4dde63d76: Pulling fs layer 06:34:48 bde34c3a00c8: Pulling fs layer 06:34:48 b352a97aabf1: Pulling fs layer 06:34:48 4872d77fe225: Pulling fs layer 06:34:48 5851b861e8e6: Pulling fs layer 06:34:48 4872d77fe225: Waiting 06:34:48 bab4dde63d76: Waiting 06:34:48 5851b861e8e6: Waiting 06:34:48 1469e6f7b9e6: Waiting 06:34:48 b352a97aabf1: Waiting 06:34:48 988bab9f4d93: Waiting 06:34:48 bde34c3a00c8: Waiting 06:34:48 eaf3925da568: Waiting 06:34:48 e2be974225ed: Download complete 06:34:48 988bab9f4d93: Verifying Checksum 06:34:48 988bab9f4d93: Download complete 06:34:48 1469e6f7b9e6: Verifying Checksum 06:34:48 1469e6f7b9e6: Download complete 06:34:48 eaf3925da568: Download complete 06:34:48 339a4e72a1f5: Verifying Checksum 06:34:48 339a4e72a1f5: Download complete 06:34:48 bde34c3a00c8: Verifying Checksum 06:34:48 bde34c3a00c8: Download complete 06:34:48 b352a97aabf1: Verifying Checksum 06:34:48 b352a97aabf1: Download complete 06:34:48 4872d77fe225: Verifying Checksum 06:34:48 4872d77fe225: Download complete 06:34:48 5851b861e8e6: Verifying Checksum 06:34:48 5851b861e8e6: Download complete 06:34:48 b85a868b505f: Verifying Checksum 06:34:48 b85a868b505f: Download complete 06:34:48 bab4dde63d76: Verifying Checksum 06:34:48 bab4dde63d76: Download complete 06:34:49 b85a868b505f: Pull complete 06:34:50 e2be974225ed: Pull complete 06:34:50 339a4e72a1f5: Pull complete 06:34:50 988bab9f4d93: Pull complete 06:34:50 1469e6f7b9e6: Pull complete 06:34:51 eaf3925da568: Pull complete 06:34:53 bab4dde63d76: Pull complete 06:34:53 bde34c3a00c8: Pull complete 06:34:53 b352a97aabf1: Pull complete 06:34:53 4872d77fe225: Pull complete 06:34:53 5851b861e8e6: Pull complete 06:34:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:34:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:34:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:53 prd-ubuntu20.04-docker-8c-8g-4503 does not seem to be running inside a container 06:34:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:34:56 $ docker top 6f5e38060a67aaabe4a7c4a9b0705d561fc13fca3db81e59dcfa7fabf13380ca -eo pid,comm 06:34:56 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). 06:34:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:57 [ssh-agent] Looking for ssh-agent implementation... 06:34:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:57 $ docker exec 6f5e38060a67aaabe4a7c4a9b0705d561fc13fca3db81e59dcfa7fabf13380ca ssh-agent 06:34:57 SSH_AUTH_SOCK=/tmp/ssh-lVNY8Nd4Zi8H/agent.32 06:34:57 SSH_AGENT_PID=38 06:34:57 Running ssh-add (command line suppressed) 06:34:57 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_14567638756110062892.key (/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_14567638756110062892.key) 06:34:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:57 + git tag --points-at HEAD [Pipeline] } 06:34:57 $ docker exec --env ******** --env ******** 6f5e38060a67aaabe4a7c4a9b0705d561fc13fca3db81e59dcfa7fabf13380ca ssh-agent -k 06:34:57 unset SSH_AUTH_SOCK; 06:34:57 unset SSH_AGENT_PID; 06:34:57 echo Agent pid 38 killed; 06:34:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:57 [ssh-agent] Looking for ssh-agent implementation... 06:34:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:58 $ docker exec 6f5e38060a67aaabe4a7c4a9b0705d561fc13fca3db81e59dcfa7fabf13380ca ssh-agent 06:34:58 SSH_AUTH_SOCK=/tmp/ssh-SHxTS8Mx8AON/agent.70 06:34:58 SSH_AGENT_PID=76 06:34:58 Running ssh-add (command line suppressed) 06:34:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_11001897892259802254.key (/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/private_key_11001897892259802254.key) 06:34:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:58 + git semver init 06:34:58 2023-08-25 06:34:58,848 [run_init] DEBUG init version:0.0.0 force:False 06:34:58 2023-08-25 06:34:58,849 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver 06:34:58 2023-08-25 06:34:58,850 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-495/.semver 06:34:58 2023-08-25 06:34:58,850 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-495/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-495, universal_newlines=False, shell=None, istream=None) 06:34:59 2023-08-25 06:34:59,709 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-495/.git/info/exclude 06:34:59 2023-08-25 06:34:59,710 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 with force:False 06:34:59 2023-08-25 06:34:59,710 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 06:34:59 2023-08-25 06:34:59,714 [execute] INFO git cat-file --batch-check 06:34:59 2023-08-25 06:34:59,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-495/.semver, universal_newlines=False, shell=None, istream=) 06:34:59 2023-08-25 06:34:59,721 [execute] INFO git cat-file --batch 06:34:59 2023-08-25 06:34:59,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-495/.semver, universal_newlines=False, shell=None, istream=) 06:34:59 2023-08-25 06:34:59,726 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-495/.semver/PR-495 06:34:59 0.0.0 [Pipeline] } 06:34:59 $ docker exec --env ******** --env ******** 6f5e38060a67aaabe4a7c4a9b0705d561fc13fca3db81e59dcfa7fabf13380ca ssh-agent -k 06:34:59 unset SSH_AUTH_SOCK; 06:34:59 unset SSH_AGENT_PID; 06:34:59 echo Agent pid 76 killed; 06:34:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:35:00 + git semver [Pipeline] } 06:35:00 $ docker stop --time=1 6f5e38060a67aaabe4a7c4a9b0705d561fc13fca3db81e59dcfa7fabf13380ca 06:35:02 $ docker rm -f --volumes 6f5e38060a67aaabe4a7c4a9b0705d561fc13fca3db81e59dcfa7fabf13380ca [Pipeline] // withDockerContainer [Pipeline] sh 06:35:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:35:02 Stashed 1 file(s) [Pipeline] echo 06:35:02 [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 06:35:03 provisioning config files... 06:35:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config2812565751046339257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:03 ---> docker-login.sh 06:35:03 nexus3.edgexfoundry.org:10001 06:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:03 Configure a credential helper to remove this warning. See 06:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:03 06:35:03 Login Succeeded 06:35:03 nexus3.edgexfoundry.org:10002 06:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:03 Configure a credential helper to remove this warning. See 06:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:03 06:35:03 Login Succeeded 06:35:03 nexus3.edgexfoundry.org:10003 06:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:03 Configure a credential helper to remove this warning. See 06:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:03 06:35:03 Login Succeeded 06:35:03 nexus3.edgexfoundry.org:10004 06:35:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:03 Configure a credential helper to remove this warning. See 06:35:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:03 06:35:03 Login Succeeded 06:35:03 docker.io 06:35:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:04 Configure a credential helper to remove this warning. See 06:35:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:04 06:35:04 Login Succeeded 06:35:04 ---> docker-login.sh ends [Pipeline] } 06:35:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:35:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:35:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:35:04 ========================================================= 06:35:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:35:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:35:04 Sending build context to Docker daemon 6.406MB 06:35:04 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:35:04 Step 2/10 : FROM ${BASE} AS builder 06:35:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:35:04 4db1b89c0bd1: Pulling fs layer 06:35:04 6911f1a30b25: Pulling fs layer 06:35:04 e194b8c5c2a9: Pulling fs layer 06:35:04 6863d3e3a2b1: Pulling fs layer 06:35:04 ec0bb842ea78: Pulling fs layer 06:35:04 40a00589a448: Pulling fs layer 06:35:04 6c08303d61cc: Pulling fs layer 06:35:04 798269fcf238: Pulling fs layer 06:35:04 ec0bb842ea78: Waiting 06:35:04 40a00589a448: Waiting 06:35:04 6c08303d61cc: Waiting 06:35:04 798269fcf238: Waiting 06:35:04 6863d3e3a2b1: Waiting 06:35:04 6911f1a30b25: Verifying Checksum 06:35:04 6911f1a30b25: Download complete 06:35:04 6863d3e3a2b1: Verifying Checksum 06:35:04 6863d3e3a2b1: Download complete 06:35:04 ec0bb842ea78: Verifying Checksum 06:35:04 ec0bb842ea78: Download complete 06:35:05 4db1b89c0bd1: Download complete 06:35:05 40a00589a448: Verifying Checksum 06:35:05 40a00589a448: Download complete 06:35:05 4db1b89c0bd1: Pull complete 06:35:05 6911f1a30b25: Pull complete 06:35:05 798269fcf238: Verifying Checksum 06:35:05 798269fcf238: Download complete 06:35:05 e194b8c5c2a9: Verifying Checksum 06:35:05 e194b8c5c2a9: Download complete 06:35:06 6c08303d61cc: Verifying Checksum 06:35:06 6c08303d61cc: Download complete 06:35:10 e194b8c5c2a9: Pull complete 06:35:10 6863d3e3a2b1: Pull complete 06:35:10 ec0bb842ea78: Pull complete 06:35:10 40a00589a448: Pull complete 06:35:12 6c08303d61cc: Pull complete 06:35:13 798269fcf238: Pull complete 06:35:13 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 06:35:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:35:13 ---> ec979cd7f677 06:35:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:35:18 Still waiting to schedule task 06:35:18 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4502’ is offline 06:35:18 ---> Running in e5d32717ae46 06:35:18 Removing intermediate container e5d32717ae46 06:35:18 ---> 091fea440c18 06:35:18 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:35:18 ---> Running in 1decf1245c90 06:35:18 Removing intermediate container 1decf1245c90 06:35:18 ---> 9099f703104f 06:35:18 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:35:18 ---> Running in 9d04f0c65408 06:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:35:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:35:19 (1/8) Installing openssh-keygen (9.1_p1-r4) 06:35:19 (2/8) Installing libedit (20221030.3.1-r0) 06:35:19 (3/8) Installing openssh-client-common (9.1_p1-r4) 06:35:19 (4/8) Installing openssh-client-default (9.1_p1-r4) 06:35:19 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 06:35:19 (6/8) Installing openssh-server-common (9.1_p1-r4) 06:35:19 (7/8) Installing openssh-server (9.1_p1-r4) 06:35:19 (8/8) Installing openssh (9.1_p1-r4) 06:35:19 Executing busybox-1.35.0-r29.trigger 06:35:19 OK: 270 MiB in 61 packages 06:35:20 Removing intermediate container 9d04f0c65408 06:35:20 ---> 24f43a577321 06:35:20 Step 6/10 : WORKDIR /device-modbus-go 06:35:20 ---> Running in 037fe035445a 06:35:20 Removing intermediate container 037fe035445a 06:35:20 ---> eb5bc62a0e8d 06:35:20 Step 7/10 : COPY go.mod vendor* ./ 06:35:20 ---> 78c7d5aa9ca7 06:35:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:20 ---> Running in 1261bcfc52b7 06:36:07 Removing intermediate container 1261bcfc52b7 06:36:07 ---> 57461a19e193 06:36:07 Step 9/10 : COPY . . 06:36:07 ---> 568c13e0c454 06:36:07 Step 10/10 : RUN ${MAKE} 06:36:07 ---> Running in a7e3e9059564 06:36:07 noop 06:36:07 Removing intermediate container a7e3e9059564 06:36:07 ---> 9a3b8bc028ee 06:36:07 Successfully built 9a3b8bc028ee 06:36:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:07 + docker inspect -f . ci-base-image-x86_64 06:36:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:07 prd-ubuntu20.04-docker-8c-8g-4503 does not seem to be running inside a container 06:36:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:36:08 $ docker top 78c931dfc846307bd2bf8da62a2689d6596188d82d43b888c0a02b93f21b3e1b -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:08 + go version 06:36:08 go version go1.20.6 linux/amd64 [Pipeline] } 06:36:08 $ docker stop --time=1 78c931dfc846307bd2bf8da62a2689d6596188d82d43b888c0a02b93f21b3e1b 06:36:09 $ docker rm -f --volumes 78c931dfc846307bd2bf8da62a2689d6596188d82d43b888c0a02b93f21b3e1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:10 + docker inspect -f . ci-base-image-x86_64 06:36:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:10 prd-ubuntu20.04-docker-8c-8g-4503 does not seem to be running inside a container 06:36:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:36:11 $ docker top c47a34bcbf413a10a53ded6f25564a422036d802f98e2d7bd24be3510e1371d6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:11 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-495 [Pipeline] fileExists [Pipeline] sh 06:36:11 + make test 06:36:11 go test ./... -coverprofile=coverage.out 06:36:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:36:29 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:36:29 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements 06:36:35 go vet ./... 06:36:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:36:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:36:40 ./bin/test-attribution-txt.sh [Pipeline] echo 06:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:36:40 $ docker stop --time=1 c47a34bcbf413a10a53ded6f25564a422036d802f98e2d7bd24be3510e1371d6 06:36:41 $ docker rm -f --volumes c47a34bcbf413a10a53ded6f25564a422036d802f98e2d7bd24be3510e1371d6 [Pipeline] // withDockerContainer [Pipeline] sh 06:36:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:36:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:36:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:36:43 + ls -al . 06:36:43 total 192 06:36:43 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 06:36 . 06:36:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:34 .. 06:36:43 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 06:34 .dockerignore 06:36:43 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 06:35 .git 06:36:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:34 .github 06:36:43 -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 06:34 .gitignore 06:36:43 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 06:34 .golangci.yml 06:36:43 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 06:34 .semver 06:36:43 -rw-rw-r-- 1 jenkins jenkins 11210 Aug 25 06:34 Attribution.txt 06:36:43 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 06:34 CHANGELOG.md 06:36:43 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 06:34 Dockerfile 06:36:43 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 06:34 GOVERNANCE.md 06:36:43 -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 06:34 Jenkinsfile 06:36:43 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 06:34 LICENSE 06:36:43 -rw-rw-r-- 1 jenkins jenkins 1957 Aug 25 06:34 Makefile 06:36:43 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 06:34 OWNERS.md 06:36:43 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 06:34 README.md 06:36:43 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 06:35 VERSION 06:36:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:34 bin 06:36:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:34 cmd 06:36:43 -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 06:36 coverage.out 06:36:43 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 06:34 go.mod 06:36:43 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 06:34 go.sum 06:36:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:34 internal 06:36:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:34 simulator 06:36:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:34 snap 06:36:43 -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:43 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 --label arch=amd64 --label version=0.0.0 . 06:36:43 Sending build context to Docker daemon 6.431MB 06:36:43 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:36:43 Step 2/22 : FROM ${BASE} AS builder 06:36:43 ---> 9a3b8bc028ee 06:36:43 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:36:44 ---> Running in 9b2fc38cf50b 06:36:44 Removing intermediate container 9b2fc38cf50b 06:36:44 ---> 64e4a6322f84 06:36:44 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:36:44 ---> Running in d36cf07dcdea 06:36:44 Removing intermediate container d36cf07dcdea 06:36:44 ---> 04689677ed7f 06:36:44 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:36:44 ---> Running in e8bb1afd890e 06:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:36:44 OK: 270 MiB in 61 packages 06:36:45 Removing intermediate container e8bb1afd890e 06:36:45 ---> 01b949cf5da0 06:36:45 Step 6/22 : WORKDIR /device-modbus-go 06:36:45 ---> Running in 789ff4a27ea3 06:36:45 Removing intermediate container 789ff4a27ea3 06:36:45 ---> a6430a82fe0d 06:36:45 Step 7/22 : COPY go.mod vendor* ./ 06:36:45 ---> 86e17f981d7b 06:36:45 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:36:45 ---> Running in a55998e8ab78 06:36:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4505 in /w/workspace/xfoundry_device-modbus-go_PR-495 [Pipeline] { [Pipeline] ws 06:36:45 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:36:45 Selected Git installation does not exist. Using Default 06:36:45 The recommended git tool is: NONE 06:36:45 Removing intermediate container a55998e8ab78 06:36:45 ---> 8f5835283377 06:36:45 Step 9/22 : COPY . . 06:36:46 ---> cf455215174a 06:36:46 Step 10/22 : RUN ${MAKE} 06:36:46 ---> Running in 35c38cb83fd3 06:36:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:36:50 using credential edgex-jenkins-ssh 06:36:50 Cloning the remote Git repository 06:36:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:36:50 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:36:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:36:50 > git --version # timeout=10 06:36:50 > git --version # 'git version 2.25.1' 06:36:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:36:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:52 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:36:52 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:36:52 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/495/head:refs/remotes/origin/PR-495 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:36:53 Merging remotes/origin/main commit 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 into PR head commit accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 06:36:53 Merge succeeded, producing accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 06:36:53 Checking out Revision accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 (PR-495) 06:36:53 > git config core.sparsecheckout # timeout=10 06:36:53 > git checkout -f accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 # timeout=10 06:36:53 > git remote # timeout=10 06:36:53 > git config --get remote.origin.url # timeout=10 06:36:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:53 > git merge 1035885eab2253e2bed58002dbe5aaa8ab8aecd1 # timeout=10 06:36:53 > git rev-parse HEAD^{commit} # timeout=10 06:36:53 > git config core.sparsecheckout # timeout=10 06:36:53 > git checkout -f accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 # timeout=10 06:36:57 Commit message: "build: move SDK to v3.1.0-dev.16" 06:36:57 > git --version # timeout=10 06:36:57 > git --version # 'git version 2.25.1' 06:36:57 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:36:58 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:58 Dload Upload Total Spent Left Speed 06:36:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76813 [Pipeline] sh 06:36:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:36:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:36:59 + sudo tee /etc/docker/daemon.new 06:36:59 { 06:36:59 "registry-mirrors": [ 06:36:59 "https://nexus3.edgexfoundry.org:10001" 06:36:59 ], 06:36:59 "bip": "10.250.0.254/24", 06:36:59 "hosts": [ 06:36:59 "tcp://0.0.0.0:5555", 06:36:59 "unix:///var/run/docker.sock" 06:36:59 ], 06:36:59 "mtu": 1458, 06:36:59 "selinux-enabled": true, 06:36:59 "seccomp-profile": "/etc/docker/seccomp.json" 06:36:59 } [Pipeline] sh 06:36:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:37:00 + sudo service docker restart 06:37:13 Removing intermediate container 35c38cb83fd3 06:37:13 ---> 0f4cccc921ce 06:37:13 Step 11/22 : FROM alpine:3.17 06:37:13 3.17: Pulling from library/alpine 06:37:13 9398808236ff: Pulling fs layer 06:37:13 9398808236ff: Verifying Checksum 06:37:13 9398808236ff: Download complete 06:37:13 9398808236ff: Pull complete 06:37:13 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 06:37:13 Status: Downloaded newer image for alpine:3.17 06:37:13 ---> 1e0b8b5322fc 06:37:13 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:37:13 ---> Running in 432c03d29893 06:37:13 Removing intermediate container 432c03d29893 06:37:13 ---> 6785252a8d0d 06:37:13 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:37:13 ---> Running in 0151ef00465a 06:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:37:13 (1/1) Installing dumb-init (1.2.5-r2) 06:37:13 Executing busybox-1.35.0-r29.trigger 06:37:13 OK: 7 MiB in 16 packages 06:37:13 Removing intermediate container 0151ef00465a 06:37:13 ---> dab8017bb5a6 06:37:13 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:37:13 ---> eee185cf7414 06:37:13 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:37:13 ---> db2f0ae40ce4 06:37:13 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:37:13 ---> e3b63f8ebea2 06:37:13 Step 17/22 : EXPOSE 59901 06:37:13 ---> Running in c85b712fc3f0 06:37:13 Removing intermediate container c85b712fc3f0 06:37:13 ---> aed3c4ea4bd0 06:37:13 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:37:13 ---> Running in 0c3796f32b44 06:37:13 Removing intermediate container 0c3796f32b44 06:37:13 ---> 5879c8069603 06:37:13 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:37:13 ---> Running in 60d050b9c991 06:37:13 Removing intermediate container 60d050b9c991 06:37:13 ---> e9239d85555d 06:37:13 Step 20/22 : LABEL arch=amd64 06:37:13 ---> Running in 57c13f7da67a 06:37:13 Removing intermediate container 57c13f7da67a 06:37:13 ---> 9adfc4e1ef80 06:37:13 Step 21/22 : LABEL git_sha=accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 06:37:13 ---> Running in 56559af0f0f8 06:37:13 Removing intermediate container 56559af0f0f8 06:37:13 ---> b14903ee07f9 06:37:13 Step 22/22 : LABEL version=0.0.0 06:37:13 ---> Running in f38d480204c7 06:37:13 Removing intermediate container f38d480204c7 06:37:13 ---> 0d7d430a20e6 06:37:13 [Warning] One or more build-args [ARCH] were not consumed 06:37:13 Successfully built 0d7d430a20e6 06:37:13 Successfully tagged device-modbus: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 06:37:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:14 06:37:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:14 latest: Pulling from edgex-lftools-log-publisher 06:37:14 5eb5b503b376: Pulling fs layer 06:37:14 5c69ac0246d0: Pulling fs layer 06:37:14 ec43610c2a17: Pulling fs layer 06:37:14 3a2ae6a8a46f: Pulling fs layer 06:37:14 33b1e0a273af: Pulling fs layer 06:37:14 5d3b04190fa2: Pulling fs layer 06:37:14 2f39f015ded8: Pulling fs layer 06:37:14 5d3b04190fa2: Waiting 06:37:14 3a2ae6a8a46f: Waiting 06:37:14 33b1e0a273af: Waiting 06:37:14 2f39f015ded8: Waiting 06:37:14 5c69ac0246d0: Download complete 06:37:14 3a2ae6a8a46f: Verifying Checksum 06:37:14 3a2ae6a8a46f: Download complete 06:37:14 33b1e0a273af: Verifying Checksum 06:37:14 33b1e0a273af: Download complete 06:37:14 5d3b04190fa2: Download complete 06:37:14 ec43610c2a17: Verifying Checksum 06:37:14 ec43610c2a17: Download complete 06:37:14 5eb5b503b376: Verifying Checksum 06:37:14 5eb5b503b376: Download complete 06:37:15 2f39f015ded8: Download complete 06:37:15 5eb5b503b376: Pull complete 06:37:16 5c69ac0246d0: Pull complete 06:37:16 ec43610c2a17: Pull complete 06:37:16 3a2ae6a8a46f: Pull complete 06:37:17 33b1e0a273af: Pull complete 06:37:17 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:18 provisioning config files... 06:37:18 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config11896151719517763729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:18 ---> docker-login.sh 06:37:18 nexus3.edgexfoundry.org:10001 06:37:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:19 Configure a credential helper to remove this warning. See 06:37:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:19 06:37:19 Login Succeeded 06:37:19 nexus3.edgexfoundry.org:10002 06:37:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:19 Configure a credential helper to remove this warning. See 06:37:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:19 06:37:19 Login Succeeded 06:37:19 nexus3.edgexfoundry.org:10003 06:37:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:19 Configure a credential helper to remove this warning. See 06:37:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:19 06:37:19 Login Succeeded 06:37:19 nexus3.edgexfoundry.org:10004 06:37:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:20 Configure a credential helper to remove this warning. See 06:37:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:20 06:37:20 Login Succeeded 06:37:20 docker.io 06:37:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:20 Configure a credential helper to remove this warning. See 06:37:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:20 06:37:20 Login Succeeded 06:37:20 ---> docker-login.sh ends [Pipeline] } 06:37:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:37:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:37:21 ========================================================= 06:37:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:37:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:37:21 Sending build context to Docker daemon 3.334MB 06:37:21 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:37:21 Step 2/10 : FROM ${BASE} AS builder 06:37:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:37:21 edb6bdbacee9: Pulling fs layer 06:37:21 5f9638ab2659: Pulling fs layer 06:37:21 8d51d6327a98: Pulling fs layer 06:37:21 8b374f2dd631: Pulling fs layer 06:37:21 ec14aa9079de: Pulling fs layer 06:37:21 2f466654f4bb: Pulling fs layer 06:37:21 554e91adad29: Pulling fs layer 06:37:21 ec14aa9079de: Waiting 06:37:21 2f466654f4bb: Waiting 06:37:21 554e91adad29: Waiting 06:37:21 8b374f2dd631: Waiting 06:37:22 5f9638ab2659: Verifying Checksum 06:37:22 5f9638ab2659: Download complete 06:37:22 8b374f2dd631: Download complete 06:37:22 ec14aa9079de: Verifying Checksum 06:37:22 ec14aa9079de: Download complete 06:37:22 edb6bdbacee9: Verifying Checksum 06:37:22 edb6bdbacee9: Download complete 06:37:22 2f39f015ded8: Pull complete 06:37:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:37:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:22 prd-ubuntu20.04-docker-8c-8g-4503 does not seem to be running inside a container 06:37:22 $ 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/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:37:23 554e91adad29: Verifying Checksum 06:37:23 554e91adad29: Download complete 06:37:24 2f466654f4bb: Verifying Checksum 06:37:24 2f466654f4bb: Download complete 06:37:24 8d51d6327a98: Verifying Checksum 06:37:24 8d51d6327a98: Download complete 06:37:25 edb6bdbacee9: Pull complete 06:37:25 5f9638ab2659: Pull complete 06:37:28 $ docker top 4472348fad032897f2b7f7975a488bf724b2a5650680da568ca932d36d1c95fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:29 ---> job-cost.sh 06:37:29 lf-activate-venv: SKIPPING 06:37:29 INFO: No Stack... 06:37:29 INFO: Retrieving Pricing Info for: v3-standard-8 06:37:29 INFO: Archiving Costs [Pipeline] sh 06:37:30 + cat /w/workspace/xfoundry_device-modbus-go_PR-495/archives/cost.csv 06:37:30 + cut -d, -f6 [Pipeline] lock 06:37:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] 06:37:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] did not exist. Created. 06:37:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:37:30 + echo total: 0.2199999988079071 [Pipeline] stash 06:37:30 Stashed 1 file(s) [Pipeline] } 06:37:30 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:37:30 $ docker stop --time=1 4472348fad032897f2b7f7975a488bf724b2a5650680da568ca932d36d1c95fa 06:37:32 $ docker rm -f --volumes 4472348fad032897f2b7f7975a488bf724b2a5650680da568ca932d36d1c95fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:37:40 8d51d6327a98: Pull complete 06:37:40 8b374f2dd631: Pull complete 06:37:40 ec14aa9079de: Pull complete 06:37:47 2f466654f4bb: Pull complete 06:37:48 554e91adad29: Pull complete 06:37:48 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 06:37:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:37:48 ---> 1e15ea492957 06:37:48 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:37:50 ---> Running in f7d22812b13f 06:37:50 Removing intermediate container f7d22812b13f 06:37:50 ---> 0317811abf69 06:37:50 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:37:50 ---> Running in b0c0e36f8c87 06:37:50 Removing intermediate container b0c0e36f8c87 06:37:50 ---> 44efc679ee96 06:37:50 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:37:50 ---> Running in ed2508d7cbdd 06:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:37:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:37:53 (1/8) Installing openssh-keygen (9.1_p1-r4) 06:37:53 (2/8) Installing libedit (20221030.3.1-r0) 06:37:53 (3/8) Installing openssh-client-common (9.1_p1-r4) 06:37:53 (4/8) Installing openssh-client-default (9.1_p1-r4) 06:37:53 (5/8) Installing openssh-sftp-server (9.1_p1-r4) 06:37:53 (6/8) Installing openssh-server-common (9.1_p1-r4) 06:37:53 (7/8) Installing openssh-server (9.1_p1-r4) 06:37:53 (8/8) Installing openssh (9.1_p1-r4) 06:37:53 Executing busybox-1.35.0-r29.trigger 06:37:53 OK: 270 MiB in 61 packages 06:37:54 Removing intermediate container ed2508d7cbdd 06:37:54 ---> 6f10feabd653 06:37:54 Step 6/10 : WORKDIR /device-modbus-go 06:37:54 ---> Running in 917eba22f20e 06:37:54 Removing intermediate container 917eba22f20e 06:37:54 ---> a0a7e574b21f 06:37:54 Step 7/10 : COPY go.mod vendor* ./ 06:37:55 ---> 8b43c2b0e0ff 06:37:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:55 ---> Running in c2e260d08f15 06:39:03 Removing intermediate container c2e260d08f15 06:39:03 ---> e3968442c7e8 06:39:03 Step 9/10 : COPY . . 06:39:03 ---> 077ad4d936f2 06:39:03 Step 10/10 : RUN ${MAKE} 06:39:03 ---> Running in bb93d5eaa6d1 06:39:03 noop 06:39:03 Removing intermediate container bb93d5eaa6d1 06:39:03 ---> a1c314c3b78b 06:39:03 Successfully built a1c314c3b78b 06:39:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:03 + docker inspect -f . ci-base-image-arm64 06:39:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:04 prd-ubuntu20.04-docker-arm64-4c-16g-4505 does not seem to be running inside a container 06:39:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:39:05 $ docker top 80dd5dac70e0b4d4bca256decc8091d27efb0f2721f3b464152b88bbc7ff67b5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:06 + go version 06:39:06 go version go1.20.6 linux/arm64 [Pipeline] } 06:39:06 $ docker stop --time=1 80dd5dac70e0b4d4bca256decc8091d27efb0f2721f3b464152b88bbc7ff67b5 06:39:07 $ docker rm -f --volumes 80dd5dac70e0b4d4bca256decc8091d27efb0f2721f3b464152b88bbc7ff67b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:08 + docker inspect -f . ci-base-image-arm64 06:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:08 prd-ubuntu20.04-docker-arm64-4c-16g-4505 does not seem to be running inside a container 06:39:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:39:10 $ docker top 42b681665b815717c09535fdad92255c190858f8fd1ea196627efd6a48c5565f -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:11 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 06:39:11 + make test 06:39:11 go test ./... -coverprofile=coverage.out 06:39:44 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:41:50 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:41:50 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.081s coverage: 47.9% of statements 06:41:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:41:50 go vet ./... 06:42:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:23 ./bin/test-attribution-txt.sh [Pipeline] echo 06:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:23 $ docker stop --time=1 42b681665b815717c09535fdad92255c190858f8fd1ea196627efd6a48c5565f 06:42:25 $ docker rm -f --volumes 42b681665b815717c09535fdad92255c190858f8fd1ea196627efd6a48c5565f [Pipeline] // withDockerContainer [Pipeline] sh 06:42:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:26 Warning: overwriting stash ‘coverage-report’ 06:42:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:28 + ls -al . 06:42:28 total 188 06:42:28 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 06:39 . 06:42:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:36 .. 06:42:28 -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 06:36 .dockerignore 06:42:28 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 06:36 .git 06:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:36 .github 06:42:28 -rw-rw-r-- 1 jenkins jenkins 331 Aug 25 06:36 .gitignore 06:42:28 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 06:36 .golangci.yml 06:42:28 -rw-rw-r-- 1 jenkins jenkins 11210 Aug 25 06:36 Attribution.txt 06:42:28 -rw-rw-r-- 1 jenkins jenkins 14764 Aug 25 06:36 CHANGELOG.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 1365 Aug 25 06:36 Dockerfile 06:42:28 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 06:36 GOVERNANCE.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 680 Aug 25 06:36 Jenkinsfile 06:42:28 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 06:36 LICENSE 06:42:28 -rw-rw-r-- 1 jenkins jenkins 1957 Aug 25 06:36 Makefile 06:42:28 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 06:36 OWNERS.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 4578 Aug 25 06:36 README.md 06:42:28 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 06:35 VERSION 06:42:28 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:36 bin 06:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:36 cmd 06:42:28 -rw-r--r-- 1 jenkins jenkins 24334 Aug 25 06:41 coverage.out 06:42:28 -rw-rw-r-- 1 jenkins jenkins 3940 Aug 25 06:36 go.mod 06:42:28 -rw-rw-r-- 1 jenkins jenkins 34434 Aug 25 06:36 go.sum 06:42:28 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:36 internal 06:42:28 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:36 simulator 06:42:28 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:36 snap 06:42:28 -rw-rw-r-- 1 jenkins jenkins 229 Aug 25 06:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:28 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 --label arch=arm64 --label version=0.0.0 . 06:42:29 Sending build context to Docker daemon 3.359MB 06:42:29 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:42:29 Step 2/22 : FROM ${BASE} AS builder 06:42:29 ---> a1c314c3b78b 06:42:29 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:42:29 ---> Running in e5535e63f510 06:42:29 Removing intermediate container e5535e63f510 06:42:29 ---> 2fea27a13eaf 06:42:29 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:42:29 ---> Running in 3955bbb3ee24 06:42:29 Removing intermediate container 3955bbb3ee24 06:42:29 ---> d00455d658db 06:42:29 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:42:29 ---> Running in f402c232f1e8 06:42:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:42:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:42:32 OK: 270 MiB in 61 packages 06:42:33 Removing intermediate container f402c232f1e8 06:42:33 ---> 5d383a113a5b 06:42:33 Step 6/22 : WORKDIR /device-modbus-go 06:42:33 ---> Running in 0658e557af59 06:42:33 Removing intermediate container 0658e557af59 06:42:33 ---> 7e1e4b546ae5 06:42:33 Step 7/22 : COPY go.mod vendor* ./ 06:42:34 ---> 95b6744883fd 06:42:34 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:34 ---> Running in 940664de4d0d 06:42:37 Removing intermediate container 940664de4d0d 06:42:37 ---> 15b603805f5f 06:42:37 Step 9/22 : COPY . . 06:42:38 ---> a4400b7edf0d 06:42:38 Step 10/22 : RUN ${MAKE} 06:42:38 ---> Running in 5b3e801d2ac8 06:42:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 06:45:01 Removing intermediate container 5b3e801d2ac8 06:45:01 ---> 4734b50c6800 06:45:01 Step 11/22 : FROM alpine:3.17 06:45:01 3.17: Pulling from library/alpine 06:45:01 4060ece20d7a: Pulling fs layer 06:45:01 4060ece20d7a: Verifying Checksum 06:45:01 4060ece20d7a: Download complete 06:45:01 4060ece20d7a: Pull complete 06:45:01 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 06:45:01 Status: Downloaded newer image for alpine:3.17 06:45:01 ---> 8650cd65339b 06:45:01 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:45:01 ---> Running in 8df82bd708a4 06:45:01 Removing intermediate container 8df82bd708a4 06:45:01 ---> f9cf793e2dc0 06:45:01 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:45:01 ---> Running in ba15c213ed77 06:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:45:04 (1/1) Installing dumb-init (1.2.5-r2) 06:45:04 Executing busybox-1.35.0-r29.trigger 06:45:04 OK: 8 MiB in 16 packages 06:45:05 Removing intermediate container ba15c213ed77 06:45:05 ---> 571797ba1aac 06:45:05 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:45:06 ---> 43cdd491eab2 06:45:06 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:45:07 ---> 7da6e97acd53 06:45:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:45:07 ---> 5f1bc50209b1 06:45:07 Step 17/22 : EXPOSE 59901 06:45:07 ---> Running in 133fbe845c1d 06:45:08 Removing intermediate container 133fbe845c1d 06:45:08 ---> f2b88d930569 06:45:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:45:08 ---> Running in 93594d9ac7a7 06:45:08 Removing intermediate container 93594d9ac7a7 06:45:08 ---> 857ccf386518 06:45:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:45:08 ---> Running in f4ed7ecf570f 06:45:08 Removing intermediate container f4ed7ecf570f 06:45:08 ---> dd9e760adb37 06:45:08 Step 20/22 : LABEL arch=arm64 06:45:08 ---> Running in 17637e273cee 06:45:09 Removing intermediate container 17637e273cee 06:45:09 ---> 8876606045ba 06:45:09 Step 21/22 : LABEL git_sha=accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 06:45:09 ---> Running in 4c88b324a238 06:45:09 Removing intermediate container 4c88b324a238 06:45:09 ---> 369c2d212d64 06:45:09 Step 22/22 : LABEL version=0.0.0 06:45:09 ---> Running in 4f5f07dc938c 06:45:09 Removing intermediate container 4f5f07dc938c 06:45:09 ---> 2cc57b860c02 06:45:09 [Warning] One or more build-args [ARCH] were not consumed 06:45:09 Successfully built 2cc57b860c02 06:45:09 Successfully tagged device-modbus-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 06:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:10 06:45:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:11 arm64: Pulling from edgex-lftools-log-publisher 06:45:11 8998bd30e6a1: Pulling fs layer 06:45:11 04944245beec: Pulling fs layer 06:45:11 699f458cf7ca: Pulling fs layer 06:45:11 765212b225bb: Pulling fs layer 06:45:11 f23df028b6ca: Pulling fs layer 06:45:11 d65c8cfc05b1: Pulling fs layer 06:45:11 2437ff75d9bd: Pulling fs layer 06:45:11 f23df028b6ca: Waiting 06:45:11 d65c8cfc05b1: Waiting 06:45:11 765212b225bb: Waiting 06:45:11 2437ff75d9bd: Waiting 06:45:11 04944245beec: Verifying Checksum 06:45:11 04944245beec: Download complete 06:45:11 765212b225bb: Verifying Checksum 06:45:11 765212b225bb: Download complete 06:45:11 f23df028b6ca: Verifying Checksum 06:45:11 f23df028b6ca: Download complete 06:45:11 d65c8cfc05b1: Verifying Checksum 06:45:11 d65c8cfc05b1: Download complete 06:45:11 699f458cf7ca: Verifying Checksum 06:45:11 699f458cf7ca: Download complete 06:45:12 8998bd30e6a1: Verifying Checksum 06:45:12 8998bd30e6a1: Download complete 06:45:14 2437ff75d9bd: Verifying Checksum 06:45:14 2437ff75d9bd: Download complete 06:45:16 8998bd30e6a1: Pull complete 06:45:16 04944245beec: Pull complete 06:45:17 699f458cf7ca: Pull complete 06:45:18 765212b225bb: Pull complete 06:45:19 f23df028b6ca: Pull complete 06:45:19 d65c8cfc05b1: Pull complete 06:45:34 2437ff75d9bd: Pull complete 06:45:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:45:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:45:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:34 prd-ubuntu20.04-docker-arm64-4c-16g-4505 does not seem to be running inside a container 06:45:34 $ 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-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:45:38 $ docker top e4664303f069687119d3c8289e62aa15a5c597add9df9b72f708fbd360665066 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:39 ---> job-cost.sh 06:45:39 lf-activate-venv: SKIPPING 06:45:39 INFO: No Stack... 06:45:39 INFO: Retrieving Pricing Info for: v3-standard-4 06:45:40 INFO: Archiving Costs [Pipeline] sh 06:45:41 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 06:45:41 + cut -d, -f6 [Pipeline] lock 06:45:41 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] 06:45:41 Resource [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] did not exist. Created. 06:45:41 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:45:42 /w/workspace/device-modbus-go/1@tmp/durable-91c2a046/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:45:43 + echo total: 0.10999999940395355 [Pipeline] stash 06:45:43 Warning: overwriting stash ‘stack-cost’ 06:45:43 Stashed 1 file(s) [Pipeline] } 06:45:43 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-495-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:45:43 $ docker stop --time=1 e4664303f069687119d3c8289e62aa15a5c597add9df9b72f708fbd360665066 06:45:44 $ docker rm -f --volumes e4664303f069687119d3c8289e62aa15a5c597add9df9b72f708fbd360665066 [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 06:45:45 provisioning config files... 06:45:45 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config973763382339538678tmp [Pipeline] { [Pipeline] sh 06:45:46 + set +x 06:45:46 + curl -s https://codecov.io/bash 06:45:46 + bash -s -- 06:45:46 06:45:46 _____ _ 06:45:46 / ____| | | 06:45:46 | | ___ __| | ___ ___ _____ __ 06:45:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:45:46 | |___| (_) | (_| | __/ (_| (_) \ V / 06:45:46 \_____\___/ \__,_|\___|\___\___/ \_/ 06:45:46 Bash-1.0.6 06:45:46 06:45:46 06:45:46 ==> git version 2.25.1 found 06:45:46 ==> 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 06:45:46 Release-Date: 2020-01-08 06:45:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:45:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:45:46 ==> Jenkins CI detected. 06:45:46 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-495 06:45:46 project root: . 06:45:46 --> token set from env 06:45:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:45:46 ==> Running gcov in . (disable via -X gcov) 06:45:46 ==> Python coveragepy not found 06:45:46 ==> Searching for coverage reports in: 06:45:46 + . 06:45:46 -> Found 1 reports 06:45:46 ==> Detecting git/mercurial file structure 06:45:46 ==> Reading reports 06:45:46 + ./coverage.out bytes=24334 06:45:46 ==> Appending adjustments 06:45:46 https://docs.codecov.io/docs/fixing-reports 06:45:46 + Found adjustments 06:45:46 ==> Gzipping contents 06:45:46 4.0K /tmp/codecov.GiAsrM.gz 06:45:46 ==> Uploading reports 06:45:46 url: https://codecov.io 06:45:46 query: branch=PR-495&commit=accf0ba7dae5ff6f1d6038ab97a4ba19277b3798&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=495&job=&cmd_args= 06:45:46 -> Pinging Codecov 06:45:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-495&commit=accf0ba7dae5ff6f1d6038ab97a4ba19277b3798&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-495%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=495&job=&cmd_args= 06:45:46 -> Uploading to 06:45:46 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/55DBCA73C666E3227836607328DD7E49/accf0ba7dae5ff6f1d6038ab97a4ba19277b3798/ebf0ccef-640c-40f3-abec-d1eded0b43f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T064546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2f8a11027b8c35dd739320fa128e91af813b913a04b5b68bf18005a8d025cdc 06:45:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:45:46 Dload Upload Total Spent Left Speed 06:45:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 21835 --:--:-- --:--:-- --:--:-- 21715 06:45:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/accf0ba7dae5ff6f1d6038ab97a4ba19277b3798 [Pipeline] } 06:45:46 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 06:45:48 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-495/archives ] 06:45:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-495/archives 06:45:48 total 16 06:45:48 drwxr-xr-x 3 root root 4096 Aug 25 06:37 . 06:45:48 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 06:37 .. 06:45:48 drwxr-xr-x 2 root root 4096 Aug 25 06:37 cost 06:45:48 -rw-r--r-- 1 root root 88 Aug 25 06:37 cost.csv 06:45:48 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-495/archives 06:45:48 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-495/archives 06:45:48 total 16 06:45:48 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 06:37 . 06:45:48 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 06:37 .. 06:45:48 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 06:37 cost 06:45:48 -rw-r--r-- 1 jenkins jenkins 88 Aug 25 06:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:45:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:45:49 ---> package-listing.sh 06:45:49 ++ facter osfamily 06:45:49 ++ tr '[:upper:]' '[:lower:]' 06:45:49 + OS_FAMILY=debian 06:45:49 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-495 06:45:49 + START_PACKAGES=/tmp/packages_start.txt 06:45:49 + END_PACKAGES=/tmp/packages_end.txt 06:45:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:45:49 + PACKAGES=/tmp/packages_start.txt 06:45:49 + '[' /w/workspace/xfoundry_device-modbus-go_PR-495 ']' 06:45:49 + PACKAGES=/tmp/packages_end.txt 06:45:49 + case "${OS_FAMILY}" in 06:45:49 + dpkg -l 06:45:49 + grep '^ii' 06:45:49 + '[' -f /tmp/packages_start.txt ']' 06:45:49 + '[' -f /tmp/packages_end.txt ']' 06:45:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:45:49 + '[' /w/workspace/xfoundry_device-modbus-go_PR-495 ']' 06:45:49 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-495/archives/ 06:45:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-495/archives/ [Pipeline] echo 06:45:49 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/xfoundry_device-modbus-go_PR-495/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:45:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:45:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:51 prd-ubuntu20.04-docker-8c-8g-4503 does not seem to be running inside a container 06:45:51 $ 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/xfoundry_device-modbus-go_PR-495/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-495 -v /w/workspace/xfoundry_device-modbus-go_PR-495:/w/workspace/xfoundry_device-modbus-go_PR-495:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-495@tmp:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:45:51 $ docker top 34624df47577aa9bdec0134c681de96b75a28e2f244a75a721dd090349bf8400 -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:51 + touch /tmp/pre-build-complete [Pipeline] sh 06:45:51 + mkdir -p /var/log/sysstat [Pipeline] sh 06:45:52 + ls /var/log/sa-host 06:45:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:52 provisioning config files... 06:45:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-495@tmp/config3652574113839914805tmp [Pipeline] { [Pipeline] echo 06:45:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:45:52 ---> create-netrc.sh [Pipeline] } 06:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:45:53 ---> python-tools-install.sh [Pipeline] echo 06:45:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:45:53 ---> sudo-logs.sh 06:45:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:45:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:45:53 ---> job-cost.sh 06:45:53 lf-activate-venv: SKIPPING 06:45:53 DEBUG: total: 0.2199999988079071 06:45:53 INFO: Retrieving Stack Cost... 06:45:54 INFO: Retrieving Pricing Info for: v3-standard-8 06:45:54 INFO: Archiving Costs [Pipeline] echo 06:45:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:45:55 ---> logs-deploy.sh 06:45:55 lf-activate-venv: SKIPPING 06:45:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-495/1 06:45:55 INFO: archiving workspace using pattern(s): 06:45:56 Archives upload complete. 06:45:56 INFO: archiving logs to Nexus 06:45:56 ---> uname -a: 06:45:56 Linux prd-ubuntu20-04-docker-8c-8g-4503 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 06:45:56 06:45:56 06:45:56 ---> lscpu: 06:45:56 Architecture: x86_64 06:45:56 CPU op-mode(s): 32-bit, 64-bit 06:45:56 Byte Order: Little Endian 06:45:56 Address sizes: 40 bits physical, 48 bits virtual 06:45:56 CPU(s): 8 06:45:56 On-line CPU(s) list: 0-7 06:45:56 Thread(s) per core: 1 06:45:56 Core(s) per socket: 1 06:45:56 Socket(s): 8 06:45:56 NUMA node(s): 1 06:45:56 Vendor ID: AuthenticAMD 06:45:56 CPU family: 23 06:45:56 Model: 49 06:45:56 Model name: AMD EPYC-Rome Processor 06:45:56 Stepping: 0 06:45:56 CPU MHz: 2799.998 06:45:56 BogoMIPS: 5599.99 06:45:56 Virtualization: AMD-V 06:45:56 Hypervisor vendor: KVM 06:45:56 Virtualization type: full 06:45:56 L1d cache: 256 KiB 06:45:56 L1i cache: 256 KiB 06:45:56 L2 cache: 4 MiB 06:45:56 L3 cache: 128 MiB 06:45:56 NUMA node0 CPU(s): 0-7 06:45:56 Vulnerability Itlb multihit: Not affected 06:45:56 Vulnerability L1tf: Not affected 06:45:56 Vulnerability Mds: Not affected 06:45:56 Vulnerability Meltdown: Not affected 06:45:56 Vulnerability Mmio stale data: Not affected 06:45:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:45:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:45:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:45:56 Vulnerability Srbds: Not affected 06:45:56 Vulnerability Tsx async abort: Not affected 06:45:56 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 06:45:56 06:45:56 06:45:56 ---> nproc: 06:45:56 8 06:45:56 06:45:56