Pull request #437 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0+82ff0da3d76fda56b8be828932abbd4e3fc098e3 (0099190a8d1a995ccc49e1f99a6580eab20414dd) 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-ssh1415588665728474893.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3278673622930573458.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-437/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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10728063650194954043.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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9471190846794790260.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh756404860482436013.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-437/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-437/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10977555704238166720.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4816 in /w/workspace/xfoundry_device-modbus-go_PR-437 [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-437 # 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/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 Merge succeeded, producing 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 Checking out Revision 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 (PR-437) > git config core.sparsecheckout # timeout=10 > git checkout -f 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 # 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 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T10:23:25.370Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T10:23:25.546Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T10:23:25.644Z] ========================================================= [2023-03-21T10:23:25.644Z] EdgeX Global Pipelines Version Info [2023-03-21T10:23:25.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:23:26.378Z] ------------------- [2023-03-21T10:23:26.379Z] stable info: [2023-03-21T10:23:26.379Z] ------------------- [2023-03-21T10:23:26.379Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T10:23:26.379Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T10:23:26.379Z] Message: update stable to v1.0.245 [2023-03-21T10:23:26.951Z] ------------------- [2023-03-21T10:23:26.951Z] experimental info: [2023-03-21T10:23:26.951Z] ------------------- [2023-03-21T10:23:26.951Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T10:23:26.951Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T10:23:26.951Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T10:23:27.261Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-03-21T10:23:27.302Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-03-21T10:23:27.338Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T10:23:27.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T10:23:27.420Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T10:23:27.456Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T10:23:27.493Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T10:23:27.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T10:23:27.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T10:23:27.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T10:23:27.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T10:23:27.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-03-21T10:23:27.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T10:23:27.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T10:23:27.791Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T10:23:27.827Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T10:23:27.865Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T10:23:27.903Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T10:23:27.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T10:23:27.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T10:23:28.014Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T10:23:28.053Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T10:23:28.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T10:23:28.141Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T10:23:28.180Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T10:23:28.225Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T10:23:28.285Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T10:23:28.335Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-437 [Pipeline] echo [2023-03-21T10:23:28.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-437 [Pipeline] echo [2023-03-21T10:23:28.419Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-437 [Pipeline] echo [2023-03-21T10:23:28.458Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [Pipeline] echo [2023-03-21T10:23:28.499Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e97db3 [Pipeline] echo [2023-03-21T10:23:28.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T10:23:28.654Z] provisioning config files... [2023-03-21T10:23:28.669Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config4174306129988881077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:23:29.012Z] ---> docker-login.sh [2023-03-21T10:23:29.012Z] nexus3.edgexfoundry.org:10001 [2023-03-21T10:23:29.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:29.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:29.272Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:29.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:29.272Z] [2023-03-21T10:23:29.272Z] Login Succeeded [2023-03-21T10:23:29.272Z] nexus3.edgexfoundry.org:10002 [2023-03-21T10:23:29.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:29.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:29.272Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:29.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:29.272Z] [2023-03-21T10:23:29.272Z] Login Succeeded [2023-03-21T10:23:29.272Z] nexus3.edgexfoundry.org:10003 [2023-03-21T10:23:29.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:29.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:29.532Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:29.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:29.532Z] [2023-03-21T10:23:29.532Z] Login Succeeded [2023-03-21T10:23:29.532Z] nexus3.edgexfoundry.org:10004 [2023-03-21T10:23:29.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:29.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:29.532Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:29.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:29.532Z] [2023-03-21T10:23:29.532Z] Login Succeeded [2023-03-21T10:23:29.532Z] docker.io [2023-03-21T10:23:29.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:29.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:29.793Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:29.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:29.793Z] [2023-03-21T10:23:29.793Z] Login Succeeded [2023-03-21T10:23:29.793Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T10:23:29.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T10:23:30.447Z] + git rev-list -1 --merges 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0~1..4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [Pipeline] echo [2023-03-21T10:23:30.515Z] -----------> git rev-list -1 --merges 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0~1..4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [false] [Pipeline] sh [2023-03-21T10:23:30.827Z] + git log --format=format:%s -1 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [Pipeline] echo [2023-03-21T10:23:30.867Z] ========================================================= [2023-03-21T10:23:30.867Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T10:23:30.867Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T10:23:31.296Z] + git log --format=format:%s -1 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [Pipeline] echo [2023-03-21T10:23:31.328Z] [semverPrep] GIT_COMMIT: 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo [2023-03-21T10:23:31.358Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T10:23:31.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T10:23:31.749Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T10:23:31.749Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T10:23:31.749Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T10:23:31.749Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T10:23:31.749Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T10:23:31.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:23:32.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T10:23:32.174Z] [2023-03-21T10:23:32.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:23:32.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T10:23:32.553Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T10:23:32.553Z] b85a868b505f: Pulling fs layer [2023-03-21T10:23:32.553Z] e2be974225ed: Pulling fs layer [2023-03-21T10:23:32.553Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T10:23:32.553Z] 988bab9f4d93: Pulling fs layer [2023-03-21T10:23:32.553Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T10:23:32.553Z] eaf3925da568: Pulling fs layer [2023-03-21T10:23:32.553Z] bab4dde63d76: Pulling fs layer [2023-03-21T10:23:32.553Z] bde34c3a00c8: Pulling fs layer [2023-03-21T10:23:32.553Z] b352a97aabf1: Pulling fs layer [2023-03-21T10:23:32.553Z] 4872d77fe225: Pulling fs layer [2023-03-21T10:23:32.553Z] 5851b861e8e6: Pulling fs layer [2023-03-21T10:23:32.553Z] 988bab9f4d93: Waiting [2023-03-21T10:23:32.553Z] 1469e6f7b9e6: Waiting [2023-03-21T10:23:32.553Z] eaf3925da568: Waiting [2023-03-21T10:23:32.553Z] bab4dde63d76: Waiting [2023-03-21T10:23:32.553Z] bde34c3a00c8: Waiting [2023-03-21T10:23:32.553Z] b352a97aabf1: Waiting [2023-03-21T10:23:32.553Z] 4872d77fe225: Waiting [2023-03-21T10:23:32.553Z] 5851b861e8e6: Waiting [2023-03-21T10:23:32.553Z] e2be974225ed: Verifying Checksum [2023-03-21T10:23:32.553Z] e2be974225ed: Download complete [2023-03-21T10:23:32.553Z] 988bab9f4d93: Verifying Checksum [2023-03-21T10:23:32.553Z] 988bab9f4d93: Download complete [2023-03-21T10:23:32.820Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T10:23:32.820Z] 1469e6f7b9e6: Download complete [2023-03-21T10:23:32.820Z] eaf3925da568: Download complete [2023-03-21T10:23:32.820Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T10:23:32.820Z] 339a4e72a1f5: Download complete [2023-03-21T10:23:32.820Z] bde34c3a00c8: Verifying Checksum [2023-03-21T10:23:32.820Z] bde34c3a00c8: Download complete [2023-03-21T10:23:32.820Z] b352a97aabf1: Verifying Checksum [2023-03-21T10:23:32.820Z] b352a97aabf1: Download complete [2023-03-21T10:23:32.820Z] 4872d77fe225: Verifying Checksum [2023-03-21T10:23:32.820Z] 4872d77fe225: Download complete [2023-03-21T10:23:32.820Z] 5851b861e8e6: Download complete [2023-03-21T10:23:33.098Z] b85a868b505f: Verifying Checksum [2023-03-21T10:23:33.098Z] b85a868b505f: Download complete [2023-03-21T10:23:33.098Z] bab4dde63d76: Verifying Checksum [2023-03-21T10:23:33.098Z] bab4dde63d76: Download complete [2023-03-21T10:23:34.484Z] b85a868b505f: Pull complete [2023-03-21T10:23:34.484Z] e2be974225ed: Pull complete [2023-03-21T10:23:34.744Z] 339a4e72a1f5: Pull complete [2023-03-21T10:23:34.744Z] 988bab9f4d93: Pull complete [2023-03-21T10:23:35.314Z] 1469e6f7b9e6: Pull complete [2023-03-21T10:23:35.314Z] eaf3925da568: Pull complete [2023-03-21T10:23:37.220Z] bab4dde63d76: Pull complete [2023-03-21T10:23:37.220Z] bde34c3a00c8: Pull complete [2023-03-21T10:23:37.220Z] b352a97aabf1: Pull complete [2023-03-21T10:23:37.220Z] 4872d77fe225: Pull complete [2023-03-21T10:23:37.220Z] 5851b861e8e6: Pull complete [2023-03-21T10:23:37.220Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T10:23:37.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T10:23:37.220Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:23:37.494Z] prd-ubuntu20.04-docker-8c-8g-4816 does not seem to be running inside a container [2023-03-21T10:23:37.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T10:23:38.848Z] $ docker top 6bc55ca10cabc2297ff1cd081cea4eb748d7a934e263541cdf7bdd32e65fa733 -eo pid,comm [2023-03-21T10:23:38.913Z] 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). [2023-03-21T10:23:38.913Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T10:23:39.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T10:23:39.024Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T10:23:39.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T10:23:39.140Z] $ docker exec 6bc55ca10cabc2297ff1cd081cea4eb748d7a934e263541cdf7bdd32e65fa733 ssh-agent [2023-03-21T10:23:39.249Z] SSH_AUTH_SOCK=/tmp/ssh-qEPZKFT2S4q1/agent.33 [2023-03-21T10:23:39.249Z] SSH_AGENT_PID=39 [2023-03-21T10:23:39.255Z] Running ssh-add (command line suppressed) [2023-03-21T10:23:39.350Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_9835897767356502829.key (/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_9835897767356502829.key) [2023-03-21T10:23:39.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T10:23:39.698Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T10:23:39.716Z] $ docker exec --env ******** --env ******** 6bc55ca10cabc2297ff1cd081cea4eb748d7a934e263541cdf7bdd32e65fa733 ssh-agent -k [2023-03-21T10:23:39.830Z] unset SSH_AUTH_SOCK; [2023-03-21T10:23:39.830Z] unset SSH_AGENT_PID; [2023-03-21T10:23:39.830Z] echo Agent pid 39 killed; [2023-03-21T10:23:39.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T10:23:39.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T10:23:39.925Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T10:23:40.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T10:23:40.032Z] $ docker exec 6bc55ca10cabc2297ff1cd081cea4eb748d7a934e263541cdf7bdd32e65fa733 ssh-agent [2023-03-21T10:23:40.146Z] SSH_AUTH_SOCK=/tmp/ssh-4bX8460PLHrm/agent.71 [2023-03-21T10:23:40.146Z] SSH_AGENT_PID=77 [2023-03-21T10:23:40.151Z] Running ssh-add (command line suppressed) [2023-03-21T10:23:40.257Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_14933090980491446501.key (/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/private_key_14933090980491446501.key) [2023-03-21T10:23:40.276Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T10:23:40.602Z] + git semver init [2023-03-21T10:23:40.862Z] 2023-03-21 10:23:40,793 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T10:23:40.862Z] 2023-03-21 10:23:40,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-437/.semver [2023-03-21T10:23:40.862Z] 2023-03-21 10:23:40,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-437/.semver [2023-03-21T10:23:40.862Z] 2023-03-21 10:23:40,794 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-437/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-437, universal_newlines=False, shell=None, istream=None) [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,547 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-437/.git/info/exclude [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,547 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-437/.semver/PR-437 with force:False [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,547 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-437/.semver/PR-437 [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,552 [execute] INFO git cat-file --batch-check [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-437/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,558 [execute] INFO git cat-file --batch [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-437/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T10:23:41.802Z] 2023-03-21 10:23:41,565 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-437/.semver/PR-437 [2023-03-21T10:23:41.802Z] 0.0.0 [Pipeline] } [2023-03-21T10:23:41.825Z] $ docker exec --env ******** --env ******** 6bc55ca10cabc2297ff1cd081cea4eb748d7a934e263541cdf7bdd32e65fa733 ssh-agent -k [2023-03-21T10:23:41.918Z] unset SSH_AUTH_SOCK; [2023-03-21T10:23:41.918Z] unset SSH_AGENT_PID; [2023-03-21T10:23:41.919Z] echo Agent pid 77 killed; [2023-03-21T10:23:41.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T10:23:42.353Z] + git semver [Pipeline] } [2023-03-21T10:23:42.631Z] $ docker stop --time=1 6bc55ca10cabc2297ff1cd081cea4eb748d7a934e263541cdf7bdd32e65fa733 [2023-03-21T10:23:43.916Z] $ docker rm -f --volumes 6bc55ca10cabc2297ff1cd081cea4eb748d7a934e263541cdf7bdd32e65fa733 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T10:23:44.321Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T10:23:44.579Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T10:23:44.595Z] [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 [2023-03-21T10:23:45.176Z] provisioning config files... [2023-03-21T10:23:45.187Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config344177610136440312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:23:45.530Z] ---> docker-login.sh [2023-03-21T10:23:45.531Z] nexus3.edgexfoundry.org:10001 [2023-03-21T10:23:45.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:45.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:45.531Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:45.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:45.531Z] [2023-03-21T10:23:45.531Z] Login Succeeded [2023-03-21T10:23:45.531Z] nexus3.edgexfoundry.org:10002 [2023-03-21T10:23:45.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:45.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:45.531Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:45.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:45.531Z] [2023-03-21T10:23:45.531Z] Login Succeeded [2023-03-21T10:23:45.531Z] nexus3.edgexfoundry.org:10003 [2023-03-21T10:23:45.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:45.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:45.792Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:45.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:45.792Z] [2023-03-21T10:23:45.792Z] Login Succeeded [2023-03-21T10:23:45.792Z] nexus3.edgexfoundry.org:10004 [2023-03-21T10:23:45.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:45.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:45.792Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:45.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:45.792Z] [2023-03-21T10:23:45.792Z] Login Succeeded [2023-03-21T10:23:45.792Z] docker.io [2023-03-21T10:23:46.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:23:46.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:23:46.051Z] Configure a credential helper to remove this warning. See [2023-03-21T10:23:46.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:23:46.051Z] [2023-03-21T10:23:46.051Z] Login Succeeded [2023-03-21T10:23:46.051Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T10:23:46.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T10:23:46.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:23:46.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:23:46.329Z] ========================================================= [2023-03-21T10:23:46.329Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T10:23:46.329Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:23:46.795Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T10:23:46.795Z] Sending build context to Docker daemon 6.396MB [2023-03-21T10:23:46.795Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:23:46.795Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T10:23:46.795Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T10:23:46.795Z] 63b65145d645: Pulling fs layer [2023-03-21T10:23:46.795Z] a2d21d5440eb: Pulling fs layer [2023-03-21T10:23:46.795Z] 935e6c44a52c: Pulling fs layer [2023-03-21T10:23:46.795Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T10:23:46.795Z] 30dea6a524f1: Pulling fs layer [2023-03-21T10:23:46.795Z] a2aff8979fd8: Pulling fs layer [2023-03-21T10:23:46.795Z] 6808be2612f2: Pulling fs layer [2023-03-21T10:23:46.795Z] f25807f1079a: Pulling fs layer [2023-03-21T10:23:46.795Z] 94cc34f8dd06: Waiting [2023-03-21T10:23:46.795Z] 30dea6a524f1: Waiting [2023-03-21T10:23:46.795Z] a2aff8979fd8: Waiting [2023-03-21T10:23:46.795Z] 6808be2612f2: Waiting [2023-03-21T10:23:46.795Z] f25807f1079a: Waiting [2023-03-21T10:23:47.057Z] a2d21d5440eb: Download complete [2023-03-21T10:23:47.057Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T10:23:47.057Z] 94cc34f8dd06: Download complete [2023-03-21T10:23:47.057Z] 30dea6a524f1: Verifying Checksum [2023-03-21T10:23:47.057Z] 30dea6a524f1: Download complete [2023-03-21T10:23:47.057Z] 63b65145d645: Verifying Checksum [2023-03-21T10:23:47.057Z] 63b65145d645: Download complete [2023-03-21T10:23:47.057Z] a2aff8979fd8: Verifying Checksum [2023-03-21T10:23:47.057Z] a2aff8979fd8: Download complete [2023-03-21T10:23:47.057Z] 63b65145d645: Pull complete [2023-03-21T10:23:47.317Z] a2d21d5440eb: Pull complete [2023-03-21T10:23:47.577Z] f25807f1079a: Verifying Checksum [2023-03-21T10:23:47.577Z] f25807f1079a: Download complete [2023-03-21T10:23:47.577Z] 935e6c44a52c: Verifying Checksum [2023-03-21T10:23:47.577Z] 935e6c44a52c: Download complete [2023-03-21T10:23:47.836Z] 6808be2612f2: Verifying Checksum [2023-03-21T10:23:47.836Z] 6808be2612f2: Download complete [2023-03-21T10:23:51.123Z] 935e6c44a52c: Pull complete [2023-03-21T10:23:51.123Z] 94cc34f8dd06: Pull complete [2023-03-21T10:23:51.123Z] 30dea6a524f1: Pull complete [2023-03-21T10:23:51.123Z] a2aff8979fd8: Pull complete [2023-03-21T10:23:53.650Z] 6808be2612f2: Pull complete [2023-03-21T10:23:54.217Z] f25807f1079a: Pull complete [2023-03-21T10:23:54.217Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T10:23:54.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T10:23:54.217Z] ---> 3b553350e43f [2023-03-21T10:23:54.217Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:23:55.594Z] ---> Running in e6c223b8476a [2023-03-21T10:23:55.855Z] Removing intermediate container e6c223b8476a [2023-03-21T10:23:55.855Z] ---> 7bbf07e5464f [2023-03-21T10:23:55.855Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:23:55.855Z] ---> Running in c599ef37e909 [2023-03-21T10:23:55.855Z] Removing intermediate container c599ef37e909 [2023-03-21T10:23:55.855Z] ---> 92d3890ab9ee [2023-03-21T10:23:55.855Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-21T10:23:55.855Z] ---> Running in 0feba324b142 [2023-03-21T10:23:56.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T10:23:56.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T10:23:56.373Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T10:23:56.373Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-21T10:23:56.631Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T10:23:56.631Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T10:23:56.631Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-21T10:23:56.631Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-21T10:23:56.631Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-21T10:23:56.631Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-21T10:23:56.631Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T10:23:56.631Z] OK: 270 MiB in 61 packages [2023-03-21T10:23:57.218Z] Removing intermediate container 0feba324b142 [2023-03-21T10:23:57.218Z] ---> aa9c50de0361 [2023-03-21T10:23:57.218Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-21T10:23:57.218Z] ---> Running in 3f171d0b8eff [2023-03-21T10:23:57.218Z] Removing intermediate container 3f171d0b8eff [2023-03-21T10:23:57.218Z] ---> 00fadc10c94d [2023-03-21T10:23:57.218Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T10:23:57.218Z] ---> 2538314e1105 [2023-03-21T10:23:57.218Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:23:57.218Z] ---> Running in 1a6ef5cefb04 [2023-03-21T10:24:00.000Z] Still waiting to schedule task [2023-03-21T10:24:00.001Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-21T10:24:35.950Z] Removing intermediate container 1a6ef5cefb04 [2023-03-21T10:24:35.950Z] ---> 9530764a8f37 [2023-03-21T10:24:35.950Z] Step 9/10 : COPY . . [2023-03-21T10:24:36.519Z] ---> 6f1cd165f3ed [2023-03-21T10:24:36.519Z] Step 10/10 : RUN ${MAKE} [2023-03-21T10:24:36.778Z] ---> Running in af8cb0741ecb [2023-03-21T10:24:37.038Z] noop [2023-03-21T10:24:37.297Z] Removing intermediate container af8cb0741ecb [2023-03-21T10:24:37.297Z] ---> c9041ebd3431 [2023-03-21T10:24:37.297Z] Successfully built c9041ebd3431 [2023-03-21T10:24:37.297Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:24:37.761Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T10:24:37.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:24:37.908Z] prd-ubuntu20.04-docker-8c-8g-4816 does not seem to be running inside a container [2023-03-21T10:24:37.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T10:24:38.291Z] $ docker top 2b71ae61aa5bb10ee9699c3cfbaed65e1b9907e97ec1d578be3f01daa08f806c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:24:38.669Z] + go version [2023-03-21T10:24:38.669Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T10:24:38.705Z] $ docker stop --time=1 2b71ae61aa5bb10ee9699c3cfbaed65e1b9907e97ec1d578be3f01daa08f806c [2023-03-21T10:24:39.979Z] $ docker rm -f --volumes 2b71ae61aa5bb10ee9699c3cfbaed65e1b9907e97ec1d578be3f01daa08f806c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:24:40.678Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T10:24:40.678Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:24:40.823Z] prd-ubuntu20.04-docker-8c-8g-4816 does not seem to be running inside a container [2023-03-21T10:24:40.862Z] $ 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-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T10:24:41.198Z] $ docker top f04bfc410343653ccc2e543825ea30e1f12cfc35ca9ff8a23ca8546fd55d8e29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:24:41.583Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-437 [Pipeline] fileExists [Pipeline] sh [2023-03-21T10:24:41.944Z] + make test [2023-03-21T10:24:41.945Z] go test ./... -coverprofile=coverage.out [2023-03-21T10:24:47.212Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-21T10:24:55.315Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-21T10:24:55.315Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 48.0% of statements [2023-03-21T10:25:01.873Z] go vet ./... [2023-03-21T10:25:04.399Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T10:25:04.399Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T10:25:04.399Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T10:25:04.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T10:25:04.472Z] $ docker stop --time=1 f04bfc410343653ccc2e543825ea30e1f12cfc35ca9ff8a23ca8546fd55d8e29 [2023-03-21T10:25:08.705Z] $ docker rm -f --volumes f04bfc410343653ccc2e543825ea30e1f12cfc35ca9ff8a23ca8546fd55d8e29 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T10:25:09.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T10:25:09.283Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T10:25:09.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T10:25:10.262Z] + ls -al . [2023-03-21T10:25:10.262Z] total 180 [2023-03-21T10:25:10.262Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 10:24 . [2023-03-21T10:25:10.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:23 .. [2023-03-21T10:25:10.262Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 10:23 .dockerignore [2023-03-21T10:25:10.262Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:23 .git [2023-03-21T10:25:10.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:23 .github [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 10:23 .gitignore [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:23 .golangci.yml [2023-03-21T10:25:10.263Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:23 .semver [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 10:23 Attribution.txt [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 10:23 CHANGELOG.md [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 10:23 Dockerfile [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:23 GOVERNANCE.md [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 10:23 Jenkinsfile [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:23 LICENSE [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 10:23 Makefile [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 10:23 OWNERS.md [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 10:23 README.md [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:23 VERSION [2023-03-21T10:25:10.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:23 bin [2023-03-21T10:25:10.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:23 cmd [2023-03-21T10:25:10.263Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 10:24 coverage.out [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 10:23 go.mod [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 10:23 go.sum [2023-03-21T10:25:10.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:23 internal [2023-03-21T10:25:10.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:23 simulator [2023-03-21T10:25:10.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:23 snap [2023-03-21T10:25:10.263Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 10:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:25:10.662Z] + 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=4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 --label arch=amd64 --label version=0.0.0 . [2023-03-21T10:25:10.662Z] Sending build context to Docker daemon 6.42MB [2023-03-21T10:25:10.662Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:25:10.662Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-21T10:25:10.662Z] ---> c9041ebd3431 [2023-03-21T10:25:10.662Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:25:10.921Z] ---> Running in 52c6b2770cdb [2023-03-21T10:25:10.921Z] Removing intermediate container 52c6b2770cdb [2023-03-21T10:25:10.921Z] ---> 149829ec6794 [2023-03-21T10:25:10.921Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:25:10.921Z] ---> Running in dde7728b91ad [2023-03-21T10:25:10.921Z] Removing intermediate container dde7728b91ad [2023-03-21T10:25:10.921Z] ---> 81f93ebe65f9 [2023-03-21T10:25:10.921Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-21T10:25:10.921Z] ---> Running in 7bce2a1af553 [2023-03-21T10:25:11.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T10:25:11.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T10:25:11.703Z] OK: 270 MiB in 61 packages [2023-03-21T10:25:11.961Z] Removing intermediate container 7bce2a1af553 [2023-03-21T10:25:11.961Z] ---> ac9c323178c9 [2023-03-21T10:25:11.961Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-21T10:25:11.961Z] ---> Running in de14e326e57e [2023-03-21T10:25:11.961Z] Removing intermediate container de14e326e57e [2023-03-21T10:25:11.961Z] ---> 133749045720 [2023-03-21T10:25:11.961Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-21T10:25:12.219Z] ---> 1bce65cc38e2 [2023-03-21T10:25:12.219Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:25:12.219Z] ---> Running in 02b4350b8751 [2023-03-21T10:25:13.157Z] Removing intermediate container 02b4350b8751 [2023-03-21T10:25:13.157Z] ---> 6f4bf2485870 [2023-03-21T10:25:13.157Z] Step 9/22 : COPY . . [2023-03-21T10:25:13.415Z] ---> 978665917c54 [2023-03-21T10:25:13.415Z] Step 10/22 : RUN ${MAKE} [2023-03-21T10:25:13.415Z] ---> Running in 5ac0722fe2b9 [2023-03-21T10:25:13.673Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-21T10:25:35.787Z] Removing intermediate container 5ac0722fe2b9 [2023-03-21T10:25:35.787Z] ---> adeacc1612c4 [2023-03-21T10:25:35.787Z] Step 11/22 : FROM alpine:3.17 [2023-03-21T10:25:35.787Z] 3.17: Pulling from library/alpine [2023-03-21T10:25:35.787Z] 63b65145d645: Already exists [2023-03-21T10:25:35.787Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T10:25:35.787Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T10:25:35.787Z] ---> b2aa39c304c2 [2023-03-21T10:25:35.787Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-21T10:25:35.787Z] ---> Running in 309234907c53 [2023-03-21T10:25:35.787Z] Removing intermediate container 309234907c53 [2023-03-21T10:25:35.787Z] ---> 02fcbbd97ed2 [2023-03-21T10:25:35.787Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-21T10:25:35.787Z] ---> Running in 6d0a451cd101 [2023-03-21T10:25:35.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T10:25:35.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T10:25:35.787Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T10:25:35.787Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T10:25:35.787Z] OK: 7 MiB in 16 packages [2023-03-21T10:25:35.787Z] Removing intermediate container 6d0a451cd101 [2023-03-21T10:25:35.787Z] ---> f80412d569ae [2023-03-21T10:25:35.787Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-21T10:25:35.787Z] ---> 3c88f76ca87f [2023-03-21T10:25:35.787Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-21T10:25:35.787Z] ---> 1756ed8ff620 [2023-03-21T10:25:35.787Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-21T10:25:36.044Z] ---> b6f40a26aca8 [2023-03-21T10:25:36.044Z] Step 17/22 : EXPOSE 59901 [2023-03-21T10:25:36.044Z] ---> Running in c01cb2ca336c [2023-03-21T10:25:36.044Z] Removing intermediate container c01cb2ca336c [2023-03-21T10:25:36.044Z] ---> 3068755850c3 [2023-03-21T10:25:36.044Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-21T10:25:36.302Z] ---> Running in ad1bae7c73f3 [2023-03-21T10:25:36.302Z] Removing intermediate container ad1bae7c73f3 [2023-03-21T10:25:36.302Z] ---> fbf29f9678b6 [2023-03-21T10:25:36.302Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T10:25:36.302Z] ---> Running in e395d6539e6a [2023-03-21T10:25:36.302Z] Removing intermediate container e395d6539e6a [2023-03-21T10:25:36.302Z] ---> 67924e16821e [2023-03-21T10:25:36.302Z] Step 20/22 : LABEL arch=amd64 [2023-03-21T10:25:36.302Z] ---> Running in bf3a60a668b6 [2023-03-21T10:25:36.561Z] Removing intermediate container bf3a60a668b6 [2023-03-21T10:25:36.561Z] ---> f45754f42644 [2023-03-21T10:25:36.561Z] Step 21/22 : LABEL git_sha=4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [2023-03-21T10:25:36.561Z] ---> Running in 27d9034bd4fd [2023-03-21T10:25:36.561Z] Removing intermediate container 27d9034bd4fd [2023-03-21T10:25:36.561Z] ---> 24c4b01321fc [2023-03-21T10:25:36.561Z] Step 22/22 : LABEL version=0.0.0 [2023-03-21T10:25:36.561Z] ---> Running in b29dd0939c9e [2023-03-21T10:25:36.821Z] Removing intermediate container b29dd0939c9e [2023-03-21T10:25:36.821Z] ---> 27a7799a9007 [2023-03-21T10:25:36.821Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T10:25:36.821Z] Successfully built 27a7799a9007 [2023-03-21T10:25:36.821Z] 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 [2023-03-21T10:25:37.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T10:25:37.681Z] [2023-03-21T10:25:37.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:25:38.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T10:25:38.054Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T10:25:38.054Z] 5eb5b503b376: Pulling fs layer [2023-03-21T10:25:38.054Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T10:25:38.054Z] ec43610c2a17: Pulling fs layer [2023-03-21T10:25:38.054Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T10:25:38.054Z] 33b1e0a273af: Pulling fs layer [2023-03-21T10:25:38.054Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T10:25:38.054Z] 2f39f015ded8: Pulling fs layer [2023-03-21T10:25:38.054Z] 3a2ae6a8a46f: Waiting [2023-03-21T10:25:38.054Z] 33b1e0a273af: Waiting [2023-03-21T10:25:38.054Z] 5d3b04190fa2: Waiting [2023-03-21T10:25:38.054Z] 2f39f015ded8: Waiting [2023-03-21T10:25:38.054Z] 5c69ac0246d0: Download complete [2023-03-21T10:25:38.054Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T10:25:38.054Z] 3a2ae6a8a46f: Download complete [2023-03-21T10:25:38.055Z] 33b1e0a273af: Verifying Checksum [2023-03-21T10:25:38.055Z] 33b1e0a273af: Download complete [2023-03-21T10:25:38.055Z] ec43610c2a17: Verifying Checksum [2023-03-21T10:25:38.055Z] ec43610c2a17: Download complete [2023-03-21T10:25:38.055Z] 5d3b04190fa2: Download complete [2023-03-21T10:25:38.312Z] 5eb5b503b376: Verifying Checksum [2023-03-21T10:25:38.312Z] 5eb5b503b376: Download complete [2023-03-21T10:25:38.875Z] 2f39f015ded8: Verifying Checksum [2023-03-21T10:25:38.875Z] 2f39f015ded8: Download complete [2023-03-21T10:25:39.440Z] 5eb5b503b376: Pull complete [2023-03-21T10:25:39.698Z] 5c69ac0246d0: Pull complete [2023-03-21T10:25:40.264Z] ec43610c2a17: Pull complete [2023-03-21T10:25:40.264Z] 3a2ae6a8a46f: Pull complete [2023-03-21T10:25:40.523Z] 33b1e0a273af: Pull complete [2023-03-21T10:25:40.523Z] 5d3b04190fa2: Pull complete [2023-03-21T10:25:42.813Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4817 in /w/workspace/xfoundry_device-modbus-go_PR-437 [Pipeline] { [Pipeline] ws [2023-03-21T10:25:42.874Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-03-21T10:25:42.956Z] Selected Git installation does not exist. Using Default [2023-03-21T10:25:42.957Z] The recommended git tool is: NONE [2023-03-21T10:25:44.701Z] 2f39f015ded8: Pull complete [2023-03-21T10:25:44.701Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T10:25:44.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T10:25:44.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:25:44.918Z] prd-ubuntu20.04-docker-8c-8g-4816 does not seem to be running inside a container [2023-03-21T10:25:44.953Z] $ 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-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@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 [2023-03-21T10:25:49.583Z] $ docker top 965af112759214e4263ad1bdd69a9316e7457b55055575f66bb798497f0b7163 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:25:50.038Z] ---> job-cost.sh [2023-03-21T10:25:50.038Z] lf-activate-venv: SKIPPING [2023-03-21T10:25:50.038Z] INFO: No Stack... [2023-03-21T10:25:50.298Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T10:25:50.557Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T10:25:50.867Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-437/archives/cost.csv [2023-03-21T10:25:50.867Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T10:25:50.909Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] [2023-03-21T10:25:50.914Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] did not exist. Created. [2023-03-21T10:25:50.914Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] [Pipeline] { [2023-03-21T10:25:50.940Z] using credential edgex-jenkins-ssh [2023-03-21T10:25:50.957Z] Cloning the remote Git repository [Pipeline] unstash [Pipeline] sh [2023-03-21T10:25:51.305Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T10:25:51.353Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T10:25:51.385Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T10:25:51.477Z] $ docker stop --time=1 965af112759214e4263ad1bdd69a9316e7457b55055575f66bb798497f0b7163 [2023-03-21T10:25:50.997Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T10:25:51.096Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-03-21T10:25:51.259Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T10:25:51.260Z] > git --version # timeout=10 [2023-03-21T10:25:51.284Z] > git --version # 'git version 2.25.1' [2023-03-21T10:25:51.287Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T10:25:51.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T10:25:52.628Z] $ docker rm -f --volumes 965af112759214e4263ad1bdd69a9316e7457b55055575f66bb798497f0b7163 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T10:25:52.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-21T10:25:52.543Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T10:25:54.067Z] Merging remotes/origin/main commit 82ff0da3d76fda56b8be828932abbd4e3fc098e3 into PR head commit 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [2023-03-21T10:25:54.386Z] Merge succeeded, producing 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [2023-03-21T10:25:54.387Z] Checking out Revision 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 (PR-437) [2023-03-21T10:25:53.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-03-21T10:25:53.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-03-21T10:25:53.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T10:25:53.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T10:25:54.084Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T10:25:54.171Z] > git checkout -f 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 # timeout=10 [2023-03-21T10:25:54.262Z] > git remote # timeout=10 [2023-03-21T10:25:54.284Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T10:25:54.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T10:25:54.330Z] > git merge 82ff0da3d76fda56b8be828932abbd4e3fc098e3 # timeout=10 [2023-03-21T10:25:54.361Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T10:25:54.390Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T10:25:54.408Z] > git checkout -f 4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 # timeout=10 [2023-03-21T10:25:57.918Z] Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [2023-03-21T10:25:57.962Z] > git --version # timeout=10 [2023-03-21T10:25:57.973Z] > git --version # 'git version 2.25.1' [2023-03-21T10:25:57.984Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T10:25:59.176Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T10:25:59.177Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T10:25:59.177Z] Dload Upload Total Spent Left Speed [2023-03-21T10:25:59.177Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-03-21T10:25:59.901Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T10:26:00.239Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T10:26:00.239Z] + sudo tee /etc/docker/daemon.new [2023-03-21T10:26:00.239Z] { [2023-03-21T10:26:00.239Z] "registry-mirrors": [ [2023-03-21T10:26:00.239Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T10:26:00.239Z] ], [2023-03-21T10:26:00.239Z] "bip": "10.250.0.254/24", [2023-03-21T10:26:00.239Z] "hosts": [ [2023-03-21T10:26:00.239Z] "tcp://0.0.0.0:5555", [2023-03-21T10:26:00.239Z] "unix:///var/run/docker.sock" [2023-03-21T10:26:00.239Z] ], [2023-03-21T10:26:00.239Z] "mtu": 1458, [2023-03-21T10:26:00.239Z] "selinux-enabled": true, [2023-03-21T10:26:00.239Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T10:26:00.239Z] } [Pipeline] sh [2023-03-21T10:26:00.583Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T10:26:00.926Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T10:26:19.229Z] provisioning config files... [2023-03-21T10:26:19.257Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1550071093470526024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:26:19.645Z] ---> docker-login.sh [2023-03-21T10:26:19.646Z] nexus3.edgexfoundry.org:10001 [2023-03-21T10:26:20.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:26:20.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:26:20.232Z] Configure a credential helper to remove this warning. See [2023-03-21T10:26:20.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:26:20.232Z] [2023-03-21T10:26:20.232Z] Login Succeeded [2023-03-21T10:26:20.502Z] nexus3.edgexfoundry.org:10002 [2023-03-21T10:26:20.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:26:20.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:26:20.771Z] Configure a credential helper to remove this warning. See [2023-03-21T10:26:20.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:26:20.771Z] [2023-03-21T10:26:20.771Z] Login Succeeded [2023-03-21T10:26:20.771Z] nexus3.edgexfoundry.org:10003 [2023-03-21T10:26:21.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:26:21.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:26:21.044Z] Configure a credential helper to remove this warning. See [2023-03-21T10:26:21.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:26:21.044Z] [2023-03-21T10:26:21.044Z] Login Succeeded [2023-03-21T10:26:21.044Z] nexus3.edgexfoundry.org:10004 [2023-03-21T10:26:21.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:26:21.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:26:21.316Z] Configure a credential helper to remove this warning. See [2023-03-21T10:26:21.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:26:21.316Z] [2023-03-21T10:26:21.316Z] Login Succeeded [2023-03-21T10:26:21.316Z] docker.io [2023-03-21T10:26:21.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T10:26:21.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T10:26:21.855Z] Configure a credential helper to remove this warning. See [2023-03-21T10:26:21.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T10:26:21.855Z] [2023-03-21T10:26:21.855Z] Login Succeeded [2023-03-21T10:26:21.855Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T10:26:21.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T10:26:22.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:26:22.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T10:26:22.318Z] ========================================================= [2023-03-21T10:26:22.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T10:26:22.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:26:22.806Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T10:26:23.077Z] Sending build context to Docker daemon 3.341MB [2023-03-21T10:26:23.077Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:26:23.077Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T10:26:23.348Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T10:26:23.348Z] af6eaf76a39c: Pulling fs layer [2023-03-21T10:26:23.348Z] 55522c791124: Pulling fs layer [2023-03-21T10:26:23.348Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T10:26:23.348Z] 169dfbe0d373: Pulling fs layer [2023-03-21T10:26:23.348Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T10:26:23.348Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T10:26:23.348Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T10:26:23.348Z] e1ff8fa3b103: Waiting [2023-03-21T10:26:23.348Z] 52ebb69f0ebf: Waiting [2023-03-21T10:26:23.348Z] 5abe8eddf0d5: Waiting [2023-03-21T10:26:23.348Z] 169dfbe0d373: Waiting [2023-03-21T10:26:23.348Z] 55522c791124: Download complete [2023-03-21T10:26:23.348Z] 169dfbe0d373: Verifying Checksum [2023-03-21T10:26:23.348Z] 169dfbe0d373: Download complete [2023-03-21T10:26:23.348Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T10:26:23.348Z] e1ff8fa3b103: Download complete [2023-03-21T10:26:23.348Z] af6eaf76a39c: Verifying Checksum [2023-03-21T10:26:23.348Z] af6eaf76a39c: Download complete [2023-03-21T10:26:24.793Z] af6eaf76a39c: Pull complete [2023-03-21T10:26:24.793Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T10:26:24.793Z] 5abe8eddf0d5: Download complete [2023-03-21T10:26:25.064Z] 55522c791124: Pull complete [2023-03-21T10:26:26.036Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T10:26:26.036Z] 52ebb69f0ebf: Download complete [2023-03-21T10:26:26.036Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T10:26:26.036Z] ce5c4a1c91eb: Download complete [2023-03-21T10:26:36.144Z] ce5c4a1c91eb: Pull complete [2023-03-21T10:26:36.412Z] 169dfbe0d373: Pull complete [2023-03-21T10:26:36.681Z] e1ff8fa3b103: Pull complete [2023-03-21T10:26:43.360Z] 52ebb69f0ebf: Pull complete [2023-03-21T10:26:45.315Z] 5abe8eddf0d5: Pull complete [2023-03-21T10:26:45.315Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T10:26:45.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T10:26:45.315Z] ---> 6cb57ee374ae [2023-03-21T10:26:45.315Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:26:46.734Z] ---> Running in e6d08d11cae9 [2023-03-21T10:26:47.002Z] Removing intermediate container e6d08d11cae9 [2023-03-21T10:26:47.002Z] ---> 88d3d8206e26 [2023-03-21T10:26:47.002Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:26:47.271Z] ---> Running in 89e741af50a8 [2023-03-21T10:26:47.542Z] Removing intermediate container 89e741af50a8 [2023-03-21T10:26:47.542Z] ---> a38637eb1f49 [2023-03-21T10:26:47.542Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-03-21T10:26:47.542Z] ---> Running in d118ea3b8bd4 [2023-03-21T10:26:48.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T10:26:49.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T10:26:50.195Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T10:26:50.195Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-03-21T10:26:50.195Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T10:26:50.468Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T10:26:50.468Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-03-21T10:26:50.468Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-03-21T10:26:50.468Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-03-21T10:26:50.468Z] (8/8) Installing openssh (9.1_p1-r2) [2023-03-21T10:26:50.468Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T10:26:50.468Z] OK: 270 MiB in 61 packages [2023-03-21T10:26:51.448Z] Removing intermediate container d118ea3b8bd4 [2023-03-21T10:26:51.448Z] ---> 918178b01f14 [2023-03-21T10:26:51.448Z] Step 6/10 : WORKDIR /device-modbus-go [2023-03-21T10:26:51.882Z] ---> Running in e733c7e52281 [2023-03-21T10:26:51.882Z] Removing intermediate container e733c7e52281 [2023-03-21T10:26:51.882Z] ---> 0f108e228038 [2023-03-21T10:26:51.882Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T10:26:53.908Z] ---> 337571abfcf2 [2023-03-21T10:26:53.908Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:26:54.178Z] ---> Running in 67d26400f148 [2023-03-21T10:28:30.863Z] Removing intermediate container 67d26400f148 [2023-03-21T10:28:30.863Z] ---> 2de94f55a171 [2023-03-21T10:28:30.863Z] Step 9/10 : COPY . . [2023-03-21T10:28:30.863Z] ---> 9fc7f1370dec [2023-03-21T10:28:30.863Z] Step 10/10 : RUN ${MAKE} [2023-03-21T10:28:30.863Z] ---> Running in f3ddc3ccc688 [2023-03-21T10:28:30.863Z] noop [2023-03-21T10:28:30.863Z] Removing intermediate container f3ddc3ccc688 [2023-03-21T10:28:30.863Z] ---> d4e67e96dbb8 [2023-03-21T10:28:30.863Z] Successfully built d4e67e96dbb8 [2023-03-21T10:28:30.863Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:28:31.359Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T10:28:31.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:28:31.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-4817 does not seem to be running inside a container [2023-03-21T10:28:31.696Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-21T10:28:32.878Z] $ docker top a6e612bbbe5164736932ea955858eb1695bfc0e5069e1df68fa7bc4aa5d4d0e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:28:33.741Z] + go version [2023-03-21T10:28:33.741Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T10:28:33.769Z] $ docker stop --time=1 a6e612bbbe5164736932ea955858eb1695bfc0e5069e1df68fa7bc4aa5d4d0e0 [2023-03-21T10:28:35.358Z] $ docker rm -f --volumes a6e612bbbe5164736932ea955858eb1695bfc0e5069e1df68fa7bc4aa5d4d0e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:28:36.241Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T10:28:36.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:28:36.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-4817 does not seem to be running inside a container [2023-03-21T10:28:36.548Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-21T10:28:37.770Z] $ docker top 0b9c4f792ab039e5efc15ecccf29d49337a8a26ecc57866b485cda51ded24efe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:28:38.642Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T10:28:39.033Z] + make test [2023-03-21T10:28:39.306Z] go test ./... -coverprofile=coverage.out [2023-03-21T10:29:11.542Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-03-21T10:31:18.387Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-03-21T10:31:18.387Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.079s coverage: 48.0% of statements [2023-03-21T10:31:18.387Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T10:31:18.387Z] go vet ./... [2023-03-21T10:31:33.384Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T10:31:33.384Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T10:31:33.384Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T10:31:33.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T10:31:33.446Z] $ docker stop --time=1 0b9c4f792ab039e5efc15ecccf29d49337a8a26ecc57866b485cda51ded24efe [2023-03-21T10:31:35.239Z] $ docker rm -f --volumes 0b9c4f792ab039e5efc15ecccf29d49337a8a26ecc57866b485cda51ded24efe [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T10:31:36.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T10:31:36.386Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T10:31:36.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T10:31:37.389Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T10:31:37.724Z] + ls -al . [2023-03-21T10:31:37.724Z] total 176 [2023-03-21T10:31:37.724Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 10:28 . [2023-03-21T10:31:37.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:25 .. [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 10:25 .dockerignore [2023-03-21T10:31:37.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 10:25 .git [2023-03-21T10:31:37.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:25 .github [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 331 Mar 21 10:25 .gitignore [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 10:25 .golangci.yml [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 10236 Mar 21 10:25 Attribution.txt [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 11576 Mar 21 10:25 CHANGELOG.md [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 1365 Mar 21 10:25 Dockerfile [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 10:25 GOVERNANCE.md [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 10:25 Jenkinsfile [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 10:25 LICENSE [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 1705 Mar 21 10:25 Makefile [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 10:25 OWNERS.md [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 4061 Mar 21 10:25 README.md [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 10:23 VERSION [2023-03-21T10:31:37.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:25 bin [2023-03-21T10:31:37.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:25 cmd [2023-03-21T10:31:37.724Z] -rw-r--r-- 1 jenkins jenkins 23736 Mar 21 10:31 coverage.out [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 3497 Mar 21 10:25 go.mod [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 31641 Mar 21 10:25 go.sum [2023-03-21T10:31:37.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 10:25 internal [2023-03-21T10:31:37.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 10:25 simulator [2023-03-21T10:31:37.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 10:25 snap [2023-03-21T10:31:37.724Z] -rw-rw-r-- 1 jenkins jenkins 229 Mar 21 10:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:31:38.144Z] + 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=4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 --label arch=arm64 --label version=0.0.0 . [2023-03-21T10:31:38.415Z] Sending build context to Docker daemon 3.366MB [2023-03-21T10:31:38.415Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T10:31:38.415Z] Step 2/22 : FROM ${BASE} AS builder [2023-03-21T10:31:38.415Z] ---> d4e67e96dbb8 [2023-03-21T10:31:38.415Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-03-21T10:31:40.353Z] ---> Running in 4fb97f85f0a1 [2023-03-21T10:31:40.353Z] Removing intermediate container 4fb97f85f0a1 [2023-03-21T10:31:40.353Z] ---> ae43a5fa8e21 [2023-03-21T10:31:40.353Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T10:31:40.622Z] ---> Running in 4484eea932fd [2023-03-21T10:31:40.890Z] Removing intermediate container 4484eea932fd [2023-03-21T10:31:40.890Z] ---> 86b315d5fde1 [2023-03-21T10:31:40.890Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-03-21T10:31:40.890Z] ---> Running in eed31d65d816 [2023-03-21T10:31:41.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T10:31:42.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T10:31:43.400Z] OK: 270 MiB in 61 packages [2023-03-21T10:31:43.981Z] Removing intermediate container eed31d65d816 [2023-03-21T10:31:43.982Z] ---> 63940dafddac [2023-03-21T10:31:43.982Z] Step 6/22 : WORKDIR /device-modbus-go [2023-03-21T10:31:44.249Z] ---> Running in e2f4941f2539 [2023-03-21T10:31:44.517Z] Removing intermediate container e2f4941f2539 [2023-03-21T10:31:44.517Z] ---> ac420a958360 [2023-03-21T10:31:44.517Z] Step 7/22 : COPY go.mod vendor* ./ [2023-03-21T10:31:44.784Z] ---> 578cb449160b [2023-03-21T10:31:44.784Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T10:31:45.051Z] ---> Running in ddab2d0703b3 [2023-03-21T10:31:47.634Z] Removing intermediate container ddab2d0703b3 [2023-03-21T10:31:47.634Z] ---> b62ba2fe8292 [2023-03-21T10:31:47.634Z] Step 9/22 : COPY . . [2023-03-21T10:31:48.596Z] ---> 713fdf171d18 [2023-03-21T10:31:48.596Z] Step 10/22 : RUN ${MAKE} [2023-03-21T10:31:48.596Z] ---> Running in c9cda3bc2952 [2023-03-21T10:31:49.555Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-03-21T10:33:56.247Z] Removing intermediate container c9cda3bc2952 [2023-03-21T10:33:56.247Z] ---> 2fe97dbf730c [2023-03-21T10:33:56.247Z] Step 11/22 : FROM alpine:3.17 [2023-03-21T10:33:56.247Z] 3.17: Pulling from library/alpine [2023-03-21T10:33:56.247Z] af6eaf76a39c: Already exists [2023-03-21T10:33:56.247Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T10:33:56.247Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T10:33:56.247Z] ---> d74e625d9115 [2023-03-21T10:33:56.247Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-03-21T10:33:56.247Z] ---> Running in 5dbb06148735 [2023-03-21T10:33:56.247Z] Removing intermediate container 5dbb06148735 [2023-03-21T10:33:56.247Z] ---> 84840a8ac36f [2023-03-21T10:33:56.247Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-03-21T10:33:56.247Z] ---> Running in 995e61e35997 [2023-03-21T10:33:56.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T10:33:56.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T10:33:57.790Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T10:33:57.790Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T10:33:57.790Z] OK: 8 MiB in 16 packages [2023-03-21T10:33:58.751Z] Removing intermediate container 995e61e35997 [2023-03-21T10:33:58.751Z] ---> 4f53b7c366a2 [2023-03-21T10:33:58.751Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-03-21T10:34:00.692Z] ---> 52dbc93e3cb7 [2023-03-21T10:34:00.692Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-03-21T10:34:01.275Z] ---> b3212e0c9e83 [2023-03-21T10:34:01.275Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-03-21T10:34:01.861Z] ---> 1a4dbe3487fe [2023-03-21T10:34:01.861Z] Step 17/22 : EXPOSE 59901 [2023-03-21T10:34:01.861Z] ---> Running in cdff06a2026a [2023-03-21T10:34:02.131Z] Removing intermediate container cdff06a2026a [2023-03-21T10:34:02.131Z] ---> 42f7a0fd611a [2023-03-21T10:34:02.131Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-03-21T10:34:02.131Z] ---> Running in 3a65a7d9ffff [2023-03-21T10:34:02.716Z] Removing intermediate container 3a65a7d9ffff [2023-03-21T10:34:02.716Z] ---> 4e6388f40dcd [2023-03-21T10:34:02.716Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T10:34:02.716Z] ---> Running in 4c878343eba7 [2023-03-21T10:34:02.985Z] Removing intermediate container 4c878343eba7 [2023-03-21T10:34:02.985Z] ---> e713f1704e60 [2023-03-21T10:34:02.985Z] Step 20/22 : LABEL arch=arm64 [2023-03-21T10:34:02.985Z] ---> Running in 2121fd935052 [2023-03-21T10:34:03.253Z] Removing intermediate container 2121fd935052 [2023-03-21T10:34:03.253Z] ---> 0d751a7f8ee0 [2023-03-21T10:34:03.253Z] Step 21/22 : LABEL git_sha=4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [2023-03-21T10:34:03.253Z] ---> Running in 09e89b533c3a [2023-03-21T10:34:03.526Z] Removing intermediate container 09e89b533c3a [2023-03-21T10:34:03.526Z] ---> a0b392544c7b [2023-03-21T10:34:03.526Z] Step 22/22 : LABEL version=0.0.0 [2023-03-21T10:34:03.526Z] ---> Running in 9087732bea00 [2023-03-21T10:34:03.792Z] Removing intermediate container 9087732bea00 [2023-03-21T10:34:03.792Z] ---> e89f1953c2fa [2023-03-21T10:34:03.792Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T10:34:04.059Z] Successfully built e89f1953c2fa [2023-03-21T10:34:04.059Z] 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 [2023-03-21T10:34:04.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T10:34:04.852Z] [2023-03-21T10:34:04.852Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:34:05.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T10:34:05.254Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T10:34:05.254Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T10:34:05.254Z] 04944245beec: Pulling fs layer [2023-03-21T10:34:05.254Z] 699f458cf7ca: Pulling fs layer [2023-03-21T10:34:05.254Z] 765212b225bb: Pulling fs layer [2023-03-21T10:34:05.254Z] f23df028b6ca: Pulling fs layer [2023-03-21T10:34:05.254Z] 765212b225bb: Waiting [2023-03-21T10:34:05.254Z] f23df028b6ca: Waiting [2023-03-21T10:34:05.254Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T10:34:05.254Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T10:34:05.254Z] d65c8cfc05b1: Waiting [2023-03-21T10:34:05.254Z] 2437ff75d9bd: Waiting [2023-03-21T10:34:05.524Z] 04944245beec: Verifying Checksum [2023-03-21T10:34:05.524Z] 04944245beec: Download complete [2023-03-21T10:34:05.524Z] 765212b225bb: Verifying Checksum [2023-03-21T10:34:05.524Z] 765212b225bb: Download complete [2023-03-21T10:34:05.524Z] f23df028b6ca: Verifying Checksum [2023-03-21T10:34:05.524Z] f23df028b6ca: Download complete [2023-03-21T10:34:05.525Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T10:34:05.525Z] d65c8cfc05b1: Download complete [2023-03-21T10:34:05.525Z] 699f458cf7ca: Verifying Checksum [2023-03-21T10:34:05.525Z] 699f458cf7ca: Download complete [2023-03-21T10:34:06.113Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T10:34:06.113Z] 8998bd30e6a1: Download complete [2023-03-21T10:34:08.689Z] 2437ff75d9bd: Download complete [2023-03-21T10:34:10.095Z] 8998bd30e6a1: Pull complete [2023-03-21T10:34:10.365Z] 04944245beec: Pull complete [2023-03-21T10:34:11.774Z] 699f458cf7ca: Pull complete [2023-03-21T10:34:12.043Z] 765212b225bb: Pull complete [2023-03-21T10:34:13.454Z] f23df028b6ca: Pull complete [2023-03-21T10:34:13.454Z] d65c8cfc05b1: Pull complete [2023-03-21T10:34:28.442Z] 2437ff75d9bd: Pull complete [2023-03-21T10:34:28.442Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T10:34:28.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T10:34:28.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:34:28.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-4817 does not seem to be running inside a container [2023-03-21T10:34:28.824Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T10:34:31.318Z] $ docker top d38faae6b8e8cebe6e9f0544e1fa8b6db299150b88029504945ece2c7997de60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:31.907Z] ---> job-cost.sh [2023-03-21T10:34:32.173Z] lf-activate-venv: SKIPPING [2023-03-21T10:34:32.173Z] INFO: No Stack... [2023-03-21T10:34:32.441Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T10:34:33.394Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T10:34:33.729Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-03-21T10:34:33.729Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T10:34:33.778Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] [2023-03-21T10:34:33.783Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] did not exist. Created. [2023-03-21T10:34:33.783Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T10:34:34.183Z] /w/workspace/device-modbus-go/1@tmp/durable-8f553fa7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T10:34:34.536Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T10:34:34.832Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T10:34:34.873Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T10:34:34.889Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-437-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T10:34:34.974Z] $ docker stop --time=1 d38faae6b8e8cebe6e9f0544e1fa8b6db299150b88029504945ece2c7997de60 [2023-03-21T10:34:36.435Z] $ docker rm -f --volumes d38faae6b8e8cebe6e9f0544e1fa8b6db299150b88029504945ece2c7997de60 [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 [2023-03-21T10:34:37.472Z] provisioning config files... [2023-03-21T10:34:37.479Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config5375570516323807492tmp [Pipeline] { [Pipeline] sh [2023-03-21T10:34:37.818Z] + set +x [2023-03-21T10:34:37.818Z] + curl -s+ https://codecov.io/bash [2023-03-21T10:34:37.818Z] bash -s -- [2023-03-21T10:34:37.818Z] [2023-03-21T10:34:37.818Z] _____ _ [2023-03-21T10:34:37.818Z] / ____| | | [2023-03-21T10:34:37.818Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T10:34:37.818Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T10:34:37.818Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T10:34:37.818Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T10:34:37.818Z] Bash-1.0.6 [2023-03-21T10:34:37.818Z] [2023-03-21T10:34:37.818Z] [2023-03-21T10:34:37.818Z] ==> git version 2.25.1 found [2023-03-21T10:34:37.818Z] ==> 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 [2023-03-21T10:34:37.818Z] Release-Date: 2020-01-08 [2023-03-21T10:34:37.818Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T10:34:37.818Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T10:34:37.818Z] ==> Jenkins CI detected. [2023-03-21T10:34:37.818Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-437 [2023-03-21T10:34:37.818Z] project root: . [2023-03-21T10:34:37.818Z] --> token set from env [2023-03-21T10:34:37.818Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T10:34:37.818Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T10:34:37.818Z] ==> Python coveragepy not found [2023-03-21T10:34:37.818Z] ==> Searching for coverage reports in: [2023-03-21T10:34:37.818Z] + . [2023-03-21T10:34:37.818Z] -> Found 1 reports [2023-03-21T10:34:37.818Z] ==> Detecting git/mercurial file structure [2023-03-21T10:34:37.818Z] ==> Reading reports [2023-03-21T10:34:37.818Z] + ./coverage.out bytes=23736 [2023-03-21T10:34:37.818Z] ==> Appending adjustments [2023-03-21T10:34:37.818Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T10:34:38.079Z] + Found adjustments [2023-03-21T10:34:38.079Z] ==> Gzipping contents [2023-03-21T10:34:38.079Z] 4.0K /tmp/codecov.qAePC9.gz [2023-03-21T10:34:38.079Z] ==> Uploading reports [2023-03-21T10:34:38.079Z] url: https://codecov.io [2023-03-21T10:34:38.079Z] query: branch=PR-437&commit=4e97db37298a6bfcbaebcf789970f0a5d92ff8f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-437%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=437&job=&cmd_args= [2023-03-21T10:34:38.079Z] -> Pinging Codecov [2023-03-21T10:34:38.079Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-437&commit=4e97db37298a6bfcbaebcf789970f0a5d92ff8f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-437%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=437&job=&cmd_args= [2023-03-21T10:34:38.340Z] -> Uploading to [2023-03-21T10:34:38.340Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/55DBCA73C666E3227836607328DD7E49/4e97db37298a6bfcbaebcf789970f0a5d92ff8f0/7e512088-6f65-4067-87de-a2542e36ddcb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T103438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25cba4d1a6004e7bc9c679cddf78c983ef85fc9ba973d67e50a5ba517790523a [2023-03-21T10:34:38.340Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T10:34:38.340Z] Dload Upload Total Spent Left Speed [2023-03-21T10:34:38.599Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 12337 --:--:-- --:--:-- --:--:-- 12337 [2023-03-21T10:34:38.600Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4e97db37298a6bfcbaebcf789970f0a5d92ff8f0 [Pipeline] } [2023-03-21T10:34:38.624Z] 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 [2023-03-21T10:34:40.342Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-437/archives ] [2023-03-21T10:34:40.342Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-437/archives [2023-03-21T10:34:40.342Z] total 16 [2023-03-21T10:34:40.342Z] drwxr-xr-x 3 root root 4096 Mar 21 10:25 . [2023-03-21T10:34:40.342Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 10:25 .. [2023-03-21T10:34:40.342Z] drwxr-xr-x 2 root root 4096 Mar 21 10:25 cost [2023-03-21T10:34:40.342Z] -rw-r--r-- 1 root root 88 Mar 21 10:25 cost.csv [2023-03-21T10:34:40.342Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-437/archives [2023-03-21T10:34:40.342Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-437/archives [2023-03-21T10:34:40.342Z] total 16 [2023-03-21T10:34:40.342Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 10:25 . [2023-03-21T10:34:40.342Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 10:25 .. [2023-03-21T10:34:40.342Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 10:25 cost [2023-03-21T10:34:40.342Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 21 10:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:40.677Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:41.558Z] ---> package-listing.sh [2023-03-21T10:34:41.559Z] ++ facter osfamily [2023-03-21T10:34:41.559Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T10:34:41.818Z] + OS_FAMILY=debian [2023-03-21T10:34:41.818Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-437 [2023-03-21T10:34:41.818Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T10:34:41.818Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T10:34:41.818Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T10:34:41.818Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T10:34:41.818Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-437 ']' [2023-03-21T10:34:41.818Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T10:34:41.818Z] + case "${OS_FAMILY}" in [2023-03-21T10:34:41.818Z] + dpkg -l [2023-03-21T10:34:41.818Z] + grep '^ii' [2023-03-21T10:34:41.818Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T10:34:41.818Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T10:34:41.818Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T10:34:41.818Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-437 ']' [2023-03-21T10:34:41.818Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-437/archives/ [2023-03-21T10:34:41.818Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-437/archives/ [Pipeline] echo [2023-03-21T10:34:41.854Z] 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-437/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T10:34:42.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T10:34:42.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T10:34:42.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T10:34:42.924Z] prd-ubuntu20.04-docker-8c-8g-4816 does not seem to be running inside a container [2023-03-21T10:34:42.959Z] $ 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-437/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-437 -v /w/workspace/xfoundry_device-modbus-go_PR-437:/w/workspace/xfoundry_device-modbus-go_PR-437:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-437@tmp:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T10:34:43.179Z] $ docker top 51db7cb54bb786afd4eb9595d1f3bffe20cc15bd8ad7f408e34c9305425d8872 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T10:34:43.561Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T10:34:43.871Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T10:34:44.180Z] + ls /var/log/sa-host [2023-03-21T10:34:44.180Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T10:34:44.303Z] provisioning config files... [2023-03-21T10:34:44.311Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-437@tmp/config7489775286465852498tmp [Pipeline] { [Pipeline] echo [2023-03-21T10:34:44.360Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:44.667Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T10:34:44.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:45.068Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T10:34:45.099Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:45.418Z] ---> sudo-logs.sh [2023-03-21T10:34:45.419Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T10:34:45.504Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:45.810Z] ---> job-cost.sh [2023-03-21T10:34:45.810Z] lf-activate-venv: SKIPPING [2023-03-21T10:34:45.810Z] DEBUG: total: 0.2199999988079071 [2023-03-21T10:34:45.810Z] INFO: Retrieving Stack Cost... [2023-03-21T10:34:46.378Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T10:34:46.637Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T10:34:46.669Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T10:34:46.974Z] ---> logs-deploy.sh [2023-03-21T10:34:46.974Z] lf-activate-venv: SKIPPING [2023-03-21T10:34:46.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-437/1 [2023-03-21T10:34:46.974Z] INFO: archiving workspace using pattern(s): [2023-03-21T10:34:47.909Z] Archives upload complete. [2023-03-21T10:34:48.169Z] INFO: archiving logs to Nexus [2023-03-21T10:34:48.743Z] ---> uname -a: [2023-03-21T10:34:48.743Z] Linux prd-ubuntu20-04-docker-8c-8g-4816 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] ---> lscpu: [2023-03-21T10:34:48.743Z] Architecture: x86_64 [2023-03-21T10:34:48.743Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-21T10:34:48.743Z] Byte Order: Little Endian [2023-03-21T10:34:48.743Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-21T10:34:48.743Z] CPU(s): 8 [2023-03-21T10:34:48.743Z] On-line CPU(s) list: 0-7 [2023-03-21T10:34:48.743Z] Thread(s) per core: 1 [2023-03-21T10:34:48.743Z] Core(s) per socket: 1 [2023-03-21T10:34:48.743Z] Socket(s): 8 [2023-03-21T10:34:48.743Z] NUMA node(s): 1 [2023-03-21T10:34:48.743Z] Vendor ID: AuthenticAMD [2023-03-21T10:34:48.743Z] CPU family: 23 [2023-03-21T10:34:48.743Z] Model: 49 [2023-03-21T10:34:48.743Z] Model name: AMD EPYC-Rome Processor [2023-03-21T10:34:48.743Z] Stepping: 0 [2023-03-21T10:34:48.743Z] CPU MHz: 2799.996 [2023-03-21T10:34:48.743Z] BogoMIPS: 5599.99 [2023-03-21T10:34:48.743Z] Virtualization: AMD-V [2023-03-21T10:34:48.743Z] Hypervisor vendor: KVM [2023-03-21T10:34:48.743Z] Virtualization type: full [2023-03-21T10:34:48.743Z] L1d cache: 256 KiB [2023-03-21T10:34:48.743Z] L1i cache: 256 KiB [2023-03-21T10:34:48.743Z] L2 cache: 4 MiB [2023-03-21T10:34:48.743Z] L3 cache: 128 MiB [2023-03-21T10:34:48.743Z] NUMA node0 CPU(s): 0-7 [2023-03-21T10:34:48.743Z] Vulnerability Itlb multihit: Not affected [2023-03-21T10:34:48.743Z] Vulnerability L1tf: Not affected [2023-03-21T10:34:48.743Z] Vulnerability Mds: Not affected [2023-03-21T10:34:48.743Z] Vulnerability Meltdown: Not affected [2023-03-21T10:34:48.743Z] Vulnerability Mmio stale data: Not affected [2023-03-21T10:34:48.743Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-21T10:34:48.743Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-21T10:34:48.743Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-21T10:34:48.743Z] Vulnerability Srbds: Not affected [2023-03-21T10:34:48.743Z] Vulnerability Tsx async abort: Not affected [2023-03-21T10:34:48.743Z] 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 [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] ---> nproc: [2023-03-21T10:34:48.743Z] 8 [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] ---> df -h: [2023-03-21T10:34:48.743Z] Filesystem Size Used Avail Use% Mounted on [2023-03-21T10:34:48.743Z] overlay 155G 12G 144G 8% / [2023-03-21T10:34:48.743Z] tmpfs 64M 0 64M 0% /dev [2023-03-21T10:34:48.743Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-03-21T10:34:48.743Z] shm 64M 0 64M 0% /dev/shm [2023-03-21T10:34:48.743Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] ---> sar -b -r -n DEV: [2023-03-21T10:34:48.743Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4816) 03/21/23 _x86_64_ (8 CPU) [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] 10:22:48 LINUX RESTART (8 CPU) [2023-03-21T10:34:48.743Z] [2023-03-21T10:34:48.743Z] 10:23:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-03-21T10:34:48.743Z] 10:24:01 357.42 48.16 309.27 0.00 5449.09 106469.06 0.00 [2023-03-21T10:34:48.744Z] 10:25:01 117.09 0.90 116.19 0.00 18.53 45598.40 0.00 [2023-03-21T10:34:48.744Z] 10:26:01 164.30 0.22 164.08 0.00 12.80 43268.27 0.00 [2023-03-21T10:34:48.744Z] 10:27:01 2.08 0.00 2.08 0.00 0.00 25.20 0.00 [2023-03-21T10:34:48.744Z] 10:28:01 22.91 9.42 13.50 0.00 3502.35 2697.02 0.00 [2023-03-21T10:34:48.744Z] 10:29:02 19.31 2.42 16.89 0.00 1926.96 3679.97 0.00 [2023-03-21T10:34:48.744Z] 10:30:01 0.98 0.00 0.98 0.00 0.00 11.52 0.00 [2023-03-21T10:34:48.744Z] 10:31:01 3.42 1.60 1.82 0.00 37.19 22.40 0.00 [2023-03-21T10:34:48.744Z] 10:32:01 1.15 0.00 1.15 0.00 0.00 12.53 0.00 [2023-03-21T10:34:48.744Z] 10:33:01 2.30 0.00 2.30 0.00 0.00 38.13 0.00 [2023-03-21T10:34:48.744Z] 10:34:01 1.40 0.00 1.40 0.00 0.00 15.59 0.00 [2023-03-21T10:34:48.744Z] Average: 63.03 5.71 57.32 0.00 996.64 18375.44 0.00 [2023-03-21T10:34:48.744Z] [2023-03-21T10:34:48.744Z] 10:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-03-21T10:34:48.744Z] 10:24:01 29180176 31578048 738108 2.24 75376 2600612 1954672 5.76 1009260 2334000 1548 [2023-03-21T10:34:48.744Z] 10:25:01 28133208 31493192 805968 2.45 146648 3386008 2188540 6.45 1258028 3012996 226140 [2023-03-21T10:34:48.744Z] 10:26:01 27710440 31584004 715792 2.18 158552 3862820 1753420 5.17 1250796 3415352 328 [2023-03-21T10:34:48.744Z] 10:27:01 27710332 31584056 715312 2.18 158592 3862828 1753420 5.17 1250640 3415360 192 [2023-03-21T10:34:48.744Z] 10:28:01 27399548 31550172 745984 2.27 162824 4123324 1883388 5.55 1374840 3585940 82480 [2023-03-21T10:34:48.744Z] 10:29:02 27337044 31566864 721916 2.20 166996 4195444 1837452 5.42 1481504 3528584 4 [2023-03-21T10:34:48.744Z] 10:30:01 27343052 31572936 715744 2.18 167036 4195456 1837452 5.42 1475952 3528592 168 [2023-03-21T10:34:48.744Z] 10:31:01 27334020 31566132 722456 2.20 167116 4196572 1837452 5.42 1487900 3528964 48 [2023-03-21T10:34:48.744Z] 10:32:01 27333884 31566068 722204 2.20 167152 4196576 1837452 5.42 1487920 3528932 164 [2023-03-21T10:34:48.744Z] 10:33:01 27333600 31566364 722340 2.20 167268 4196556 1837452 5.42 1487164 3529412 28 [2023-03-21T10:34:48.744Z] 10:34:01 27333756 31566640 721992 2.20 167356 4196556 1837452 5.42 1487676 3529420 168 [2023-03-21T10:34:48.744Z] Average: 27649915 31563134 731620 2.22 154992 3910250 1868923 5.51 1368335 3357959 28297 [2023-03-21T10:34:48.744Z] [2023-03-21T10:34:48.744Z] 10:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-03-21T10:34:48.744Z] 10:24:01 ens3 695.72 445.36 6665.45 118.96 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:24:01 lo 6.93 6.93 0.67 0.67 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:24:01 docker0 54.91 69.87 4.45 168.95 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:24:01 veth090aed7 46.84 60.62 4.38 44.72 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:25:01 vethd3d1ea0 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:25:01 ens3 297.73 164.13 1867.20 24.97 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:25:01 docker0 146.03 264.76 11.30 1835.57 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:26:01 ens3 126.38 76.95 2631.73 18.58 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:26:01 lo 1.87 1.87 0.18 0.18 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:26:01 docker0 2.63 5.45 0.17 85.54 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:27:01 ens3 0.43 0.30 1.38 0.02 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:28:01 ens3 155.04 82.02 1953.36 5.61 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:28:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:29:02 ens3 1.40 0.82 0.57 0.21 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:29:02 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:29:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:30:01 ens3 0.47 0.46 0.29 0.22 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:31:01 ens3 7.98 6.82 5.40 5.99 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:31:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:32:01 ens3 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:33:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:34:01 ens3 0.17 0.08 0.08 0.06 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] 10:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] Average: ens3 117.03 70.74 1194.93 15.90 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] Average: docker0 18.54 30.97 1.45 190.31 0.00 0.00 0.00 0.00 [2023-03-21T10:34:48.744Z] [2023-03-21T10:34:48.744Z]