Pull request #515 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 331a8069c165728cd5844f04474d6e70c5bd938d+8605cffecbdc9fcb52dd0eb94cc366191c17ee41 (c994c1fedc2693cfb64f3e3edea87e16e90e78ff) 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-ssh12222840854837595180.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12329908072197659536.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-515/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-515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13562613139918397194.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-515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh415569285785513601.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16228233923631856838.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-515/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-515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7216547197955215607.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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] ========================================================= [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.21 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-10289 in /w/workspace/xfoundry_device-modbus-go_PR-515 [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-515 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 into PR head commit 331a8069c165728cd5844f04474d6e70c5bd938d Merge succeeded, producing 331a8069c165728cd5844f04474d6e70c5bd938d Checking out Revision 331a8069c165728cd5844f04474d6e70c5bd938d (PR-515) > git config core.sparsecheckout # timeout=10 > git checkout -f 331a8069c165728cd5844f04474d6e70c5bd938d # 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 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 331a8069c165728cd5844f04474d6e70c5bd938d # timeout=10 Commit message: "refactor: Remove obsolete comments from config file" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:33:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:33:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:33:47 ========================================================= 21:33:47 EdgeX Global Pipelines Version Info 21:33:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:33:48 ------------------- 21:33:48 stable info: 21:33:48 ------------------- 21:33:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:33:48 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:33:48 Message: update stable to v1.0.254 21:33:48 ------------------- 21:33:48 experimental info: 21:33:48 ------------------- 21:33:48 Commited By: **** collab-it+edgex@linuxfoundation.org 21:33:48 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:33:48 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:33:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-515 [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-515 [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-515 [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 331a8069c165728cd5844f04474d6e70c5bd938d [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 331a806 [Pipeline] echo 21:33:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:50 provisioning config files... 21:33:50 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-515@tmp/config415435173561109466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:50 ---> docker-login.sh 21:33:50 nexus3.edgexfoundry.org:10001 21:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:53 Configure a credential helper to remove this warning. See 21:33:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:53 21:33:53 Login Succeeded 21:33:53 nexus3.edgexfoundry.org:10002 21:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:53 Configure a credential helper to remove this warning. See 21:33:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:53 21:33:53 Login Succeeded 21:33:53 nexus3.edgexfoundry.org:10003 21:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:53 Configure a credential helper to remove this warning. See 21:33:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:53 21:33:53 Login Succeeded 21:33:53 nexus3.edgexfoundry.org:10004 21:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:53 Configure a credential helper to remove this warning. See 21:33:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:53 21:33:53 Login Succeeded 21:33:53 docker.io 21:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:53 Configure a credential helper to remove this warning. See 21:33:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:53 21:33:53 Login Succeeded 21:33:53 ---> docker-login.sh ends [Pipeline] } 21:33:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:33:53 + git rev-list -1 --merges 331a8069c165728cd5844f04474d6e70c5bd938d~1..331a8069c165728cd5844f04474d6e70c5bd938d [Pipeline] echo 21:33:53 -----------> git rev-list -1 --merges 331a8069c165728cd5844f04474d6e70c5bd938d~1..331a8069c165728cd5844f04474d6e70c5bd938d 331a8069c165728cd5844f04474d6e70c5bd938d [false] [Pipeline] sh 21:33:54 + git log --format=format:%s -1 331a8069c165728cd5844f04474d6e70c5bd938d [Pipeline] echo 21:33:54 ========================================================= 21:33:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:33:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:54 + git log --format=format:%s -1 331a8069c165728cd5844f04474d6e70c5bd938d [Pipeline] echo 21:33:54 [semverPrep] GIT_COMMIT: 331a8069c165728cd5844f04474d6e70c5bd938d, Commit Message: refactor: Remove obsolete comments from config file [Pipeline] echo 21:33:54 [semverPrep] This is not a build commit. [Pipeline] sh 21:33:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:33:55 + grep -v github /etc/ssh/ssh_known_hosts 21:33:55 + [ -e /tmp/ssh_known_hosts ] 21:33:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:33:55 + + sudo tee -a /etc/ssh/ssh_known_hosts 21:33:55 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:33:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:55 21:33:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:55 0.1.4: Pulling from edgex-devops/py-git-semver 21:33:55 b85a868b505f: Pulling fs layer 21:33:55 e2be974225ed: Pulling fs layer 21:33:55 339a4e72a1f5: Pulling fs layer 21:33:55 988bab9f4d93: Pulling fs layer 21:33:55 1469e6f7b9e6: Pulling fs layer 21:33:55 eaf3925da568: Pulling fs layer 21:33:55 bab4dde63d76: Pulling fs layer 21:33:55 bde34c3a00c8: Pulling fs layer 21:33:55 b352a97aabf1: Pulling fs layer 21:33:55 4872d77fe225: Pulling fs layer 21:33:55 5851b861e8e6: Pulling fs layer 21:33:55 4872d77fe225: Waiting 21:33:55 bab4dde63d76: Waiting 21:33:55 bde34c3a00c8: Waiting 21:33:55 5851b861e8e6: Waiting 21:33:55 b352a97aabf1: Waiting 21:33:55 eaf3925da568: Waiting 21:33:55 988bab9f4d93: Waiting 21:33:55 e2be974225ed: Download complete 21:33:55 988bab9f4d93: Download complete 21:33:55 1469e6f7b9e6: Verifying Checksum 21:33:55 1469e6f7b9e6: Download complete 21:33:55 eaf3925da568: Verifying Checksum 21:33:55 eaf3925da568: Download complete 21:33:56 339a4e72a1f5: Verifying Checksum 21:33:56 339a4e72a1f5: Download complete 21:33:56 bde34c3a00c8: Download complete 21:33:56 b352a97aabf1: Download complete 21:33:56 4872d77fe225: Verifying Checksum 21:33:56 4872d77fe225: Download complete 21:33:56 5851b861e8e6: Verifying Checksum 21:33:56 5851b861e8e6: Download complete 21:33:56 b85a868b505f: Verifying Checksum 21:33:56 b85a868b505f: Download complete 21:33:56 bab4dde63d76: Verifying Checksum 21:33:56 bab4dde63d76: Download complete 21:33:57 b85a868b505f: Pull complete 21:33:57 e2be974225ed: Pull complete 21:33:58 339a4e72a1f5: Pull complete 21:33:58 988bab9f4d93: Pull complete 21:33:58 1469e6f7b9e6: Pull complete 21:33:58 eaf3925da568: Pull complete 21:34:00 bab4dde63d76: Pull complete 21:34:00 bde34c3a00c8: Pull complete 21:34:00 b352a97aabf1: Pull complete 21:34:00 4872d77fe225: Pull complete 21:34:00 5851b861e8e6: Pull complete 21:34:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:34:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:01 prd-ubuntu20.04-docker-8c-8g-10289 does not seem to be running inside a container 21:34:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-515 -v /w/workspace/xfoundry_device-modbus-go_PR-515:/w/workspace/xfoundry_device-modbus-go_PR-515:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-515@tmp:/w/workspace/xfoundry_device-modbus-go_PR-515@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 21:34:04 $ docker top 0d6c68a2b499a70b97b76684126ffe750ea74f079b0b984a5ae7f22a44f6911e -eo pid,comm 21:34:04 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). 21:34:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:34:04 [ssh-agent] Looking for ssh-agent implementation... 21:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:34:04 $ docker exec 0d6c68a2b499a70b97b76684126ffe750ea74f079b0b984a5ae7f22a44f6911e ssh-agent 21:34:04 SSH_AUTH_SOCK=/tmp/ssh-oiUtFCT9UFMh/agent.32 21:34:04 SSH_AGENT_PID=38 21:34:04 Running ssh-add (command line suppressed) 21:34:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-515@tmp/private_key_13011978051411600787.key (/w/workspace/xfoundry_device-modbus-go_PR-515@tmp/private_key_13011978051411600787.key) 21:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:34:05 + git tag --points-at HEAD [Pipeline] } 21:34:05 $ docker exec --env ******** --env ******** 0d6c68a2b499a70b97b76684126ffe750ea74f079b0b984a5ae7f22a44f6911e ssh-agent -k 21:34:05 unset SSH_AUTH_SOCK; 21:34:05 unset SSH_AGENT_PID; 21:34:05 echo Agent pid 38 killed; 21:34:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:34:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:34:05 [ssh-agent] Looking for ssh-agent implementation... 21:34:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:34:05 $ docker exec 0d6c68a2b499a70b97b76684126ffe750ea74f079b0b984a5ae7f22a44f6911e ssh-agent 21:34:05 SSH_AUTH_SOCK=/tmp/ssh-3Vahr1Xl0e22/agent.70 21:34:05 SSH_AGENT_PID=76 21:34:05 Running ssh-add (command line suppressed) 21:34:05 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-515@tmp/private_key_12111500719019995251.key (/w/workspace/xfoundry_device-modbus-go_PR-515@tmp/private_key_12111500719019995251.key) 21:34:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:34:06 + git semver init 21:34:06 2023-10-24 21:34:06,187 [run_init] DEBUG init version:0.0.0 force:False 21:34:06 2023-10-24 21:34:06,188 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-515/.semver 21:34:06 2023-10-24 21:34:06,188 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-515/.semver 21:34:06 2023-10-24 21:34:06,188 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-515/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-515, universal_newlines=False, shell=None, istream=None) 21:34:07 2023-10-24 21:34:07,089 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-515/.git/info/exclude 21:34:07 2023-10-24 21:34:07,090 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-515/.semver/PR-515 with force:False 21:34:07 2023-10-24 21:34:07,090 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-515/.semver/PR-515 21:34:07 2023-10-24 21:34:07,094 [execute] INFO git cat-file --batch-check 21:34:07 2023-10-24 21:34:07,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-515/.semver, universal_newlines=False, shell=None, istream=) 21:34:07 2023-10-24 21:34:07,101 [execute] INFO git cat-file --batch 21:34:07 2023-10-24 21:34:07,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-515/.semver, universal_newlines=False, shell=None, istream=) 21:34:07 2023-10-24 21:34:07,106 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-515/.semver/PR-515 21:34:07 0.0.0 [Pipeline] } 21:34:07 $ docker exec --env ******** --env ******** 0d6c68a2b499a70b97b76684126ffe750ea74f079b0b984a5ae7f22a44f6911e ssh-agent -k 21:34:07 unset SSH_AUTH_SOCK; 21:34:07 unset SSH_AGENT_PID; 21:34:07 echo Agent pid 76 killed; 21:34:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:34:07 + git semver [Pipeline] } 21:34:08 $ docker stop --time=1 0d6c68a2b499a70b97b76684126ffe750ea74f079b0b984a5ae7f22a44f6911e 21:34:09 $ docker rm -f --volumes 0d6c68a2b499a70b97b76684126ffe750ea74f079b0b984a5ae7f22a44f6911e [Pipeline] // withDockerContainer [Pipeline] sh 21:34:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:34:09 Stashed 1 file(s) [Pipeline] echo 21:34:10 [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 21:34:10 provisioning config files... 21:34:10 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-515@tmp/config9370487752310334289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:10 ---> docker-login.sh 21:34:10 nexus3.edgexfoundry.org:10001 21:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:10 Configure a credential helper to remove this warning. See 21:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:10 21:34:10 Login Succeeded 21:34:10 nexus3.edgexfoundry.org:10002 21:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:10 Configure a credential helper to remove this warning. See 21:34:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:10 21:34:10 Login Succeeded 21:34:10 nexus3.edgexfoundry.org:10003 21:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:11 Configure a credential helper to remove this warning. See 21:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:11 21:34:11 Login Succeeded 21:34:11 nexus3.edgexfoundry.org:10004 21:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:11 Configure a credential helper to remove this warning. See 21:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:11 21:34:11 Login Succeeded 21:34:11 docker.io 21:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:11 Configure a credential helper to remove this warning. See 21:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:11 21:34:11 Login Succeeded 21:34:11 ---> docker-login.sh ends [Pipeline] } 21:34:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:34:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:34:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:34:11 ========================================================= 21:34:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:34:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:34:12 Sending build context to Docker daemon 6.509MB 21:34:12 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:34:12 Step 2/10 : FROM ${BASE} AS builder 21:34:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:34:12 7264a8db6415: Pulling fs layer 21:34:12 c4d48a809fc2: Pulling fs layer 21:34:12 4f1c88b9dad5: Pulling fs layer 21:34:12 ad3a456e5733: Pulling fs layer 21:34:12 33e27b845d1e: Pulling fs layer 21:34:12 c68163c4e522: Pulling fs layer 21:34:12 50da416c3ac9: Pulling fs layer 21:34:12 23d2d4c4bb30: Pulling fs layer 21:34:12 33e27b845d1e: Waiting 21:34:12 c68163c4e522: Waiting 21:34:12 50da416c3ac9: Waiting 21:34:12 23d2d4c4bb30: Waiting 21:34:12 ad3a456e5733: Waiting 21:34:12 c4d48a809fc2: Verifying Checksum 21:34:12 c4d48a809fc2: Download complete 21:34:12 ad3a456e5733: Download complete 21:34:12 33e27b845d1e: Verifying Checksum 21:34:12 33e27b845d1e: Download complete 21:34:12 7264a8db6415: Verifying Checksum 21:34:12 7264a8db6415: Download complete 21:34:12 c68163c4e522: Verifying Checksum 21:34:12 c68163c4e522: Download complete 21:34:12 7264a8db6415: Pull complete 21:34:12 23d2d4c4bb30: Verifying Checksum 21:34:12 23d2d4c4bb30: Download complete 21:34:12 c4d48a809fc2: Pull complete 21:34:12 4f1c88b9dad5: Verifying Checksum 21:34:12 4f1c88b9dad5: Download complete 21:34:13 50da416c3ac9: Verifying Checksum 21:34:13 50da416c3ac9: Download complete 21:34:15 4f1c88b9dad5: Pull complete 21:34:15 ad3a456e5733: Pull complete 21:34:15 33e27b845d1e: Pull complete 21:34:15 c68163c4e522: Pull complete 21:34:18 50da416c3ac9: Pull complete 21:34:18 23d2d4c4bb30: Pull complete 21:34:18 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:34:18 ---> 0786185ac409 21:34:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:34:22 ---> Running in eb2e1e83b15c 21:34:22 Removing intermediate container eb2e1e83b15c 21:34:22 ---> 73e492effff7 21:34:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:22 ---> Running in 6ea46395217a 21:34:22 Removing intermediate container 6ea46395217a 21:34:22 ---> 87a6be048381 21:34:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:34:22 ---> Running in 36b8a5ac7dbe 21:34:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:34:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:34:23 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:34:23 (2/8) Installing libedit (20221030.3.1-r1) 21:34:23 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:34:23 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:34:23 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:34:23 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:34:23 (7/8) Installing openssh-server (9.3_p2-r0) 21:34:23 (8/8) Installing openssh (9.3_p2-r0) 21:34:23 Executing busybox-1.36.1-r2.trigger 21:34:23 OK: 270 MiB in 60 packages 21:34:23 Removing intermediate container 36b8a5ac7dbe 21:34:23 ---> adfff7e7b91c 21:34:23 Step 6/10 : WORKDIR /device-modbus-go 21:34:23 ---> Running in 444bfedca33c 21:34:24 Removing intermediate container 444bfedca33c 21:34:24 ---> 6a3325d0e201 21:34:24 Step 7/10 : COPY go.mod vendor* ./ 21:34:24 ---> 559bec278323 21:34:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:24 ---> Running in d37fdd64a152 21:34:25 Still waiting to schedule task 21:34:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10288’ 21:35:11 Removing intermediate container d37fdd64a152 21:35:11 ---> 0b1abb0a7ee8 21:35:11 Step 9/10 : COPY . . 21:35:11 ---> 24ffe5b5e672 21:35:11 Step 10/10 : RUN ${MAKE} 21:35:11 ---> Running in 0df388e9fbfc 21:35:11 noop 21:35:11 Removing intermediate container 0df388e9fbfc 21:35:11 ---> c175d92624e0 21:35:11 Successfully built c175d92624e0 21:35:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:11 + docker inspect -f . ci-base-image-x86_64 21:35:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:11 prd-ubuntu20.04-docker-8c-8g-10289 does not seem to be running inside a container 21:35:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-515 -v /w/workspace/xfoundry_device-modbus-go_PR-515:/w/workspace/xfoundry_device-modbus-go_PR-515:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-515@tmp:/w/workspace/xfoundry_device-modbus-go_PR-515@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 21:35:12 $ docker top 555944804eed7338737731be7c03327becf7d67be1e9af564e249faab3cd5835 -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:12 + go version 21:35:12 go version go1.21.0 linux/amd64 [Pipeline] } 21:35:12 $ docker stop --time=1 555944804eed7338737731be7c03327becf7d67be1e9af564e249faab3cd5835 21:35:13 $ docker rm -f --volumes 555944804eed7338737731be7c03327becf7d67be1e9af564e249faab3cd5835 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:14 + docker inspect -f . ci-base-image-x86_64 21:35:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:14 prd-ubuntu20.04-docker-8c-8g-10289 does not seem to be running inside a container 21:35:14 $ 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-515 -v /w/workspace/xfoundry_device-modbus-go_PR-515:/w/workspace/xfoundry_device-modbus-go_PR-515:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-515@tmp:/w/workspace/xfoundry_device-modbus-go_PR-515@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 21:35:15 $ docker top 064d49476738058d8f1cd1d88a2c003a2db30d6034095150440487fd9b469e7a -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:15 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-515 [Pipeline] fileExists [Pipeline] sh 21:35:15 + make test 21:35:15 go test ./... -coverprofile=coverage.out 21:35:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:35:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:35:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.9% of statements 21:35:33 go vet ./... 21:35:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:35:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:35:36 ./bin/test-attribution-txt.sh [Pipeline] echo 21:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:35:36 $ docker stop --time=1 064d49476738058d8f1cd1d88a2c003a2db30d6034095150440487fd9b469e7a 21:35:39 $ docker rm -f --volumes 064d49476738058d8f1cd1d88a2c003a2db30d6034095150440487fd9b469e7a [Pipeline] // withDockerContainer [Pipeline] sh 21:35:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:35:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:35:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:35:40 + ls -al . 21:35:40 total 188 21:35:40 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 21:35 . 21:35:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:33 .. 21:35:40 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 21:33 .dockerignore 21:35:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:35 .git 21:35:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:33 .github 21:35:40 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 21:33 .gitignore 21:35:40 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:33 .golangci.yml 21:35:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:34 .semver 21:35:40 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 21:33 Attribution.txt 21:35:40 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 21:33 CHANGELOG.md 21:35:40 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 21:33 Dockerfile 21:35:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:33 GOVERNANCE.md 21:35:40 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 21:33 Jenkinsfile 21:35:40 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:33 LICENSE 21:35:40 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 21:33 Makefile 21:35:40 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 21:33 OWNERS.md 21:35:40 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 21:33 README.md 21:35:40 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 21:34 VERSION 21:35:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:33 bin 21:35:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:33 cmd 21:35:40 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 21:35 coverage.out 21:35:40 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 21:33 go.mod 21:35:40 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 21:33 go.sum 21:35:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:33 internal 21:35:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:33 simulator 21:35:40 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:41 + 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=331a8069c165728cd5844f04474d6e70c5bd938d --label arch=amd64 --label version=0.0.0 . 21:35:41 Sending build context to Docker daemon 6.534MB 21:35:41 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 21:35:41 Step 2/22 : FROM ${BASE} AS builder 21:35:41 ---> c175d92624e0 21:35:41 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:35:41 ---> Running in 91e022ce5557 21:35:41 Removing intermediate container 91e022ce5557 21:35:41 ---> a257d9c117ae 21:35:41 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:35:41 ---> Running in d9fdc87f7e78 21:35:41 Removing intermediate container d9fdc87f7e78 21:35:41 ---> f10bf69de231 21:35:41 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:35:41 ---> Running in fbfed792f011 21:35:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:35:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:35:42 OK: 270 MiB in 60 packages 21:35:42 Removing intermediate container fbfed792f011 21:35:42 ---> 5141a21849fb 21:35:42 Step 6/22 : WORKDIR /device-modbus-go 21:35:42 ---> Running in 2aa0829fbc54 21:35:42 Removing intermediate container 2aa0829fbc54 21:35:42 ---> 5e29bbecad69 21:35:42 Step 7/22 : COPY go.mod vendor* ./ 21:35:42 ---> 82769d580faf 21:35:42 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:35:42 ---> Running in a28c760919c6 21:35:43 Removing intermediate container a28c760919c6 21:35:43 ---> b35ef354ac50 21:35:43 Step 9/22 : COPY . . 21:35:43 ---> 58ce35dd21af 21:35:43 Step 10/22 : RUN ${MAKE} 21:35:43 ---> Running in 8070b77bfa82 21:35:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:36:02 Removing intermediate container 8070b77bfa82 21:36:02 ---> 420c1b0d4022 21:36:02 Step 11/22 : FROM alpine:3.18 21:36:02 3.18: Pulling from library/alpine 21:36:02 96526aa774ef: Pulling fs layer 21:36:02 96526aa774ef: Verifying Checksum 21:36:02 96526aa774ef: Download complete 21:36:02 96526aa774ef: Pull complete 21:36:02 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:36:02 Status: Downloaded newer image for alpine:3.18 21:36:02 ---> 8ca4688f4f35 21:36:02 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:36:02 ---> Running in bffe8fae5df5 21:36:02 Removing intermediate container bffe8fae5df5 21:36:02 ---> 28896028ddc4 21:36:02 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:36:02 ---> Running in 683668b05a63 21:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:36:02 (1/1) Installing dumb-init (1.2.5-r2) 21:36:02 Executing busybox-1.36.1-r2.trigger 21:36:02 OK: 7 MiB in 16 packages 21:36:03 Removing intermediate container 683668b05a63 21:36:03 ---> 1ab17e15d960 21:36:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:36:03 ---> d375b98bc4a3 21:36:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:36:03 ---> b3f09695b24d 21:36:03 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:36:04 ---> 66246ec50157 21:36:04 Step 17/22 : EXPOSE 59901 21:36:04 ---> Running in 13cf851b3a63 21:36:04 Removing intermediate container 13cf851b3a63 21:36:04 ---> 6f326b43cd80 21:36:04 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:36:04 ---> Running in 6a76fde6852d 21:36:04 Removing intermediate container 6a76fde6852d 21:36:04 ---> dfaded9ad67c 21:36:04 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:36:04 ---> Running in b7b73d016c2c 21:36:04 Removing intermediate container b7b73d016c2c 21:36:04 ---> 0f7f53cfc3ff 21:36:04 Step 20/22 : LABEL arch=amd64 21:36:04 ---> Running in 3b7b4717bf89 21:36:04 Removing intermediate container 3b7b4717bf89 21:36:04 ---> 4fb2f07bef93 21:36:04 Step 21/22 : LABEL git_sha=331a8069c165728cd5844f04474d6e70c5bd938d 21:36:04 ---> Running in 1d9faac607bf 21:36:04 Removing intermediate container 1d9faac607bf 21:36:04 ---> 0fe18a1b7699 21:36:04 Step 22/22 : LABEL version=0.0.0 21:36:04 ---> Running in 32d2b109d659 21:36:04 Removing intermediate container 32d2b109d659 21:36:04 ---> 44bfa035042d 21:36:04 [Warning] One or more build-args [ARCH] were not consumed 21:36:04 Successfully built 44bfa035042d 21:36:04 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 21:36:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:05 21:36:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:05 latest: Pulling from edgex-lftools-log-publisher 21:36:05 5eb5b503b376: Pulling fs layer 21:36:05 5c69ac0246d0: Pulling fs layer 21:36:05 ec43610c2a17: Pulling fs layer 21:36:05 3a2ae6a8a46f: Pulling fs layer 21:36:05 33b1e0a273af: Pulling fs layer 21:36:05 5d3b04190fa2: Pulling fs layer 21:36:05 2f39f015ded8: Pulling fs layer 21:36:05 3a2ae6a8a46f: Waiting 21:36:05 5d3b04190fa2: Waiting 21:36:05 33b1e0a273af: Waiting 21:36:05 5c69ac0246d0: Download complete 21:36:05 3a2ae6a8a46f: Verifying Checksum 21:36:05 3a2ae6a8a46f: Download complete 21:36:05 33b1e0a273af: Verifying Checksum 21:36:05 33b1e0a273af: Download complete 21:36:05 5d3b04190fa2: Verifying Checksum 21:36:05 5d3b04190fa2: Download complete 21:36:06 ec43610c2a17: Verifying Checksum 21:36:06 ec43610c2a17: Download complete 21:36:06 5eb5b503b376: Verifying Checksum 21:36:06 5eb5b503b376: Download complete 21:36:06 2f39f015ded8: Download complete 21:36:07 5eb5b503b376: Pull complete 21:36:07 5c69ac0246d0: Pull complete 21:36:07 ec43610c2a17: Pull complete 21:36:07 3a2ae6a8a46f: Pull complete 21:36:07 33b1e0a273af: Pull complete 21:36:08 5d3b04190fa2: Pull complete 21:36:12 2f39f015ded8: Pull complete 21:36:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:36:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:12 prd-ubuntu20.04-docker-8c-8g-10289 does not seem to be running inside a container 21:36:12 $ 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-515 -v /w/workspace/xfoundry_device-modbus-go_PR-515:/w/workspace/xfoundry_device-modbus-go_PR-515:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-515@tmp:/w/workspace/xfoundry_device-modbus-go_PR-515@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 21:36:15 $ docker top c68d2a579bd58913f064157280dd1c5c155608c304aee04d51c1e951ecbe3e03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:15 ---> job-cost.sh 21:36:15 lf-activate-venv: SKIPPING 21:36:15 INFO: No Stack... 21:36:15 INFO: Retrieving Pricing Info for: v3-standard-8 21:36:16 INFO: Archiving Costs [Pipeline] sh 21:36:16 + cat /w/workspace/xfoundry_device-modbus-go_PR-515/archives/cost.csv 21:36:16 + cut -d, -f6 [Pipeline] lock 21:36:16 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] 21:36:16 Resource [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] did not exist. Created. 21:36:16 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:36:16 + echo total: 0.2199999988079071 [Pipeline] stash 21:36:16 Stashed 1 file(s) [Pipeline] } 21:36:17 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:36:17 $ docker stop --time=1 c68d2a579bd58913f064157280dd1c5c155608c304aee04d51c1e951ecbe3e03 21:36:18 $ docker rm -f --volumes c68d2a579bd58913f064157280dd1c5c155608c304aee04d51c1e951ecbe3e03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:37:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10291 in /w/workspace/xfoundry_device-modbus-go_PR-515 [Pipeline] { [Pipeline] ws 21:37:27 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 21:37:27 Selected Git installation does not exist. Using Default 21:37:27 The recommended git tool is: NONE 21:37:33 using credential edgex-jenkins-ssh 21:37:33 Cloning the remote Git repository 21:37:33 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 21:37:33 > git init /w/workspace/device-modbus-go/1 # timeout=10 21:37:33 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:37:33 > git --version # timeout=10 21:37:33 > git --version # 'git version 2.25.1' 21:37:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:35 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:37:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:37:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 21:37:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 21:37:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/515/head:refs/remotes/origin/PR-515 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:37:36 Merging remotes/origin/main commit 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 into PR head commit 331a8069c165728cd5844f04474d6e70c5bd938d 21:37:37 Merge succeeded, producing 331a8069c165728cd5844f04474d6e70c5bd938d 21:37:37 Checking out Revision 331a8069c165728cd5844f04474d6e70c5bd938d (PR-515) 21:37:36 > git config core.sparsecheckout # timeout=10 21:37:36 > git checkout -f 331a8069c165728cd5844f04474d6e70c5bd938d # timeout=10 21:37:37 > git remote # timeout=10 21:37:37 > git config --get remote.origin.url # timeout=10 21:37:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:37:37 > git merge 8605cffecbdc9fcb52dd0eb94cc366191c17ee41 # timeout=10 21:37:37 > git rev-parse HEAD^{commit} # timeout=10 21:37:37 > git config core.sparsecheckout # timeout=10 21:37:37 > git checkout -f 331a8069c165728cd5844f04474d6e70c5bd938d # timeout=10 21:37:40 Commit message: "refactor: Remove obsolete comments from config file" 21:37:40 > git --version # timeout=10 21:37:40 > git --version # 'git version 2.25.1' 21:37:40 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:37:42 % Total % Received % Xferd Average Speed Time Time Time Current 21:37:42 Dload Upload Total Spent Left Speed 21:37:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 21:37:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:37:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:37:43 + sudo tee /etc/docker/daemon.new 21:37:43 { 21:37:43 "registry-mirrors": [ 21:37:43 "https://nexus3.edgexfoundry.org:10001" 21:37:43 ], 21:37:43 "bip": "10.250.0.254/24", 21:37:43 "hosts": [ 21:37:43 "tcp://0.0.0.0:5555", 21:37:43 "unix:///var/run/docker.sock" 21:37:43 ], 21:37:43 "mtu": 1458, 21:37:43 "selinux-enabled": true, 21:37:43 "seccomp-profile": "/etc/docker/seccomp.json" 21:37:43 } [Pipeline] sh 21:37:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:37:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:02 provisioning config files... 21:38:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config12368800006713399212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:02 ---> docker-login.sh 21:38:02 nexus3.edgexfoundry.org:10001 21:38:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:03 Configure a credential helper to remove this warning. See 21:38:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:03 21:38:03 Login Succeeded 21:38:03 nexus3.edgexfoundry.org:10002 21:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:04 Configure a credential helper to remove this warning. See 21:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:04 21:38:04 Login Succeeded 21:38:04 nexus3.edgexfoundry.org:10003 21:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:04 Configure a credential helper to remove this warning. See 21:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:04 21:38:04 Login Succeeded 21:38:04 nexus3.edgexfoundry.org:10004 21:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:04 Configure a credential helper to remove this warning. See 21:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:04 21:38:04 Login Succeeded 21:38:04 docker.io 21:38:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:05 Configure a credential helper to remove this warning. See 21:38:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:05 21:38:05 Login Succeeded 21:38:05 ---> docker-login.sh ends [Pipeline] } 21:38:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:06 ========================================================= 21:38:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:38:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:38:08 Sending build context to Docker daemon 3.372MB 21:38:09 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 21:38:09 Step 2/10 : FROM ${BASE} AS builder 21:38:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:38:09 9fda8d8052c6: Pulling fs layer 21:38:09 5d54e960e981: Pulling fs layer 21:38:09 c4a7e357bf2a: Pulling fs layer 21:38:09 f0e02332f6b5: Pulling fs layer 21:38:09 cefa15bbcfad: Pulling fs layer 21:38:09 17808c966233: Pulling fs layer 21:38:09 f4c1fc716caa: Pulling fs layer 21:38:09 f0e02332f6b5: Waiting 21:38:09 cefa15bbcfad: Waiting 21:38:09 17808c966233: Waiting 21:38:09 f4c1fc716caa: Waiting 21:38:09 5d54e960e981: Verifying Checksum 21:38:09 5d54e960e981: Download complete 21:38:09 f0e02332f6b5: Verifying Checksum 21:38:09 f0e02332f6b5: Download complete 21:38:09 cefa15bbcfad: Verifying Checksum 21:38:09 cefa15bbcfad: Download complete 21:38:09 9fda8d8052c6: Verifying Checksum 21:38:09 9fda8d8052c6: Download complete 21:38:10 f4c1fc716caa: Verifying Checksum 21:38:10 9fda8d8052c6: Pull complete 21:38:10 5d54e960e981: Pull complete 21:38:11 c4a7e357bf2a: Verifying Checksum 21:38:11 c4a7e357bf2a: Download complete 21:38:12 17808c966233: Verifying Checksum 21:38:12 17808c966233: Download complete 21:38:24 c4a7e357bf2a: Pull complete 21:38:24 f0e02332f6b5: Pull complete 21:38:24 cefa15bbcfad: Pull complete 21:38:33 17808c966233: Pull complete 21:38:33 f4c1fc716caa: Pull complete 21:38:33 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:38:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:38:33 ---> ea914061e18c 21:38:33 Step 3/10 : ARG ADD_BUILD_TAGS="" 21:38:35 ---> Running in c21fe8884bc0 21:38:35 Removing intermediate container c21fe8884bc0 21:38:35 ---> cc71281b2791 21:38:35 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:35 ---> Running in dc9452810478 21:38:35 Removing intermediate container dc9452810478 21:38:35 ---> c3d7c0ad9e0e 21:38:35 Step 5/10 : RUN apk add --update --no-cache make git openssh 21:38:35 ---> Running in 6b1bfc08c471 21:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:38:38 (1/8) Installing openssh-keygen (9.3_p2-r0) 21:38:38 (2/8) Installing libedit (20221030.3.1-r1) 21:38:38 (3/8) Installing openssh-client-common (9.3_p2-r0) 21:38:38 (4/8) Installing openssh-client-default (9.3_p2-r0) 21:38:38 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 21:38:38 (6/8) Installing openssh-server-common (9.3_p2-r0) 21:38:38 (7/8) Installing openssh-server (9.3_p2-r0) 21:38:38 (8/8) Installing openssh (9.3_p2-r0) 21:38:38 Executing busybox-1.36.1-r2.trigger 21:38:38 OK: 272 MiB in 60 packages 21:38:39 Removing intermediate container 6b1bfc08c471 21:38:39 ---> cdda86983029 21:38:39 Step 6/10 : WORKDIR /device-modbus-go 21:38:39 ---> Running in 21074a622f6a 21:38:40 Removing intermediate container 21074a622f6a 21:38:40 ---> e905d632f9de 21:38:40 Step 7/10 : COPY go.mod vendor* ./ 21:38:40 ---> 2910b13d5c24 21:38:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:41 ---> Running in ac631b5febff 21:40:17 Removing intermediate container ac631b5febff 21:40:17 ---> 0644df252f68 21:40:17 Step 9/10 : COPY . . 21:40:17 ---> 9b22619cf0b0 21:40:17 Step 10/10 : RUN ${MAKE} 21:40:17 ---> Running in a099f68fca31 21:40:17 noop 21:40:18 Removing intermediate container a099f68fca31 21:40:18 ---> 1db486a388f6 21:40:18 Successfully built 1db486a388f6 21:40:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:18 + docker inspect -f . ci-base-image-arm64 21:40:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:18 prd-ubuntu20.04-docker-arm64-4c-16g-10291 does not seem to be running inside a container 21:40: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 ******** -e ******** ci-base-image-arm64 cat 21:40:20 $ docker top 212456674b01c22a684984eca7a26178c18b0e5fbc976fd2726b744c89e82aea -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:21 + go version 21:40:21 go version go1.21.0 linux/arm64 [Pipeline] } 21:40:21 $ docker stop --time=1 212456674b01c22a684984eca7a26178c18b0e5fbc976fd2726b744c89e82aea 21:40:22 $ docker rm -f --volumes 212456674b01c22a684984eca7a26178c18b0e5fbc976fd2726b744c89e82aea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:23 + docker inspect -f . ci-base-image-arm64 21:40:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:24 prd-ubuntu20.04-docker-arm64-4c-16g-10291 does not seem to be running inside a container 21:40: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 ******** -e ******** ci-base-image-arm64 cat 21:40:25 $ docker top 0787d581d17a513136a007d61ee046910f9dbf403598104cac5cb81578088f3c -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:26 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 21:40:26 + make test 21:40:26 go test ./... -coverprofile=coverage.out 21:40:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:42:07 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:42:08 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.9% of statements 21:42:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:42:09 go vet ./... 21:42:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:42:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:42:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:42:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:42:31 $ docker stop --time=1 0787d581d17a513136a007d61ee046910f9dbf403598104cac5cb81578088f3c 21:42:35 $ docker rm -f --volumes 0787d581d17a513136a007d61ee046910f9dbf403598104cac5cb81578088f3c [Pipeline] // withDockerContainer [Pipeline] sh 21:42:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:42:37 Warning: overwriting stash ‘coverage-report’ 21:42:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:42:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:42:38 + ls -al . 21:42:38 total 184 21:42:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:40 . 21:42:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:37 .. 21:42:38 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 21:37 .dockerignore 21:42:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:37 .git 21:42:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:37 .github 21:42:38 -rw-rw-r-- 1 jenkins jenkins 266 Oct 24 21:37 .gitignore 21:42:38 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:37 .golangci.yml 21:42:38 -rw-rw-r-- 1 jenkins jenkins 11101 Oct 24 21:37 Attribution.txt 21:42:38 -rw-rw-r-- 1 jenkins jenkins 14764 Oct 24 21:37 CHANGELOG.md 21:42:38 -rw-rw-r-- 1 jenkins jenkins 1365 Oct 24 21:37 Dockerfile 21:42:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:37 GOVERNANCE.md 21:42:38 -rw-rw-r-- 1 jenkins jenkins 658 Oct 24 21:37 Jenkinsfile 21:42:38 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:37 LICENSE 21:42:38 -rw-rw-r-- 1 jenkins jenkins 1936 Oct 24 21:37 Makefile 21:42:38 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 21:37 OWNERS.md 21:42:38 -rw-rw-r-- 1 jenkins jenkins 4463 Oct 24 21:37 README.md 21:42:38 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 21:34 VERSION 21:42:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:37 bin 21:42:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:37 cmd 21:42:38 -rw-r--r-- 1 jenkins jenkins 24334 Oct 24 21:42 coverage.out 21:42:38 -rw-rw-r-- 1 jenkins jenkins 3942 Oct 24 21:37 go.mod 21:42:38 -rw-rw-r-- 1 jenkins jenkins 35436 Oct 24 21:37 go.sum 21:42:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:37 internal 21:42:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:37 simulator 21:42:38 -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 21:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:39 + 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=331a8069c165728cd5844f04474d6e70c5bd938d --label arch=arm64 --label version=0.0.0 . 21:42:39 Sending build context to Docker daemon 3.397MB 21:42:39 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 21:42:39 Step 2/22 : FROM ${BASE} AS builder 21:42:39 ---> 1db486a388f6 21:42:39 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:42:39 ---> Running in 68c0d1e1e30a 21:42:39 Removing intermediate container 68c0d1e1e30a 21:42:39 ---> 9d04c8d897ac 21:42:39 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:42:39 ---> Running in 1124cb3de0e6 21:42:40 Removing intermediate container 1124cb3de0e6 21:42:40 ---> a99d19f8bbdd 21:42:40 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:42:40 ---> Running in 70bc5690ee78 21:42:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:42:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:42:43 OK: 272 MiB in 60 packages 21:42:44 Removing intermediate container 70bc5690ee78 21:42:44 ---> 0af66325df45 21:42:44 Step 6/22 : WORKDIR /device-modbus-go 21:42:44 ---> Running in 0c044fbbf1ff 21:42:44 Removing intermediate container 0c044fbbf1ff 21:42:44 ---> eab94b49ad79 21:42:44 Step 7/22 : COPY go.mod vendor* ./ 21:42:45 ---> 8744d9ec5f48 21:42:45 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:42:45 ---> Running in 212cd827c7f5 21:42:47 Removing intermediate container 212cd827c7f5 21:42:47 ---> 5419ffcb02c8 21:42:47 Step 9/22 : COPY . . 21:42:48 ---> 6e455fed2eca 21:42:48 Step 10/22 : RUN ${MAKE} 21:42:48 ---> Running in 97d0a565fad4 21:42:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 21:44:56 Removing intermediate container 97d0a565fad4 21:44:56 ---> bbf3efce2740 21:44:56 Step 11/22 : FROM alpine:3.18 21:44:56 3.18: Pulling from library/alpine 21:44:56 579b34f0a95b: Pulling fs layer 21:44:56 579b34f0a95b: Verifying Checksum 21:44:56 579b34f0a95b: Download complete 21:44:56 579b34f0a95b: Pull complete 21:44:56 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:44:56 Status: Downloaded newer image for alpine:3.18 21:44:56 ---> 3cc203321400 21:44:56 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:44:56 ---> Running in 98af68154e25 21:44:56 Removing intermediate container 98af68154e25 21:44:56 ---> 2dcb268c0f02 21:44:56 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:44:56 ---> Running in 1020d9885e40 21:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:44:56 (1/1) Installing dumb-init (1.2.5-r2) 21:44:56 Executing busybox-1.36.1-r2.trigger 21:44:56 OK: 8 MiB in 16 packages 21:44:56 Removing intermediate container 1020d9885e40 21:44:56 ---> a4ff68db235e 21:44:56 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:44:56 ---> af4b01e1c52d 21:44:56 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:44:56 ---> f71db4c1d6f3 21:44:56 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:44:56 ---> a8454e2c9d31 21:44:56 Step 17/22 : EXPOSE 59901 21:44:56 ---> Running in 97c87cd42493 21:44:56 Removing intermediate container 97c87cd42493 21:44:56 ---> c74dd20f3618 21:44:56 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:44:57 ---> Running in 6a6fe63c48b8 21:44:57 Removing intermediate container 6a6fe63c48b8 21:44:57 ---> 0371c6ee649f 21:44:57 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:44:57 ---> Running in e1199d4ad24c 21:44:57 Removing intermediate container e1199d4ad24c 21:44:57 ---> af2debe41959 21:44:57 Step 20/22 : LABEL arch=arm64 21:44:57 ---> Running in aecc89c9e57b 21:44:57 Removing intermediate container aecc89c9e57b 21:44:57 ---> b24052f56e41 21:44:57 Step 21/22 : LABEL git_sha=331a8069c165728cd5844f04474d6e70c5bd938d 21:44:58 ---> Running in 4259b05f8179 21:44:58 Removing intermediate container 4259b05f8179 21:44:58 ---> 138a2aa71701 21:44:58 Step 22/22 : LABEL version=0.0.0 21:44:58 ---> Running in 51ba9ef4df09 21:44:58 Removing intermediate container 51ba9ef4df09 21:44:58 ---> b4feeddf1f4b 21:44:58 [Warning] One or more build-args [ARCH] were not consumed 21:44:58 Successfully built b4feeddf1f4b 21:44:58 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 21:44:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:44:59 21:44:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:44:59 arm64: Pulling from edgex-lftools-log-publisher 21:44:59 8998bd30e6a1: Pulling fs layer 21:44:59 04944245beec: Pulling fs layer 21:44:59 699f458cf7ca: Pulling fs layer 21:44:59 765212b225bb: Pulling fs layer 21:44:59 f23df028b6ca: Pulling fs layer 21:44:59 d65c8cfc05b1: Pulling fs layer 21:44:59 2437ff75d9bd: Pulling fs layer 21:44:59 765212b225bb: Waiting 21:44:59 f23df028b6ca: Waiting 21:44:59 2437ff75d9bd: Waiting 21:44:59 d65c8cfc05b1: Waiting 21:45:00 04944245beec: Verifying Checksum 21:45:00 04944245beec: Download complete 21:45:00 765212b225bb: Verifying Checksum 21:45:00 765212b225bb: Download complete 21:45:00 f23df028b6ca: Verifying Checksum 21:45:00 f23df028b6ca: Download complete 21:45:00 d65c8cfc05b1: Verifying Checksum 21:45:00 d65c8cfc05b1: Download complete 21:45:00 699f458cf7ca: Verifying Checksum 21:45:00 699f458cf7ca: Download complete 21:45:00 8998bd30e6a1: Verifying Checksum 21:45:00 8998bd30e6a1: Download complete 21:45:03 2437ff75d9bd: Verifying Checksum 21:45:03 2437ff75d9bd: Download complete 21:45:07 8998bd30e6a1: Pull complete 21:45:08 04944245beec: Pull complete 21:45:10 699f458cf7ca: Pull complete 21:45:10 765212b225bb: Pull complete 21:45:11 f23df028b6ca: Pull complete 21:45:11 d65c8cfc05b1: Pull complete 21:45:29 2437ff75d9bd: Pull complete 21:45:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:45:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:45:29 prd-ubuntu20.04-docker-arm64-4c-16g-10291 does not seem to be running inside a container 21:45:29 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:45:32 $ docker top 54d77f7a90b11e64e6711665ae1a3bb6aa3b07e1eea1babf6e79a7ca65471a16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:45:33 ---> job-cost.sh 21:45:33 lf-activate-venv: SKIPPING 21:45:33 INFO: No Stack... 21:45:33 INFO: Retrieving Pricing Info for: v3-standard-4 21:45:34 INFO: Archiving Costs [Pipeline] sh 21:45:35 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 21:45:35 + cut -d, -f6 [Pipeline] lock 21:45:35 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] 21:45:35 Resource [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] did not exist. Created. 21:45:35 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:45:36 /w/workspace/device-modbus-go/1@tmp/durable-d4554156/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:45:37 + echo total: 0.10999999940395355 [Pipeline] stash 21:45:37 Warning: overwriting stash ‘stack-cost’ 21:45:37 Stashed 1 file(s) [Pipeline] } 21:45:37 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-515-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:45:37 $ docker stop --time=1 54d77f7a90b11e64e6711665ae1a3bb6aa3b07e1eea1babf6e79a7ca65471a16 21:45:38 $ docker rm -f --volumes 54d77f7a90b11e64e6711665ae1a3bb6aa3b07e1eea1babf6e79a7ca65471a16 [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 21:45:39 provisioning config files... 21:45:39 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-515@tmp/config10245857244963634341tmp [Pipeline] { [Pipeline] sh 21:45:40 + set +x 21:45:40 + curl -s https://codecov.io/bash 21:45:40 + bash -s -- 21:45:40 21:45:40 _____ _ 21:45:40 / ____| | | 21:45:40 | | ___ __| | ___ ___ _____ __ 21:45:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:45:40 | |___| (_) | (_| | __/ (_| (_) \ V / 21:45:40 \_____\___/ \__,_|\___|\___\___/ \_/ 21:45:40 Bash-1.0.6 21:45:40 21:45:40 21:45:40 ==> git version 2.25.1 found 21:45:40 ==> 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 21:45:40 Release-Date: 2020-01-08 21:45:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:45:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:45:40 ==> Jenkins CI detected. 21:45:40 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-515 21:45:40 project root: . 21:45:40 --> token set from env 21:45:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:45:40 ==> Running gcov in . (disable via -X gcov) 21:45:40 ==> Python coveragepy not found 21:45:40 ==> Searching for coverage reports in: 21:45:40 + . 21:45:40 -> Found 1 reports 21:45:40 ==> Detecting git/mercurial file structure 21:45:40 ==> Reading reports 21:45:40 + ./coverage.out bytes=24334 21:45:40 ==> Appending adjustments 21:45:40 https://docs.codecov.io/docs/fixing-reports 21:45:40 + Found adjustments 21:45:40 ==> Gzipping contents 21:45:40 4.0K /tmp/codecov.gM8IPP.gz 21:45:40 ==> Uploading reports 21:45:40 url: https://codecov.io 21:45:40 query: branch=PR-515&commit=331a8069c165728cd5844f04474d6e70c5bd938d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=515&job=&cmd_args= 21:45:40 -> Pinging Codecov 21:45:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-515&commit=331a8069c165728cd5844f04474d6e70c5bd938d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-515%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=515&job=&cmd_args= 21:45:40 -> Uploading to 21:45:40 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/55DBCA73C666E3227836607328DD7E49/331a8069c165728cd5844f04474d6e70c5bd938d/3604bba1-5334-4dd7-b3ba-c145109eab88.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T214540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b5068d4233e55bd9974377b3e0e655c5e9279adcb71f3811c38be1367d2b645f 21:45:40 % Total % Received % Xferd Average Speed Time Time Time Current 21:45:40 Dload Upload Total Spent Left Speed 21:45:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 11395 --:--:-- --:--:-- --:--:-- 11395 21:45:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/331a8069c165728cd5844f04474d6e70c5bd938d [Pipeline] } 21:45:40 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 21:45:42 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-515/archives ] 21:45:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-515/archives 21:45:42 total 16 21:45:42 drwxr-xr-x 3 root root 4096 Oct 24 21:36 . 21:45:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 21:36 .. 21:45:42 drwxr-xr-x 2 root root 4096 Oct 24 21:36 cost 21:45:42 -rw-r--r-- 1 root root 88 Oct 24 21:36 cost.csv 21:45:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-515/archives 21:45:42 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-515/archives 21:45:42 total 16 21:45:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:36 . 21:45:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 21:36 .. 21:45:42 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 21:36 cost 21:45:42 -rw-r--r-- 1 jenkins jenkins 88 Oct 24 21:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:45:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:45:43 ---> package-listing.sh 21:45:43 ++ facter osfamily 21:45:43 ++ tr '[:upper:]' '[:lower:]' 21:45:44 + OS_FAMILY=debian 21:45:44 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-515 21:45:44 + START_PACKAGES=/tmp/packages_start.txt 21:45:44 + END_PACKAGES=/tmp/packages_end.txt 21:45:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:45:44 + PACKAGES=/tmp/packages_start.txt 21:45:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-515 ']' 21:45:44 + PACKAGES=/tmp/packages_end.txt 21:45:44 + case "${OS_FAMILY}" in 21:45:44 + dpkg -l 21:45:44 + grep '^ii' 21:45:44 + '[' -f /tmp/packages_start.txt ']' 21:45:44 + '[' -f /tmp/packages_end.txt ']' 21:45:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:45:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-515 ']' 21:45:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-515/archives/ 21:45:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-515/archives/ [Pipeline] echo 21:45:44 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-515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:45:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:45:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:45:44 prd-ubuntu20.04-docker-8c-8g-10289 does not seem to be running inside a container 21:45:45 $ 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-515/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-515 -v /w/workspace/xfoundry_device-modbus-go_PR-515:/w/workspace/xfoundry_device-modbus-go_PR-515:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-515@tmp:/w/workspace/xfoundry_device-modbus-go_PR-515@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 21:45:45 $ docker top fb3fb1c79adbb951c7958c31c21e236102b65b3182ac07cf301d4d6b7d8d1402 -eo pid,comm [Pipeline] { [Pipeline] sh 21:45:45 + touch /tmp/pre-build-complete [Pipeline] sh 21:45:45 + mkdir -p /var/log/sysstat [Pipeline] sh 21:45:46 + ls /var/log/sa-host 21:45:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:45:46 provisioning config files... 21:45:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-515@tmp/config13184939002364098777tmp [Pipeline] { [Pipeline] echo 21:45:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:45:46 ---> create-netrc.sh [Pipeline] } 21:45:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:45:47 ---> python-tools-install.sh [Pipeline] echo 21:45:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:45:47 ---> sudo-logs.sh 21:45:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:45:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:45:47 ---> job-cost.sh 21:45:47 lf-activate-venv: SKIPPING 21:45:47 DEBUG: total: 0.2199999988079071 21:45:47 INFO: Retrieving Stack Cost... 21:45:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:45:48 INFO: Archiving Costs [Pipeline] echo 21:45:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:45:49 ---> logs-deploy.sh 21:45:49 lf-activate-venv: SKIPPING 21:45:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-515/1 21:45:49 INFO: archiving workspace using pattern(s): 21:45:49 Archives upload complete. 21:45:50 INFO: archiving logs to Nexus 21:45:50 ---> uname -a: 21:45:50 Linux prd-ubuntu20-04-docker-8c-8g-10289 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:45:50 21:45:50 21:45:50 ---> lscpu: 21:45:50 Architecture: x86_64 21:45:50 CPU op-mode(s): 32-bit, 64-bit 21:45:50 Byte Order: Little Endian 21:45:50 Address sizes: 40 bits physical, 48 bits virtual 21:45:50 CPU(s): 8 21:45:50 On-line CPU(s) list: 0-7 21:45:50 Thread(s) per core: 1 21:45:50 Core(s) per socket: 1 21:45:50 Socket(s): 8 21:45:50 NUMA node(s): 1 21:45:50 Vendor ID: AuthenticAMD 21:45:50 CPU family: 23 21:45:50 Model: 49 21:45:50 Model name: AMD EPYC-Rome Processor 21:45:50 Stepping: 0 21:45:50 CPU MHz: 2800.000 21:45:50 BogoMIPS: 5600.00 21:45:50 Virtualization: AMD-V 21:45:50 Hypervisor vendor: KVM 21:45:50 Virtualization type: full 21:45:50 L1d cache: 256 KiB 21:45:50 L1i cache: 256 KiB 21:45:50 L2 cache: 4 MiB 21:45:50 L3 cache: 128 MiB 21:45:50 NUMA node0 CPU(s): 0-7 21:45:50 Vulnerability Itlb multihit: Not affected 21:45:50 Vulnerability L1tf: Not affected 21:45:50 Vulnerability Mds: Not affected 21:45:50 Vulnerability Meltdown: Not affected 21:45:50 Vulnerability Mmio stale data: Not affected 21:45:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:45:50 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:45:50 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:45:50 Vulnerability Srbds: Not affected 21:45:50 Vulnerability Tsx async abort: Not affected 21:45:50 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 21:45:50 21:45:50 21:45:50 ---> nproc: 21:45:50 8 21:45:50 21:45:50 21:45:50 ---> df -h: 21:45:50 Filesystem Size Used Avail Use% Mounted on 21:45:50 overlay 155G 12G 144G 8% / 21:45:50 tmpfs 64M 0 64M 0% /dev 21:45:50 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:45:50 shm 64M 0 64M 0% /dev/shm 21:45:50 /dev/vda1 155G 12G 144G 8% /facter-os 21:45:50 21:45:50 21:45:50 ---> sar -b -r -n DEV: 21:45:50 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10289) 10/24/23 _x86_64_ (8 CPU) 21:45:50 21:45:50 21:33:06 LINUX RESTART (8 CPU) 21:45:50 21:45:50 21:34:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:45:50 21:35:01 174.74 3.87 170.87 0.00 422.20 105446.43 0.00 21:45:50 21:36:01 184.64 0.22 184.42 0.00 12.00 53113.15 0.00 21:45:50 21:37:01 94.90 0.07 94.84 0.00 11.86 19275.86 0.00 21:45:50 21:38:01 1.80 0.00 1.80 0.00 0.00 20.26 0.00 21:45:50 21:39:01 39.88 12.71 27.16 0.00 5451.49 6391.20 0.00 21:45:50 21:40:02 3.85 0.00 3.85 0.00 0.00 46.39 0.00 21:45:50 21:41:01 0.90 0.00 0.90 0.00 0.00 10.03 0.00 21:45:50 21:42:01 1.70 0.00 1.70 0.00 0.00 19.06 0.00 21:45:50 21:43:01 0.98 0.00 0.98 0.00 0.00 10.80 0.00 21:45:50 21:44:01 2.65 0.00 2.65 0.00 0.00 43.46 0.00 21:45:50 21:45:01 1.35 0.00 1.35 0.00 0.00 14.53 0.00 21:45:50 Average: 46.19 1.54 44.66 0.00 536.94 16788.03 0.00 21:45:50 21:45:50 21:34:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:45:50 21:35:01 27855296 31495972 810056 2.46 137464 3661544 2021560 5.96 1263412 3260596 553472 21:45:50 21:36:01 28140564 31509608 792428 2.41 153976 3394408 1974184 5.82 1263328 2988960 312 21:45:50 21:37:01 27633176 31535084 764476 2.32 163768 3866456 1742388 5.14 1285524 3420636 8 21:45:50 21:38:01 27633316 31535504 763716 2.32 163820 3866588 1761736 5.19 1286308 3420768 40 21:45:50 21:39:01 27263468 31522184 768028 2.34 172344 4199860 1829304 5.39 1515816 3533412 972 21:45:50 21:40:02 27263600 31522340 767800 2.33 172376 4199860 1829304 5.39 1515744 3533412 172 21:45:50 21:41:01 27272008 31530812 759212 2.31 172384 4199864 1829304 5.39 1507424 3533424 176 21:45:50 21:42:01 27272064 31530892 759012 2.31 172428 4199868 1829304 5.39 1507476 3533424 172 21:45:50 21:43:01 27272332 31531608 758684 2.31 172440 4199872 1829304 5.39 1507012 3533820 180 21:45:50 21:44:01 27272192 31531572 758752 2.31 172568 4199852 1829304 5.39 1506948 3533808 220 21:45:50 21:45:01 27272224 31531668 758656 2.31 172636 4199852 1829304 5.39 1506720 3533812 4 21:45:50 Average: 27468204 31525204 769165 2.34 166019 4017093 1845909 5.44 1424156 3438734 50521 21:45:50 21:45:50 21:34:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:45:50 21:35:01 docker0 249.53 312.68 19.91 2445.71 0.00 0.00 0.00 0.00 21:45:50 21:35:01 ens3 446.04 331.88 5556.93 42.28 0.00 0.00 0.00 0.00 21:45:50 21:35:01 lo 2.73 2.73 0.27 0.27 0.00 0.00 0.00 0.00 21:45:50 21:36:01 docker0 1.37 2.55 0.08 30.87 0.00 0.00 0.00 0.00 21:45:50 21:36:01 ens3 49.13 28.90 127.13 16.52 0.00 0.00 0.00 0.00 21:45:50 21:36:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 21:45:50 21:37:01 docker0 1.52 3.28 0.09 31.39 0.00 0.00 0.00 0.00 21:45:50 21:37:01 ens3 100.10 58.18 2554.34 11.49 0.00 0.00 0.00 0.00 21:45:50 21:37:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 21:45:50 21:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:38:01 ens3 3.53 1.47 3.45 0.35 0.00 0.00 0.00 0.00 21:45:50 21:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:45:50 21:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:39:01 ens3 312.48 210.36 2184.13 17.11 0.00 0.00 0.00 0.00 21:45:50 21:39:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 21:45:50 21:40:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:40:02 ens3 0.30 0.20 0.02 0.01 0.00 0.00 0.00 0.00 21:45:50 21:40:02 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:45:50 21:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:41:01 ens3 0.47 0.32 0.26 0.21 0.00 0.00 0.00 0.00 21:45:50 21:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:42:01 ens3 1.15 0.52 0.40 0.28 0.00 0.00 0.00 0.00 21:45:50 21:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:45:50 21:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:43:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:44:01 ens3 0.30 0.23 0.09 0.07 0.00 0.00 0.00 0.00 21:45:50 21:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:45:50 21:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 21:45:01 ens3 0.15 0.00 0.01 0.00 0.00 0.00 0.00 0.00 21:45:50 21:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:45:50 Average: docker0 22.98 29.00 1.83 228.34 0.00 0.00 0.00 0.00 21:45:50 Average: ens3 83.19 57.55 949.34 8.04 0.00 0.00 0.00 0.00 21:45:50 Average: lo 0.56 0.56 0.05 0.05 0.00 0.00 0.00 0.00 21:45:50 21:45:50 21:45:50 ---> sar -P ALL: 21:45:50 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-10289) 10/24/23 _x86_64_ (8 CPU) 21:45:50 21:45:50 21:33:06 LINUX RESTART (8 CPU) 21:45:50 21:45:50 21:34:01 CPU %user %nice %system %iowait %steal %idle 21:45:50 21:35:01 all 6.75 0.00 3.25 2.96 0.07 86.98 21:45:50 21:35:01 0 6.19 0.00 2.42 1.48 0.07 89.85 21:45:50 21:35:01 1 6.63 0.00 3.25 0.81 0.07 89.24 21:45:50 21:35:01 2 7.01 0.00 4.14 12.75 0.05 76.05 21:45:50 21:35:01 3 6.42 0.00 3.51 1.82 0.08 88.16 21:45:50 21:35:01 4 7.14 0.00 3.38 3.31 0.07 86.11 21:45:50 21:35:01 5 6.23 0.00 2.74 0.42 0.07 90.54 21:45:50 21:35:01 6 6.99 0.00 2.89 2.09 0.05 87.98 21:45:50 21:35:01 7 7.40 0.00 3.64 0.99 0.08 87.89 21:45:50 21:36:01 all 37.30 0.00 4.86 2.46 0.08 55.30 21:45:50 21:36:01 0 37.41 0.00 4.91 2.02 0.07 55.59 21:45:50 21:36:01 1 36.83 0.00 4.97 1.51 0.10 56.59 21:45:50 21:36:01 2 38.13 0.00 5.73 10.35 0.08 45.70 21:45:50 21:36:01 3 37.74 0.00 4.56 0.41 0.07 57.23 21:45:50 21:36:01 4 36.12 0.00 4.95 2.75 0.08 56.10 21:45:50 21:36:01 5 37.86 0.00 5.18 0.47 0.08 56.40 21:45:50 21:36:01 6 37.02 0.00 4.28 1.99 0.08 56.63 21:45:50 21:36:01 7 37.26 0.00 4.33 0.18 0.07 58.15 21:45:50 21:37:01 all 2.74 0.00 1.22 0.68 0.03 95.34 21:45:50 21:37:01 0 2.93 0.00 1.61 0.33 0.03 95.10 21:45:50 21:37:01 1 3.04 0.00 1.09 0.12 0.03 95.72 21:45:50 21:37:01 2 3.26 0.00 0.90 0.52 0.02 95.30 21:45:50 21:37:01 3 2.38 0.00 1.56 3.34 0.03 92.69 21:45:50 21:37:01 4 2.22 0.00 0.90 0.03 0.03 96.80 21:45:50 21:37:01 5 2.98 0.00 1.52 0.07 0.02 95.42 21:45:50 21:37:01 6 2.02 0.00 1.36 0.96 0.03 95.63 21:45:50 21:37:01 7 3.08 0.00 0.82 0.05 0.02 96.03 21:45:50 21:38:01 all 0.05 0.00 0.02 0.00 0.01 99.91 21:45:50 21:38:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:45:50 21:38:01 1 0.03 0.00 0.03 0.00 0.02 99.92 21:45:50 21:38:01 2 0.00 0.00 0.02 0.02 0.02 99.95 21:45:50 21:38:01 3 0.03 0.00 0.00 0.00 0.00 99.97 21:45:50 21:38:01 4 0.03 0.00 0.02 0.00 0.00 99.95 21:45:50 21:38:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:45:50 21:38:01 6 0.28 0.00 0.03 0.00 0.02 99.67 21:45:50 21:38:01 7 0.03 0.00 0.05 0.02 0.00 99.90 21:45:50 21:39:01 all 1.45 0.00 0.63 0.47 0.03 97.41 21:45:50 21:39:01 0 0.88 0.00 0.60 0.30 0.02 98.20 21:45:50 21:39:01 1 3.45 0.00 0.67 0.05 0.03 95.80 21:45:50 21:39:01 2 0.83 0.00 0.62 0.33 0.02 98.20 21:45:50 21:39:01 3 0.83 0.00 0.63 0.53 0.05 97.95 21:45:50 21:39:01 4 2.17 0.00 0.78 0.02 0.02 97.01 21:45:50 21:39:01 5 1.12 0.00 0.80 1.10 0.02 96.96 21:45:50 21:39:01 6 1.05 0.00 0.50 0.54 0.05 97.86 21:45:50 21:39:01 7 1.29 0.00 0.43 0.92 0.03 97.33 21:45:50 21:40:02 all 0.20 0.00 0.01 0.01 0.01 99.77 21:45:50 21:40:02 0 0.02 0.00 0.02 0.00 0.00 99.97 21:45:50 21:40:02 1 0.05 0.00 0.00 0.03 0.02 99.90 21:45:50 21:40:02 2 0.00 0.00 0.00 0.00 0.00 100.00 21:45:50 21:40:02 3 0.00 0.00 0.00 0.00 0.00 100.00 21:45:50 21:40:02 4 0.00 0.00 0.00 0.03 0.00 99.97 21:45:50 21:40:02 5 0.00 0.00 0.00 0.00 0.02 99.98 21:45:50 21:40:02 6 0.02 0.00 0.03 0.00 0.03 99.92 21:45:50 21:40:02 7 1.51 0.00 0.02 0.00 0.02 98.45 21:45:50 21:41:01 all 0.03 0.00 0.01 0.00 0.01 99.96 21:45:50 21:41:01 0 0.05 0.00 0.00 0.00 0.00 99.95 21:45:50 21:41:01 1 0.05 0.00 0.02 0.00 0.00 99.93 21:45:50 21:41:01 2 0.00 0.00 0.00 0.00 0.00 100.00 21:45:50 21:41:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:41:01 4 0.02 0.00 0.02 0.00 0.02 99.95 21:45:50 21:41:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:41:01 6 0.03 0.00 0.02 0.00 0.03 99.92 21:45:50 21:41:01 7 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:42:01 all 0.02 0.00 0.01 0.00 0.01 99.96 21:45:50 21:42:01 0 0.02 0.00 0.02 0.00 0.00 99.97 21:45:50 21:42:01 1 0.00 0.00 0.00 0.00 0.02 99.98 21:45:50 21:42:01 2 0.00 0.00 0.02 0.02 0.00 99.97 21:45:50 21:42:01 3 0.02 0.00 0.00 0.00 0.02 99.97 21:45:50 21:42:01 4 0.00 0.00 0.02 0.02 0.00 99.97 21:45:50 21:42:01 5 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:42:01 6 0.07 0.00 0.02 0.00 0.02 99.90 21:45:50 21:42:01 7 0.02 0.00 0.03 0.00 0.02 99.93 21:45:50 21:43:01 all 0.02 0.00 0.00 0.00 0.01 99.96 21:45:50 21:43:01 0 0.02 0.00 0.00 0.00 0.02 99.97 21:45:50 21:43:01 1 0.00 0.00 0.00 0.02 0.00 99.98 21:45:50 21:43:01 2 0.00 0.00 0.00 0.00 0.02 99.98 21:45:50 21:43:01 3 0.00 0.00 0.00 0.00 0.00 100.00 21:45:50 21:43:01 4 0.03 0.00 0.00 0.02 0.00 99.95 21:45:50 21:43:01 5 0.00 0.00 0.00 0.00 0.00 100.00 21:45:50 21:43:01 6 0.10 0.00 0.02 0.00 0.03 99.85 21:45:50 21:43:01 7 0.03 0.00 0.00 0.00 0.02 99.95 21:45:50 21:44:01 all 0.05 0.00 0.01 0.01 0.01 99.93 21:45:50 21:44:01 0 0.00 0.00 0.00 0.02 0.00 99.98 21:45:50 21:44:01 1 0.07 0.00 0.00 0.00 0.02 99.92 21:45:50 21:44:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:44:01 3 0.00 0.00 0.00 0.00 0.02 99.98 21:45:50 21:44:01 4 0.02 0.00 0.02 0.03 0.00 99.93 21:45:50 21:44:01 5 0.00 0.00 0.02 0.00 0.00 99.98 21:45:50 21:44:01 6 0.28 0.00 0.03 0.00 0.02 99.67 21:45:50 21:44:01 7 0.03 0.00 0.00 0.00 0.00 99.97 21:45:50 21:45:01 all 0.02 0.00 0.01 0.01 0.01 99.96 21:45:50 21:45:01 0 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:45:01 1 0.02 0.00 0.03 0.02 0.05 99.88 21:45:50 21:45:01 2 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:45:01 3 0.02 0.00 0.00 0.00 0.00 99.98 21:45:50 21:45:01 4 0.02 0.00 0.00 0.03 0.02 99.93 21:45:50 21:45:01 5 0.03 0.00 0.00 0.00 0.02 99.95 21:45:50 21:45:01 6 0.02 0.00 0.02 0.00 0.02 99.95 21:45:50 21:45:01 7 0.00 0.00 0.00 0.00 0.02 99.98 21:45:50 21:45:50 Average: CPU %user %nice %system %iowait %steal %idle 21:45:50 Average: all 4.40 0.00 0.91 0.60 0.02 94.07 21:45:50 Average: 0 4.30 0.00 0.87 0.38 0.02 94.44 21:45:50 Average: 1 4.54 0.00 0.91 0.23 0.03 94.29 21:45:50 Average: 2 4.45 0.00 1.03 2.17 0.02 92.33 21:45:50 Average: 3 4.28 0.00 0.93 0.55 0.02 94.22 21:45:50 Average: 4 4.32 0.00 0.91 0.56 0.02 94.18 21:45:50 Average: 5 4.36 0.00 0.93 0.19 0.02 94.50 21:45:50 Average: 6 4.33 0.00 0.83 0.51 0.03 94.30 21:45:50 Average: 7 4.59 0.00 0.84 0.20 0.02 94.34 21:45:50 21:45:50 21:45:50