Pull request #426 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 lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 6846ae7f380aea838b0b9e083d5841d03bae8c94+4a922296995208ff0e4cc89e50973eb58c03687f (08c7a63c167f82030e38942c1a10bd3d8ceed560) 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-ssh4891048161141365836.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16587341579218850706.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-426/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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8367583491441389631.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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5622178847354143606.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16306417063318182183.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-426/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-426/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18014235156988339392.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-251 in /w/workspace/xfoundry_device-modbus-go_PR-426 [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-426 # 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 Merging remotes/origin/main commit 4a922296995208ff0e4cc89e50973eb58c03687f into PR head commit 6846ae7f380aea838b0b9e083d5841d03bae8c94 > 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/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 6846ae7f380aea838b0b9e083d5841d03bae8c94 Checking out Revision 6846ae7f380aea838b0b9e083d5841d03bae8c94 (PR-426) > git config core.sparsecheckout # timeout=10 > git checkout -f 6846ae7f380aea838b0b9e083d5841d03bae8c94 # 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 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6846ae7f380aea838b0b9e083d5841d03bae8c94 # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:36:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:36:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:36:31 ========================================================= 20:36:31 EdgeX Global Pipelines Version Info 20:36:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:36:31 ------------------- 20:36:31 stable info: 20:36:31 ------------------- 20:36:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:36:31 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:36:31 Message: update stable to v1.0.245 20:36:32 ------------------- 20:36:32 experimental info: 20:36:32 ------------------- 20:36:32 Commited By: **** collab-it+edgex@linuxfoundation.org 20:36:32 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:36:32 Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:36:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:36:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:36:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:36:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:36:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:36:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:36:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-426 [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-426 [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-426 [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6846ae7f380aea838b0b9e083d5841d03bae8c94 [Pipeline] echo 20:36:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6846ae7 [Pipeline] echo 20:36:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:34 provisioning config files... 20:36:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp/config12922260345613190298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:34 ---> docker-login.sh 20:36:34 nexus3.edgexfoundry.org:10001 20:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:34 Configure a credential helper to remove this warning. See 20:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:34 20:36:34 Login Succeeded 20:36:34 nexus3.edgexfoundry.org:10002 20:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:35 Configure a credential helper to remove this warning. See 20:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:35 20:36:35 Login Succeeded 20:36:35 nexus3.edgexfoundry.org:10003 20:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:35 Configure a credential helper to remove this warning. See 20:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:35 20:36:35 Login Succeeded 20:36:35 nexus3.edgexfoundry.org:10004 20:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:35 Configure a credential helper to remove this warning. See 20:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:35 20:36:35 Login Succeeded 20:36:35 docker.io 20:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:35 Configure a credential helper to remove this warning. See 20:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:35 20:36:35 Login Succeeded 20:36:35 ---> docker-login.sh ends [Pipeline] } 20:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:36:36 + git rev-list -1 --merges 6846ae7f380aea838b0b9e083d5841d03bae8c94~1..6846ae7f380aea838b0b9e083d5841d03bae8c94 [Pipeline] echo 20:36:36 -----------> git rev-list -1 --merges 6846ae7f380aea838b0b9e083d5841d03bae8c94~1..6846ae7f380aea838b0b9e083d5841d03bae8c94 6846ae7f380aea838b0b9e083d5841d03bae8c94 [false] [Pipeline] sh 20:36:36 + git log --format=format:%s -1 6846ae7f380aea838b0b9e083d5841d03bae8c94 [Pipeline] echo 20:36:36 ========================================================= 20:36:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:36:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:37 + git log --format=format:%s -1 6846ae7f380aea838b0b9e083d5841d03bae8c94 [Pipeline] echo 20:36:37 [semverPrep] GIT_COMMIT: 6846ae7f380aea838b0b9e083d5841d03bae8c94, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo 20:36:37 [semverPrep] This is not a build commit. [Pipeline] sh 20:36:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:37 + grep -v github /etc/ssh/ssh_known_hosts 20:36:37 + [ -e /tmp/ssh_known_hosts ] 20:36:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:36:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:36:37 + sudo tee -a /etc/ssh/ssh_known_hosts 20:36:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:37 20:36:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:38 0.1.4: Pulling from edgex-devops/py-git-semver 20:36:38 b85a868b505f: Pulling fs layer 20:36:38 e2be974225ed: Pulling fs layer 20:36:38 339a4e72a1f5: Pulling fs layer 20:36:38 988bab9f4d93: Pulling fs layer 20:36:38 1469e6f7b9e6: Pulling fs layer 20:36:38 eaf3925da568: Pulling fs layer 20:36:38 bab4dde63d76: Pulling fs layer 20:36:38 bde34c3a00c8: Pulling fs layer 20:36:38 b352a97aabf1: Pulling fs layer 20:36:38 4872d77fe225: Pulling fs layer 20:36:38 5851b861e8e6: Pulling fs layer 20:36:38 bab4dde63d76: Waiting 20:36:38 bde34c3a00c8: Waiting 20:36:38 b352a97aabf1: Waiting 20:36:38 4872d77fe225: Waiting 20:36:38 5851b861e8e6: Waiting 20:36:38 988bab9f4d93: Waiting 20:36:38 1469e6f7b9e6: Waiting 20:36:38 eaf3925da568: Waiting 20:36:38 e2be974225ed: Verifying Checksum 20:36:38 e2be974225ed: Download complete 20:36:38 988bab9f4d93: Verifying Checksum 20:36:38 988bab9f4d93: Download complete 20:36:38 1469e6f7b9e6: Download complete 20:36:38 eaf3925da568: Verifying Checksum 20:36:38 eaf3925da568: Download complete 20:36:38 339a4e72a1f5: Verifying Checksum 20:36:38 339a4e72a1f5: Download complete 20:36:38 bde34c3a00c8: Verifying Checksum 20:36:38 bde34c3a00c8: Download complete 20:36:38 b352a97aabf1: Verifying Checksum 20:36:38 b352a97aabf1: Download complete 20:36:38 4872d77fe225: Verifying Checksum 20:36:38 4872d77fe225: Download complete 20:36:38 5851b861e8e6: Verifying Checksum 20:36:38 5851b861e8e6: Download complete 20:36:38 b85a868b505f: Verifying Checksum 20:36:38 b85a868b505f: Download complete 20:36:38 bab4dde63d76: Verifying Checksum 20:36:38 bab4dde63d76: Download complete 20:36:40 b85a868b505f: Pull complete 20:36:40 e2be974225ed: Pull complete 20:36:40 339a4e72a1f5: Pull complete 20:36:40 988bab9f4d93: Pull complete 20:36:40 1469e6f7b9e6: Pull complete 20:36:40 eaf3925da568: Pull complete 20:36:42 bab4dde63d76: Pull complete 20:36:42 bde34c3a00c8: Pull complete 20:36:43 b352a97aabf1: Pull complete 20:36:43 4872d77fe225: Pull complete 20:36:43 5851b861e8e6: Pull complete 20:36:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:36:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:43 prd-ubuntu20.04-docker-8c-8g-251 does not seem to be running inside a container 20:36:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-426 -v /w/workspace/xfoundry_device-modbus-go_PR-426:/w/workspace/xfoundry_device-modbus-go_PR-426:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-426@tmp:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:46 $ docker top ad759e8bc7885d66be49fe02ecf86237b6a80b116d0790070f05df43abd813d1 -eo pid,comm 20:36:46 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). 20:36:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:46 [ssh-agent] Looking for ssh-agent implementation... 20:36:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:46 $ docker exec ad759e8bc7885d66be49fe02ecf86237b6a80b116d0790070f05df43abd813d1 ssh-agent 20:36:46 SSH_AUTH_SOCK=/tmp/ssh-YPdRFJTJl4Oa/agent.32 20:36:46 SSH_AGENT_PID=38 20:36:46 Running ssh-add (command line suppressed) 20:36:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-426@tmp/private_key_3492000706001065484.key (/w/workspace/xfoundry_device-modbus-go_PR-426@tmp/private_key_3492000706001065484.key) 20:36:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:47 + git tag --points-at HEAD [Pipeline] } 20:36:47 $ docker exec --env ******** --env ******** ad759e8bc7885d66be49fe02ecf86237b6a80b116d0790070f05df43abd813d1 ssh-agent -k 20:36:47 unset SSH_AUTH_SOCK; 20:36:47 unset SSH_AGENT_PID; 20:36:47 echo Agent pid 38 killed; 20:36:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:36:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:47 [ssh-agent] Looking for ssh-agent implementation... 20:36:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:47 $ docker exec ad759e8bc7885d66be49fe02ecf86237b6a80b116d0790070f05df43abd813d1 ssh-agent 20:36:47 SSH_AUTH_SOCK=/tmp/ssh-tIal36By2ifM/agent.70 20:36:47 SSH_AGENT_PID=76 20:36:47 Running ssh-add (command line suppressed) 20:36:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-426@tmp/private_key_903801593676030168.key (/w/workspace/xfoundry_device-modbus-go_PR-426@tmp/private_key_903801593676030168.key) 20:36:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:48 + git semver init 20:36:48 2023-03-14 20:36:48,289 [run_init] DEBUG init version:0.0.0 force:False 20:36:48 2023-03-14 20:36:48,291 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-426/.semver 20:36:48 2023-03-14 20:36:48,291 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-426/.semver 20:36:48 2023-03-14 20:36:48,292 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-426/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-426, universal_newlines=False, shell=None, istream=None) 20:36:49 2023-03-14 20:36:49,122 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-426/.git/info/exclude 20:36:49 2023-03-14 20:36:49,122 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-426/.semver/PR-426 with force:False 20:36:49 2023-03-14 20:36:49,123 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-426/.semver/PR-426 20:36:49 2023-03-14 20:36:49,126 [execute] INFO git cat-file --batch-check 20:36:49 2023-03-14 20:36:49,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-426/.semver, universal_newlines=False, shell=None, istream=) 20:36:49 2023-03-14 20:36:49,134 [execute] INFO git cat-file --batch 20:36:49 2023-03-14 20:36:49,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-426/.semver, universal_newlines=False, shell=None, istream=) 20:36:49 2023-03-14 20:36:49,140 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-426/.semver/PR-426 20:36:49 0.0.0 [Pipeline] } 20:36:49 $ docker exec --env ******** --env ******** ad759e8bc7885d66be49fe02ecf86237b6a80b116d0790070f05df43abd813d1 ssh-agent -k 20:36:49 unset SSH_AUTH_SOCK; 20:36:49 unset SSH_AGENT_PID; 20:36:49 echo Agent pid 76 killed; 20:36:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:49 + git semver [Pipeline] } 20:36:50 $ docker stop --time=1 ad759e8bc7885d66be49fe02ecf86237b6a80b116d0790070f05df43abd813d1 20:36:51 $ docker rm -f --volumes ad759e8bc7885d66be49fe02ecf86237b6a80b116d0790070f05df43abd813d1 [Pipeline] // withDockerContainer [Pipeline] sh 20:36:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:36:52 Stashed 1 file(s) [Pipeline] echo 20:36:52 [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 20:36:52 provisioning config files... 20:36:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp/config6807028982524512295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-247 in /w/workspace/xfoundry_device-modbus-go_PR-426 [Pipeline] { [Pipeline] ws 20:36:52 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 20:36:53 Selected Git installation does not exist. Using Default 20:36:53 The recommended git tool is: NONE 20:36:53 ---> docker-login.sh 20:36:53 nexus3.edgexfoundry.org:10001 20:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:53 Configure a credential helper to remove this warning. See 20:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:53 20:36:53 Login Succeeded 20:36:53 nexus3.edgexfoundry.org:10002 20:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:53 Configure a credential helper to remove this warning. See 20:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:53 20:36:53 Login Succeeded 20:36:53 nexus3.edgexfoundry.org:10003 20:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:53 Configure a credential helper to remove this warning. See 20:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:53 20:36:53 Login Succeeded 20:36:53 nexus3.edgexfoundry.org:10004 20:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:53 Configure a credential helper to remove this warning. See 20:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:53 20:36:53 Login Succeeded 20:36:53 docker.io 20:36:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:53 Configure a credential helper to remove this warning. See 20:36:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:53 20:36:53 Login Succeeded 20:36:53 ---> docker-login.sh ends [Pipeline] } 20:36:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:53 ========================================================= 20:36:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:36:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:54 + 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 . 20:36:54 Sending build context to Docker daemon 6.327MB 20:36:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:36:54 Step 2/10 : FROM ${BASE} AS builder 20:36:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:36:54 63b65145d645: Pulling fs layer 20:36:54 a2d21d5440eb: Pulling fs layer 20:36:54 935e6c44a52c: Pulling fs layer 20:36:54 94cc34f8dd06: Pulling fs layer 20:36:54 30dea6a524f1: Pulling fs layer 20:36:54 a2aff8979fd8: Pulling fs layer 20:36:54 6808be2612f2: Pulling fs layer 20:36:54 f25807f1079a: Pulling fs layer 20:36:54 94cc34f8dd06: Waiting 20:36:54 a2aff8979fd8: Waiting 20:36:54 6808be2612f2: Waiting 20:36:54 f25807f1079a: Waiting 20:36:54 30dea6a524f1: Waiting 20:36:54 a2d21d5440eb: Verifying Checksum 20:36:54 a2d21d5440eb: Download complete 20:36:54 94cc34f8dd06: Download complete 20:36:54 30dea6a524f1: Verifying Checksum 20:36:54 30dea6a524f1: Download complete 20:36:54 63b65145d645: Verifying Checksum 20:36:54 63b65145d645: Download complete 20:36:54 a2aff8979fd8: Verifying Checksum 20:36:54 a2aff8979fd8: Download complete 20:36:54 63b65145d645: Pull complete 20:36:54 a2d21d5440eb: Pull complete 20:36:55 f25807f1079a: Verifying Checksum 20:36:55 935e6c44a52c: Verifying Checksum 20:36:55 935e6c44a52c: Download complete 20:36:55 6808be2612f2: Verifying Checksum 20:36:58 935e6c44a52c: Pull complete 20:36:58 94cc34f8dd06: Pull complete 20:36:58 30dea6a524f1: Pull complete 20:36:58 a2aff8979fd8: Pull complete 20:37:00 using credential edgex-jenkins-ssh 20:37:00 Cloning the remote Git repository 20:37:01 6808be2612f2: Pull complete 20:37:00 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:37:00 > git init /w/workspace/device-modbus-go/1 # timeout=10 20:37:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:37:01 > git --version # timeout=10 20:37:01 > git --version # 'git version 2.25.1' 20:37:01 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:02 f25807f1079a: Pull complete 20:37:02 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:37:02 ---> 3b553350e43f 20:37:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:37:02 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:37:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:37:04 ---> Running in 677bf9db2924 20:37:04 Removing intermediate container 677bf9db2924 20:37:04 ---> 5947b1f34e98 20:37:04 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:37:04 ---> Running in c051ff2623f9 20:37:04 Removing intermediate container c051ff2623f9 20:37:04 ---> 7baeeefb28a8 20:37:04 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:37:04 ---> Running in 260d535f41a4 20:37:04 Merging remotes/origin/main commit 4a922296995208ff0e4cc89e50973eb58c03687f into PR head commit 6846ae7f380aea838b0b9e083d5841d03bae8c94 20:37:03 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:37:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:37:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:37:04 > git config core.sparsecheckout # timeout=10 20:37:04 > git checkout -f 6846ae7f380aea838b0b9e083d5841d03bae8c94 # timeout=10 20:37:04 > git remote # timeout=10 20:37:04 > git config --get remote.origin.url # timeout=10 20:37:04 Merge succeeded, producing 6846ae7f380aea838b0b9e083d5841d03bae8c94 20:37:04 Checking out Revision 6846ae7f380aea838b0b9e083d5841d03bae8c94 (PR-426) 20:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:37:05 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:37:05 (2/8) Installing libedit (20221030.3.1-r0) 20:37:05 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:37:05 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:37:05 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:37:05 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:37:05 (7/8) Installing openssh-server (9.1_p1-r2) 20:37:05 (8/8) Installing openssh (9.1_p1-r2) 20:37:05 Executing busybox-1.35.0-r29.trigger 20:37:05 OK: 270 MiB in 61 packages 20:37:05 Removing intermediate container 260d535f41a4 20:37:05 ---> 63522faed5b9 20:37:05 Step 6/10 : WORKDIR /device-modbus-go 20:37:05 ---> Running in f5784023d80f 20:37:05 Removing intermediate container f5784023d80f 20:37:05 ---> a79a0017ec4d 20:37:05 Step 7/10 : COPY go.mod vendor* ./ 20:37:06 ---> d5e4f605fecb 20:37:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:37:06 ---> Running in f1624538677a 20:37:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:37:04 > git merge 4a922296995208ff0e4cc89e50973eb58c03687f # timeout=10 20:37:04 > git rev-parse HEAD^{commit} # timeout=10 20:37:04 > git config core.sparsecheckout # timeout=10 20:37:04 > git checkout -f 6846ae7f380aea838b0b9e083d5841d03bae8c94 # timeout=10 20:37:08 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" 20:37:08 > git --version # timeout=10 20:37:08 > git --version # 'git version 2.25.1' 20:37:08 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:37:10 % Total % Received % Xferd Average Speed Time Time Time Current 20:37:10 Dload Upload Total Spent Left Speed 20:37:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 42932 0 --:--:-- --:--:-- --:--:-- 43077 [Pipeline] sh 20:37:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:37:11 + sudo tee /etc/docker/daemon.new 20:37:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:37:11 { 20:37:11 "registry-mirrors": [ 20:37:11 "https://nexus3.edgexfoundry.org:10001" 20:37:11 ], 20:37:11 "bip": "10.250.0.254/24", 20:37:11 "hosts": [ 20:37:11 "tcp://0.0.0.0:5555", 20:37:11 "unix:///var/run/docker.sock" 20:37:11 ], 20:37:11 "mtu": 1458, 20:37:11 "selinux-enabled": true, 20:37:11 "seccomp-profile": "/etc/docker/seccomp.json" 20:37:11 } [Pipeline] sh 20:37:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:37:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:30 provisioning config files... 20:37:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12022502978856526882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:31 ---> docker-login.sh 20:37:31 nexus3.edgexfoundry.org:10001 20:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:31 Configure a credential helper to remove this warning. See 20:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:31 20:37:31 Login Succeeded 20:37:31 nexus3.edgexfoundry.org:10002 20:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:32 Configure a credential helper to remove this warning. See 20:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:32 20:37:32 Login Succeeded 20:37:32 nexus3.edgexfoundry.org:10003 20:37:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:32 Configure a credential helper to remove this warning. See 20:37:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:32 20:37:32 Login Succeeded 20:37:32 nexus3.edgexfoundry.org:10004 20:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:33 Configure a credential helper to remove this warning. See 20:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:33 20:37:33 Login Succeeded 20:37:33 docker.io 20:37:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:37:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:37:33 Configure a credential helper to remove this warning. See 20:37:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:37:33 20:37:33 Login Succeeded 20:37:33 ---> docker-login.sh ends [Pipeline] } 20:37:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:37:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:37:34 ========================================================= 20:37:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:37:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:34 + 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 . 20:37:35 Sending build context to Docker daemon 3.31MB 20:37:35 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:37:35 Step 2/10 : FROM ${BASE} AS builder 20:37:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:37:35 af6eaf76a39c: Pulling fs layer 20:37:35 55522c791124: Pulling fs layer 20:37:35 ce5c4a1c91eb: Pulling fs layer 20:37:35 169dfbe0d373: Pulling fs layer 20:37:35 e1ff8fa3b103: Pulling fs layer 20:37:35 52ebb69f0ebf: Pulling fs layer 20:37:35 169dfbe0d373: Waiting 20:37:35 e1ff8fa3b103: Waiting 20:37:35 52ebb69f0ebf: Waiting 20:37:35 5abe8eddf0d5: Pulling fs layer 20:37:35 5abe8eddf0d5: Waiting 20:37:35 55522c791124: Verifying Checksum 20:37:35 55522c791124: Download complete 20:37:35 169dfbe0d373: Verifying Checksum 20:37:35 169dfbe0d373: Download complete 20:37:35 af6eaf76a39c: Verifying Checksum 20:37:35 af6eaf76a39c: Download complete 20:37:35 e1ff8fa3b103: Verifying Checksum 20:37:35 e1ff8fa3b103: Download complete 20:37:36 af6eaf76a39c: Pull complete 20:37:36 5abe8eddf0d5: Verifying Checksum 20:37:36 5abe8eddf0d5: Download complete 20:37:37 55522c791124: Pull complete 20:37:38 Removing intermediate container f1624538677a 20:37:38 ---> c6dc802257b6 20:37:38 Step 9/10 : COPY . . 20:37:38 ---> 2b0ef97d6e3e 20:37:38 Step 10/10 : RUN ${MAKE} 20:37:38 ---> Running in e2e892accbe1 20:37:38 noop 20:37:38 Removing intermediate container e2e892accbe1 20:37:38 ---> 525a25bab8ff 20:37:38 Successfully built 525a25bab8ff 20:37:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } 20:37:38 ce5c4a1c91eb: Download complete 20:37:38 52ebb69f0ebf: Verifying Checksum 20:37:38 52ebb69f0ebf: Download complete [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:38 + docker inspect -f . ci-base-image-x86_64 20:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:38 prd-ubuntu20.04-docker-8c-8g-251 does not seem to be running inside a container 20:37:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-426 -v /w/workspace/xfoundry_device-modbus-go_PR-426:/w/workspace/xfoundry_device-modbus-go_PR-426:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-426@tmp:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:37:39 $ docker top 0d8af3160d730ccee91adfb194fa008a1caa312a4eddad19e8c2d2e1f91d0673 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:39 + go version 20:37:39 go version go1.20.2 linux/amd64 [Pipeline] } 20:37:39 $ docker stop --time=1 0d8af3160d730ccee91adfb194fa008a1caa312a4eddad19e8c2d2e1f91d0673 20:37:41 $ docker rm -f --volumes 0d8af3160d730ccee91adfb194fa008a1caa312a4eddad19e8c2d2e1f91d0673 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:41 + docker inspect -f . ci-base-image-x86_64 20:37:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:41 prd-ubuntu20.04-docker-8c-8g-251 does not seem to be running inside a container 20:37:41 $ 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-426 -v /w/workspace/xfoundry_device-modbus-go_PR-426:/w/workspace/xfoundry_device-modbus-go_PR-426:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-426@tmp:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:37:42 $ docker top 6540a7b5c6b73cb119b3c612fa9263567efae36a7b81f727f78a289581046dba -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:42 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-426 [Pipeline] fileExists [Pipeline] sh 20:37:43 + make test 20:37:43 go test ./... -coverprofile=coverage.out 20:37:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:37:50 ce5c4a1c91eb: Pull complete 20:37:50 169dfbe0d373: Pull complete 20:37:50 e1ff8fa3b103: Pull complete 20:37:57 52ebb69f0ebf: Pull complete 20:37:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:37:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements 20:38:00 5abe8eddf0d5: Pull complete 20:38:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:38:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:38:00 ---> 6cb57ee374ae 20:38:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:38:02 ---> Running in 2bbf97f79651 20:38:02 Removing intermediate container 2bbf97f79651 20:38:02 ---> 9eeccf2db52a 20:38:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:38:02 ---> Running in e34ae9742c92 20:38:02 Removing intermediate container e34ae9742c92 20:38:02 ---> 30de3d4d37f8 20:38:02 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:38:02 ---> Running in 9ee48d30bc3a 20:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:38:06 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:38:06 (2/8) Installing libedit (20221030.3.1-r0) 20:38:06 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:38:06 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:38:06 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:38:06 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:38:06 (7/8) Installing openssh-server (9.1_p1-r2) 20:38:06 (8/8) Installing openssh (9.1_p1-r2) 20:38:06 Executing busybox-1.35.0-r29.trigger 20:38:06 OK: 270 MiB in 61 packages 20:38:06 go vet ./... 20:38:07 Removing intermediate container 9ee48d30bc3a 20:38:07 ---> 7af8f07efeee 20:38:07 Step 6/10 : WORKDIR /device-modbus-go 20:38:07 ---> Running in f816dc4221ad 20:38:07 Removing intermediate container f816dc4221ad 20:38:07 ---> 42cbb5a25be5 20:38:07 Step 7/10 : COPY go.mod vendor* ./ 20:38:08 ---> 2ef11bd514c8 20:38:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:08 ---> Running in 7da9f0299afe 20:38:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:38:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:38:09 ./bin/test-attribution-txt.sh [Pipeline] echo 20:38:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:38:09 $ docker stop --time=1 6540a7b5c6b73cb119b3c612fa9263567efae36a7b81f727f78a289581046dba 20:38:12 $ docker rm -f --volumes 6540a7b5c6b73cb119b3c612fa9263567efae36a7b81f727f78a289581046dba [Pipeline] // withDockerContainer [Pipeline] sh 20:38:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:38:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:38:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:38:13 + ls -al . 20:38:13 total 180 20:38:13 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:37 . 20:38:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:36 .. 20:38:13 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 20:36 .dockerignore 20:38:13 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:36 .git 20:38:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:36 .github 20:38:13 -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 20:36 .gitignore 20:38:13 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:36 .golangci.yml 20:38:13 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:36 .semver 20:38:13 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 20:36 Attribution.txt 20:38:13 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 20:36 CHANGELOG.md 20:38:13 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 20:36 Dockerfile 20:38:13 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:36 GOVERNANCE.md 20:38:13 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:36 Jenkinsfile 20:38:13 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:36 LICENSE 20:38:13 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 20:36 Makefile 20:38:13 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:36 OWNERS.md 20:38:13 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 20:36 README.md 20:38:13 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:36 VERSION 20:38:13 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:36 bin 20:38:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:36 cmd 20:38:13 -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 20:37 coverage.out 20:38:13 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 20:36 go.mod 20:38:13 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 20:36 go.sum 20:38:13 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:36 internal 20:38:13 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:36 simulator 20:38:13 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:36 snap 20:38:13 -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:14 + 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=6846ae7f380aea838b0b9e083d5841d03bae8c94 --label arch=amd64 --label version=0.0.0 . 20:38:14 Sending build context to Docker daemon 6.352MB 20:38:14 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:38:14 Step 2/22 : FROM ${BASE} AS builder 20:38:14 ---> 525a25bab8ff 20:38:14 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:38:14 ---> Running in 49d1cdd5aebf 20:38:14 Removing intermediate container 49d1cdd5aebf 20:38:14 ---> 3d4c8065014b 20:38:14 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:38:14 ---> Running in 771ae299a734 20:38:14 Removing intermediate container 771ae299a734 20:38:14 ---> 1ff968972524 20:38:14 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:38:14 ---> Running in 5fb9bdfad0e3 20:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:38:15 OK: 270 MiB in 61 packages 20:38:15 Removing intermediate container 5fb9bdfad0e3 20:38:15 ---> a763b87b15ce 20:38:15 Step 6/22 : WORKDIR /device-modbus-go 20:38:15 ---> Running in f41772ca078d 20:38:15 Removing intermediate container f41772ca078d 20:38:15 ---> ebe02eb10034 20:38:15 Step 7/22 : COPY go.mod vendor* ./ 20:38:15 ---> a03c2b8c468d 20:38:15 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:15 ---> Running in 1ffd4d8d5bc2 20:38:16 Removing intermediate container 1ffd4d8d5bc2 20:38:16 ---> 52b19fe75194 20:38:16 Step 9/22 : COPY . . 20:38:16 ---> 3d83a63b66ec 20:38:16 Step 10/22 : RUN ${MAKE} 20:38:17 ---> Running in db64f2226fca 20:38:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:38:39 Removing intermediate container db64f2226fca 20:38:39 ---> 4644c781f779 20:38:39 Step 11/22 : FROM alpine:3.17 20:38:39 3.17: Pulling from library/alpine 20:38:39 63b65145d645: Already exists 20:38:39 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:38:39 Status: Downloaded newer image for alpine:3.17 20:38:39 ---> b2aa39c304c2 20:38:39 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:38:39 ---> Running in 4268f22fadd0 20:38:39 Removing intermediate container 4268f22fadd0 20:38:39 ---> 5fa0d3f88159 20:38:39 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:38:39 ---> Running in efc60743ed2c 20:38:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:38:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:38:39 (1/1) Installing dumb-init (1.2.5-r2) 20:38:39 Executing busybox-1.35.0-r29.trigger 20:38:39 OK: 7 MiB in 16 packages 20:38:39 Removing intermediate container efc60743ed2c 20:38:39 ---> 0a2894451284 20:38:39 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:38:39 ---> 821f438231d1 20:38:39 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:38:39 ---> 4bea31df9662 20:38:39 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:38:39 ---> 5deba62f7128 20:38:39 Step 17/22 : EXPOSE 59901 20:38:39 ---> Running in ec22057a92d0 20:38:39 Removing intermediate container ec22057a92d0 20:38:39 ---> 828ff450fc22 20:38:39 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:38:39 ---> Running in fba255688e98 20:38:39 Removing intermediate container fba255688e98 20:38:39 ---> 2347a9f18752 20:38:39 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:38:39 ---> Running in 371d04b7f5f7 20:38:39 Removing intermediate container 371d04b7f5f7 20:38:39 ---> 7194723b261b 20:38:39 Step 20/22 : LABEL arch=amd64 20:38:39 ---> Running in 77a641a6dc7c 20:38:39 Removing intermediate container 77a641a6dc7c 20:38:39 ---> b2fb88e3e06a 20:38:39 Step 21/22 : LABEL git_sha=6846ae7f380aea838b0b9e083d5841d03bae8c94 20:38:39 ---> Running in 419e63390e18 20:38:39 Removing intermediate container 419e63390e18 20:38:39 ---> 9c78cb3adf9d 20:38:39 Step 22/22 : LABEL version=0.0.0 20:38:39 ---> Running in 07675c37af2e 20:38:39 Removing intermediate container 07675c37af2e 20:38:39 ---> d547e24df802 20:38:39 [Warning] One or more build-args [ARCH] were not consumed 20:38:39 Successfully built d547e24df802 20:38:39 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 20:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:40 20:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:40 latest: Pulling from edgex-lftools-log-publisher 20:38:40 5eb5b503b376: Pulling fs layer 20:38:40 5c69ac0246d0: Pulling fs layer 20:38:40 ec43610c2a17: Pulling fs layer 20:38:40 3a2ae6a8a46f: Pulling fs layer 20:38:40 33b1e0a273af: Pulling fs layer 20:38:40 5d3b04190fa2: Pulling fs layer 20:38:40 2f39f015ded8: Pulling fs layer 20:38:40 3a2ae6a8a46f: Waiting 20:38:40 2f39f015ded8: Waiting 20:38:40 33b1e0a273af: Waiting 20:38:40 5d3b04190fa2: Waiting 20:38:40 5c69ac0246d0: Download complete 20:38:40 3a2ae6a8a46f: Verifying Checksum 20:38:40 3a2ae6a8a46f: Download complete 20:38:41 33b1e0a273af: Verifying Checksum 20:38:41 33b1e0a273af: Download complete 20:38:41 5d3b04190fa2: Verifying Checksum 20:38:41 5d3b04190fa2: Download complete 20:38:41 ec43610c2a17: Verifying Checksum 20:38:41 ec43610c2a17: Download complete 20:38:41 5eb5b503b376: Verifying Checksum 20:38:41 5eb5b503b376: Download complete 20:38:41 2f39f015ded8: Download complete 20:38:42 5eb5b503b376: Pull complete 20:38:42 5c69ac0246d0: Pull complete 20:38:43 ec43610c2a17: Pull complete 20:38:43 3a2ae6a8a46f: Pull complete 20:38:43 33b1e0a273af: Pull complete 20:38:43 5d3b04190fa2: Pull complete 20:38:48 2f39f015ded8: Pull complete 20:38:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:38:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:48 prd-ubuntu20.04-docker-8c-8g-251 does not seem to be running inside a container 20:38:48 $ 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-426 -v /w/workspace/xfoundry_device-modbus-go_PR-426:/w/workspace/xfoundry_device-modbus-go_PR-426:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-426@tmp:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:38:52 $ docker top b5eba87b88aae78d5f61a66738ad247bc074d5424a8c5016eeb7368685ed95c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:53 ---> job-cost.sh 20:38:53 lf-activate-venv: SKIPPING 20:38:53 INFO: No Stack... 20:38:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:38:53 INFO: Archiving Costs [Pipeline] sh 20:38:54 + cat /w/workspace/xfoundry_device-modbus-go_PR-426/archives/cost.csv 20:38:54 + cut -d, -f6 [Pipeline] lock 20:38:54 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] 20:38:54 Resource [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] did not exist. Created. 20:38:54 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:38:54 + echo total: 0.2199999988079071 [Pipeline] stash 20:38:54 Stashed 1 file(s) [Pipeline] } 20:38:54 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:38:54 $ docker stop --time=1 b5eba87b88aae78d5f61a66738ad247bc074d5424a8c5016eeb7368685ed95c9 20:38:56 $ docker rm -f --volumes b5eba87b88aae78d5f61a66738ad247bc074d5424a8c5016eeb7368685ed95c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:39:16 Removing intermediate container 7da9f0299afe 20:39:16 ---> b2e3d6456ab5 20:39:16 Step 9/10 : COPY . . 20:39:16 ---> 87347f8793ff 20:39:16 Step 10/10 : RUN ${MAKE} 20:39:16 ---> Running in fddfdff4021a 20:39:17 noop 20:39:18 Removing intermediate container fddfdff4021a 20:39:18 ---> d85161a8449c 20:39:18 Successfully built d85161a8449c 20:39:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:18 + docker inspect -f . ci-base-image-arm64 20:39:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:19 prd-ubuntu20.04-docker-arm64-4c-16g-247 does not seem to be running inside a container 20:39:19 $ 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 20:39:20 $ docker top e90fcc353d6d93aa5011ecd2796feee453c81c1e6618047f86aeb109374ecad1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:21 + go version 20:39:21 go version go1.20.2 linux/arm64 [Pipeline] } 20:39:21 $ docker stop --time=1 e90fcc353d6d93aa5011ecd2796feee453c81c1e6618047f86aeb109374ecad1 20:39:23 $ docker rm -f --volumes e90fcc353d6d93aa5011ecd2796feee453c81c1e6618047f86aeb109374ecad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:24 + docker inspect -f . ci-base-image-arm64 20:39:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:24 prd-ubuntu20.04-docker-arm64-4c-16g-247 does not seem to be running inside a container 20:39:24 $ 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 20:39:26 $ docker top 3512ed0f94c7fa2932b2da15240a14396dfdcaaf524961c8b2a0a211936c06f4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:27 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 20:39:27 + make test 20:39:27 go test ./... -coverprofile=coverage.out 20:40:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:42:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:42:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.087s coverage: 48.0% of statements 20:42:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:42:38 go vet ./... 20:43:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:43:04 ./bin/test-attribution-txt.sh [Pipeline] echo 20:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:43:04 $ docker stop --time=1 3512ed0f94c7fa2932b2da15240a14396dfdcaaf524961c8b2a0a211936c06f4 20:43:08 $ docker rm -f --volumes 3512ed0f94c7fa2932b2da15240a14396dfdcaaf524961c8b2a0a211936c06f4 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:09 Warning: overwriting stash ‘coverage-report’ 20:43:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:43:11 + ls -al . 20:43:11 total 176 20:43:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 20:39 . 20:43:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:37 .. 20:43:11 -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 20:37 .dockerignore 20:43:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:37 .git 20:43:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:37 .github 20:43:11 -rw-rw-r-- 1 jenkins jenkins 331 Mar 14 20:37 .gitignore 20:43:11 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 20:37 .golangci.yml 20:43:11 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 14 20:37 Attribution.txt 20:43:11 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 14 20:37 CHANGELOG.md 20:43:11 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 14 20:37 Dockerfile 20:43:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 20:37 GOVERNANCE.md 20:43:11 -rw-rw-r-- 1 jenkins jenkins 680 Mar 14 20:37 Jenkinsfile 20:43:11 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 20:37 LICENSE 20:43:11 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 14 20:37 Makefile 20:43:11 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:37 OWNERS.md 20:43:11 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 14 20:37 README.md 20:43:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:36 VERSION 20:43:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:37 bin 20:43:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:37 cmd 20:43:11 -rw-r--r-- 1 jenkins jenkins 23736 Mar 14 20:42 coverage.out 20:43:11 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 14 20:37 go.mod 20:43:11 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 14 20:37 go.sum 20:43:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:37 internal 20:43:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:37 simulator 20:43:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:37 snap 20:43:11 -rw-rw-r-- 1 jenkins jenkins 229 Mar 14 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:12 + 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=6846ae7f380aea838b0b9e083d5841d03bae8c94 --label arch=arm64 --label version=0.0.0 . 20:43:12 Sending build context to Docker daemon 3.335MB 20:43:12 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:43:12 Step 2/22 : FROM ${BASE} AS builder 20:43:12 ---> d85161a8449c 20:43:12 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:43:12 ---> Running in b65f74076f0a 20:43:13 Removing intermediate container b65f74076f0a 20:43:13 ---> fce75decdb9e 20:43:13 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:13 ---> Running in a8b32000bdba 20:43:13 Removing intermediate container a8b32000bdba 20:43:13 ---> 93c2efde6c50 20:43:13 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:43:13 ---> Running in 9f342d97b67a 20:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:43:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:43:17 OK: 270 MiB in 61 packages 20:43:18 Removing intermediate container 9f342d97b67a 20:43:18 ---> 277802720c39 20:43:18 Step 6/22 : WORKDIR /device-modbus-go 20:43:18 ---> Running in e81549b5de78 20:43:18 Removing intermediate container e81549b5de78 20:43:18 ---> 51777773bbb7 20:43:18 Step 7/22 : COPY go.mod vendor* ./ 20:43:19 ---> 6ae794746e4b 20:43:19 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:19 ---> Running in e216a58e1391 20:43:22 Removing intermediate container e216a58e1391 20:43:22 ---> 3dc945cafc33 20:43:22 Step 9/22 : COPY . . 20:43:23 ---> 3bd349bcf296 20:43:23 Step 10/22 : RUN ${MAKE} 20:43:23 ---> Running in 6742721c5868 20:43:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:46:17 Removing intermediate container 6742721c5868 20:46:17 ---> 2905a6f51af6 20:46:17 Step 11/22 : FROM alpine:3.17 20:46:17 3.17: Pulling from library/alpine 20:46:17 af6eaf76a39c: Already exists 20:46:17 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:46:17 Status: Downloaded newer image for alpine:3.17 20:46:17 ---> d74e625d9115 20:46:17 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:46:17 ---> Running in f9e3b6b5ecb3 20:46:17 Removing intermediate container f9e3b6b5ecb3 20:46:17 ---> 4cd79fe967ae 20:46:17 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:46:17 ---> Running in b13855069134 20:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:46:17 (1/1) Installing dumb-init (1.2.5-r2) 20:46:17 Executing busybox-1.35.0-r29.trigger 20:46:17 OK: 8 MiB in 16 packages 20:46:17 Removing intermediate container b13855069134 20:46:17 ---> f4717ab7d2f6 20:46:17 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:46:17 ---> 7924cf6e29f9 20:46:17 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:46:17 ---> 8a6bf59e4fe5 20:46:17 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:46:17 ---> 7337dc3fe8c5 20:46:17 Step 17/22 : EXPOSE 59901 20:46:17 ---> Running in 1f686d994760 20:46:17 Removing intermediate container 1f686d994760 20:46:17 ---> 424f6c97e8a5 20:46:17 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:46:17 ---> Running in 6caefe2e4ac9 20:46:17 Removing intermediate container 6caefe2e4ac9 20:46:17 ---> 515b91460cd1 20:46:17 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:46:17 ---> Running in 28e265cff7e3 20:46:17 Removing intermediate container 28e265cff7e3 20:46:17 ---> 9d75101598ff 20:46:17 Step 20/22 : LABEL arch=arm64 20:46:17 ---> Running in 1892ce734b66 20:46:17 Removing intermediate container 1892ce734b66 20:46:17 ---> 8667db631fc0 20:46:17 Step 21/22 : LABEL git_sha=6846ae7f380aea838b0b9e083d5841d03bae8c94 20:46:17 ---> Running in 1bde890cce91 20:46:17 Removing intermediate container 1bde890cce91 20:46:17 ---> a93f55623277 20:46:17 Step 22/22 : LABEL version=0.0.0 20:46:17 ---> Running in 604f33d86e33 20:46:17 Removing intermediate container 604f33d86e33 20:46:17 ---> 55449355e0bc 20:46:17 [Warning] One or more build-args [ARCH] were not consumed 20:46:17 Successfully built 55449355e0bc 20:46:17 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 20:46:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:18 20:46:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:19 arm64: Pulling from edgex-lftools-log-publisher 20:46:19 8998bd30e6a1: Pulling fs layer 20:46:19 04944245beec: Pulling fs layer 20:46:19 699f458cf7ca: Pulling fs layer 20:46:19 765212b225bb: Pulling fs layer 20:46:19 f23df028b6ca: Pulling fs layer 20:46:19 d65c8cfc05b1: Pulling fs layer 20:46:19 2437ff75d9bd: Pulling fs layer 20:46:19 f23df028b6ca: Waiting 20:46:19 d65c8cfc05b1: Waiting 20:46:19 2437ff75d9bd: Waiting 20:46:19 765212b225bb: Waiting 20:46:19 04944245beec: Verifying Checksum 20:46:19 04944245beec: Download complete 20:46:19 765212b225bb: Verifying Checksum 20:46:19 765212b225bb: Download complete 20:46:19 f23df028b6ca: Verifying Checksum 20:46:19 f23df028b6ca: Download complete 20:46:19 d65c8cfc05b1: Verifying Checksum 20:46:19 d65c8cfc05b1: Download complete 20:46:19 699f458cf7ca: Verifying Checksum 20:46:19 699f458cf7ca: Download complete 20:46:19 8998bd30e6a1: Verifying Checksum 20:46:19 8998bd30e6a1: Download complete 20:46:22 2437ff75d9bd: Verifying Checksum 20:46:22 2437ff75d9bd: Download complete 20:46:24 8998bd30e6a1: Pull complete 20:46:24 04944245beec: Pull complete 20:46:25 699f458cf7ca: Pull complete 20:46:26 765212b225bb: Pull complete 20:46:30 f23df028b6ca: Pull complete 20:46:30 d65c8cfc05b1: Pull complete 20:46:45 2437ff75d9bd: Pull complete 20:46:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:46:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:45 prd-ubuntu20.04-docker-arm64-4c-16g-247 does not seem to be running inside a container 20:46:45 $ 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 20:46:48 $ docker top c8bafd55f38bc037d82f4528acb5d744802aba0b7a7811af76f9ba27dd822f56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:49 ---> job-cost.sh 20:46:49 lf-activate-venv: SKIPPING 20:46:49 INFO: No Stack... 20:46:50 INFO: Retrieving Pricing Info for: v3-standard-4 20:46:51 INFO: Archiving Costs [Pipeline] sh 20:46:51 + cut -d, -f6 20:46:51 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 20:46:51 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] 20:46:51 Resource [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] did not exist. Created. 20:46:51 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:52 /w/workspace/device-modbus-go/1@tmp/durable-e09e0c21/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:46:53 + echo total: 0.10999999940395355 [Pipeline] stash 20:46:53 Warning: overwriting stash ‘stack-cost’ 20:46:53 Stashed 1 file(s) [Pipeline] } 20:46:53 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:53 $ docker stop --time=1 c8bafd55f38bc037d82f4528acb5d744802aba0b7a7811af76f9ba27dd822f56 20:46:58 $ docker rm -f --volumes c8bafd55f38bc037d82f4528acb5d744802aba0b7a7811af76f9ba27dd822f56 [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 20:46:59 provisioning config files... 20:46:59 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp/config9680614466771915462tmp [Pipeline] { [Pipeline] sh 20:46:59 + set +x 20:46:59 + curl -s https://codecov.io/bash 20:46:59 + bash -s -- 20:46:59 20:46:59 _____ _ 20:46:59 / ____| | | 20:46:59 | | ___ __| | ___ ___ _____ __ 20:46:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:46:59 | |___| (_) | (_| | __/ (_| (_) \ V / 20:46:59 \_____\___/ \__,_|\___|\___\___/ \_/ 20:46:59 Bash-1.0.6 20:46:59 20:46:59 20:46:59 ==> git version 2.25.1 found 20:46:59 ==> 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 20:46:59 Release-Date: 2020-01-08 20:46:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:46:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:46:59 ==> Jenkins CI detected. 20:46:59 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-426 20:46:59 project root: . 20:46:59 --> token set from env 20:46:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:46:59 ==> Running gcov in . (disable via -X gcov) 20:46:59 ==> Python coveragepy not found 20:46:59 ==> Searching for coverage reports in: 20:46:59 + . 20:46:59 -> Found 1 reports 20:46:59 ==> Detecting git/mercurial file structure 20:46:59 ==> Reading reports 20:46:59 + ./coverage.out bytes=23736 20:46:59 ==> Appending adjustments 20:46:59 https://docs.codecov.io/docs/fixing-reports 20:46:59 + Found adjustments 20:46:59 ==> Gzipping contents 20:46:59 4.0K /tmp/codecov.Rj0ef7.gz 20:46:59 ==> Uploading reports 20:46:59 url: https://codecov.io 20:46:59 query: branch=PR-426&commit=6846ae7f380aea838b0b9e083d5841d03bae8c94&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=426&job=&cmd_args= 20:46:59 -> Pinging Codecov 20:46:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-426&commit=6846ae7f380aea838b0b9e083d5841d03bae8c94&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=426&job=&cmd_args= 20:47:00 -> Uploading to 20:47:00 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/55DBCA73C666E3227836607328DD7E49/6846ae7f380aea838b0b9e083d5841d03bae8c94/9f724bb2-4dec-47e9-b2da-c126950066dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T204700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c3fa71c61da8a19e0b1aff0ecddd2ed622ab4ab9626fae5beefbe77fb08e9e53 20:47:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:47:00 Dload Upload Total Spent Left Speed 20:47:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3909 0 0 100 3909 0 15269 --:--:-- --:--:-- --:--:-- 15269 20:47:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6846ae7f380aea838b0b9e083d5841d03bae8c94 [Pipeline] } 20:47:00 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 20:47:02 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-426/archives ] 20:47:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-426/archives 20:47:02 total 16 20:47:02 drwxr-xr-x 3 root root 4096 Mar 14 20:38 . 20:47:02 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:38 .. 20:47:02 drwxr-xr-x 2 root root 4096 Mar 14 20:38 cost 20:47:02 -rw-r--r-- 1 root root 88 Mar 14 20:38 cost.csv 20:47:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-426/archives 20:47:02 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-426/archives 20:47:02 total 16 20:47:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:38 . 20:47:02 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:38 .. 20:47:02 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:38 cost 20:47:02 -rw-r--r-- 1 jenkins jenkins 88 Mar 14 20:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:47:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:47:03 ---> package-listing.sh 20:47:03 ++ facter osfamily 20:47:03 ++ tr '[:upper:]' '[:lower:]' 20:47:03 + OS_FAMILY=debian 20:47:03 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-426 20:47:03 + START_PACKAGES=/tmp/packages_start.txt 20:47:03 + END_PACKAGES=/tmp/packages_end.txt 20:47:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:47:03 + PACKAGES=/tmp/packages_start.txt 20:47:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-426 ']' 20:47:03 + PACKAGES=/tmp/packages_end.txt 20:47:03 + case "${OS_FAMILY}" in 20:47:03 + dpkg -l 20:47:03 + grep '^ii' 20:47:03 + '[' -f /tmp/packages_start.txt ']' 20:47:03 + '[' -f /tmp/packages_end.txt ']' 20:47:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:47:03 + '[' /w/workspace/xfoundry_device-modbus-go_PR-426 ']' 20:47:03 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-426/archives/ 20:47:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-426/archives/ [Pipeline] echo 20:47:03 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-426/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:47:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:04 prd-ubuntu20.04-docker-8c-8g-251 does not seem to be running inside a container 20:47:04 $ 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-426/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-426 -v /w/workspace/xfoundry_device-modbus-go_PR-426:/w/workspace/xfoundry_device-modbus-go_PR-426:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-426@tmp:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:47:05 $ docker top fc00f1baa2eaa5543a5399adfc0775f5a317f3e3409d2762048d9f66d75e9fd5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:05 + touch /tmp/pre-build-complete [Pipeline] sh 20:47:05 + mkdir -p /var/log/sysstat [Pipeline] sh 20:47:06 + ls /var/log/sa-host 20:47:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:06 provisioning config files... 20:47:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-426@tmp/config2577137537945944151tmp [Pipeline] { [Pipeline] echo 20:47:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:47:06 ---> create-netrc.sh [Pipeline] } 20:47:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:47:06 ---> python-tools-install.sh [Pipeline] echo 20:47:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:07 ---> sudo-logs.sh 20:47:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:47:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:07 ---> job-cost.sh 20:47:07 lf-activate-venv: SKIPPING 20:47:07 DEBUG: total: 0.2199999988079071 20:47:07 INFO: Retrieving Stack Cost... 20:47:07 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:08 INFO: Archiving Costs [Pipeline] echo 20:47:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:47:08 ---> logs-deploy.sh 20:47:08 lf-activate-venv: SKIPPING 20:47:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-426/1 20:47:08 INFO: archiving workspace using pattern(s): 20:47:09 Archives upload complete. 20:47:10 INFO: archiving logs to Nexus 20:47:10 ---> uname -a: 20:47:10 Linux prd-ubuntu20-04-docker-8c-8g-251 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:47:10 20:47:10 20:47:10 ---> lscpu: 20:47:10 Architecture: x86_64 20:47:10 CPU op-mode(s): 32-bit, 64-bit 20:47:10 Byte Order: Little Endian 20:47:10 Address sizes: 40 bits physical, 48 bits virtual 20:47:10 CPU(s): 8 20:47:10 On-line CPU(s) list: 0-7 20:47:10 Thread(s) per core: 1 20:47:10 Core(s) per socket: 1 20:47:10 Socket(s): 8 20:47:10 NUMA node(s): 1 20:47:10 Vendor ID: AuthenticAMD 20:47:10 CPU family: 23 20:47:10 Model: 49 20:47:10 Model name: AMD EPYC-Rome Processor 20:47:10 Stepping: 0 20:47:10 CPU MHz: 2800.000 20:47:10 BogoMIPS: 5600.00 20:47:10 Virtualization: AMD-V 20:47:10 Hypervisor vendor: KVM 20:47:10 Virtualization type: full 20:47:10 L1d cache: 256 KiB 20:47:10 L1i cache: 256 KiB 20:47:10 L2 cache: 4 MiB 20:47:10 L3 cache: 128 MiB 20:47:10 NUMA node0 CPU(s): 0-7 20:47:10 Vulnerability Itlb multihit: Not affected 20:47:10 Vulnerability L1tf: Not affected 20:47:10 Vulnerability Mds: Not affected 20:47:10 Vulnerability Meltdown: Not affected 20:47:10 Vulnerability Mmio stale data: Not affected 20:47:10 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:47:10 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:47:10 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:47:10 Vulnerability Srbds: Not affected 20:47:10 Vulnerability Tsx async abort: Not affected 20:47:10 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 20:47:10 20:47:10 20:47:10 ---> nproc: 20:47:10 8 20:47:10 20:47:10 20:47:10 ---> df -h: 20:47:10 Filesystem Size Used Avail Use% Mounted on 20:47:10 overlay 155G 12G 144G 8% / 20:47:10 tmpfs 64M 0 64M 0% /dev 20:47:10 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:47:10 shm 64M 0 64M 0% /dev/shm 20:47:10 /dev/vda1 155G 12G 144G 8% /facter-os 20:47:10 20:47:10 20:47:10 ---> sar -b -r -n DEV: 20:47:10 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-251) 03/14/23 _x86_64_ (8 CPU) 20:47:10 20:47:10 20:35:55 LINUX RESTART (8 CPU) 20:47:10 20:47:10 20:36:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:47:10 20:37:01 347.15 48.03 299.12 0.00 5394.74 173375.41 0.00 20:47:10 20:38:01 174.95 1.55 173.40 0.00 31.06 70209.50 0.00 20:47:10 20:39:01 170.80 1.38 169.42 0.00 53.86 43430.76 0.00 20:47:10 20:40:01 1.57 0.00 1.57 0.00 0.00 18.01 0.00 20:47:10 20:41:01 7.02 1.15 5.87 0.00 81.05 1833.03 0.00 20:47:10 20:42:01 51.59 9.62 41.98 0.00 5076.62 7012.96 0.00 20:47:10 20:43:01 3.65 0.02 3.63 0.00 0.13 91.98 0.00 20:47:10 20:44:01 1.35 0.00 1.35 0.00 0.00 14.93 0.00 20:47:10 20:45:01 1.23 0.00 1.23 0.00 0.00 14.53 0.00 20:47:10 20:46:01 2.12 0.00 2.12 0.00 0.00 23.33 0.00 20:47:10 20:47:01 1.50 0.10 1.40 0.00 7.20 16.53 0.00 20:47:10 Average: 69.36 5.62 63.74 0.00 967.73 26914.22 0.00 20:47:10 20:47:10 20:36:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:47:10 20:37:01 29251696 31573588 752276 2.29 71872 2525880 2047780 6.04 1011480 2269940 642584 20:47:10 20:38:01 27773368 31124148 1176808 3.58 145600 3378188 2257004 6.65 1619304 3014920 215160 20:47:10 20:39:01 27687260 31570844 730224 2.22 158304 3866172 1752964 5.17 1257324 3426024 344 20:47:10 20:40:01 27686728 31570492 730276 2.22 158324 3866304 1752964 5.17 1257376 3426144 128 20:47:10 20:41:01 27621176 31564616 734364 2.23 160032 3922504 1791792 5.28 1265284 3482196 100 20:47:10 20:42:01 27169696 31554960 725412 2.21 191964 4321464 1844472 5.44 1573940 3590936 48 20:47:10 20:43:01 27175072 31555508 724996 2.20 190532 4318204 1808860 5.33 1571936 3587744 12 20:47:10 20:44:01 27181324 31561852 718624 2.19 190600 4318212 1808860 5.33 1565728 3587748 136 20:47:10 20:45:01 27182128 31562904 717736 2.18 190636 4318216 1808860 5.33 1565500 3587956 12 20:47:10 20:46:01 27181488 31562340 718176 2.18 190712 4318224 1808860 5.33 1565564 3587960 8 20:47:10 20:47:01 27181032 31562184 717908 2.18 190776 4318444 1847272 5.44 1566768 3587972 24 20:47:10 Average: 27553724 31523949 767891 2.34 167214 3951983 1866335 5.50 1438200 3377231 78051 20:47:10 20:47:10 20:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:47:10 20:37:01 docker0 4.68 4.10 0.47 46.90 0.00 0.00 0.00 0.00 20:47:10 20:37:01 ens3 659.51 428.99 6539.07 101.89 0.00 0.00 0.00 0.00 20:47:10 20:37:01 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 20:47:10 20:38:01 vethe6c6c74 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 20:47:10 20:38:01 docker0 192.45 316.61 15.20 1955.94 0.00 0.00 0.00 0.00 20:47:10 20:38:01 ens3 347.51 212.90 1987.31 31.48 0.00 0.00 0.00 0.00 20:47:10 20:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:47:10 20:39:01 docker0 3.80 8.92 0.23 85.73 0.00 0.00 0.00 0.00 20:47:10 20:39:01 ens3 125.48 80.69 2635.24 19.14 0.00 0.00 0.00 0.00 20:47:10 20:39:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 20:47:10 20:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:40:01 ens3 0.58 0.33 0.27 0.22 0.00 0.00 0.00 0.00 20:47:10 20:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:47:10 20:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:41:01 ens3 38.24 18.23 854.65 1.43 0.00 0.00 0.00 0.00 20:47:10 20:41:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 20:47:10 20:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:42:01 ens3 152.29 83.84 1949.26 5.75 0.00 0.00 0.00 0.00 20:47:10 20:42:01 lo 0.60 0.60 0.05 0.05 0.00 0.00 0.00 0.00 20:47:10 20:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:43:01 ens3 0.55 0.42 0.26 0.21 0.00 0.00 0.00 0.00 20:47:10 20:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:44:01 ens3 1.38 0.75 1.84 0.29 0.00 0.00 0.00 0.00 20:47:10 20:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:47:10 20:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:45:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:46:01 ens3 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:47:10 20:46:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:47:10 20:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:47:10 20:47:01 ens3 4.20 3.08 4.13 1.45 0.00 0.00 0.00 0.00 20:47:10 20:47:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 20:47:10 Average: docker0 18.27 29.96 1.45 189.86 0.00 0.00 0.00 0.00 20:47:10 Average: ens3 120.91 75.40 1270.23 14.72 0.00 0.00 0.00 0.00 20:47:10 Average: lo 0.97 0.97 0.09 0.09 0.00 0.00 0.00 0.00 20:47:10 20:47:10 20:47:10 ---> sar -P ALL: 20:47:10 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-251) 03/14/23 _x86_64_ (8 CPU) 20:47:10 20:47:10 20:35:55 LINUX RESTART (8 CPU) 20:47:10 20:47:10 20:36:01 CPU %user %nice %system %iowait %steal %idle 20:47:10 20:37:01 all 9.26 0.00 3.42 2.06 0.06 85.19 20:47:10 20:37:01 0 5.45 0.00 2.79 3.35 0.05 88.36 20:47:10 20:37:01 1 7.72 0.00 2.87 0.44 0.03 88.94 20:47:10 20:37:01 2 8.27 0.00 3.29 4.01 0.05 84.38 20:47:10 20:37:01 3 9.33 0.00 3.36 0.54 0.07 86.70 20:47:10 20:37:01 4 11.84 0.00 4.41 4.86 0.05 78.84 20:47:10 20:37:01 5 9.94 0.00 4.08 2.38 0.08 83.52 20:47:10 20:37:01 6 10.02 0.00 4.22 0.30 0.05 85.41 20:47:10 20:37:01 7 11.55 0.00 2.36 0.61 0.08 85.39 20:47:10 20:38:01 all 25.12 0.00 5.88 2.49 0.07 66.45 20:47:10 20:38:01 0 25.00 0.00 5.45 0.27 0.07 69.21 20:47:10 20:38:01 1 25.10 0.00 5.69 3.36 0.07 65.78 20:47:10 20:38:01 2 24.71 0.00 6.83 2.79 0.05 65.62 20:47:10 20:38:01 3 25.41 0.00 5.37 0.51 0.07 68.64 20:47:10 20:38:01 4 24.12 0.00 4.94 0.29 0.07 70.58 20:47:10 20:38:01 5 26.28 0.00 6.02 0.74 0.07 66.90 20:47:10 20:38:01 6 25.59 0.00 7.14 11.73 0.08 55.46 20:47:10 20:38:01 7 24.74 0.00 5.58 0.24 0.08 69.36 20:47:10 20:39:01 all 25.52 0.00 5.32 1.84 0.07 67.25 20:47:10 20:39:01 0 27.09 0.00 5.73 0.88 0.07 66.24 20:47:10 20:39:01 1 25.29 0.00 4.67 0.42 0.07 69.55 20:47:10 20:39:01 2 24.56 0.00 6.06 9.97 0.08 59.32 20:47:10 20:39:01 3 23.94 0.00 4.74 0.68 0.07 70.58 20:47:10 20:39:01 4 27.26 0.00 5.45 1.55 0.05 65.69 20:47:10 20:39:01 5 25.34 0.00 5.43 0.52 0.07 68.64 20:47:10 20:39:01 6 25.43 0.00 5.56 0.49 0.07 68.45 20:47:10 20:39:01 7 25.23 0.00 4.93 0.25 0.10 69.49 20:47:10 20:40:01 all 0.04 0.00 0.01 0.00 0.01 99.95 20:47:10 20:40:01 0 0.05 0.00 0.00 0.00 0.02 99.93 20:47:10 20:40:01 1 0.02 0.00 0.00 0.00 0.00 99.98 20:47:10 20:40:01 2 0.03 0.00 0.02 0.02 0.00 99.93 20:47:10 20:40:01 3 0.02 0.00 0.02 0.00 0.00 99.97 20:47:10 20:40:01 4 0.10 0.00 0.00 0.00 0.00 99.90 20:47:10 20:40:01 5 0.03 0.00 0.00 0.00 0.02 99.95 20:47:10 20:40:01 6 0.00 0.00 0.00 0.02 0.02 99.97 20:47:10 20:40:01 7 0.03 0.00 0.02 0.00 0.00 99.95 20:47:10 20:41:01 all 0.23 0.00 0.09 0.11 0.01 99.56 20:47:10 20:41:01 0 0.05 0.00 0.17 0.02 0.03 99.73 20:47:10 20:41:01 1 0.13 0.00 0.08 0.00 0.00 99.78 20:47:10 20:41:01 2 0.05 0.00 0.07 0.12 0.00 99.77 20:47:10 20:41:01 3 0.40 0.00 0.03 0.00 0.02 99.55 20:47:10 20:41:01 4 0.50 0.00 0.12 0.02 0.02 99.35 20:47:10 20:41:01 5 0.13 0.00 0.03 0.18 0.02 99.63 20:47:10 20:41:01 6 0.10 0.00 0.22 0.52 0.00 99.17 20:47:10 20:41:01 7 0.45 0.00 0.03 0.00 0.00 99.52 20:47:10 20:42:01 all 2.05 0.00 1.39 0.52 0.02 96.01 20:47:10 20:42:01 0 2.19 0.00 1.67 0.60 0.02 95.53 20:47:10 20:42:01 1 1.74 0.00 0.80 0.32 0.02 97.13 20:47:10 20:42:01 2 1.32 0.00 1.04 1.05 0.03 96.56 20:47:10 20:42:01 3 2.25 0.00 1.02 1.22 0.03 95.48 20:47:10 20:42:01 4 1.86 0.00 0.82 0.02 0.02 97.29 20:47:10 20:42:01 5 4.25 0.00 1.49 0.47 0.02 93.77 20:47:10 20:42:01 6 1.20 0.00 1.90 0.03 0.02 96.85 20:47:10 20:42:01 7 1.61 0.00 2.39 0.49 0.03 95.48 20:47:10 20:43:01 all 0.25 0.00 0.04 0.01 0.01 99.69 20:47:10 20:43:01 0 0.05 0.00 0.05 0.00 0.02 99.88 20:47:10 20:43:01 1 0.20 0.00 0.03 0.02 0.02 99.73 20:47:10 20:43:01 2 1.39 0.00 0.03 0.00 0.00 98.58 20:47:10 20:43:01 3 0.05 0.00 0.02 0.02 0.00 99.92 20:47:10 20:43:01 4 0.13 0.00 0.03 0.00 0.02 99.82 20:47:10 20:43:01 5 0.08 0.00 0.05 0.00 0.02 99.85 20:47:10 20:43:01 6 0.02 0.00 0.02 0.00 0.00 99.97 20:47:10 20:43:01 7 0.08 0.00 0.05 0.05 0.00 99.82 20:47:10 20:44:01 all 0.03 0.00 0.01 0.00 0.01 99.95 20:47:10 20:44:01 0 0.05 0.00 0.00 0.00 0.00 99.95 20:47:10 20:44:01 1 0.02 0.00 0.02 0.00 0.00 99.97 20:47:10 20:44:01 2 0.13 0.00 0.02 0.00 0.02 99.83 20:47:10 20:44:01 3 0.00 0.00 0.00 0.00 0.02 99.98 20:47:10 20:44:01 4 0.00 0.00 0.03 0.00 0.02 99.95 20:47:10 20:44:01 5 0.03 0.00 0.00 0.00 0.02 99.95 20:47:10 20:44:01 6 0.00 0.00 0.02 0.00 0.00 99.98 20:47:10 20:44:01 7 0.02 0.00 0.02 0.02 0.00 99.95 20:47:10 20:45:01 all 0.08 0.00 0.02 0.00 0.01 99.90 20:47:10 20:45:01 0 0.03 0.00 0.02 0.00 0.00 99.95 20:47:10 20:45:01 1 0.00 0.00 0.02 0.00 0.00 99.98 20:47:10 20:45:01 2 0.50 0.00 0.02 0.00 0.02 99.47 20:47:10 20:45:01 3 0.00 0.00 0.00 0.00 0.00 100.00 20:47:10 20:45:01 4 0.03 0.00 0.07 0.00 0.03 99.87 20:47:10 20:45:01 5 0.03 0.00 0.02 0.00 0.00 99.95 20:47:10 20:45:01 6 0.02 0.00 0.00 0.00 0.00 99.98 20:47:10 20:45:01 7 0.00 0.00 0.00 0.02 0.02 99.97 20:47:10 20:46:01 all 0.11 0.00 0.01 0.01 0.00 99.87 20:47:10 20:46:01 0 0.03 0.00 0.02 0.00 0.02 99.93 20:47:10 20:46:01 1 0.00 0.00 0.00 0.02 0.00 99.98 20:47:10 20:46:01 2 0.65 0.00 0.02 0.00 0.00 99.33 20:47:10 20:46:01 3 0.02 0.00 0.00 0.00 0.00 99.98 20:47:10 20:46:01 4 0.03 0.00 0.00 0.00 0.00 99.97 20:47:10 20:46:01 5 0.02 0.00 0.02 0.00 0.02 99.95 20:47:10 20:46:01 6 0.00 0.00 0.02 0.00 0.00 99.98 20:47:10 20:46:01 7 0.12 0.00 0.02 0.03 0.00 99.83 20:47:10 20:47:01 all 0.23 0.00 0.06 0.00 0.01 99.70 20:47:10 20:47:01 0 0.03 0.00 0.03 0.00 0.00 99.93 20:47:10 20:47:01 1 0.28 0.00 0.15 0.00 0.02 99.55 20:47:10 20:47:01 2 1.06 0.00 0.07 0.00 0.02 98.86 20:47:10 20:47:01 3 0.03 0.00 0.03 0.00 0.00 99.93 20:47:10 20:47:01 4 0.05 0.00 0.05 0.00 0.03 99.87 20:47:10 20:47:01 5 0.07 0.00 0.03 0.00 0.00 99.90 20:47:10 20:47:01 6 0.05 0.00 0.05 0.00 0.00 99.90 20:47:10 20:47:01 7 0.28 0.00 0.05 0.03 0.00 99.63 20:47:10 20:47:10 Average: CPU %user %nice %system %iowait %steal %idle 20:47:10 Average: all 5.68 0.00 1.47 0.64 0.03 92.19 20:47:10 Average: 0 5.42 0.00 1.44 0.46 0.03 92.65 20:47:10 Average: 1 5.46 0.00 1.29 0.41 0.02 92.81 20:47:10 Average: 2 5.65 0.00 1.57 1.62 0.02 91.13 20:47:10 Average: 3 5.54 0.00 1.32 0.27 0.02 92.85 20:47:10 Average: 4 5.95 0.00 1.44 0.61 0.03 91.98 20:47:10 Average: 5 5.98 0.00 1.55 0.39 0.03 92.05 20:47:10 Average: 6 5.63 0.00 1.73 1.18 0.02 91.44 20:47:10 Average: 7 5.79 0.00 1.40 0.16 0.03 92.62 20:47:10 20:47:10 20:47:10