Pull request #385 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 514f8514b7960d8aafd43d2de455918271582671+d7835794e341370cec95aed23fbbbaeab5e4af25 (b5d75bc31b30cbdd47faddb6bb00e561c19204a1) 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-ssh4758396787256170715.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16740288534069456696.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-385/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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14386469097043177645.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5387380890055791625.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-385/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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17344839686321690774.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-118477 in /w/workspace/xfoundry_device-modbus-go_PR-385 [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-385 # 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/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7835794e341370cec95aed23fbbbaeab5e4af25 into PR head commit 514f8514b7960d8aafd43d2de455918271582671 Merge succeeded, producing 514f8514b7960d8aafd43d2de455918271582671 Checking out Revision 514f8514b7960d8aafd43d2de455918271582671 (PR-385) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T17:31:57.516Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T17:31:57.566Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T17:31:57.577Z] ========================================================= [2022-11-07T17:31:57.577Z] EdgeX Global Pipelines Version Info [2022-11-07T17:31:57.577Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # 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 d7835794e341370cec95aed23fbbbaeab5e4af25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 > git rev-list --no-walk 20faf77341d833bc8a60dc3a81cef820b11b5559 # timeout=10 [2022-11-07T17:31:58.262Z] ------------------- [2022-11-07T17:31:58.262Z] stable info: [2022-11-07T17:31:58.262Z] ------------------- [2022-11-07T17:31:58.262Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T17:31:58.262Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T17:31:58.262Z] Message: update stable to v1.0.244 [2022-11-07T17:31:58.828Z] ------------------- [2022-11-07T17:31:58.828Z] experimental info: [2022-11-07T17:31:58.828Z] ------------------- [2022-11-07T17:31:58.828Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T17:31:58.828Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T17:31:58.828Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T17:31:58.989Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-11-07T17:31:59.000Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-11-07T17:31:59.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T17:31:59.027Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T17:31:59.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T17:31:59.046Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T17:31:59.056Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T17:31:59.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T17:31:59.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T17:31:59.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T17:31:59.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T17:31:59.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-11-07T17:31:59.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T17:31:59.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T17:31:59.159Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T17:31:59.172Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T17:31:59.185Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T17:31:59.198Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T17:31:59.212Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T17:31:59.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T17:31:59.235Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T17:31:59.245Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T17:31:59.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T17:31:59.269Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T17:31:59.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T17:31:59.292Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T17:31:59.306Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T17:31:59.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-11-07T17:31:59.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-11-07T17:31:59.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-11-07T17:31:59.354Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 514f8514b7960d8aafd43d2de455918271582671 [Pipeline] echo [2022-11-07T17:31:59.365Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 514f851 [Pipeline] echo [2022-11-07T17:31:59.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:31:59.420Z] provisioning config files... [2022-11-07T17:31:59.434Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config12131999059471758852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:31:59.741Z] ---> docker-login.sh [2022-11-07T17:31:59.741Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:32:00.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.001Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.001Z] [2022-11-07T17:32:00.001Z] Login Succeeded [2022-11-07T17:32:00.001Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:32:00.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.001Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.001Z] [2022-11-07T17:32:00.001Z] Login Succeeded [2022-11-07T17:32:00.001Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:32:00.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.261Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.261Z] [2022-11-07T17:32:00.261Z] Login Succeeded [2022-11-07T17:32:00.261Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:32:00.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.261Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.261Z] [2022-11-07T17:32:00.261Z] Login Succeeded [2022-11-07T17:32:00.261Z] docker.io [2022-11-07T17:32:00.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.781Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.781Z] [2022-11-07T17:32:00.781Z] Login Succeeded [2022-11-07T17:32:00.781Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:32:00.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T17:32:01.165Z] + git rev-list -1 --merges 514f8514b7960d8aafd43d2de455918271582671~1..514f8514b7960d8aafd43d2de455918271582671 [Pipeline] echo [2022-11-07T17:32:01.205Z] -----------> git rev-list -1 --merges 514f8514b7960d8aafd43d2de455918271582671~1..514f8514b7960d8aafd43d2de455918271582671 514f8514b7960d8aafd43d2de455918271582671 [false] [Pipeline] sh [2022-11-07T17:32:01.491Z] + git log --format=format:%s -1 514f8514b7960d8aafd43d2de455918271582671 [Pipeline] echo [2022-11-07T17:32:01.504Z] ========================================================= [2022-11-07T17:32:01.504Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T17:32:01.504Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T17:32:01.816Z] + git log --format=format:%s -1 514f8514b7960d8aafd43d2de455918271582671 [Pipeline] echo [2022-11-07T17:32:01.826Z] [semverPrep] GIT_COMMIT: 514f8514b7960d8aafd43d2de455918271582671, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-11-07T17:32:01.834Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T17:32:02.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.188Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.188Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T17:32:02.188Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.188Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T17:32:02.188Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:32:02.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:32:02.528Z] [2022-11-07T17:32:02.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:32:02.833Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:32:02.833Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T17:32:02.833Z] b85a868b505f: Pulling fs layer [2022-11-07T17:32:02.833Z] e2be974225ed: Pulling fs layer [2022-11-07T17:32:02.833Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T17:32:02.833Z] 988bab9f4d93: Pulling fs layer [2022-11-07T17:32:02.833Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T17:32:02.833Z] eaf3925da568: Pulling fs layer [2022-11-07T17:32:02.833Z] bab4dde63d76: Pulling fs layer [2022-11-07T17:32:02.833Z] bde34c3a00c8: Pulling fs layer [2022-11-07T17:32:02.833Z] b352a97aabf1: Pulling fs layer [2022-11-07T17:32:02.833Z] 4872d77fe225: Pulling fs layer [2022-11-07T17:32:02.833Z] 5851b861e8e6: Pulling fs layer [2022-11-07T17:32:02.833Z] 1469e6f7b9e6: Waiting [2022-11-07T17:32:02.833Z] eaf3925da568: Waiting [2022-11-07T17:32:02.833Z] bab4dde63d76: Waiting [2022-11-07T17:32:02.833Z] bde34c3a00c8: Waiting [2022-11-07T17:32:02.833Z] b352a97aabf1: Waiting [2022-11-07T17:32:02.833Z] 4872d77fe225: Waiting [2022-11-07T17:32:02.833Z] 5851b861e8e6: Waiting [2022-11-07T17:32:02.833Z] 988bab9f4d93: Waiting [2022-11-07T17:32:02.833Z] e2be974225ed: Verifying Checksum [2022-11-07T17:32:02.833Z] e2be974225ed: Download complete [2022-11-07T17:32:02.833Z] 988bab9f4d93: Verifying Checksum [2022-11-07T17:32:02.833Z] 988bab9f4d93: Download complete [2022-11-07T17:32:03.092Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T17:32:03.092Z] 1469e6f7b9e6: Download complete [2022-11-07T17:32:03.092Z] eaf3925da568: Verifying Checksum [2022-11-07T17:32:03.092Z] eaf3925da568: Download complete [2022-11-07T17:32:03.092Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T17:32:03.092Z] 339a4e72a1f5: Download complete [2022-11-07T17:32:03.092Z] bde34c3a00c8: Verifying Checksum [2022-11-07T17:32:03.092Z] bde34c3a00c8: Download complete [2022-11-07T17:32:03.092Z] b352a97aabf1: Download complete [2022-11-07T17:32:03.092Z] 4872d77fe225: Verifying Checksum [2022-11-07T17:32:03.092Z] 4872d77fe225: Download complete [2022-11-07T17:32:03.092Z] b85a868b505f: Download complete [2022-11-07T17:32:03.092Z] 5851b861e8e6: Download complete [2022-11-07T17:32:03.657Z] bab4dde63d76: Verifying Checksum [2022-11-07T17:32:03.657Z] bab4dde63d76: Download complete [2022-11-07T17:32:04.224Z] b85a868b505f: Pull complete [2022-11-07T17:32:04.484Z] e2be974225ed: Pull complete [2022-11-07T17:32:05.049Z] 339a4e72a1f5: Pull complete [2022-11-07T17:32:05.049Z] 988bab9f4d93: Pull complete [2022-11-07T17:32:05.306Z] 1469e6f7b9e6: Pull complete [2022-11-07T17:32:05.306Z] eaf3925da568: Pull complete [2022-11-07T17:32:07.204Z] bab4dde63d76: Pull complete [2022-11-07T17:32:07.204Z] bde34c3a00c8: Pull complete [2022-11-07T17:32:07.204Z] b352a97aabf1: Pull complete [2022-11-07T17:32:07.204Z] 4872d77fe225: Pull complete [2022-11-07T17:32:07.204Z] 5851b861e8e6: Pull complete [2022-11-07T17:32:07.204Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T17:32:07.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:32:07.204Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:32:07.281Z] prd-ubuntu20.04-docker-8c-8g-118477 does not seem to be running inside a container [2022-11-07T17:32:07.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T17:32:12.766Z] $ docker top 9b190cf055d4836c26c3d060c0ee0a3a0f349423017c5d65fde830685bce1bf0 -eo pid,comm [2022-11-07T17:32:12.853Z] 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-11-07T17:32:12.853Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T17:32:12.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T17:32:12.886Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T17:32:12.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T17:32:12.999Z] $ docker exec 9b190cf055d4836c26c3d060c0ee0a3a0f349423017c5d65fde830685bce1bf0 ssh-agent [2022-11-07T17:32:13.113Z] SSH_AUTH_SOCK=/tmp/ssh-LXvtGTKMz4lN/agent.14 [2022-11-07T17:32:13.113Z] SSH_AGENT_PID=20 [2022-11-07T17:32:13.140Z] Running ssh-add (command line suppressed) [2022-11-07T17:32:13.259Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_8439806476750600326.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_8439806476750600326.key) [2022-11-07T17:32:13.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T17:32:13.564Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T17:32:13.579Z] $ docker exec --env ******** --env ******** 9b190cf055d4836c26c3d060c0ee0a3a0f349423017c5d65fde830685bce1bf0 ssh-agent -k [2022-11-07T17:32:13.680Z] unset SSH_AUTH_SOCK; [2022-11-07T17:32:13.680Z] unset SSH_AGENT_PID; [2022-11-07T17:32:13.680Z] echo Agent pid 20 killed; [2022-11-07T17:32:13.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T17:32:13.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T17:32:13.719Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T17:32:13.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T17:32:13.836Z] $ docker exec 9b190cf055d4836c26c3d060c0ee0a3a0f349423017c5d65fde830685bce1bf0 ssh-agent [2022-11-07T17:32:13.944Z] SSH_AUTH_SOCK=/tmp/ssh-MpUjLFigDn4K/agent.70 [2022-11-07T17:32:13.944Z] SSH_AGENT_PID=76 [2022-11-07T17:32:13.948Z] Running ssh-add (command line suppressed) [2022-11-07T17:32:14.056Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_7448690628039510654.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_7448690628039510654.key) [2022-11-07T17:32:14.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T17:32:14.357Z] + git semver init [2022-11-07T17:32:14.618Z] 2022-11-07 17:32:14,517 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T17:32:14.618Z] 2022-11-07 17:32:14,517 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-11-07T17:32:14.618Z] 2022-11-07 17:32:14,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-11-07T17:32:14.618Z] 2022-11-07 17:32:14,518 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,429 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,430 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,430 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,434 [execute] INFO git cat-file --batch-check [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,440 [execute] INFO git cat-file --batch [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T17:32:15.559Z] 2022-11-07 17:32:15,445 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-11-07T17:32:15.559Z] 0.0.0 [Pipeline] } [2022-11-07T17:32:15.571Z] $ docker exec --env ******** --env ******** 9b190cf055d4836c26c3d060c0ee0a3a0f349423017c5d65fde830685bce1bf0 ssh-agent -k [2022-11-07T17:32:15.667Z] unset SSH_AUTH_SOCK; [2022-11-07T17:32:15.668Z] unset SSH_AGENT_PID; [2022-11-07T17:32:15.668Z] echo Agent pid 76 killed; [2022-11-07T17:32:15.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T17:32:16.024Z] + git semver [Pipeline] } [2022-11-07T17:32:16.297Z] $ docker stop --time=1 9b190cf055d4836c26c3d060c0ee0a3a0f349423017c5d65fde830685bce1bf0 [2022-11-07T17:32:17.573Z] $ docker rm -f 9b190cf055d4836c26c3d060c0ee0a3a0f349423017c5d65fde830685bce1bf0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:32:17.904Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T17:32:18.075Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T17:32:18.079Z] [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-11-07T17:32:18.215Z] provisioning config files... [2022-11-07T17:32:18.222Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config9771747747897781288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:32:18.513Z] ---> docker-login.sh [2022-11-07T17:32:18.513Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:32:18.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:18.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:18.513Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:18.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:18.513Z] [2022-11-07T17:32:18.513Z] Login Succeeded [2022-11-07T17:32:18.513Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:32:18.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:18.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:18.513Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:18.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:18.513Z] [2022-11-07T17:32:18.513Z] Login Succeeded [2022-11-07T17:32:18.513Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:32:18.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:18.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:18.773Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:18.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:18.773Z] [2022-11-07T17:32:18.773Z] Login Succeeded [2022-11-07T17:32:18.773Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:32:18.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:18.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:18.773Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:18.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:18.773Z] [2022-11-07T17:32:18.773Z] Login Succeeded [2022-11-07T17:32:18.773Z] docker.io [2022-11-07T17:32:19.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:19.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:19.290Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:19.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:19.290Z] [2022-11-07T17:32:19.290Z] Login Succeeded [2022-11-07T17:32:19.290Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:32:19.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T17:32:19.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:32:19.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:32:19.381Z] ========================================================= [2022-11-07T17:32:19.381Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T17:32:19.381Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:32:19.687Z] + 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-11-07T17:32:19.687Z] Sending build context to Docker daemon 6.245MB [2022-11-07T17:32:19.687Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:32:19.687Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-07T17:32:19.687Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T17:32:19.687Z] 213ec9aee27d: Pulling fs layer [2022-11-07T17:32:19.687Z] 4583459ba037: Pulling fs layer [2022-11-07T17:32:19.687Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T17:32:19.687Z] 53926ce57604: Pulling fs layer [2022-11-07T17:32:19.687Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T17:32:19.687Z] 22ff95d597cd: Pulling fs layer [2022-11-07T17:32:19.687Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T17:32:19.687Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T17:32:19.687Z] a7acece74701: Pulling fs layer [2022-11-07T17:32:19.687Z] 53926ce57604: Waiting [2022-11-07T17:32:19.687Z] 12d6caf4c0d1: Waiting [2022-11-07T17:32:19.687Z] 96b7cbca73a9: Waiting [2022-11-07T17:32:19.687Z] a7acece74701: Waiting [2022-11-07T17:32:19.687Z] 22ff95d597cd: Waiting [2022-11-07T17:32:19.687Z] 21b2b0c7a3f4: Waiting [2022-11-07T17:32:19.687Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T17:32:19.687Z] 93c1e223e6f2: Download complete [2022-11-07T17:32:19.687Z] 4583459ba037: Verifying Checksum [2022-11-07T17:32:19.687Z] 4583459ba037: Download complete [2022-11-07T17:32:19.687Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T17:32:19.687Z] 21b2b0c7a3f4: Download complete [2022-11-07T17:32:19.687Z] 22ff95d597cd: Download complete [2022-11-07T17:32:19.945Z] 213ec9aee27d: Download complete [2022-11-07T17:32:19.945Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T17:32:19.945Z] 12d6caf4c0d1: Download complete [2022-11-07T17:32:19.945Z] 213ec9aee27d: Pull complete [2022-11-07T17:32:20.207Z] 4583459ba037: Pull complete [2022-11-07T17:32:20.207Z] 93c1e223e6f2: Pull complete [2022-11-07T17:32:20.782Z] a7acece74701: Verifying Checksum [2022-11-07T17:32:20.782Z] a7acece74701: Download complete [2022-11-07T17:32:20.782Z] 53926ce57604: Verifying Checksum [2022-11-07T17:32:20.782Z] 53926ce57604: Download complete [2022-11-07T17:32:21.040Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T17:32:21.040Z] 96b7cbca73a9: Download complete [2022-11-07T17:32:24.333Z] 53926ce57604: Pull complete [2022-11-07T17:32:24.591Z] 21b2b0c7a3f4: Pull complete [2022-11-07T17:32:24.591Z] 22ff95d597cd: Pull complete [2022-11-07T17:32:24.591Z] 12d6caf4c0d1: Pull complete [2022-11-07T17:32:26.489Z] 96b7cbca73a9: Pull complete [2022-11-07T17:32:27.055Z] a7acece74701: Pull complete [2022-11-07T17:32:27.055Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T17:32:27.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T17:32:27.055Z] ---> db6d94c90886 [2022-11-07T17:32:27.055Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:32:33.173Z] Still waiting to schedule task [2022-11-07T17:32:33.173Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-07T17:32:33.625Z] ---> Running in 18996dea1946 [2022-11-07T17:32:33.625Z] Removing intermediate container 18996dea1946 [2022-11-07T17:32:33.625Z] ---> 536f1591c5bb [2022-11-07T17:32:33.625Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:32:33.625Z] ---> Running in 725a96d8ca9d [2022-11-07T17:32:33.625Z] Removing intermediate container 725a96d8ca9d [2022-11-07T17:32:33.625Z] ---> a51ad9929126 [2022-11-07T17:32:33.625Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T17:32:33.882Z] ---> Running in e2b897617434 [2022-11-07T17:32:34.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:32:34.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:32:34.706Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T17:32:34.706Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-07T17:32:34.706Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T17:32:34.706Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T17:32:34.706Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-07T17:32:34.706Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-07T17:32:34.706Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-07T17:32:34.706Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-07T17:32:34.706Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:32:34.706Z] OK: 217 MiB in 59 packages [2022-11-07T17:32:35.272Z] Removing intermediate container e2b897617434 [2022-11-07T17:32:35.272Z] ---> f9661b95e3ad [2022-11-07T17:32:35.272Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-07T17:32:35.272Z] ---> Running in 7f52e2507f57 [2022-11-07T17:32:35.530Z] Removing intermediate container 7f52e2507f57 [2022-11-07T17:32:35.530Z] ---> efb100d552b2 [2022-11-07T17:32:35.530Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-07T17:32:35.530Z] ---> 6c6226a71e40 [2022-11-07T17:32:35.530Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:32:35.530Z] ---> Running in 864a7956f212 [2022-11-07T17:33:02.144Z] Removing intermediate container 864a7956f212 [2022-11-07T17:33:02.144Z] ---> 0e2114f91e95 [2022-11-07T17:33:02.144Z] Step 9/10 : COPY . . [2022-11-07T17:33:02.144Z] ---> 6cbced22d12f [2022-11-07T17:33:02.144Z] Step 10/10 : RUN ${MAKE} [2022-11-07T17:33:02.144Z] ---> Running in b9e76f2f6d06 [2022-11-07T17:33:02.144Z] noop [2022-11-07T17:33:02.144Z] Removing intermediate container b9e76f2f6d06 [2022-11-07T17:33:02.144Z] ---> e4a832783c19 [2022-11-07T17:33:02.144Z] Successfully built e4a832783c19 [2022-11-07T17:33:02.144Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:02.461Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T17:33:02.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:33:02.518Z] prd-ubuntu20.04-docker-8c-8g-118477 does not seem to be running inside a container [2022-11-07T17:33:02.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T17:33:02.868Z] $ docker top b110e44084180d7e777820e1adb26f35140982f93a03fac05f507a2a06e2c001 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:33:03.215Z] + go version [2022-11-07T17:33:03.215Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T17:33:03.235Z] $ docker stop --time=1 b110e44084180d7e777820e1adb26f35140982f93a03fac05f507a2a06e2c001 [2022-11-07T17:33:04.504Z] $ docker rm -f b110e44084180d7e777820e1adb26f35140982f93a03fac05f507a2a06e2c001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:04.886Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T17:33:04.886Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:33:04.952Z] prd-ubuntu20.04-docker-8c-8g-118477 does not seem to be running inside a container [2022-11-07T17:33:04.986Z] $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T17:33:05.294Z] $ docker top c5833f0f812617d85dbbdc37847d4e88bde3f5b1284e91c5d0116480aa082f5d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:33:05.623Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2022-11-07T17:33:05.914Z] + make test [2022-11-07T17:33:05.914Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T17:33:06.171Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-07T17:33:14.265Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-07T17:33:14.265Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 47.7% of statements [2022-11-07T17:33:20.815Z] 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-11-07T17:33:20.815Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T17:33:23.339Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T17:33:23.339Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T17:33:23.339Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T17:33:23.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T17:33:23.366Z] $ docker stop --time=1 c5833f0f812617d85dbbdc37847d4e88bde3f5b1284e91c5d0116480aa082f5d [2022-11-07T17:33:25.540Z] $ docker rm -f c5833f0f812617d85dbbdc37847d4e88bde3f5b1284e91c5d0116480aa082f5d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:33:25.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T17:33:26.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T17:33:26.505Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T17:33:26.841Z] + ls -al . [2022-11-07T17:33:26.841Z] total 196 [2022-11-07T17:33:26.841Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:33 . [2022-11-07T17:33:26.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:31 .. [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:31 .dockerignore [2022-11-07T17:33:26.841Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:33 .git [2022-11-07T17:33:26.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:31 .github [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 17:31 .gitignore [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:31 .golangci.yml [2022-11-07T17:33:26.841Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:32 .semver [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 17:31 Attribution.txt [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 17:31 CHANGELOG.md [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 17:31 Dockerfile [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:31 GOVERNANCE.md [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 17:31 Jenkinsfile [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:31 LICENSE [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 17:31 Makefile [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 17:31 OWNERS.md [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 17:31 README.md [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:32 VERSION [2022-11-07T17:33:26.841Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:31 bin [2022-11-07T17:33:26.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:31 cmd [2022-11-07T17:33:26.841Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 17:33 coverage.out [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 3625 Nov 7 17:31 go.mod [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 45472 Nov 7 17:31 go.sum [2022-11-07T17:33:26.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:31 internal [2022-11-07T17:33:26.841Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:31 simulator [2022-11-07T17:33:26.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:31 snap [2022-11-07T17:33:26.841Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:27.204Z] + 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=514f8514b7960d8aafd43d2de455918271582671 --label arch=amd64 --label version=0.0.0 . [2022-11-07T17:33:27.204Z] Sending build context to Docker daemon 6.269MB [2022-11-07T17:33:27.204Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:33:27.204Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-07T17:33:27.204Z] ---> e4a832783c19 [2022-11-07T17:33:27.204Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:33:27.472Z] ---> Running in 0ee0eb349e0c [2022-11-07T17:33:27.472Z] Removing intermediate container 0ee0eb349e0c [2022-11-07T17:33:27.472Z] ---> 998af0683b2c [2022-11-07T17:33:27.472Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:33:27.472Z] ---> Running in c639e8ee92e1 [2022-11-07T17:33:27.472Z] Removing intermediate container c639e8ee92e1 [2022-11-07T17:33:27.472Z] ---> 36e7add94215 [2022-11-07T17:33:27.472Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T17:33:27.473Z] ---> Running in 59bf3dd13170 [2022-11-07T17:33:27.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:28.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:28.021Z] OK: 217 MiB in 59 packages [2022-11-07T17:33:28.955Z] Removing intermediate container 59bf3dd13170 [2022-11-07T17:33:28.955Z] ---> 64b66f3f9993 [2022-11-07T17:33:28.955Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-07T17:33:28.955Z] ---> Running in 55c0c2234471 [2022-11-07T17:33:28.955Z] Removing intermediate container 55c0c2234471 [2022-11-07T17:33:28.955Z] ---> d538fb11f2b1 [2022-11-07T17:33:28.955Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-07T17:33:28.955Z] ---> 1b0d234efd75 [2022-11-07T17:33:28.955Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:33:28.955Z] ---> Running in a6ba15c68c86 [2022-11-07T17:33:29.521Z] Removing intermediate container a6ba15c68c86 [2022-11-07T17:33:29.521Z] ---> 0dc2a8eb8b22 [2022-11-07T17:33:29.521Z] Step 9/22 : COPY . . [2022-11-07T17:33:30.086Z] ---> 46c17ddb3c55 [2022-11-07T17:33:30.086Z] Step 10/22 : RUN ${MAKE} [2022-11-07T17:33:30.086Z] ---> Running in e34de1c95812 [2022-11-07T17:33:30.344Z] 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-11-07T17:33:52.299Z] Removing intermediate container e34de1c95812 [2022-11-07T17:33:52.299Z] ---> 7cca6129ba0c [2022-11-07T17:33:52.299Z] Step 11/22 : FROM alpine:3.14 [2022-11-07T17:33:52.299Z] 3.14: Pulling from library/alpine [2022-11-07T17:33:52.299Z] c7ed990a2339: Pulling fs layer [2022-11-07T17:33:52.299Z] c7ed990a2339: Verifying Checksum [2022-11-07T17:33:52.299Z] c7ed990a2339: Download complete [2022-11-07T17:33:52.299Z] c7ed990a2339: Pull complete [2022-11-07T17:33:52.299Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-07T17:33:52.299Z] Status: Downloaded newer image for alpine:3.14 [2022-11-07T17:33:52.299Z] ---> dd53f409bf0b [2022-11-07T17:33:52.299Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-07T17:33:52.558Z] ---> Running in 70007c88f298 [2022-11-07T17:33:52.816Z] Removing intermediate container 70007c88f298 [2022-11-07T17:33:52.816Z] ---> 1b2211e88f6d [2022-11-07T17:33:52.816Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T17:33:52.816Z] ---> Running in 3a70353497ae [2022-11-07T17:33:53.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:53.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:53.644Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T17:33:53.645Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-07T17:33:53.645Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T17:33:53.645Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-07T17:33:53.645Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T17:33:53.645Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T17:33:53.645Z] Executing busybox-1.33.1-r8.trigger [2022-11-07T17:33:53.645Z] OK: 8 MiB in 20 packages [2022-11-07T17:33:54.210Z] Removing intermediate container 3a70353497ae [2022-11-07T17:33:54.210Z] ---> 9a3551667c70 [2022-11-07T17:33:54.210Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-07T17:33:54.778Z] ---> 8552ffb69b8c [2022-11-07T17:33:54.778Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-07T17:33:55.035Z] ---> 7b1737294a3b [2022-11-07T17:33:55.035Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-07T17:33:55.035Z] ---> a9ac8d7a70a6 [2022-11-07T17:33:55.035Z] Step 17/22 : EXPOSE 59901 [2022-11-07T17:33:55.035Z] ---> Running in 5f70c1c79d7e [2022-11-07T17:33:55.035Z] Removing intermediate container 5f70c1c79d7e [2022-11-07T17:33:55.035Z] ---> e0e4fc8600b6 [2022-11-07T17:33:55.035Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-07T17:33:55.035Z] ---> Running in 3ac633eb85ff [2022-11-07T17:33:55.293Z] Removing intermediate container 3ac633eb85ff [2022-11-07T17:33:55.294Z] ---> bc9bb1cf7998 [2022-11-07T17:33:55.294Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T17:33:55.294Z] ---> Running in c88407e98591 [2022-11-07T17:33:55.294Z] Removing intermediate container c88407e98591 [2022-11-07T17:33:55.294Z] ---> 17848642d6b7 [2022-11-07T17:33:55.294Z] Step 20/22 : LABEL arch=amd64 [2022-11-07T17:33:55.294Z] ---> Running in 2b01d70d2d2d [2022-11-07T17:33:55.294Z] Removing intermediate container 2b01d70d2d2d [2022-11-07T17:33:55.294Z] ---> 440f597f3b46 [2022-11-07T17:33:55.294Z] Step 21/22 : LABEL git_sha=514f8514b7960d8aafd43d2de455918271582671 [2022-11-07T17:33:55.294Z] ---> Running in 9001f31abec4 [2022-11-07T17:33:55.552Z] Removing intermediate container 9001f31abec4 [2022-11-07T17:33:55.552Z] ---> 73333ad7f765 [2022-11-07T17:33:55.552Z] Step 22/22 : LABEL version=0.0.0 [2022-11-07T17:33:55.552Z] ---> Running in 37696b48c079 [2022-11-07T17:33:55.552Z] Removing intermediate container 37696b48c079 [2022-11-07T17:33:55.552Z] ---> 0585224e4cab [2022-11-07T17:33:55.552Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T17:33:55.552Z] Successfully built 0585224e4cab [2022-11-07T17:33:55.552Z] 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-11-07T17:33:55.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:33:55.962Z] [2022-11-07T17:33:55.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:56.259Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:33:56.259Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T17:33:56.259Z] 5eb5b503b376: Pulling fs layer [2022-11-07T17:33:56.259Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T17:33:56.259Z] ec43610c2a17: Pulling fs layer [2022-11-07T17:33:56.259Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T17:33:56.259Z] 33b1e0a273af: Pulling fs layer [2022-11-07T17:33:56.259Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T17:33:56.259Z] 2f39f015ded8: Pulling fs layer [2022-11-07T17:33:56.259Z] 33b1e0a273af: Waiting [2022-11-07T17:33:56.259Z] 5d3b04190fa2: Waiting [2022-11-07T17:33:56.259Z] 3a2ae6a8a46f: Waiting [2022-11-07T17:33:56.259Z] 2f39f015ded8: Waiting [2022-11-07T17:33:56.259Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T17:33:56.259Z] 5c69ac0246d0: Download complete [2022-11-07T17:33:56.259Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T17:33:56.259Z] 3a2ae6a8a46f: Download complete [2022-11-07T17:33:56.259Z] 33b1e0a273af: Verifying Checksum [2022-11-07T17:33:56.259Z] 33b1e0a273af: Download complete [2022-11-07T17:33:56.259Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T17:33:56.259Z] 5d3b04190fa2: Download complete [2022-11-07T17:33:56.259Z] ec43610c2a17: Verifying Checksum [2022-11-07T17:33:56.259Z] ec43610c2a17: Download complete [2022-11-07T17:33:56.517Z] 5eb5b503b376: Download complete [2022-11-07T17:33:57.081Z] 2f39f015ded8: Download complete [2022-11-07T17:33:57.647Z] 5eb5b503b376: Pull complete [2022-11-07T17:33:57.647Z] 5c69ac0246d0: Pull complete [2022-11-07T17:33:58.212Z] ec43610c2a17: Pull complete [2022-11-07T17:33:58.212Z] 3a2ae6a8a46f: Pull complete [2022-11-07T17:33:58.472Z] 33b1e0a273af: Pull complete [2022-11-07T17:33:58.472Z] 5d3b04190fa2: Pull complete [2022-11-07T17:34:02.705Z] 2f39f015ded8: Pull complete [2022-11-07T17:34:02.705Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T17:34:02.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:34:02.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:34:02.772Z] prd-ubuntu20.04-docker-8c-8g-118477 does not seem to be running inside a container [2022-11-07T17:34:02.800Z] $ 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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T17:34:07.565Z] $ docker top fabb3f0f4fd3228ad70aa3325fbdfa7eaf4ff9af9e9e5db89599727af51e1ae7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:34:07.937Z] ---> job-cost.sh [2022-11-07T17:34:07.937Z] lf-activate-venv: SKIPPING [2022-11-07T17:34:07.937Z] INFO: No Stack... [2022-11-07T17:34:08.195Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T17:34:08.758Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T17:34:09.044Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv [2022-11-07T17:34:09.044Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T17:34:09.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] [2022-11-07T17:34:09.061Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] did not exist. Created. [2022-11-07T17:34:09.061Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T17:34:09.359Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T17:34:09.386Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T17:34:09.397Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T17:34:09.419Z] $ docker stop --time=1 fabb3f0f4fd3228ad70aa3325fbdfa7eaf4ff9af9e9e5db89599727af51e1ae7 [2022-11-07T17:34:10.564Z] $ docker rm -f fabb3f0f4fd3228ad70aa3325fbdfa7eaf4ff9af9e9e5db89599727af51e1ae7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T17:34:40.703Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118480 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws [2022-11-07T17:34:40.716Z] Running in /w/workspace/device-modbus-go/8 [Pipeline] { [Pipeline] checkout [2022-11-07T17:34:40.770Z] Selected Git installation does not exist. Using Default [2022-11-07T17:34:40.770Z] The recommended git tool is: NONE [2022-11-07T17:34:52.273Z] using credential edgex-jenkins-ssh [2022-11-07T17:34:52.291Z] Cloning the remote Git repository [2022-11-07T17:34:52.402Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-11-07T17:34:52.564Z] > git init /w/workspace/device-modbus-go/8 # timeout=10 [2022-11-07T17:34:52.956Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-07T17:34:52.957Z] > git --version # timeout=10 [2022-11-07T17:34:53.016Z] > git --version # 'git version 2.25.1' [2022-11-07T17:34:53.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:34:53.165Z] Verifying host key using known hosts file [2022-11-07T17:34:53.535Z] 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-11-07T17:34:53.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T17:34:54.979Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-07T17:34:55.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T17:34:56.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-07T17:34:56.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-07T17:34:56.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:34:56.352Z] Verifying host key using known hosts file [2022-11-07T17:34:56.361Z] 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-11-07T17:34:56.380Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T17:34:56.974Z] Merging remotes/origin/main commit d7835794e341370cec95aed23fbbbaeab5e4af25 into PR head commit 514f8514b7960d8aafd43d2de455918271582671 [2022-11-07T17:34:57.258Z] Merge succeeded, producing 514f8514b7960d8aafd43d2de455918271582671 [2022-11-07T17:34:57.259Z] Checking out Revision 514f8514b7960d8aafd43d2de455918271582671 (PR-385) [2022-11-07T17:34:57.985Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T17:34:56.996Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T17:34:57.018Z] > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 [2022-11-07T17:34:57.129Z] > git remote # timeout=10 [2022-11-07T17:34:57.152Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T17:34:57.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:34:57.181Z] Verifying host key using known hosts file [2022-11-07T17:34:57.186Z] 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-11-07T17:34:57.201Z] > git merge d7835794e341370cec95aed23fbbbaeab5e4af25 # timeout=10 [2022-11-07T17:34:57.235Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T17:34:57.266Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T17:34:57.308Z] > git checkout -f 514f8514b7960d8aafd43d2de455918271582671 # timeout=10 [2022-11-07T17:34:58.910Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T17:34:58.910Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T17:34:58.910Z] Dload Upload Total Spent Left Speed [2022-11-07T17:34:58.910Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 153k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh [2022-11-07T17:34:59.744Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T17:35:00.103Z] + + sudo tee /etc/docker/daemon.new [2022-11-07T17:35:00.103Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T17:35:00.103Z] { [2022-11-07T17:35:00.103Z] "registry-mirrors": [ [2022-11-07T17:35:00.103Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T17:35:00.103Z] ], [2022-11-07T17:35:00.103Z] "bip": "10.250.0.254/24", [2022-11-07T17:35:00.103Z] "hosts": [ [2022-11-07T17:35:00.103Z] "tcp://0.0.0.0:5555", [2022-11-07T17:35:00.103Z] "unix:///var/run/docker.sock" [2022-11-07T17:35:00.103Z] ], [2022-11-07T17:35:00.103Z] "mtu": 1458, [2022-11-07T17:35:00.103Z] "selinux-enabled": true, [2022-11-07T17:35:00.103Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T17:35:00.103Z] } [Pipeline] sh [2022-11-07T17:35:00.460Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T17:35:00.808Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:35:19.220Z] provisioning config files... [2022-11-07T17:35:19.255Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/8@tmp/config10783943882818671819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:35:19.642Z] ---> docker-login.sh [2022-11-07T17:35:19.642Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:35:20.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:20.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:20.620Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:20.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:20.620Z] [2022-11-07T17:35:20.620Z] Login Succeeded [2022-11-07T17:35:20.620Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:35:20.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:21.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:21.174Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:21.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:21.174Z] [2022-11-07T17:35:21.174Z] Login Succeeded [2022-11-07T17:35:21.174Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:35:21.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:21.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:21.445Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:21.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:21.445Z] [2022-11-07T17:35:21.445Z] Login Succeeded [2022-11-07T17:35:21.445Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:35:21.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:21.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:21.994Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:21.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:21.994Z] [2022-11-07T17:35:21.994Z] Login Succeeded [2022-11-07T17:35:21.994Z] docker.io [2022-11-07T17:35:22.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:22.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:22.859Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:22.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:22.859Z] [2022-11-07T17:35:22.859Z] Login Succeeded [2022-11-07T17:35:22.859Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:35:22.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T17:35:23.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:35:23.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:35:23.103Z] ========================================================= [2022-11-07T17:35:23.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T17:35:23.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:35:23.460Z] + 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-11-07T17:35:23.736Z] Sending build context to Docker daemon 3.251MB [2022-11-07T17:35:23.737Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:35:23.737Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-07T17:35:24.014Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T17:35:24.014Z] 9b18e9b68314: Pulling fs layer [2022-11-07T17:35:24.014Z] 35d82f9e3411: Pulling fs layer [2022-11-07T17:35:24.014Z] e16973657156: Pulling fs layer [2022-11-07T17:35:24.014Z] fc693d55d65f: Pulling fs layer [2022-11-07T17:35:24.014Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T17:35:24.014Z] dda99020689f: Pulling fs layer [2022-11-07T17:35:24.014Z] db1c61fa0a46: Pulling fs layer [2022-11-07T17:35:24.014Z] 891c053d2c06: Pulling fs layer [2022-11-07T17:35:24.014Z] fc693d55d65f: Waiting [2022-11-07T17:35:24.014Z] 7e9fc2657dce: Waiting [2022-11-07T17:35:24.014Z] dda99020689f: Waiting [2022-11-07T17:35:24.014Z] db1c61fa0a46: Waiting [2022-11-07T17:35:24.014Z] 891c053d2c06: Waiting [2022-11-07T17:35:24.014Z] e16973657156: Download complete [2022-11-07T17:35:24.014Z] 35d82f9e3411: Verifying Checksum [2022-11-07T17:35:24.014Z] 35d82f9e3411: Download complete [2022-11-07T17:35:24.014Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T17:35:24.014Z] 7e9fc2657dce: Download complete [2022-11-07T17:35:24.296Z] dda99020689f: Verifying Checksum [2022-11-07T17:35:24.296Z] dda99020689f: Download complete [2022-11-07T17:35:24.296Z] 9b18e9b68314: Download complete [2022-11-07T17:35:25.278Z] 9b18e9b68314: Pull complete [2022-11-07T17:35:25.550Z] 891c053d2c06: Verifying Checksum [2022-11-07T17:35:25.550Z] 891c053d2c06: Download complete [2022-11-07T17:35:25.824Z] 35d82f9e3411: Pull complete [2022-11-07T17:35:26.095Z] e16973657156: Pull complete [2022-11-07T17:35:26.697Z] db1c61fa0a46: Verifying Checksum [2022-11-07T17:35:26.697Z] db1c61fa0a46: Download complete [2022-11-07T17:35:27.286Z] fc693d55d65f: Verifying Checksum [2022-11-07T17:35:27.286Z] fc693d55d65f: Download complete [2022-11-07T17:35:39.648Z] fc693d55d65f: Pull complete [2022-11-07T17:35:39.649Z] 7e9fc2657dce: Pull complete [2022-11-07T17:35:39.926Z] dda99020689f: Pull complete [2022-11-07T17:35:46.648Z] db1c61fa0a46: Pull complete [2022-11-07T17:35:48.631Z] 891c053d2c06: Pull complete [2022-11-07T17:35:48.631Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T17:35:48.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T17:35:48.631Z] ---> f96f9c87975a [2022-11-07T17:35:48.631Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:35:49.786Z] ---> Running in 77e2fc8c4c5c [2022-11-07T17:35:50.060Z] Removing intermediate container 77e2fc8c4c5c [2022-11-07T17:35:50.060Z] ---> 76230045839f [2022-11-07T17:35:50.060Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:35:50.060Z] ---> Running in 9d53a3d8d40d [2022-11-07T17:35:50.653Z] Removing intermediate container 9d53a3d8d40d [2022-11-07T17:35:50.653Z] ---> a2dcaac269a5 [2022-11-07T17:35:50.653Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T17:35:50.653Z] ---> Running in b04ca49614cb [2022-11-07T17:35:52.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T17:35:52.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T17:35:53.839Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T17:35:53.839Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-07T17:35:53.839Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T17:35:53.839Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T17:35:53.839Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-07T17:35:53.839Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-07T17:35:53.839Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-07T17:35:53.839Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-07T17:35:53.839Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:35:53.839Z] OK: 228 MiB in 59 packages [2022-11-07T17:35:55.396Z] Removing intermediate container b04ca49614cb [2022-11-07T17:35:55.396Z] ---> 9671d575bbc3 [2022-11-07T17:35:55.396Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-07T17:35:55.396Z] ---> Running in efac5671739b [2022-11-07T17:35:56.025Z] Removing intermediate container efac5671739b [2022-11-07T17:35:56.025Z] ---> 588722c3a0d2 [2022-11-07T17:35:56.025Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-07T17:35:58.002Z] ---> f9198dcf61bb [2022-11-07T17:35:58.002Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:35:58.002Z] ---> Running in 0c92c40fb83f [2022-11-07T17:37:05.977Z] Removing intermediate container 0c92c40fb83f [2022-11-07T17:37:05.977Z] ---> 9a1a84c3b0e1 [2022-11-07T17:37:05.977Z] Step 9/10 : COPY . . [2022-11-07T17:37:05.977Z] ---> b6f38bc4e3ca [2022-11-07T17:37:05.977Z] Step 10/10 : RUN ${MAKE} [2022-11-07T17:37:05.977Z] ---> Running in 3456f77d2646 [2022-11-07T17:37:05.977Z] noop [2022-11-07T17:37:05.977Z] Removing intermediate container 3456f77d2646 [2022-11-07T17:37:05.977Z] ---> 2420fc06d347 [2022-11-07T17:37:05.977Z] Successfully built 2420fc06d347 [2022-11-07T17:37:05.977Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:37:06.353Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T17:37:06.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:37:06.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-118480 does not seem to be running inside a container [2022-11-07T17:37:06.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T17:37:08.046Z] $ docker top 3289e3e9bac3df97dc27b55e8c78a7997a6c26c5c4196af293bf49fae54f3777 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:37:08.916Z] + go version [2022-11-07T17:37:08.916Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T17:37:08.935Z] $ docker stop --time=1 3289e3e9bac3df97dc27b55e8c78a7997a6c26c5c4196af293bf49fae54f3777 [2022-11-07T17:37:10.592Z] $ docker rm -f 3289e3e9bac3df97dc27b55e8c78a7997a6c26c5c4196af293bf49fae54f3777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:37:11.164Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T17:37:11.164Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:37:11.355Z] prd-ubuntu20.04-docker-arm64-4c-16g-118480 does not seem to be running inside a container [2022-11-07T17:37:11.431Z] $ 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/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T17:37:12.642Z] $ docker top 5fdd1fe5b829f0e39400548277b8d0fba36ff0a62eecb247b5e6443485c2ac21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:37:13.501Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/8 [Pipeline] fileExists [Pipeline] sh [2022-11-07T17:37:14.161Z] + make test [2022-11-07T17:37:14.161Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-07T17:37:16.153Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-07T17:38:52.883Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-07T17:38:55.490Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 47.7% of statements [2022-11-07T17:38:56.079Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T17:38:56.079Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T17:39:22.820Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T17:39:22.820Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T17:39:22.820Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T17:39:22.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T17:39:22.853Z] $ docker stop --time=1 5fdd1fe5b829f0e39400548277b8d0fba36ff0a62eecb247b5e6443485c2ac21 [2022-11-07T17:39:24.666Z] $ docker rm -f 5fdd1fe5b829f0e39400548277b8d0fba36ff0a62eecb247b5e6443485c2ac21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:39:25.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T17:39:25.684Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T17:39:26.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T17:39:26.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T17:39:26.922Z] + ls -al . [2022-11-07T17:39:26.922Z] total 192 [2022-11-07T17:39:26.922Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:37 . [2022-11-07T17:39:26.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:34 .. [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:34 .dockerignore [2022-11-07T17:39:26.922Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:34 .git [2022-11-07T17:39:26.922Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:34 .github [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 7 17:34 .gitignore [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:34 .golangci.yml [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 7 17:34 Attribution.txt [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 7 17:34 CHANGELOG.md [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 7 17:34 Dockerfile [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:34 GOVERNANCE.md [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 17:34 Jenkinsfile [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:34 LICENSE [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 7 17:34 Makefile [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 17:34 OWNERS.md [2022-11-07T17:39:26.922Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 7 17:34 README.md [2022-11-07T17:39:26.923Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:32 VERSION [2022-11-07T17:39:26.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:34 bin [2022-11-07T17:39:26.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:34 cmd [2022-11-07T17:39:26.923Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 7 17:38 coverage.out [2022-11-07T17:39:26.923Z] -rw-rw-r-- 1 jenkins jenkins 3625 Nov 7 17:34 go.mod [2022-11-07T17:39:26.923Z] -rw-rw-r-- 1 jenkins jenkins 45472 Nov 7 17:34 go.sum [2022-11-07T17:39:26.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:34 internal [2022-11-07T17:39:26.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:34 simulator [2022-11-07T17:39:26.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:34 snap [2022-11-07T17:39:26.923Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 17:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:39:27.276Z] + 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=514f8514b7960d8aafd43d2de455918271582671 --label arch=arm64 --label version=0.0.0 . [2022-11-07T17:39:27.546Z] Sending build context to Docker daemon 3.275MB [2022-11-07T17:39:27.547Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:39:27.547Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-07T17:39:27.547Z] ---> 2420fc06d347 [2022-11-07T17:39:27.547Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:39:27.815Z] ---> Running in d69397be20f7 [2022-11-07T17:39:28.084Z] Removing intermediate container d69397be20f7 [2022-11-07T17:39:28.085Z] ---> 8a2614b28870 [2022-11-07T17:39:28.085Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:39:28.085Z] ---> Running in e5454b7d2e38 [2022-11-07T17:39:28.674Z] Removing intermediate container e5454b7d2e38 [2022-11-07T17:39:28.674Z] ---> 3cd69412ba47 [2022-11-07T17:39:28.674Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-07T17:39:28.674Z] ---> Running in c70f12213316 [2022-11-07T17:39:29.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T17:39:30.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T17:39:31.214Z] OK: 228 MiB in 59 packages [2022-11-07T17:39:32.198Z] Removing intermediate container c70f12213316 [2022-11-07T17:39:32.198Z] ---> fafeb0d03fb3 [2022-11-07T17:39:32.198Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-07T17:39:32.469Z] ---> Running in f8d670d68a29 [2022-11-07T17:39:32.739Z] Removing intermediate container f8d670d68a29 [2022-11-07T17:39:32.739Z] ---> bd80b61cbee1 [2022-11-07T17:39:32.739Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-07T17:39:33.328Z] ---> d04e0721146c [2022-11-07T17:39:33.328Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:39:33.328Z] ---> Running in bac812580bff [2022-11-07T17:39:35.924Z] Removing intermediate container bac812580bff [2022-11-07T17:39:35.924Z] ---> 6016a3446676 [2022-11-07T17:39:35.924Z] Step 9/22 : COPY . . [2022-11-07T17:39:36.529Z] ---> 5721f9154905 [2022-11-07T17:39:36.529Z] Step 10/22 : RUN ${MAKE} [2022-11-07T17:39:36.529Z] ---> Running in aa0d887b2f22 [2022-11-07T17:39:37.954Z] 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-11-07T17:42:14.731Z] Removing intermediate container aa0d887b2f22 [2022-11-07T17:42:14.731Z] ---> f60e4f231eeb [2022-11-07T17:42:14.731Z] Step 11/22 : FROM alpine:3.14 [2022-11-07T17:42:14.731Z] 3.14: Pulling from library/alpine [2022-11-07T17:42:14.731Z] 90cda3b7c325: Pulling fs layer [2022-11-07T17:42:14.731Z] 90cda3b7c325: Download complete [2022-11-07T17:42:14.731Z] 90cda3b7c325: Pull complete [2022-11-07T17:42:14.731Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-07T17:42:14.731Z] Status: Downloaded newer image for alpine:3.14 [2022-11-07T17:42:14.731Z] ---> 376ba31ae3da [2022-11-07T17:42:14.731Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-07T17:42:14.731Z] ---> Running in 02527ee8bab4 [2022-11-07T17:42:14.731Z] Removing intermediate container 02527ee8bab4 [2022-11-07T17:42:14.731Z] ---> fa4716a4d942 [2022-11-07T17:42:14.731Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T17:42:14.731Z] ---> Running in b987eda28ac9 [2022-11-07T17:42:14.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-11-07T17:42:14.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-11-07T17:42:15.000Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T17:42:15.000Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-07T17:42:15.000Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T17:42:15.000Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-07T17:42:15.000Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T17:42:15.000Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T17:42:15.000Z] Executing busybox-1.33.1-r8.trigger [2022-11-07T17:42:15.000Z] OK: 8 MiB in 20 packages [2022-11-07T17:42:16.416Z] Removing intermediate container b987eda28ac9 [2022-11-07T17:42:16.416Z] ---> 0c66f0f89afe [2022-11-07T17:42:16.416Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-07T17:42:17.843Z] ---> 5de4969f8077 [2022-11-07T17:42:17.843Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-07T17:42:18.111Z] ---> 398c376f6237 [2022-11-07T17:42:18.111Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-07T17:42:18.695Z] ---> 8df1320674f7 [2022-11-07T17:42:18.695Z] Step 17/22 : EXPOSE 59901 [2022-11-07T17:42:18.695Z] ---> Running in 7af75fa53119 [2022-11-07T17:42:18.972Z] Removing intermediate container 7af75fa53119 [2022-11-07T17:42:18.972Z] ---> 795d2ab3ae8c [2022-11-07T17:42:18.972Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-07T17:42:19.244Z] ---> Running in 523e84860fa2 [2022-11-07T17:42:19.510Z] Removing intermediate container 523e84860fa2 [2022-11-07T17:42:19.510Z] ---> b1c0c3832129 [2022-11-07T17:42:19.510Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T17:42:19.510Z] ---> Running in d43f59440a4e [2022-11-07T17:42:19.777Z] Removing intermediate container d43f59440a4e [2022-11-07T17:42:19.777Z] ---> ba8b01ee83f7 [2022-11-07T17:42:19.777Z] Step 20/22 : LABEL arch=arm64 [2022-11-07T17:42:20.043Z] ---> Running in edf57efa18ad [2022-11-07T17:42:20.311Z] Removing intermediate container edf57efa18ad [2022-11-07T17:42:20.311Z] ---> ce9c6a4f967c [2022-11-07T17:42:20.311Z] Step 21/22 : LABEL git_sha=514f8514b7960d8aafd43d2de455918271582671 [2022-11-07T17:42:20.311Z] ---> Running in ddb520d7e13a [2022-11-07T17:42:20.579Z] Removing intermediate container ddb520d7e13a [2022-11-07T17:42:20.579Z] ---> 9047f1a70a10 [2022-11-07T17:42:20.579Z] Step 22/22 : LABEL version=0.0.0 [2022-11-07T17:42:20.858Z] ---> Running in 0358e89a839a [2022-11-07T17:42:21.126Z] Removing intermediate container 0358e89a839a [2022-11-07T17:42:21.126Z] ---> c3cd5cb3ca7a [2022-11-07T17:42:21.126Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T17:42:21.126Z] Successfully built c3cd5cb3ca7a [2022-11-07T17:42:21.126Z] 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-11-07T17:42:21.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T17:42:21.540Z] [2022-11-07T17:42:21.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:42:21.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T17:42:21.871Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T17:42:21.871Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T17:42:21.871Z] 04944245beec: Pulling fs layer [2022-11-07T17:42:21.871Z] 699f458cf7ca: Pulling fs layer [2022-11-07T17:42:21.871Z] 765212b225bb: Pulling fs layer [2022-11-07T17:42:21.871Z] f23df028b6ca: Pulling fs layer [2022-11-07T17:42:21.871Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T17:42:21.871Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T17:42:21.871Z] f23df028b6ca: Waiting [2022-11-07T17:42:21.871Z] 2437ff75d9bd: Waiting [2022-11-07T17:42:21.871Z] d65c8cfc05b1: Waiting [2022-11-07T17:42:21.871Z] 765212b225bb: Waiting [2022-11-07T17:42:22.137Z] 04944245beec: Verifying Checksum [2022-11-07T17:42:22.137Z] 04944245beec: Download complete [2022-11-07T17:42:22.137Z] 765212b225bb: Verifying Checksum [2022-11-07T17:42:22.137Z] 765212b225bb: Download complete [2022-11-07T17:42:22.137Z] f23df028b6ca: Verifying Checksum [2022-11-07T17:42:22.137Z] f23df028b6ca: Download complete [2022-11-07T17:42:22.137Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T17:42:22.137Z] d65c8cfc05b1: Download complete [2022-11-07T17:42:22.405Z] 699f458cf7ca: Verifying Checksum [2022-11-07T17:42:22.405Z] 699f458cf7ca: Download complete [2022-11-07T17:42:22.672Z] 8998bd30e6a1: Download complete [2022-11-07T17:42:25.253Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T17:42:25.253Z] 2437ff75d9bd: Download complete [2022-11-07T17:42:26.660Z] 8998bd30e6a1: Pull complete [2022-11-07T17:42:26.927Z] 04944245beec: Pull complete [2022-11-07T17:42:28.432Z] 699f458cf7ca: Pull complete [2022-11-07T17:42:28.712Z] 765212b225bb: Pull complete [2022-11-07T17:42:29.314Z] f23df028b6ca: Pull complete [2022-11-07T17:42:29.586Z] d65c8cfc05b1: Pull complete [2022-11-07T17:42:44.618Z] 2437ff75d9bd: Pull complete [2022-11-07T17:42:44.618Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T17:42:44.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T17:42:44.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:42:44.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-118480 does not seem to be running inside a container [2022-11-07T17:42:44.900Z] $ 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/8 -v /w/workspace/device-modbus-go/8:/w/workspace/device-modbus-go/8:rw,z -v /w/workspace/device-modbus-go/8@tmp:/w/workspace/device-modbus-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T17:42:47.647Z] $ docker top 1e8649212b4d4e9013c4cedbaa86e5443236802d21408fd90b8883f2337abef1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:42:48.490Z] ---> job-cost.sh [2022-11-07T17:42:48.490Z] lf-activate-venv: SKIPPING [2022-11-07T17:42:48.490Z] INFO: No Stack... [2022-11-07T17:42:48.756Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T17:42:49.716Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T17:42:50.355Z] + cut -d, -f6 [2022-11-07T17:42:50.355Z] + cat /w/workspace/device-modbus-go/8/archives/cost.csv [Pipeline] lock [2022-11-07T17:42:50.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] [2022-11-07T17:42:50.429Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] did not exist. Created. [2022-11-07T17:42:50.429Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T17:42:51.084Z] /w/workspace/device-modbus-go/8@tmp/durable-06a3e820/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T17:42:51.735Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T17:42:51.760Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T17:42:51.812Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T17:42:51.819Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T17:42:51.833Z] $ docker stop --time=1 1e8649212b4d4e9013c4cedbaa86e5443236802d21408fd90b8883f2337abef1 [2022-11-07T17:42:53.339Z] $ docker rm -f 1e8649212b4d4e9013c4cedbaa86e5443236802d21408fd90b8883f2337abef1 [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-11-07T17:42:53.694Z] provisioning config files... [2022-11-07T17:42:53.700Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config15937489831929229418tmp [Pipeline] { [Pipeline] sh [2022-11-07T17:42:53.992Z] + set +x [2022-11-07T17:42:53.992Z] + curl -s https://codecov.io/bash [2022-11-07T17:42:53.992Z] + bash -s -- [2022-11-07T17:42:53.992Z] [2022-11-07T17:42:53.992Z] _____ _ [2022-11-07T17:42:53.992Z] / ____| | | [2022-11-07T17:42:53.992Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T17:42:53.992Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T17:42:53.992Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T17:42:53.992Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T17:42:53.992Z] Bash-1.0.6 [2022-11-07T17:42:53.992Z] [2022-11-07T17:42:53.992Z] [2022-11-07T17:42:53.992Z] ==> git version 2.25.1 found [2022-11-07T17:42:53.992Z] ==> 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-11-07T17:42:53.992Z] Release-Date: 2020-01-08 [2022-11-07T17:42:53.992Z] 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-11-07T17:42:53.992Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T17:42:53.992Z] ==> Jenkins CI detected. [2022-11-07T17:42:53.992Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 [2022-11-07T17:42:53.992Z] project root: . [2022-11-07T17:42:53.992Z] --> token set from env [2022-11-07T17:42:53.992Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T17:42:53.992Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T17:42:53.992Z] ==> Python coveragepy not found [2022-11-07T17:42:53.992Z] ==> Searching for coverage reports in: [2022-11-07T17:42:53.992Z] + . [2022-11-07T17:42:53.992Z] -> Found 1 reports [2022-11-07T17:42:53.992Z] ==> Detecting git/mercurial file structure [2022-11-07T17:42:53.992Z] ==> Reading reports [2022-11-07T17:42:53.992Z] + ./coverage.out bytes=23241 [2022-11-07T17:42:53.992Z] ==> Appending adjustments [2022-11-07T17:42:53.992Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T17:42:54.251Z] + Found adjustments [2022-11-07T17:42:54.251Z] ==> Gzipping contents [2022-11-07T17:42:54.251Z] 4.0K /tmp/codecov.s7AwCh.gz [2022-11-07T17:42:54.251Z] ==> Uploading reports [2022-11-07T17:42:54.251Z] url: https://codecov.io [2022-11-07T17:42:54.251Z] query: branch=PR-385&commit=514f8514b7960d8aafd43d2de455918271582671&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-11-07T17:42:54.251Z] -> Pinging Codecov [2022-11-07T17:42:54.251Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=514f8514b7960d8aafd43d2de455918271582671&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-11-07T17:42:54.510Z] -> Uploading to [2022-11-07T17:42:54.510Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/55DBCA73C666E3227836607328DD7E49/514f8514b7960d8aafd43d2de455918271582671/2a8c0454-e06b-49f3-9663-935f936482b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T174254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05e3b05879b3d4e457e0bff5228f1497f8b82e8d7b7284152faeae0e02c18b2f [2022-11-07T17:42:54.510Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T17:42:54.510Z] Dload Upload Total Spent Left Speed [2022-11-07T17:42:54.769Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 16403 --:--:-- --:--:-- --:--:-- 16334 100 3904 0 0 100 3904 0 16334 --:--:-- --:--:-- --:--:-- 16266 [2022-11-07T17:42:54.769Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/514f8514b7960d8aafd43d2de455918271582671 [Pipeline] } [2022-11-07T17:42:54.776Z] 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-11-07T17:42:55.426Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] [2022-11-07T17:42:55.427Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-07T17:42:55.427Z] total 16 [2022-11-07T17:42:55.427Z] drwxr-xr-x 3 root root 4096 Nov 7 17:34 . [2022-11-07T17:42:55.427Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:34 .. [2022-11-07T17:42:55.427Z] drwxr-xr-x 2 root root 4096 Nov 7 17:34 cost [2022-11-07T17:42:55.427Z] -rw-r--r-- 1 root root 88 Nov 7 17:34 cost.csv [2022-11-07T17:42:55.427Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-07T17:42:55.427Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-11-07T17:42:55.427Z] total 16 [2022-11-07T17:42:55.427Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:34 . [2022-11-07T17:42:55.427Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:34 .. [2022-11-07T17:42:55.427Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:34 cost [2022-11-07T17:42:55.427Z] -rw-r--r-- 1 jenkins jenkins 88 Nov 7 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:42:55.715Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:42:56.577Z] ---> package-listing.sh [2022-11-07T17:42:56.577Z] ++ facter osfamily [2022-11-07T17:42:56.577Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T17:42:56.836Z] + OS_FAMILY=debian [2022-11-07T17:42:56.836Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 [2022-11-07T17:42:56.836Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T17:42:56.836Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T17:42:56.836Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T17:42:56.836Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T17:42:56.836Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-11-07T17:42:56.836Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T17:42:56.836Z] + case "${OS_FAMILY}" in [2022-11-07T17:42:56.836Z] + dpkg -l [2022-11-07T17:42:56.836Z] + grep '^ii' [2022-11-07T17:42:56.836Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T17:42:56.836Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T17:42:56.836Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T17:42:56.836Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-11-07T17:42:56.836Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [2022-11-07T17:42:56.836Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo [2022-11-07T17:42:56.846Z] 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T17:42:57.124Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:42:57.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:42:57.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:42:57.748Z] prd-ubuntu20.04-docker-8c-8g-118477 does not seem to be running inside a container [2022-11-07T17:42:57.782Z] $ 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-385/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-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T17:42:57.996Z] $ docker top 279b8705b98f5824937dbfb9017a8826bdd2b51815f929cf10392ff3027f9419 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:42:58.339Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T17:42:58.624Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T17:42:58.910Z] + ls /var/log/sa-host [2022-11-07T17:42:58.911Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:42:58.979Z] provisioning config files... [2022-11-07T17:42:58.986Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config9630824129849518670tmp [Pipeline] { [Pipeline] echo [2022-11-07T17:42:58.999Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:42:59.278Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T17:42:59.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:42:59.607Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T17:42:59.615Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:42:59.895Z] ---> sudo-logs.sh [2022-11-07T17:42:59.895Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T17:42:59.928Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:00.211Z] ---> job-cost.sh [2022-11-07T17:43:00.211Z] lf-activate-venv: SKIPPING [2022-11-07T17:43:00.211Z] DEBUG: total: 0.2199999988079071 [2022-11-07T17:43:00.211Z] INFO: Retrieving Stack Cost... [2022-11-07T17:43:00.470Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T17:43:01.036Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T17:43:01.047Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:01.331Z] ---> logs-deploy.sh [2022-11-07T17:43:01.331Z] lf-activate-venv: SKIPPING [2022-11-07T17:43:01.331Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/8 [2022-11-07T17:43:01.331Z] INFO: archiving workspace using pattern(s): [2022-11-07T17:43:02.270Z] Archives upload complete. [2022-11-07T17:43:02.270Z] INFO: archiving logs to Nexus