Pull request #382 event 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 c5f598b77e77bd73a577202a05e992d50edf3c45+2f9659ed4568bcbc613d823f228583e539d90aa3 (37a2f4f2e94e8d1f9a0397a507940390da102508) 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-ssh9780340572897940179.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh1000652598402638483.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15968178774630951214.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh6997188530303420122.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5591613170103302013.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8059 in /w/workspace/xfoundry_device-modbus-go_PR-382 [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-382 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2f9659ed4568bcbc613d823f228583e539d90aa3 into PR head commit c5f598b77e77bd73a577202a05e992d50edf3c45 Merge succeeded, producing fd54f6e13d56bd17224e1091cec696f7f2f5ee24 Checking out Revision fd54f6e13d56bd17224e1091cec696f7f2f5ee24 (PR-382) > git config core.sparsecheckout # timeout=10 > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 2f9659ed4568bcbc613d823f228583e539d90aa3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd54f6e13d56bd17224e1091cec696f7f2f5ee24 # timeout=10 Commit message: "Merge commit '2f9659ed4568bcbc613d823f228583e539d90aa3' into HEAD" > git rev-list --no-walk c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T09:13:23.079Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T09:13:23.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T09:13:23.157Z] ========================================================= [2022-10-17T09:13:23.157Z] EdgeX Global Pipelines Version Info [2022-10-17T09:13:23.157Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:13:23.861Z] ------------------- [2022-10-17T09:13:23.861Z] stable info: [2022-10-17T09:13:23.861Z] ------------------- [2022-10-17T09:13:23.861Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T09:13:23.861Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T09:13:23.861Z] Message: update stable to v1.0.239 [2022-10-17T09:13:24.430Z] ------------------- [2022-10-17T09:13:24.430Z] experimental info: [2022-10-17T09:13:24.430Z] ------------------- [2022-10-17T09:13:24.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T09:13:24.430Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-17T09:13:24.430Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T09:13:24.590Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-17T09:13:24.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-17T09:13:24.615Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T09:13:24.626Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T09:13:24.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T09:13:24.649Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T09:13:24.660Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T09:13:24.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T09:13:24.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T09:13:24.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T09:13:24.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T09:13:24.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-17T09:13:24.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T09:13:24.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T09:13:24.751Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T09:13:24.765Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T09:13:24.776Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T09:13:24.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T09:13:24.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T09:13:24.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T09:13:24.830Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T09:13:24.840Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T09:13:24.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T09:13:24.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T09:13:24.887Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T09:13:24.898Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T09:13:24.909Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T09:13:24.923Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo [2022-10-17T09:13:24.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo [2022-10-17T09:13:24.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo [2022-10-17T09:13:24.962Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo [2022-10-17T09:13:24.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd54f6e [Pipeline] echo [2022-10-17T09:13:24.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T09:13:25.036Z] provisioning config files... [2022-10-17T09:13:25.050Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config8375596953599489219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:13:25.348Z] ---> docker-login.sh [2022-10-17T09:13:25.348Z] nexus3.edgexfoundry.org:10001 [2022-10-17T09:13:25.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:25.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:25.610Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:25.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:25.610Z] [2022-10-17T09:13:25.610Z] Login Succeeded [2022-10-17T09:13:25.610Z] nexus3.edgexfoundry.org:10002 [2022-10-17T09:13:25.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:25.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:25.610Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:25.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:25.610Z] [2022-10-17T09:13:25.610Z] Login Succeeded [2022-10-17T09:13:25.610Z] nexus3.edgexfoundry.org:10003 [2022-10-17T09:13:25.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:25.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:25.870Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:25.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:25.870Z] [2022-10-17T09:13:25.870Z] Login Succeeded [2022-10-17T09:13:25.870Z] nexus3.edgexfoundry.org:10004 [2022-10-17T09:13:25.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:25.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:25.870Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:25.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:25.870Z] [2022-10-17T09:13:25.870Z] Login Succeeded [2022-10-17T09:13:25.870Z] docker.io [2022-10-17T09:13:26.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:26.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:26.391Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:26.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:26.391Z] [2022-10-17T09:13:26.391Z] Login Succeeded [2022-10-17T09:13:26.391Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T09:13:26.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T09:13:26.749Z] + git rev-list -1 --merges fd54f6e13d56bd17224e1091cec696f7f2f5ee24~1..fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo [2022-10-17T09:13:26.778Z] -----------> git rev-list -1 --merges fd54f6e13d56bd17224e1091cec696f7f2f5ee24~1..fd54f6e13d56bd17224e1091cec696f7f2f5ee24 fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [2022-10-17T09:13:26.778Z] fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [false] [Pipeline] sh [2022-10-17T09:13:27.065Z] + git log --format=format:%s -1 fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo [2022-10-17T09:13:27.080Z] ========================================================= [2022-10-17T09:13:27.080Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T09:13:27.080Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T09:13:27.415Z] + git log --format=format:%s -1 fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] echo [2022-10-17T09:13:27.428Z] [semverPrep] GIT_COMMIT: fd54f6e13d56bd17224e1091cec696f7f2f5ee24, Commit Message: Merge commit '2f9659ed4568bcbc613d823f228583e539d90aa3' into HEAD [Pipeline] echo [2022-10-17T09:13:27.436Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T09:13:27.766Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T09:13:27.766Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T09:13:27.766Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T09:13:27.766Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T09:13:27.766Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T09:13:27.766Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T09:13:27.766Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:13:28.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T09:13:28.114Z] [2022-10-17T09:13:28.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:13:28.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T09:13:28.419Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T09:13:28.419Z] b85a868b505f: Pulling fs layer [2022-10-17T09:13:28.419Z] e2be974225ed: Pulling fs layer [2022-10-17T09:13:28.419Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T09:13:28.419Z] 988bab9f4d93: Pulling fs layer [2022-10-17T09:13:28.419Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T09:13:28.419Z] eaf3925da568: Pulling fs layer [2022-10-17T09:13:28.419Z] bab4dde63d76: Pulling fs layer [2022-10-17T09:13:28.419Z] bde34c3a00c8: Pulling fs layer [2022-10-17T09:13:28.419Z] 988bab9f4d93: Waiting [2022-10-17T09:13:28.419Z] eaf3925da568: Waiting [2022-10-17T09:13:28.419Z] 1469e6f7b9e6: Waiting [2022-10-17T09:13:28.419Z] bab4dde63d76: Waiting [2022-10-17T09:13:28.419Z] b352a97aabf1: Pulling fs layer [2022-10-17T09:13:28.419Z] bde34c3a00c8: Waiting [2022-10-17T09:13:28.419Z] 4872d77fe225: Pulling fs layer [2022-10-17T09:13:28.419Z] 5851b861e8e6: Pulling fs layer [2022-10-17T09:13:28.419Z] b352a97aabf1: Waiting [2022-10-17T09:13:28.419Z] 4872d77fe225: Waiting [2022-10-17T09:13:28.419Z] 5851b861e8e6: Waiting [2022-10-17T09:13:28.419Z] e2be974225ed: Download complete [2022-10-17T09:13:28.419Z] 988bab9f4d93: Verifying Checksum [2022-10-17T09:13:28.419Z] 988bab9f4d93: Download complete [2022-10-17T09:13:28.679Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T09:13:28.679Z] 1469e6f7b9e6: Download complete [2022-10-17T09:13:28.679Z] eaf3925da568: Verifying Checksum [2022-10-17T09:13:28.679Z] eaf3925da568: Download complete [2022-10-17T09:13:28.679Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T09:13:28.679Z] 339a4e72a1f5: Download complete [2022-10-17T09:13:28.679Z] bde34c3a00c8: Verifying Checksum [2022-10-17T09:13:28.679Z] bde34c3a00c8: Download complete [2022-10-17T09:13:28.679Z] b352a97aabf1: Verifying Checksum [2022-10-17T09:13:28.679Z] b352a97aabf1: Download complete [2022-10-17T09:13:28.679Z] 4872d77fe225: Verifying Checksum [2022-10-17T09:13:28.679Z] 4872d77fe225: Download complete [2022-10-17T09:13:28.679Z] 5851b861e8e6: Download complete [2022-10-17T09:13:28.679Z] b85a868b505f: Verifying Checksum [2022-10-17T09:13:28.679Z] b85a868b505f: Download complete [2022-10-17T09:13:28.938Z] bab4dde63d76: Verifying Checksum [2022-10-17T09:13:28.938Z] bab4dde63d76: Download complete [2022-10-17T09:13:29.876Z] b85a868b505f: Pull complete [2022-10-17T09:13:30.137Z] e2be974225ed: Pull complete [2022-10-17T09:13:30.853Z] 339a4e72a1f5: Pull complete [2022-10-17T09:13:30.853Z] 988bab9f4d93: Pull complete [2022-10-17T09:13:31.112Z] 1469e6f7b9e6: Pull complete [2022-10-17T09:13:31.112Z] eaf3925da568: Pull complete [2022-10-17T09:13:33.649Z] bab4dde63d76: Pull complete [2022-10-17T09:13:33.649Z] bde34c3a00c8: Pull complete [2022-10-17T09:13:33.649Z] b352a97aabf1: Pull complete [2022-10-17T09:13:33.649Z] 4872d77fe225: Pull complete [2022-10-17T09:13:33.649Z] 5851b861e8e6: Pull complete [2022-10-17T09:13:33.649Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T09:13:33.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T09:13:33.649Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:13:33.794Z] prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container [2022-10-17T09:13:33.828Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T09:13:37.408Z] $ docker top 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 -eo pid,comm [2022-10-17T09:13:37.972Z] 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). [2022-10-17T09:13:37.972Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T09:13:38.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T09:13:38.001Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T09:13:38.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T09:13:38.124Z] $ docker exec 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent [2022-10-17T09:13:38.226Z] SSH_AUTH_SOCK=/tmp/ssh-fMxpm3TUhgqL/agent.33 [2022-10-17T09:13:38.226Z] SSH_AGENT_PID=39 [2022-10-17T09:13:38.231Z] Running ssh-add (command line suppressed) [2022-10-17T09:13:38.333Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4550416104221565448.key (/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4550416104221565448.key) [2022-10-17T09:13:38.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T09:13:38.633Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T09:13:38.649Z] $ docker exec --env ******** --env ******** 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent -k [2022-10-17T09:13:38.745Z] unset SSH_AUTH_SOCK; [2022-10-17T09:13:38.745Z] unset SSH_AGENT_PID; [2022-10-17T09:13:38.745Z] echo Agent pid 39 killed; [2022-10-17T09:13:38.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T09:13:38.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T09:13:38.782Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T09:13:38.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T09:13:38.887Z] $ docker exec 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent [2022-10-17T09:13:38.983Z] SSH_AUTH_SOCK=/tmp/ssh-3PCTNB1hrBeO/agent.71 [2022-10-17T09:13:38.983Z] SSH_AGENT_PID=77 [2022-10-17T09:13:38.988Z] Running ssh-add (command line suppressed) [2022-10-17T09:13:39.151Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4138260524320800372.key (/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_4138260524320800372.key) [2022-10-17T09:13:39.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T09:13:39.469Z] + git semver init [2022-10-17T09:13:39.728Z] 2022-10-17 09:13:39,629 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T09:13:39.728Z] 2022-10-17 09:13:39,630 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver [2022-10-17T09:13:39.728Z] 2022-10-17 09:13:39,631 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-382/.semver [2022-10-17T09:13:39.728Z] 2022-10-17 09:13:39,631 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-382/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382, universal_newlines=False, shell=None, istream=None) [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,552 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-382/.git/info/exclude [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 with force:False [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,553 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,555 [execute] INFO git cat-file --batch-check [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,560 [execute] INFO git cat-file --batch [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T09:13:40.665Z] 2022-10-17 09:13:40,566 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 [2022-10-17T09:13:40.665Z] 0.0.0 [Pipeline] } [2022-10-17T09:13:40.675Z] $ docker exec --env ******** --env ******** 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 ssh-agent -k [2022-10-17T09:13:40.771Z] unset SSH_AUTH_SOCK; [2022-10-17T09:13:40.771Z] unset SSH_AGENT_PID; [2022-10-17T09:13:40.771Z] echo Agent pid 77 killed; [2022-10-17T09:13:40.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T09:13:41.078Z] + git semver [Pipeline] } [2022-10-17T09:13:41.348Z] $ docker stop --time=1 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 [2022-10-17T09:13:42.815Z] $ docker rm -f 2ff73df22ed7a4927f7a6d0fe2652cfed7e2260fbc02420a7c10336870e1b4e9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T09:13:43.151Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T09:13:43.509Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T09:13:43.510Z] [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 [2022-10-17T09:13:43.679Z] provisioning config files... [2022-10-17T09:13:43.687Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config7830737576091727171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:13:43.983Z] ---> docker-login.sh [2022-10-17T09:13:43.983Z] nexus3.edgexfoundry.org:10001 [2022-10-17T09:13:43.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:43.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:43.983Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:43.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:43.983Z] [2022-10-17T09:13:43.983Z] Login Succeeded [2022-10-17T09:13:43.983Z] nexus3.edgexfoundry.org:10002 [2022-10-17T09:13:43.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:43.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:43.983Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:43.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:43.983Z] [2022-10-17T09:13:43.983Z] Login Succeeded [2022-10-17T09:13:43.983Z] nexus3.edgexfoundry.org:10003 [2022-10-17T09:13:44.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:44.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:44.241Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:44.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:44.241Z] [2022-10-17T09:13:44.241Z] Login Succeeded [2022-10-17T09:13:44.241Z] nexus3.edgexfoundry.org:10004 [2022-10-17T09:13:44.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:44.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:44.241Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:44.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:44.241Z] [2022-10-17T09:13:44.241Z] Login Succeeded [2022-10-17T09:13:44.241Z] docker.io [2022-10-17T09:13:44.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:13:44.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:13:44.824Z] Configure a credential helper to remove this warning. See [2022-10-17T09:13:44.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:13:44.824Z] [2022-10-17T09:13:44.824Z] Login Succeeded [2022-10-17T09:13:44.824Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T09:13:44.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T09:13:44.890Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T09:13:44.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T09:13:44.920Z] ========================================================= [2022-10-17T09:13:44.920Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T09:13:44.920Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:13:45.295Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T09:13:45.295Z] Sending build context to Docker daemon 6.202MB [2022-10-17T09:13:45.295Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T09:13:45.295Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-17T09:13:46.686Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T09:13:46.686Z] 213ec9aee27d: Pulling fs layer [2022-10-17T09:13:46.686Z] 4583459ba037: Pulling fs layer [2022-10-17T09:13:46.686Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T09:13:46.686Z] 53926ce57604: Pulling fs layer [2022-10-17T09:13:46.686Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T09:13:46.686Z] 30f14e443154: Pulling fs layer [2022-10-17T09:13:46.686Z] 801331c1e519: Pulling fs layer [2022-10-17T09:13:46.686Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T09:13:46.686Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T09:13:46.686Z] 30f14e443154: Waiting [2022-10-17T09:13:46.686Z] 21b2b0c7a3f4: Waiting [2022-10-17T09:13:46.686Z] 801331c1e519: Waiting [2022-10-17T09:13:46.686Z] 99cc6dd402b0: Waiting [2022-10-17T09:13:46.686Z] 53926ce57604: Waiting [2022-10-17T09:13:46.686Z] 7d9ed39f4882: Waiting [2022-10-17T09:13:46.686Z] 93c1e223e6f2: Verifying Checksum [2022-10-17T09:13:46.686Z] 93c1e223e6f2: Download complete [2022-10-17T09:13:46.686Z] 4583459ba037: Verifying Checksum [2022-10-17T09:13:46.686Z] 4583459ba037: Download complete [2022-10-17T09:13:46.686Z] 21b2b0c7a3f4: Download complete [2022-10-17T09:13:46.686Z] 30f14e443154: Verifying Checksum [2022-10-17T09:13:46.686Z] 30f14e443154: Download complete [2022-10-17T09:13:46.686Z] 213ec9aee27d: Verifying Checksum [2022-10-17T09:13:46.686Z] 213ec9aee27d: Download complete [2022-10-17T09:13:46.686Z] 801331c1e519: Download complete [2022-10-17T09:13:46.686Z] 213ec9aee27d: Pull complete [2022-10-17T09:13:46.949Z] 4583459ba037: Pull complete [2022-10-17T09:13:46.949Z] 93c1e223e6f2: Pull complete [2022-10-17T09:13:47.206Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T09:13:47.206Z] 7d9ed39f4882: Download complete [2022-10-17T09:13:47.206Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T09:13:47.206Z] 99cc6dd402b0: Download complete [2022-10-17T09:13:47.206Z] 53926ce57604: Verifying Checksum [2022-10-17T09:13:47.206Z] 53926ce57604: Download complete [2022-10-17T09:13:51.385Z] 53926ce57604: Pull complete [2022-10-17T09:13:51.385Z] 21b2b0c7a3f4: Pull complete [2022-10-17T09:13:51.385Z] 30f14e443154: Pull complete [2022-10-17T09:13:51.385Z] 801331c1e519: Pull complete [2022-10-17T09:13:52.752Z] 99cc6dd402b0: Pull complete [2022-10-17T09:13:53.320Z] 7d9ed39f4882: Pull complete [2022-10-17T09:13:53.320Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T09:13:53.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T09:13:53.320Z] ---> 1dedd983c030 [2022-10-17T09:13:53.320Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-17T09:13:58.626Z] Still waiting to schedule task [2022-10-17T09:13:58.627Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-17T09:13:59.891Z] ---> Running in 206b1b925e93 [2022-10-17T09:13:59.891Z] Removing intermediate container 206b1b925e93 [2022-10-17T09:13:59.891Z] ---> 0f5615182d43 [2022-10-17T09:13:59.891Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T09:13:59.891Z] ---> Running in cbe629962251 [2022-10-17T09:13:59.891Z] Removing intermediate container cbe629962251 [2022-10-17T09:13:59.891Z] ---> cf9d814fe7b5 [2022-10-17T09:13:59.891Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T09:13:59.891Z] ---> Running in 4b75a72bdcb8 [2022-10-17T09:14:00.150Z] Removing intermediate container 4b75a72bdcb8 [2022-10-17T09:14:00.150Z] ---> b074ed42c547 [2022-10-17T09:14:00.150Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T09:14:00.150Z] ---> Running in baca1c8e205c [2022-10-17T09:14:00.410Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T09:14:01.347Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T09:14:01.611Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T09:14:01.611Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-17T09:14:01.611Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T09:14:01.871Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T09:14:01.871Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-17T09:14:01.871Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-17T09:14:02.130Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-17T09:14:02.130Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-17T09:14:02.130Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T09:14:02.130Z] OK: 217 MiB in 59 packages [2022-10-17T09:14:02.700Z] Removing intermediate container baca1c8e205c [2022-10-17T09:14:02.700Z] ---> 8542bc593009 [2022-10-17T09:14:02.700Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-17T09:14:02.700Z] ---> Running in e6c795a99b94 [2022-10-17T09:14:02.961Z] Removing intermediate container e6c795a99b94 [2022-10-17T09:14:02.961Z] ---> e84886804b29 [2022-10-17T09:14:02.961Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-17T09:14:02.961Z] ---> 93060d0b873d [2022-10-17T09:14:02.961Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T09:14:02.961Z] ---> Running in 0d9b88dcd178 [2022-10-17T09:14:21.086Z] Removing intermediate container 0d9b88dcd178 [2022-10-17T09:14:21.086Z] ---> 6c8f764a58e0 [2022-10-17T09:14:21.086Z] Step 10/11 : COPY . . [2022-10-17T09:14:21.343Z] ---> 8ba34f543092 [2022-10-17T09:14:21.343Z] Step 11/11 : RUN ${MAKE} [2022-10-17T09:14:21.343Z] ---> Running in 90e6e71081c6 [2022-10-17T09:14:21.602Z] noop [2022-10-17T09:14:21.860Z] Removing intermediate container 90e6e71081c6 [2022-10-17T09:14:21.860Z] ---> 1bc6d46d8662 [2022-10-17T09:14:21.860Z] Successfully built 1bc6d46d8662 [2022-10-17T09:14:21.860Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:14:22.164Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T09:14:22.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:14:22.226Z] prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container [2022-10-17T09:14:22.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T09:14:22.595Z] $ docker top b2522e97f6b5e3bc98fb29cadcec34ecc9133b6752ee949e587ed25e6f8cd5d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T09:14:22.974Z] + go version [2022-10-17T09:14:22.974Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T09:14:22.984Z] $ docker stop --time=1 b2522e97f6b5e3bc98fb29cadcec34ecc9133b6752ee949e587ed25e6f8cd5d3 [2022-10-17T09:14:24.251Z] $ docker rm -f b2522e97f6b5e3bc98fb29cadcec34ecc9133b6752ee949e587ed25e6f8cd5d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:14:24.667Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T09:14:24.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:14:24.725Z] prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container [2022-10-17T09:14:24.762Z] $ 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-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T09:14:25.095Z] $ docker top 441b31bd17cc2d63c26b91765a34cdaa3f55ffeb75f1d1e300382a93b53d3f3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T09:14:25.447Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-382 [Pipeline] fileExists [Pipeline] sh [2022-10-17T09:14:25.745Z] + make test [2022-10-17T09:14:25.745Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T09:14:26.002Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-17T09:14:35.967Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-17T09:14:35.967Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2022-10-17T09:14:42.519Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T09:14:42.519Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T09:14:45.798Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T09:14:45.798Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T09:14:45.798Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T09:14:45.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T09:14:45.818Z] $ docker stop --time=1 441b31bd17cc2d63c26b91765a34cdaa3f55ffeb75f1d1e300382a93b53d3f3d [2022-10-17T09:14:48.349Z] $ docker rm -f 441b31bd17cc2d63c26b91765a34cdaa3f55ffeb75f1d1e300382a93b53d3f3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T09:14:48.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T09:14:48.806Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T09:14:49.222Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T09:14:49.519Z] + ls -al . [2022-10-17T09:14:49.519Z] total 188 [2022-10-17T09:14:49.519Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:14 . [2022-10-17T09:14:49.519Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:13 .. [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:13 .dockerignore [2022-10-17T09:14:49.519Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:14 .git [2022-10-17T09:14:49.519Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:13 .github [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 09:13 .gitignore [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:13 .golangci.yml [2022-10-17T09:14:49.519Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:13 .semver [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 09:13 Attribution.txt [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 09:13 CHANGELOG.md [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 09:13 Dockerfile [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:13 GOVERNANCE.md [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 09:13 Jenkinsfile [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:13 LICENSE [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 09:13 Makefile [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:13 OWNERS.md [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 09:13 README.md [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 09:13 VERSION [2022-10-17T09:14:49.519Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:13 bin [2022-10-17T09:14:49.519Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:13 cmd [2022-10-17T09:14:49.519Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 09:14 coverage.out [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 09:13 go.mod [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 09:13 go.sum [2022-10-17T09:14:49.519Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:13 internal [2022-10-17T09:14:49.519Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:13 simulator [2022-10-17T09:14:49.519Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:13 snap [2022-10-17T09:14:49.519Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 09:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:14:49.822Z] + 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=fd54f6e13d56bd17224e1091cec696f7f2f5ee24 --label arch=amd64 --label version=0.0.0 . [2022-10-17T09:14:49.822Z] Sending build context to Docker daemon 6.226MB [2022-10-17T09:14:49.822Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T09:14:49.822Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-17T09:14:49.822Z] ---> 1bc6d46d8662 [2022-10-17T09:14:49.822Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-17T09:14:50.079Z] ---> Running in b014124db5d4 [2022-10-17T09:14:50.079Z] Removing intermediate container b014124db5d4 [2022-10-17T09:14:50.079Z] ---> 5796c3b5d208 [2022-10-17T09:14:50.079Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T09:14:50.079Z] ---> Running in 4bbee862b282 [2022-10-17T09:14:50.079Z] Removing intermediate container 4bbee862b282 [2022-10-17T09:14:50.079Z] ---> 7641c4ea0576 [2022-10-17T09:14:50.079Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T09:14:50.079Z] ---> Running in d72448c3f83c [2022-10-17T09:14:50.646Z] Removing intermediate container d72448c3f83c [2022-10-17T09:14:50.646Z] ---> 2f7b0c977354 [2022-10-17T09:14:50.646Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T09:14:50.646Z] ---> Running in 1a4ff3e8bf0f [2022-10-17T09:14:50.904Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T09:14:51.837Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T09:14:52.096Z] OK: 217 MiB in 59 packages [2022-10-17T09:14:52.355Z] Removing intermediate container 1a4ff3e8bf0f [2022-10-17T09:14:52.355Z] ---> 9319105bb10f [2022-10-17T09:14:52.355Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-17T09:14:52.355Z] ---> Running in 0b19ac6d31b9 [2022-10-17T09:14:52.613Z] Removing intermediate container 0b19ac6d31b9 [2022-10-17T09:14:52.613Z] ---> 31cf208046dd [2022-10-17T09:14:52.613Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-17T09:14:52.613Z] ---> 2bbf0cec575b [2022-10-17T09:14:52.613Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T09:14:52.613Z] ---> Running in 3edb103b206e [2022-10-17T09:14:53.178Z] Removing intermediate container 3edb103b206e [2022-10-17T09:14:53.178Z] ---> 3586f681cdc4 [2022-10-17T09:14:53.178Z] Step 10/24 : COPY . . [2022-10-17T09:14:53.436Z] ---> e64489a131cb [2022-10-17T09:14:53.436Z] Step 11/24 : RUN ${MAKE} [2022-10-17T09:14:53.436Z] ---> Running in c57eae4e4138 [2022-10-17T09:14:53.694Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-17T09:15:15.604Z] Removing intermediate container c57eae4e4138 [2022-10-17T09:15:15.604Z] ---> 252619fb28ef [2022-10-17T09:15:15.604Z] Step 12/24 : FROM alpine:3.14 [2022-10-17T09:15:15.604Z] 3.14: Pulling from library/alpine [2022-10-17T09:15:15.604Z] c7ed990a2339: Pulling fs layer [2022-10-17T09:15:15.604Z] c7ed990a2339: Verifying Checksum [2022-10-17T09:15:15.604Z] c7ed990a2339: Download complete [2022-10-17T09:15:15.604Z] c7ed990a2339: Pull complete [2022-10-17T09:15:15.604Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-17T09:15:15.604Z] Status: Downloaded newer image for alpine:3.14 [2022-10-17T09:15:15.604Z] ---> dd53f409bf0b [2022-10-17T09:15:15.604Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-17T09:15:15.604Z] ---> Running in 4e17315dbf4a [2022-10-17T09:15:15.604Z] Removing intermediate container 4e17315dbf4a [2022-10-17T09:15:15.604Z] ---> 280b276d6b3b [2022-10-17T09:15:15.604Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T09:15:15.604Z] ---> Running in bbb6181f1765 [2022-10-17T09:15:15.604Z] Removing intermediate container bbb6181f1765 [2022-10-17T09:15:15.604Z] ---> 9c828534e1d2 [2022-10-17T09:15:15.604Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T09:15:15.604Z] ---> Running in aee1779f5bdd [2022-10-17T09:15:15.604Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-17T09:15:16.172Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-17T09:15:16.431Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T09:15:16.689Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-17T09:15:16.689Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T09:15:16.689Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-17T09:15:16.949Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T09:15:16.949Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T09:15:16.949Z] Executing busybox-1.33.1-r8.trigger [2022-10-17T09:15:16.949Z] OK: 8 MiB in 20 packages [2022-10-17T09:15:17.519Z] Removing intermediate container aee1779f5bdd [2022-10-17T09:15:17.519Z] ---> 98cc9deff996 [2022-10-17T09:15:17.519Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-17T09:15:18.093Z] ---> bfea770855ee [2022-10-17T09:15:18.093Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-17T09:15:18.358Z] ---> b2ceeba128e8 [2022-10-17T09:15:18.358Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-17T09:15:18.358Z] ---> 42c93819b062 [2022-10-17T09:15:18.358Z] Step 19/24 : EXPOSE 59901 [2022-10-17T09:15:18.358Z] ---> Running in cde5dbc7521f [2022-10-17T09:15:18.358Z] Removing intermediate container cde5dbc7521f [2022-10-17T09:15:18.358Z] ---> d05181ad6189 [2022-10-17T09:15:18.358Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-17T09:15:18.358Z] ---> Running in ca6a2e95557b [2022-10-17T09:15:18.617Z] Removing intermediate container ca6a2e95557b [2022-10-17T09:15:18.617Z] ---> 32336204dd18 [2022-10-17T09:15:18.617Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T09:15:18.617Z] ---> Running in 4ffba70e560c [2022-10-17T09:15:18.617Z] Removing intermediate container 4ffba70e560c [2022-10-17T09:15:18.617Z] ---> c3a47cd4e5d9 [2022-10-17T09:15:18.617Z] Step 22/24 : LABEL arch=amd64 [2022-10-17T09:15:18.617Z] ---> Running in 82c09ba847d2 [2022-10-17T09:15:18.617Z] Removing intermediate container 82c09ba847d2 [2022-10-17T09:15:18.617Z] ---> fd47416a0baf [2022-10-17T09:15:18.617Z] Step 23/24 : LABEL git_sha=fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [2022-10-17T09:15:18.617Z] ---> Running in e7cbab604125 [2022-10-17T09:15:18.875Z] Removing intermediate container e7cbab604125 [2022-10-17T09:15:18.875Z] ---> 4a875f57d07c [2022-10-17T09:15:18.875Z] Step 24/24 : LABEL version=0.0.0 [2022-10-17T09:15:18.875Z] ---> Running in 1e76db3f6706 [2022-10-17T09:15:18.875Z] Removing intermediate container 1e76db3f6706 [2022-10-17T09:15:18.875Z] ---> 34dff46cca6d [2022-10-17T09:15:18.875Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T09:15:18.875Z] Successfully built 34dff46cca6d [2022-10-17T09:15:18.875Z] 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 [2022-10-17T09:15:19.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T09:15:19.280Z] [2022-10-17T09:15:19.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:15:19.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T09:15:19.574Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T09:15:19.574Z] 5eb5b503b376: Pulling fs layer [2022-10-17T09:15:19.574Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T09:15:19.574Z] ec43610c2a17: Pulling fs layer [2022-10-17T09:15:19.574Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T09:15:19.574Z] 33b1e0a273af: Pulling fs layer [2022-10-17T09:15:19.574Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T09:15:19.574Z] 2f39f015ded8: Pulling fs layer [2022-10-17T09:15:19.574Z] 3a2ae6a8a46f: Waiting [2022-10-17T09:15:19.574Z] 2f39f015ded8: Waiting [2022-10-17T09:15:19.574Z] 5d3b04190fa2: Waiting [2022-10-17T09:15:19.574Z] 33b1e0a273af: Waiting [2022-10-17T09:15:19.574Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T09:15:19.574Z] 5c69ac0246d0: Download complete [2022-10-17T09:15:19.574Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T09:15:19.574Z] 3a2ae6a8a46f: Download complete [2022-10-17T09:15:19.574Z] 33b1e0a273af: Verifying Checksum [2022-10-17T09:15:19.574Z] 33b1e0a273af: Download complete [2022-10-17T09:15:19.574Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T09:15:19.574Z] 5d3b04190fa2: Download complete [2022-10-17T09:15:19.835Z] ec43610c2a17: Verifying Checksum [2022-10-17T09:15:19.835Z] ec43610c2a17: Download complete [2022-10-17T09:15:19.835Z] 5eb5b503b376: Verifying Checksum [2022-10-17T09:15:19.835Z] 5eb5b503b376: Download complete [2022-10-17T09:15:20.780Z] 2f39f015ded8: Download complete [2022-10-17T09:15:20.780Z] 5eb5b503b376: Pull complete [2022-10-17T09:15:21.038Z] 5c69ac0246d0: Pull complete [2022-10-17T09:15:21.297Z] ec43610c2a17: Pull complete [2022-10-17T09:15:21.558Z] 3a2ae6a8a46f: Pull complete [2022-10-17T09:15:21.558Z] 33b1e0a273af: Pull complete [2022-10-17T09:15:21.815Z] 5d3b04190fa2: Pull complete [2022-10-17T09:15:25.994Z] 2f39f015ded8: Pull complete [2022-10-17T09:15:25.994Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T09:15:25.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T09:15:25.994Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:15:26.073Z] prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container [2022-10-17T09:15:26.105Z] $ 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-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T09:15:29.645Z] $ docker top 85abe56682f7facf96e7a8e3a3bf8f053a24b6e687551ab6936cd87037feb2d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:15:30.011Z] ---> job-cost.sh [2022-10-17T09:15:30.011Z] lf-activate-venv: SKIPPING [2022-10-17T09:15:30.011Z] INFO: No Stack... [2022-10-17T09:15:30.269Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T09:15:30.528Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T09:15:30.817Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-382/archives/cost.csv [2022-10-17T09:15:30.817Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T09:15:30.829Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [2022-10-17T09:15:30.835Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] did not exist. Created. [2022-10-17T09:15:30.835Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T09:15:31.133Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T09:15:31.162Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T09:15:31.169Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T09:15:31.187Z] $ docker stop --time=1 85abe56682f7facf96e7a8e3a3bf8f053a24b6e687551ab6936cd87037feb2d2 [2022-10-17T09:15:32.329Z] $ docker rm -f 85abe56682f7facf96e7a8e3a3bf8f053a24b6e687551ab6936cd87037feb2d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T09:16:00.405Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8065 in /w/workspace/xfoundry_device-modbus-go_PR-382 [Pipeline] { [Pipeline] ws [2022-10-17T09:16:00.416Z] Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout [2022-10-17T09:16:00.461Z] Selected Git installation does not exist. Using Default [2022-10-17T09:16:00.461Z] The recommended git tool is: NONE [2022-10-17T09:16:06.582Z] using credential edgex-jenkins-ssh [2022-10-17T09:16:06.606Z] Cloning the remote Git repository [2022-10-17T09:16:06.659Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-17T09:16:06.750Z] > git init /w/workspace/device-modbus-go/2 # timeout=10 [2022-10-17T09:16:06.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-17T09:16:06.928Z] > git --version # timeout=10 [2022-10-17T09:16:06.953Z] > git --version # 'git version 2.25.1' [2022-10-17T09:16:06.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T09:16:07.014Z] Verifying host key using known hosts file [2022-10-17T09:16:07.234Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T09:16:07.249Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T09:16:08.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-17T09:16:08.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T09:16:10.324Z] Merging remotes/origin/main commit 2f9659ed4568bcbc613d823f228583e539d90aa3 into PR head commit c5f598b77e77bd73a577202a05e992d50edf3c45 [2022-10-17T09:16:10.620Z] Merge succeeded, producing b3c9aa4595c6bbef9c35e517ea68a315b038ead8 [2022-10-17T09:16:10.620Z] Checking out Revision b3c9aa4595c6bbef9c35e517ea68a315b038ead8 (PR-382) [2022-10-17T09:16:09.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-17T09:16:09.647Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-17T09:16:09.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T09:16:09.655Z] Verifying host key using known hosts file [2022-10-17T09:16:09.664Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T09:16:09.678Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T09:16:10.346Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T09:16:10.370Z] > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 [2022-10-17T09:16:10.466Z] > git remote # timeout=10 [2022-10-17T09:16:10.487Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T09:16:10.511Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T09:16:10.517Z] Verifying host key using known hosts file [2022-10-17T09:16:10.521Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T09:16:10.532Z] > git merge 2f9659ed4568bcbc613d823f228583e539d90aa3 # timeout=10 [2022-10-17T09:16:10.598Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T09:16:10.630Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T09:16:10.651Z] > git checkout -f b3c9aa4595c6bbef9c35e517ea68a315b038ead8 # timeout=10 [2022-10-17T09:16:14.253Z] Commit message: "Merge commit '2f9659ed4568bcbc613d823f228583e539d90aa3' into HEAD" [2022-10-17T09:16:14.267Z] > git rev-list --no-walk c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T09:16:15.279Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T09:16:15.279Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T09:16:15.279Z] Dload Upload Total Spent Left Speed [2022-10-17T09:16:15.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-10-17T09:16:16.028Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T09:16:16.378Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T09:16:16.378Z] + sudo tee /etc/docker/daemon.new [2022-10-17T09:16:16.378Z] { [2022-10-17T09:16:16.378Z] "registry-mirrors": [ [2022-10-17T09:16:16.378Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T09:16:16.378Z] ], [2022-10-17T09:16:16.378Z] "bip": "10.250.0.254/24", [2022-10-17T09:16:16.378Z] "hosts": [ [2022-10-17T09:16:16.378Z] "tcp://0.0.0.0:5555", [2022-10-17T09:16:16.378Z] "unix:///var/run/docker.sock" [2022-10-17T09:16:16.378Z] ], [2022-10-17T09:16:16.378Z] "mtu": 1458, [2022-10-17T09:16:16.378Z] "selinux-enabled": true, [2022-10-17T09:16:16.378Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T09:16:16.378Z] } [Pipeline] sh [2022-10-17T09:16:16.738Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T09:16:17.099Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T09:16:35.417Z] provisioning config files... [2022-10-17T09:16:35.457Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config12438108713884661141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:16:35.817Z] ---> docker-login.sh [2022-10-17T09:16:35.817Z] nexus3.edgexfoundry.org:10001 [2022-10-17T09:16:36.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:16:36.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:16:36.699Z] Configure a credential helper to remove this warning. See [2022-10-17T09:16:36.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:16:36.699Z] [2022-10-17T09:16:36.699Z] Login Succeeded [2022-10-17T09:16:36.699Z] nexus3.edgexfoundry.org:10002 [2022-10-17T09:16:36.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:16:36.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:16:36.974Z] Configure a credential helper to remove this warning. See [2022-10-17T09:16:36.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:16:36.974Z] [2022-10-17T09:16:36.974Z] Login Succeeded [2022-10-17T09:16:36.974Z] nexus3.edgexfoundry.org:10003 [2022-10-17T09:16:37.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:16:37.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:16:37.523Z] Configure a credential helper to remove this warning. See [2022-10-17T09:16:37.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:16:37.523Z] [2022-10-17T09:16:37.523Z] Login Succeeded [2022-10-17T09:16:37.523Z] nexus3.edgexfoundry.org:10004 [2022-10-17T09:16:37.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:16:37.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:16:37.797Z] Configure a credential helper to remove this warning. See [2022-10-17T09:16:37.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:16:37.798Z] [2022-10-17T09:16:37.798Z] Login Succeeded [2022-10-17T09:16:38.071Z] docker.io [2022-10-17T09:16:38.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T09:16:38.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T09:16:38.614Z] Configure a credential helper to remove this warning. See [2022-10-17T09:16:38.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T09:16:38.614Z] [2022-10-17T09:16:38.614Z] Login Succeeded [2022-10-17T09:16:38.614Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T09:16:38.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T09:16:38.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T09:16:38.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T09:16:38.854Z] ========================================================= [2022-10-17T09:16:38.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T09:16:38.854Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:16:39.212Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T09:16:39.486Z] Sending build context to Docker daemon 3.228MB [2022-10-17T09:16:39.486Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T09:16:39.486Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-17T09:16:39.761Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T09:16:39.761Z] 9b18e9b68314: Pulling fs layer [2022-10-17T09:16:39.761Z] d32db5db7311: Pulling fs layer [2022-10-17T09:16:39.761Z] d0c4b47475fc: Pulling fs layer [2022-10-17T09:16:39.761Z] 5831b945b038: Pulling fs layer [2022-10-17T09:16:39.761Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T09:16:39.761Z] e10730c5d714: Pulling fs layer [2022-10-17T09:16:39.761Z] 5dd5c2283517: Pulling fs layer [2022-10-17T09:16:39.761Z] d5ac0230b979: Pulling fs layer [2022-10-17T09:16:39.761Z] e10730c5d714: Waiting [2022-10-17T09:16:39.761Z] 5dd5c2283517: Waiting [2022-10-17T09:16:39.761Z] d5ac0230b979: Waiting [2022-10-17T09:16:39.761Z] 86bbec2aaacd: Waiting [2022-10-17T09:16:39.761Z] 5831b945b038: Waiting [2022-10-17T09:16:39.761Z] d0c4b47475fc: Verifying Checksum [2022-10-17T09:16:39.761Z] d0c4b47475fc: Download complete [2022-10-17T09:16:39.761Z] d32db5db7311: Verifying Checksum [2022-10-17T09:16:39.761Z] d32db5db7311: Download complete [2022-10-17T09:16:39.761Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T09:16:39.761Z] 86bbec2aaacd: Download complete [2022-10-17T09:16:40.051Z] e10730c5d714: Verifying Checksum [2022-10-17T09:16:40.051Z] e10730c5d714: Download complete [2022-10-17T09:16:40.051Z] 9b18e9b68314: Verifying Checksum [2022-10-17T09:16:40.051Z] 9b18e9b68314: Download complete [2022-10-17T09:16:41.062Z] 9b18e9b68314: Pull complete [2022-10-17T09:16:41.062Z] d5ac0230b979: Verifying Checksum [2022-10-17T09:16:41.062Z] d5ac0230b979: Download complete [2022-10-17T09:16:41.335Z] d32db5db7311: Pull complete [2022-10-17T09:16:41.939Z] d0c4b47475fc: Pull complete [2022-10-17T09:16:42.211Z] 5dd5c2283517: Verifying Checksum [2022-10-17T09:16:43.185Z] 5831b945b038: Download complete [2022-10-17T09:16:55.558Z] 5831b945b038: Pull complete [2022-10-17T09:16:55.558Z] 86bbec2aaacd: Pull complete [2022-10-17T09:16:55.558Z] e10730c5d714: Pull complete [2022-10-17T09:17:00.925Z] 5dd5c2283517: Pull complete [2022-10-17T09:17:03.529Z] d5ac0230b979: Pull complete [2022-10-17T09:17:03.529Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T09:17:03.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T09:17:03.529Z] ---> 59b3b1a385d4 [2022-10-17T09:17:03.529Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-17T09:17:05.492Z] ---> Running in acafd3d92106 [2022-10-17T09:17:05.761Z] Removing intermediate container acafd3d92106 [2022-10-17T09:17:05.761Z] ---> 15ae6a0e059b [2022-10-17T09:17:05.761Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T09:17:06.029Z] ---> Running in be74a0b77219 [2022-10-17T09:17:06.298Z] Removing intermediate container be74a0b77219 [2022-10-17T09:17:06.298Z] ---> 537ca367b6fb [2022-10-17T09:17:06.298Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T09:17:06.298Z] ---> Running in d58a13f45e63 [2022-10-17T09:17:08.257Z] Removing intermediate container d58a13f45e63 [2022-10-17T09:17:08.257Z] ---> 9727059e84df [2022-10-17T09:17:08.257Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T09:17:08.527Z] ---> Running in f0d5f6b4eebb [2022-10-17T09:17:09.485Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T09:17:10.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T09:17:11.419Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T09:17:11.419Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-17T09:17:11.419Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T09:17:11.687Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T09:17:11.955Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-17T09:17:11.955Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-17T09:17:11.955Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-17T09:17:12.225Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-17T09:17:12.225Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T09:17:12.225Z] OK: 228 MiB in 59 packages [2022-10-17T09:17:13.644Z] Removing intermediate container f0d5f6b4eebb [2022-10-17T09:17:13.644Z] ---> 1a3f49fc5ebb [2022-10-17T09:17:13.644Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-17T09:17:13.644Z] ---> Running in 75d8638913ff [2022-10-17T09:17:13.911Z] Removing intermediate container 75d8638913ff [2022-10-17T09:17:13.911Z] ---> 1eb1f2929c02 [2022-10-17T09:17:13.911Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-17T09:17:14.181Z] ---> 8833be13ea35 [2022-10-17T09:17:14.181Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T09:17:14.447Z] ---> Running in 4431d76aae57 [2022-10-17T09:18:10.909Z] Removing intermediate container 4431d76aae57 [2022-10-17T09:18:10.909Z] ---> 3548584f8737 [2022-10-17T09:18:10.909Z] Step 10/11 : COPY . . [2022-10-17T09:18:10.909Z] ---> 4e5ec0106206 [2022-10-17T09:18:10.909Z] Step 11/11 : RUN ${MAKE} [2022-10-17T09:18:10.909Z] ---> Running in a5a0c8d78126 [2022-10-17T09:18:10.909Z] noop [2022-10-17T09:18:10.909Z] Removing intermediate container a5a0c8d78126 [2022-10-17T09:18:10.909Z] ---> 683644e6aecf [2022-10-17T09:18:10.909Z] Successfully built 683644e6aecf [2022-10-17T09:18:10.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:18:11.267Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T09:18:11.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:18:11.463Z] prd-ubuntu20.04-docker-arm64-4c-16g-8065 does not seem to be running inside a container [2022-10-17T09:18:11.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T09:18:12.768Z] $ docker top 18a83ef56891a7d9b529aa25f6daa39e43697532a78a890aee468b4c62183c6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T09:18:13.619Z] + go version [2022-10-17T09:18:13.619Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T09:18:13.638Z] $ docker stop --time=1 18a83ef56891a7d9b529aa25f6daa39e43697532a78a890aee468b4c62183c6c [2022-10-17T09:18:15.316Z] $ docker rm -f 18a83ef56891a7d9b529aa25f6daa39e43697532a78a890aee468b4c62183c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:18:15.883Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T09:18:15.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:18:16.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-8065 does not seem to be running inside a container [2022-10-17T09:18:16.135Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-17T09:18:17.412Z] $ docker top 6bf4320849f6b18552ac5f5471f6417e3ab8cac2d495b3d62fcf3a9fb32515f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T09:18:18.287Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-17T09:18:18.939Z] + make test [2022-10-17T09:18:18.939Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-17T09:18:20.888Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-17T09:19:57.567Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-17T09:19:57.567Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 47.7% of statements [2022-10-17T09:19:57.567Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T09:19:57.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T09:20:24.347Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T09:20:24.620Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T09:20:24.620Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T09:20:25.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T09:20:25.237Z] $ docker stop --time=1 6bf4320849f6b18552ac5f5471f6417e3ab8cac2d495b3d62fcf3a9fb32515f8 [2022-10-17T09:20:27.085Z] $ docker rm -f 6bf4320849f6b18552ac5f5471f6417e3ab8cac2d495b3d62fcf3a9fb32515f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T09:20:28.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T09:20:28.245Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T09:20:28.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T09:20:29.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T09:20:29.676Z] + ls -al . [2022-10-17T09:20:29.676Z] total 184 [2022-10-17T09:20:29.676Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 09:18 . [2022-10-17T09:20:29.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:16 .. [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 09:16 .dockerignore [2022-10-17T09:20:29.676Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:16 .git [2022-10-17T09:20:29.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:16 .github [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 17 09:16 .gitignore [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:16 .golangci.yml [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 17 09:16 Attribution.txt [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 17 09:16 CHANGELOG.md [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 17 09:16 Dockerfile [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:16 GOVERNANCE.md [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 09:16 Jenkinsfile [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 09:16 LICENSE [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 17 09:16 Makefile [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 09:16 OWNERS.md [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 17 09:16 README.md [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 09:13 VERSION [2022-10-17T09:20:29.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:16 bin [2022-10-17T09:20:29.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:16 cmd [2022-10-17T09:20:29.676Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 17 09:19 coverage.out [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 17 09:16 go.mod [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 17 09:16 go.sum [2022-10-17T09:20:29.676Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:16 internal [2022-10-17T09:20:29.676Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:16 simulator [2022-10-17T09:20:29.676Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:16 snap [2022-10-17T09:20:29.676Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 17 09:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:20:30.018Z] + 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=b3c9aa4595c6bbef9c35e517ea68a315b038ead8 --label arch=arm64 --label version=0.0.0 . [2022-10-17T09:20:30.604Z] Sending build context to Docker daemon 3.252MB [2022-10-17T09:20:30.604Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T09:20:30.604Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-17T09:20:30.604Z] ---> 683644e6aecf [2022-10-17T09:20:30.604Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-17T09:20:30.870Z] ---> Running in a59d93e0b7d2 [2022-10-17T09:20:31.456Z] Removing intermediate container a59d93e0b7d2 [2022-10-17T09:20:31.456Z] ---> 89d192818275 [2022-10-17T09:20:31.456Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T09:20:31.456Z] ---> Running in c519e29fd98e [2022-10-17T09:20:32.877Z] Removing intermediate container c519e29fd98e [2022-10-17T09:20:32.877Z] ---> 96683d8035ae [2022-10-17T09:20:32.877Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T09:20:32.877Z] ---> Running in 92a1080d5a49 [2022-10-17T09:20:35.055Z] Removing intermediate container 92a1080d5a49 [2022-10-17T09:20:35.055Z] ---> 21465b89032d [2022-10-17T09:20:35.055Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-17T09:20:35.342Z] ---> Running in 65928d4e85a1 [2022-10-17T09:20:36.823Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T09:20:37.413Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T09:20:38.838Z] OK: 228 MiB in 59 packages [2022-10-17T09:20:39.804Z] Removing intermediate container 65928d4e85a1 [2022-10-17T09:20:39.804Z] ---> debf2623f414 [2022-10-17T09:20:39.804Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-17T09:20:40.073Z] ---> Running in 05820c06c8bc [2022-10-17T09:20:40.353Z] Removing intermediate container 05820c06c8bc [2022-10-17T09:20:40.353Z] ---> 0b1abb344449 [2022-10-17T09:20:40.353Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-17T09:20:40.942Z] ---> e4fdb3347eb5 [2022-10-17T09:20:40.942Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T09:20:41.213Z] ---> Running in e05aeffb81e5 [2022-10-17T09:20:43.171Z] Removing intermediate container e05aeffb81e5 [2022-10-17T09:20:43.171Z] ---> a36b8ee3df32 [2022-10-17T09:20:43.171Z] Step 10/24 : COPY . . [2022-10-17T09:20:44.609Z] ---> de093949a36f [2022-10-17T09:20:44.609Z] Step 11/24 : RUN ${MAKE} [2022-10-17T09:20:44.609Z] ---> Running in db8aa66ec3d8 [2022-10-17T09:20:45.636Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-17T09:23:37.528Z] Removing intermediate container db8aa66ec3d8 [2022-10-17T09:23:37.528Z] ---> 838447ce45ad [2022-10-17T09:23:37.528Z] Step 12/24 : FROM alpine:3.14 [2022-10-17T09:23:37.528Z] 3.14: Pulling from library/alpine [2022-10-17T09:23:37.528Z] 90cda3b7c325: Pulling fs layer [2022-10-17T09:23:37.528Z] 90cda3b7c325: Verifying Checksum [2022-10-17T09:23:37.528Z] 90cda3b7c325: Download complete [2022-10-17T09:23:37.528Z] 90cda3b7c325: Pull complete [2022-10-17T09:23:37.528Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-17T09:23:37.528Z] Status: Downloaded newer image for alpine:3.14 [2022-10-17T09:23:37.528Z] ---> 376ba31ae3da [2022-10-17T09:23:37.528Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-17T09:23:37.528Z] ---> Running in ae55cade307b [2022-10-17T09:23:37.528Z] Removing intermediate container ae55cade307b [2022-10-17T09:23:37.528Z] ---> 97c8fc9a63cb [2022-10-17T09:23:37.528Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T09:23:37.528Z] ---> Running in 205bd4b5e669 [2022-10-17T09:23:37.528Z] Removing intermediate container 205bd4b5e669 [2022-10-17T09:23:37.528Z] ---> 956ca5dae11e [2022-10-17T09:23:37.528Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T09:23:37.528Z] ---> Running in c16f88e6be56 [2022-10-17T09:23:38.114Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-17T09:23:39.078Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-17T09:23:40.047Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T09:23:40.315Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-17T09:23:40.315Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T09:23:40.315Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-17T09:23:40.584Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T09:23:40.584Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T09:23:40.856Z] Executing busybox-1.33.1-r8.trigger [2022-10-17T09:23:40.856Z] OK: 8 MiB in 20 packages [2022-10-17T09:23:41.819Z] Removing intermediate container c16f88e6be56 [2022-10-17T09:23:41.819Z] ---> e21e48807946 [2022-10-17T09:23:41.819Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-17T09:23:43.248Z] ---> 72ce552d91f4 [2022-10-17T09:23:43.248Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-17T09:23:43.837Z] ---> b18947826d2b [2022-10-17T09:23:43.837Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-17T09:23:44.425Z] ---> 0014ff673885 [2022-10-17T09:23:44.425Z] Step 19/24 : EXPOSE 59901 [2022-10-17T09:23:44.425Z] ---> Running in af7f4f3cc864 [2022-10-17T09:23:44.695Z] Removing intermediate container af7f4f3cc864 [2022-10-17T09:23:44.695Z] ---> cc4958158cc3 [2022-10-17T09:23:44.695Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-17T09:23:44.963Z] ---> Running in 2c989f43a529 [2022-10-17T09:23:45.232Z] Removing intermediate container 2c989f43a529 [2022-10-17T09:23:45.232Z] ---> 1aea9ad321d3 [2022-10-17T09:23:45.232Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-17T09:23:45.232Z] ---> Running in 667680bc86d9 [2022-10-17T09:23:45.819Z] Removing intermediate container 667680bc86d9 [2022-10-17T09:23:45.819Z] ---> 3b31e679036e [2022-10-17T09:23:45.819Z] Step 22/24 : LABEL arch=arm64 [2022-10-17T09:23:45.819Z] ---> Running in f10354b2b4b2 [2022-10-17T09:23:46.087Z] Removing intermediate container f10354b2b4b2 [2022-10-17T09:23:46.087Z] ---> e2c07a52bd76 [2022-10-17T09:23:46.087Z] Step 23/24 : LABEL git_sha=b3c9aa4595c6bbef9c35e517ea68a315b038ead8 [2022-10-17T09:23:46.087Z] ---> Running in 6957129b79d5 [2022-10-17T09:23:46.355Z] Removing intermediate container 6957129b79d5 [2022-10-17T09:23:46.355Z] ---> 0ec83d3aed64 [2022-10-17T09:23:46.355Z] Step 24/24 : LABEL version=0.0.0 [2022-10-17T09:23:46.624Z] ---> Running in 2c0900f09d01 [2022-10-17T09:23:46.891Z] Removing intermediate container 2c0900f09d01 [2022-10-17T09:23:46.891Z] ---> 0592ce7a4774 [2022-10-17T09:23:46.891Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T09:23:46.891Z] Successfully built 0592ce7a4774 [2022-10-17T09:23:46.891Z] 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 [2022-10-17T09:23:47.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T09:23:47.359Z] [2022-10-17T09:23:47.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:23:47.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T09:23:47.701Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T09:23:47.701Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T09:23:47.701Z] 04944245beec: Pulling fs layer [2022-10-17T09:23:47.701Z] 699f458cf7ca: Pulling fs layer [2022-10-17T09:23:47.701Z] 765212b225bb: Pulling fs layer [2022-10-17T09:23:47.701Z] f23df028b6ca: Pulling fs layer [2022-10-17T09:23:47.701Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T09:23:47.701Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T09:23:47.701Z] 765212b225bb: Waiting [2022-10-17T09:23:47.701Z] f23df028b6ca: Waiting [2022-10-17T09:23:47.701Z] d65c8cfc05b1: Waiting [2022-10-17T09:23:47.701Z] 2437ff75d9bd: Waiting [2022-10-17T09:23:47.970Z] 04944245beec: Verifying Checksum [2022-10-17T09:23:47.970Z] 04944245beec: Download complete [2022-10-17T09:23:47.970Z] 765212b225bb: Verifying Checksum [2022-10-17T09:23:47.970Z] 765212b225bb: Download complete [2022-10-17T09:23:47.970Z] f23df028b6ca: Verifying Checksum [2022-10-17T09:23:47.970Z] f23df028b6ca: Download complete [2022-10-17T09:23:47.970Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T09:23:47.970Z] d65c8cfc05b1: Download complete [2022-10-17T09:23:48.241Z] 699f458cf7ca: Verifying Checksum [2022-10-17T09:23:48.241Z] 699f458cf7ca: Download complete [2022-10-17T09:23:48.511Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T09:23:48.511Z] 8998bd30e6a1: Download complete [2022-10-17T09:23:51.097Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T09:23:51.097Z] 2437ff75d9bd: Download complete [2022-10-17T09:23:53.041Z] 8998bd30e6a1: Pull complete [2022-10-17T09:23:53.041Z] 04944245beec: Pull complete [2022-10-17T09:23:54.450Z] 699f458cf7ca: Pull complete [2022-10-17T09:23:54.718Z] 765212b225bb: Pull complete [2022-10-17T09:23:56.664Z] f23df028b6ca: Pull complete [2022-10-17T09:23:56.664Z] d65c8cfc05b1: Pull complete [2022-10-17T09:24:11.657Z] 2437ff75d9bd: Pull complete [2022-10-17T09:24:11.657Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T09:24:11.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T09:24:11.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:24:11.852Z] prd-ubuntu20.04-docker-arm64-4c-16g-8065 does not seem to be running inside a container [2022-10-17T09:24:11.920Z] $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-17T09:24:14.749Z] $ docker top 3fdbc69acd3d492040c13a06097473f7abcc9352defa46c0672d6c73153f92d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:15.600Z] ---> job-cost.sh [2022-10-17T09:24:15.600Z] lf-activate-venv: SKIPPING [2022-10-17T09:24:15.600Z] INFO: No Stack... [2022-10-17T09:24:15.865Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T09:24:16.827Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T09:24:17.477Z] + cat /w/workspace/device-modbus-go/2/archives/cost.csv [2022-10-17T09:24:17.477Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T09:24:17.513Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [2022-10-17T09:24:17.520Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] did not exist. Created. [2022-10-17T09:24:17.520Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T09:24:18.176Z] /w/workspace/device-modbus-go/2@tmp/durable-7f7ebef1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T09:24:18.513Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T09:24:18.528Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T09:24:18.581Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T09:24:18.590Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-382-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T09:24:18.605Z] $ docker stop --time=1 3fdbc69acd3d492040c13a06097473f7abcc9352defa46c0672d6c73153f92d7 [2022-10-17T09:24:20.576Z] $ docker rm -f 3fdbc69acd3d492040c13a06097473f7abcc9352defa46c0672d6c73153f92d7 [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 [2022-10-17T09:24:20.938Z] provisioning config files... [2022-10-17T09:24:20.945Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config2320408442021205499tmp [Pipeline] { [Pipeline] sh [2022-10-17T09:24:21.238Z] + set +x [2022-10-17T09:24:21.238Z] + bash -s -- [2022-10-17T09:24:21.238Z] + curl -s https://codecov.io/bash [2022-10-17T09:24:21.238Z] [2022-10-17T09:24:21.238Z] _____ _ [2022-10-17T09:24:21.238Z] / ____| | | [2022-10-17T09:24:21.238Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T09:24:21.238Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T09:24:21.238Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T09:24:21.238Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T09:24:21.238Z] Bash-1.0.6 [2022-10-17T09:24:21.238Z] [2022-10-17T09:24:21.239Z] [2022-10-17T09:24:21.239Z] ==> git version 2.25.1 found [2022-10-17T09:24:21.239Z] ==> 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 [2022-10-17T09:24:21.239Z] Release-Date: 2020-01-08 [2022-10-17T09:24:21.239Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T09:24:21.239Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T09:24:21.239Z] ==> Jenkins CI detected. [2022-10-17T09:24:21.239Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-382 [2022-10-17T09:24:21.239Z] project root: . [2022-10-17T09:24:21.239Z] --> token set from env [2022-10-17T09:24:21.239Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T09:24:21.239Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T09:24:21.239Z] ==> Python coveragepy not found [2022-10-17T09:24:21.239Z] ==> Searching for coverage reports in: [2022-10-17T09:24:21.239Z] + . [2022-10-17T09:24:21.239Z] -> Found 1 reports [2022-10-17T09:24:21.239Z] ==> Detecting git/mercurial file structure [2022-10-17T09:24:21.239Z] ==> Reading reports [2022-10-17T09:24:21.239Z] + ./coverage.out bytes=23241 [2022-10-17T09:24:21.239Z] ==> Appending adjustments [2022-10-17T09:24:21.239Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T09:24:21.498Z] + Found adjustments [2022-10-17T09:24:21.498Z] ==> Gzipping contents [2022-10-17T09:24:21.498Z] 4.0K /tmp/codecov.Xo5AfW.gz [2022-10-17T09:24:21.498Z] ==> Uploading reports [2022-10-17T09:24:21.498Z] url: https://codecov.io [2022-10-17T09:24:21.498Z] query: branch=PR-382&commit=fd54f6e13d56bd17224e1091cec696f7f2f5ee24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-382%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=382&job=&cmd_args= [2022-10-17T09:24:21.498Z] -> Pinging Codecov [2022-10-17T09:24:21.498Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-382&commit=fd54f6e13d56bd17224e1091cec696f7f2f5ee24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-382%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=382&job=&cmd_args= [2022-10-17T09:24:21.757Z] -> Uploading to [2022-10-17T09:24:21.758Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/55DBCA73C666E3227836607328DD7E49/fd54f6e13d56bd17224e1091cec696f7f2f5ee24/88eb6f9e-8745-40e4-8c06-0fc3aa76df71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T092421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22af04deabd69a0e6f128c916bb73532f531c7b17e2a559ff0842c8d78de34d6 [2022-10-17T09:24:21.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T09:24:21.758Z] Dload Upload Total Spent Left Speed [2022-10-17T09:24:22.016Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3911 0 0 100 3911 0 17696 --:--:-- --:--:-- --:--:-- 17777 [2022-10-17T09:24:22.016Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/fd54f6e13d56bd17224e1091cec696f7f2f5ee24 [Pipeline] } [2022-10-17T09:24:22.024Z] 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 [2022-10-17T09:24:22.746Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-382/archives ] [2022-10-17T09:24:22.746Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-382/archives [2022-10-17T09:24:22.746Z] total 16 [2022-10-17T09:24:22.746Z] drwxr-xr-x 3 root root 4096 Oct 17 09:15 . [2022-10-17T09:24:22.746Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:15 .. [2022-10-17T09:24:22.746Z] drwxr-xr-x 2 root root 4096 Oct 17 09:15 cost [2022-10-17T09:24:22.746Z] -rw-r--r-- 1 root root 88 Oct 17 09:15 cost.csv [2022-10-17T09:24:22.746Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-382/archives [2022-10-17T09:24:22.746Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-382/archives [2022-10-17T09:24:22.746Z] total 16 [2022-10-17T09:24:22.746Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:15 . [2022-10-17T09:24:22.746Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:15 .. [2022-10-17T09:24:22.746Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:15 cost [2022-10-17T09:24:22.746Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 17 09:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:23.039Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:23.899Z] ---> package-listing.sh [2022-10-17T09:24:23.899Z] ++ facter osfamily [2022-10-17T09:24:23.899Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T09:24:24.160Z] + OS_FAMILY=debian [2022-10-17T09:24:24.160Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-382 [2022-10-17T09:24:24.160Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T09:24:24.160Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T09:24:24.160Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T09:24:24.160Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T09:24:24.160Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-382 ']' [2022-10-17T09:24:24.160Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T09:24:24.160Z] + case "${OS_FAMILY}" in [2022-10-17T09:24:24.160Z] + dpkg -l [2022-10-17T09:24:24.160Z] + grep '^ii' [2022-10-17T09:24:24.160Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T09:24:24.160Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T09:24:24.160Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T09:24:24.160Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-382 ']' [2022-10-17T09:24:24.160Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-382/archives/ [2022-10-17T09:24:24.160Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-382/archives/ [Pipeline] echo [2022-10-17T09:24:24.172Z] 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-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T09:24:24.450Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T09:24:25.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T09:24:25.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T09:24:25.085Z] prd-ubuntu20.04-docker-8c-8g-8059 does not seem to be running inside a container [2022-10-17T09:24:25.117Z] $ 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-382/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-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T09:24:25.325Z] $ docker top b8f975a30786481ea98379a66b6e746bcdf7d76d7675a8313f5a0eddf34177f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T09:24:25.671Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T09:24:25.955Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T09:24:26.238Z] + ls /var/log/sa-host [2022-10-17T09:24:26.238Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T09:24:26.304Z] provisioning config files... [2022-10-17T09:24:26.311Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config15484355041333341422tmp [Pipeline] { [Pipeline] echo [2022-10-17T09:24:26.324Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:26.609Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T09:24:26.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:26.939Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T09:24:26.947Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:27.230Z] ---> sudo-logs.sh [2022-10-17T09:24:27.231Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T09:24:27.250Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:27.533Z] ---> job-cost.sh [2022-10-17T09:24:27.533Z] lf-activate-venv: SKIPPING [2022-10-17T09:24:27.533Z] DEBUG: total: 0.2199999988079071 [2022-10-17T09:24:27.533Z] INFO: Retrieving Stack Cost... [2022-10-17T09:24:27.791Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T09:24:28.359Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T09:24:28.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T09:24:28.653Z] ---> logs-deploy.sh [2022-10-17T09:24:28.653Z] lf-activate-venv: SKIPPING [2022-10-17T09:24:28.653Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-382/2 [2022-10-17T09:24:28.653Z] INFO: archiving workspace using pattern(s): [2022-10-17T09:24:29.589Z] Archives upload complete. [2022-10-17T09:24:29.589Z] INFO: archiving logs to Nexus [2022-10-17T09:24:30.156Z] ---> uname -a: [2022-10-17T09:24:30.156Z] Linux prd-ubuntu20-04-docker-8c-8g-8059 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-17T09:24:30.156Z] [2022-10-17T09:24:30.156Z]