Pull request #395 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-modbus-go Loading trusted files from base branch main at b747fdb0f46d56fab49edbd998369f5c6173beb1 rather than 5cba2203e71886d94050145eddf79272566091df Obtained Jenkinsfile from b747fdb0f46d56fab49edbd998369f5c6173beb1 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-ssh5117311578588474895.key > 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-ssh2092904757540229782.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17180303201046788162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16298640530445735733.key > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16075141403869840103.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3296373422370551658.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 ‘prd-ubuntu20.04-docker-8c-8g-1120’ Running on prd-ubuntu20.04-docker-8c-8g-1123 in /w/workspace/xfoundry_device-modbus-go_PR-395 [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-395 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit 5cba2203e71886d94050145eddf79272566091df Merge succeeded, producing 5cba2203e71886d94050145eddf79272566091df Checking out Revision 5cba2203e71886d94050145eddf79272566091df (PR-395) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-04T19:05:45.270Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-04T19:05:45.446Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-04T19:05:45.554Z] ========================================================= [2023-01-04T19:05:45.554Z] EdgeX Global Pipelines Version Info [2023-01-04T19:05:45.554Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:05:46.300Z] ------------------- [2023-01-04T19:05:46.300Z] stable info: [2023-01-04T19:05:46.300Z] ------------------- [2023-01-04T19:05:46.300Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-04T19:05:46.300Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T19:05:46.300Z] Message: update stable to v1.0.244 [2023-01-04T19:05:46.872Z] ------------------- [2023-01-04T19:05:46.872Z] experimental info: [2023-01-04T19:05:46.872Z] ------------------- [2023-01-04T19:05:46.872Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-04T19:05:46.872Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T19:05:46.872Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-04T19:05:47.123Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-04T19:05:47.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-04T19:05:47.194Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-04T19:05:47.235Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-04T19:05:47.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-04T19:05:47.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-04T19:05:47.349Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-04T19:05:47.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-04T19:05:47.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-04T19:05:47.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-04T19:05:47.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-04T19:05:47.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-04T19:05:47.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-04T19:05:47.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-04T19:05:47.657Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T19:05:47.696Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T19:05:47.735Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T19:05:47.781Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T19:05:47.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-04T19:05:47.871Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-04T19:05:47.909Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-04T19:05:47.946Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-04T19:05:47.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-04T19:05:48.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-04T19:05:48.060Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-04T19:05:48.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-04T19:05:48.139Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-04T19:05:48.179Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-395 [Pipeline] echo [2023-01-04T19:05:48.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-395 [Pipeline] echo [2023-01-04T19:05:48.256Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-395 [Pipeline] echo [2023-01-04T19:05:48.289Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5cba2203e71886d94050145eddf79272566091df [Pipeline] echo [2023-01-04T19:05:48.326Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5cba220 [Pipeline] echo [2023-01-04T19:05:48.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:05:48.468Z] provisioning config files... [2023-01-04T19:05:48.486Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config3484194772520894018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:05:48.819Z] ---> docker-login.sh [2023-01-04T19:05:48.819Z] nexus3.edgexfoundry.org:10001 [2023-01-04T19:05:49.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:05:49.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:05:49.079Z] Configure a credential helper to remove this warning. See [2023-01-04T19:05:49.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:05:49.079Z] [2023-01-04T19:05:49.079Z] Login Succeeded [2023-01-04T19:05:49.079Z] nexus3.edgexfoundry.org:10002 [2023-01-04T19:05:49.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:05:49.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:05:49.079Z] Configure a credential helper to remove this warning. See [2023-01-04T19:05:49.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:05:49.079Z] [2023-01-04T19:05:49.079Z] Login Succeeded [2023-01-04T19:05:49.079Z] nexus3.edgexfoundry.org:10003 [2023-01-04T19:05:49.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:05:49.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:05:49.337Z] Configure a credential helper to remove this warning. See [2023-01-04T19:05:49.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:05:49.337Z] [2023-01-04T19:05:49.337Z] Login Succeeded [2023-01-04T19:05:49.337Z] nexus3.edgexfoundry.org:10004 [2023-01-04T19:05:49.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:05:49.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:05:49.337Z] Configure a credential helper to remove this warning. See [2023-01-04T19:05:49.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:05:49.337Z] [2023-01-04T19:05:49.337Z] Login Succeeded [2023-01-04T19:05:49.337Z] docker.io [2023-01-04T19:05:49.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:05:49.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:05:49.596Z] Configure a credential helper to remove this warning. See [2023-01-04T19:05:49.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:05:49.596Z] [2023-01-04T19:05:49.596Z] Login Succeeded [2023-01-04T19:05:49.596Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T19:05:49.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-04T19:05:50.217Z] + git rev-list -1 --merges 5cba2203e71886d94050145eddf79272566091df~1..5cba2203e71886d94050145eddf79272566091df [Pipeline] echo [2023-01-04T19:05:50.285Z] -----------> git rev-list -1 --merges 5cba2203e71886d94050145eddf79272566091df~1..5cba2203e71886d94050145eddf79272566091df 5cba2203e71886d94050145eddf79272566091df [false] [Pipeline] sh [2023-01-04T19:05:50.603Z] + git log --format=format:%s -1 5cba2203e71886d94050145eddf79272566091df [Pipeline] echo [2023-01-04T19:05:50.636Z] ========================================================= [2023-01-04T19:05:50.636Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-04T19:05:50.636Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T19:05:51.100Z] + git log --format=format:%s -1 5cba2203e71886d94050145eddf79272566091df [Pipeline] echo [2023-01-04T19:05:51.131Z] [semverPrep] GIT_COMMIT: 5cba2203e71886d94050145eddf79272566091df, Commit Message: build(deps): Bump edgex-snap-hooks/v2 to v2.5.0 [Pipeline] echo [2023-01-04T19:05:51.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-04T19:05:51.534Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-04T19:05:51.534Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-04T19:05:51.534Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-04T19:05:51.534Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-04T19:05:51.534Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-04T19:05:51.534Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-04T19:05:51.534Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:05:51.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T19:05:51.964Z] [2023-01-04T19:05:51.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:05:52.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T19:05:52.343Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-04T19:05:52.343Z] b85a868b505f: Pulling fs layer [2023-01-04T19:05:52.343Z] e2be974225ed: Pulling fs layer [2023-01-04T19:05:52.343Z] 339a4e72a1f5: Pulling fs layer [2023-01-04T19:05:52.343Z] 988bab9f4d93: Pulling fs layer [2023-01-04T19:05:52.343Z] 1469e6f7b9e6: Pulling fs layer [2023-01-04T19:05:52.343Z] eaf3925da568: Pulling fs layer [2023-01-04T19:05:52.343Z] bab4dde63d76: Pulling fs layer [2023-01-04T19:05:52.343Z] bde34c3a00c8: Pulling fs layer [2023-01-04T19:05:52.343Z] b352a97aabf1: Pulling fs layer [2023-01-04T19:05:52.343Z] 4872d77fe225: Pulling fs layer [2023-01-04T19:05:52.343Z] 5851b861e8e6: Pulling fs layer [2023-01-04T19:05:52.343Z] 1469e6f7b9e6: Waiting [2023-01-04T19:05:52.343Z] eaf3925da568: Waiting [2023-01-04T19:05:52.343Z] bab4dde63d76: Waiting [2023-01-04T19:05:52.343Z] bde34c3a00c8: Waiting [2023-01-04T19:05:52.343Z] b352a97aabf1: Waiting [2023-01-04T19:05:52.343Z] 988bab9f4d93: Waiting [2023-01-04T19:05:52.343Z] 5851b861e8e6: Waiting [2023-01-04T19:05:52.343Z] 4872d77fe225: Waiting [2023-01-04T19:05:52.343Z] e2be974225ed: Download complete [2023-01-04T19:05:52.343Z] 988bab9f4d93: Verifying Checksum [2023-01-04T19:05:52.343Z] 988bab9f4d93: Download complete [2023-01-04T19:05:52.602Z] 1469e6f7b9e6: Verifying Checksum [2023-01-04T19:05:52.602Z] 1469e6f7b9e6: Download complete [2023-01-04T19:05:52.602Z] eaf3925da568: Download complete [2023-01-04T19:05:52.602Z] 339a4e72a1f5: Verifying Checksum [2023-01-04T19:05:52.602Z] 339a4e72a1f5: Download complete [2023-01-04T19:05:52.602Z] bde34c3a00c8: Verifying Checksum [2023-01-04T19:05:52.602Z] bde34c3a00c8: Download complete [2023-01-04T19:05:52.602Z] b352a97aabf1: Verifying Checksum [2023-01-04T19:05:52.602Z] b352a97aabf1: Download complete [2023-01-04T19:05:52.602Z] 4872d77fe225: Verifying Checksum [2023-01-04T19:05:52.602Z] 4872d77fe225: Download complete [2023-01-04T19:05:52.602Z] 5851b861e8e6: Verifying Checksum [2023-01-04T19:05:52.602Z] 5851b861e8e6: Download complete [2023-01-04T19:05:52.602Z] b85a868b505f: Verifying Checksum [2023-01-04T19:05:52.602Z] b85a868b505f: Download complete [2023-01-04T19:05:53.168Z] bab4dde63d76: Verifying Checksum [2023-01-04T19:05:53.169Z] bab4dde63d76: Download complete [2023-01-04T19:05:53.735Z] b85a868b505f: Pull complete [2023-01-04T19:05:53.993Z] e2be974225ed: Pull complete [2023-01-04T19:05:54.251Z] 339a4e72a1f5: Pull complete [2023-01-04T19:05:54.510Z] 988bab9f4d93: Pull complete [2023-01-04T19:05:54.775Z] 1469e6f7b9e6: Pull complete [2023-01-04T19:05:54.775Z] eaf3925da568: Pull complete [2023-01-04T19:05:56.675Z] bab4dde63d76: Pull complete [2023-01-04T19:05:56.675Z] bde34c3a00c8: Pull complete [2023-01-04T19:05:56.675Z] b352a97aabf1: Pull complete [2023-01-04T19:05:56.675Z] 4872d77fe225: Pull complete [2023-01-04T19:05:56.675Z] 5851b861e8e6: Pull complete [2023-01-04T19:05:56.675Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-04T19:05:56.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T19:05:56.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:05:57.204Z] prd-ubuntu20.04-docker-8c-8g-1123 does not seem to be running inside a container [2023-01-04T19:05:57.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-04T19:05:58.475Z] $ docker top 50757fd8e463f0297b85774adae66979bce2db074de9b72d3857b187b279fd93 -eo pid,comm [2023-01-04T19:05:58.527Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-04T19:05:58.527Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-04T19:05:58.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T19:05:58.659Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T19:05:58.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T19:05:58.777Z] $ docker exec 50757fd8e463f0297b85774adae66979bce2db074de9b72d3857b187b279fd93 ssh-agent [2023-01-04T19:05:58.885Z] SSH_AUTH_SOCK=/tmp/ssh-h4ScfVoYL8K8/agent.32 [2023-01-04T19:05:58.885Z] SSH_AGENT_PID=38 [2023-01-04T19:05:58.890Z] Running ssh-add (command line suppressed) [2023-01-04T19:05:58.992Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_12074308756305084875.key (/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_12074308756305084875.key) [2023-01-04T19:05:59.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T19:05:59.332Z] + git tag --points-at HEAD [Pipeline] } [2023-01-04T19:05:59.356Z] $ docker exec --env ******** --env ******** 50757fd8e463f0297b85774adae66979bce2db074de9b72d3857b187b279fd93 ssh-agent -k [2023-01-04T19:05:59.452Z] unset SSH_AUTH_SOCK; [2023-01-04T19:05:59.452Z] unset SSH_AGENT_PID; [2023-01-04T19:05:59.452Z] echo Agent pid 38 killed; [2023-01-04T19:05:59.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-04T19:05:59.548Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T19:05:59.548Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T19:05:59.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T19:05:59.658Z] $ docker exec 50757fd8e463f0297b85774adae66979bce2db074de9b72d3857b187b279fd93 ssh-agent [2023-01-04T19:05:59.751Z] SSH_AUTH_SOCK=/tmp/ssh-TxP5rEsWQdWp/agent.70 [2023-01-04T19:05:59.751Z] SSH_AGENT_PID=76 [2023-01-04T19:05:59.755Z] Running ssh-add (command line suppressed) [2023-01-04T19:05:59.858Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_479959192757152262.key (/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/private_key_479959192757152262.key) [2023-01-04T19:05:59.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T19:06:00.192Z] + git semver init [2023-01-04T19:06:00.453Z] 2023-01-04 19:06:00,361 [run_init] DEBUG init version:0.0.0 force:False [2023-01-04T19:06:00.453Z] 2023-01-04 19:06:00,362 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver [2023-01-04T19:06:00.453Z] 2023-01-04 19:06:00,362 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-395/.semver [2023-01-04T19:06:00.453Z] 2023-01-04 19:06:00,363 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-395/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395, universal_newlines=False, shell=None, istream=None) [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,393 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-395/.git/info/exclude [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,393 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 with force:False [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,393 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,396 [execute] INFO git cat-file --batch-check [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,401 [execute] INFO git cat-file --batch [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-395/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T19:06:01.830Z] 2023-01-04 19:06:01,407 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-395/.semver/PR-395 [2023-01-04T19:06:01.830Z] 0.0.0 [Pipeline] } [2023-01-04T19:06:01.857Z] $ docker exec --env ******** --env ******** 50757fd8e463f0297b85774adae66979bce2db074de9b72d3857b187b279fd93 ssh-agent -k [2023-01-04T19:06:01.941Z] unset SSH_AUTH_SOCK; [2023-01-04T19:06:01.941Z] unset SSH_AGENT_PID; [2023-01-04T19:06:01.941Z] echo Agent pid 76 killed; [2023-01-04T19:06:01.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-04T19:06:02.365Z] + git semver [Pipeline] } [2023-01-04T19:06:02.648Z] $ docker stop --time=1 50757fd8e463f0297b85774adae66979bce2db074de9b72d3857b187b279fd93 [2023-01-04T19:06:03.972Z] $ docker rm -f --volumes 50757fd8e463f0297b85774adae66979bce2db074de9b72d3857b187b279fd93 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T19:06:04.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-04T19:06:04.628Z] Stashed 1 file(s) [Pipeline] echo [2023-01-04T19:06:04.644Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:06:05.238Z] provisioning config files... [2023-01-04T19:06:05.248Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config11048953302098715570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:05.593Z] ---> docker-login.sh [2023-01-04T19:06:05.593Z] nexus3.edgexfoundry.org:10001 [2023-01-04T19:06:05.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:06:05.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:06:05.593Z] Configure a credential helper to remove this warning. See [2023-01-04T19:06:05.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:06:05.593Z] [2023-01-04T19:06:05.593Z] Login Succeeded [2023-01-04T19:06:05.593Z] nexus3.edgexfoundry.org:10002 [2023-01-04T19:06:05.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:06:05.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:06:05.593Z] Configure a credential helper to remove this warning. See [2023-01-04T19:06:05.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:06:05.593Z] [2023-01-04T19:06:05.593Z] Login Succeeded [2023-01-04T19:06:05.593Z] nexus3.edgexfoundry.org:10003 [2023-01-04T19:06:05.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:06:05.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:06:05.852Z] Configure a credential helper to remove this warning. See [2023-01-04T19:06:05.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:06:05.852Z] [2023-01-04T19:06:05.852Z] Login Succeeded [2023-01-04T19:06:05.852Z] nexus3.edgexfoundry.org:10004 [2023-01-04T19:06:05.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:06:05.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:06:05.853Z] Configure a credential helper to remove this warning. See [2023-01-04T19:06:05.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:06:05.853Z] [2023-01-04T19:06:05.853Z] Login Succeeded [2023-01-04T19:06:05.853Z] docker.io [2023-01-04T19:06:06.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:06:06.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:06:06.111Z] Configure a credential helper to remove this warning. See [2023-01-04T19:06:06.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:06:06.111Z] [2023-01-04T19:06:06.111Z] Login Succeeded [2023-01-04T19:06:06.111Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T19:06:06.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T19:06:06.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:06:06.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:06:06.435Z] ========================================================= [2023-01-04T19:06:06.435Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-04T19:06:06.435Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:06:06.878Z] + 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 . [2023-01-04T19:06:06.878Z] Sending build context to Docker daemon 6.351MB [2023-01-04T19:06:06.878Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:06:06.878Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-04T19:06:06.878Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-04T19:06:06.878Z] 213ec9aee27d: Pulling fs layer [2023-01-04T19:06:06.878Z] 4583459ba037: Pulling fs layer [2023-01-04T19:06:06.878Z] 93c1e223e6f2: Pulling fs layer [2023-01-04T19:06:06.878Z] 53926ce57604: Pulling fs layer [2023-01-04T19:06:06.878Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-04T19:06:06.878Z] 22ff95d597cd: Pulling fs layer [2023-01-04T19:06:06.878Z] 12d6caf4c0d1: Pulling fs layer [2023-01-04T19:06:06.878Z] 96b7cbca73a9: Pulling fs layer [2023-01-04T19:06:06.878Z] a7acece74701: Pulling fs layer [2023-01-04T19:06:06.878Z] 22ff95d597cd: Waiting [2023-01-04T19:06:06.878Z] 12d6caf4c0d1: Waiting [2023-01-04T19:06:06.878Z] 53926ce57604: Waiting [2023-01-04T19:06:06.878Z] 96b7cbca73a9: Waiting [2023-01-04T19:06:06.878Z] 21b2b0c7a3f4: Waiting [2023-01-04T19:06:06.878Z] a7acece74701: Waiting [2023-01-04T19:06:06.878Z] 93c1e223e6f2: Verifying Checksum [2023-01-04T19:06:06.878Z] 93c1e223e6f2: Download complete [2023-01-04T19:06:06.878Z] 4583459ba037: Verifying Checksum [2023-01-04T19:06:06.878Z] 4583459ba037: Download complete [2023-01-04T19:06:06.878Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-04T19:06:06.878Z] 21b2b0c7a3f4: Download complete [2023-01-04T19:06:07.139Z] 22ff95d597cd: Verifying Checksum [2023-01-04T19:06:07.139Z] 22ff95d597cd: Download complete [2023-01-04T19:06:07.139Z] 213ec9aee27d: Verifying Checksum [2023-01-04T19:06:07.139Z] 213ec9aee27d: Download complete [2023-01-04T19:06:07.139Z] 12d6caf4c0d1: Verifying Checksum [2023-01-04T19:06:07.139Z] 12d6caf4c0d1: Download complete [2023-01-04T19:06:07.139Z] 213ec9aee27d: Pull complete [2023-01-04T19:06:07.413Z] 4583459ba037: Pull complete [2023-01-04T19:06:07.413Z] 93c1e223e6f2: Pull complete [2023-01-04T19:06:07.413Z] a7acece74701: Verifying Checksum [2023-01-04T19:06:07.413Z] a7acece74701: Download complete [2023-01-04T19:06:08.002Z] 96b7cbca73a9: Verifying Checksum [2023-01-04T19:06:08.003Z] 96b7cbca73a9: Download complete [2023-01-04T19:06:08.003Z] 53926ce57604: Verifying Checksum [2023-01-04T19:06:08.003Z] 53926ce57604: Download complete [2023-01-04T19:06:12.184Z] 53926ce57604: Pull complete [2023-01-04T19:06:12.184Z] 21b2b0c7a3f4: Pull complete [2023-01-04T19:06:12.184Z] 22ff95d597cd: Pull complete [2023-01-04T19:06:12.184Z] 12d6caf4c0d1: Pull complete [2023-01-04T19:06:13.558Z] 96b7cbca73a9: Pull complete [2023-01-04T19:06:14.491Z] a7acece74701: Pull complete [2023-01-04T19:06:14.491Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-04T19:06:14.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-04T19:06:14.491Z] ---> db6d94c90886 [2023-01-04T19:06:14.491Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:06:15.869Z] ---> Running in 0e94642178a2 [2023-01-04T19:06:15.869Z] Removing intermediate container 0e94642178a2 [2023-01-04T19:06:15.869Z] ---> 67314b1284d2 [2023-01-04T19:06:15.869Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:06:15.869Z] ---> Running in 503569b74f5c [2023-01-04T19:06:16.127Z] Removing intermediate container 503569b74f5c [2023-01-04T19:06:16.127Z] ---> 908479a7115e [2023-01-04T19:06:16.127Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-04T19:06:16.127Z] ---> Running in bf461776b125 [2023-01-04T19:06:16.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T19:06:16.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T19:06:16.645Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T19:06:16.645Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-04T19:06:16.645Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T19:06:16.645Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T19:06:16.645Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-04T19:06:16.645Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-04T19:06:16.645Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-04T19:06:16.645Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-04T19:06:16.645Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T19:06:16.645Z] OK: 217 MiB in 59 packages [2023-01-04T19:06:17.211Z] Removing intermediate container bf461776b125 [2023-01-04T19:06:17.211Z] ---> f0407b794808 [2023-01-04T19:06:17.211Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-04T19:06:17.211Z] ---> Running in 8b8fcef4a176 [2023-01-04T19:06:17.211Z] Removing intermediate container 8b8fcef4a176 [2023-01-04T19:06:17.211Z] ---> a3a96f216ee8 [2023-01-04T19:06:17.211Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-04T19:06:17.476Z] ---> 7c68d0a6fca6 [2023-01-04T19:06:17.476Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:06:17.476Z] ---> Running in 52b19030556e [2023-01-04T19:06:20.065Z] Still waiting to schedule task [2023-01-04T19:06:20.065Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1121’ is offline [2023-01-04T19:06:39.414Z] Removing intermediate container 52b19030556e [2023-01-04T19:06:39.414Z] ---> 0d467c35f282 [2023-01-04T19:06:39.414Z] Step 9/10 : COPY . . [2023-01-04T19:06:39.414Z] ---> 91b2c630d093 [2023-01-04T19:06:39.414Z] Step 10/10 : RUN ${MAKE} [2023-01-04T19:06:39.414Z] ---> Running in d6ee4d1de57e [2023-01-04T19:06:39.414Z] noop [2023-01-04T19:06:39.674Z] Removing intermediate container d6ee4d1de57e [2023-01-04T19:06:39.674Z] ---> edf56a9ecf40 [2023-01-04T19:06:39.674Z] Successfully built edf56a9ecf40 [2023-01-04T19:06:39.674Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:06:40.117Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T19:06:40.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:06:40.253Z] prd-ubuntu20.04-docker-8c-8g-1123 does not seem to be running inside a container [2023-01-04T19:06:40.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T19:06:40.656Z] $ docker top 48a6fad6e31a775e2f384764c9d3a3698f2eb235743b0372476a8794d59b6bf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:06:41.036Z] + go version [2023-01-04T19:06:41.036Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-04T19:06:41.070Z] $ docker stop --time=1 48a6fad6e31a775e2f384764c9d3a3698f2eb235743b0372476a8794d59b6bf4 [2023-01-04T19:06:42.339Z] $ docker rm -f --volumes 48a6fad6e31a775e2f384764c9d3a3698f2eb235743b0372476a8794d59b6bf4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:06:43.039Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T19:06:43.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:06:43.198Z] prd-ubuntu20.04-docker-8c-8g-1123 does not seem to be running inside a container [2023-01-04T19:06:43.228Z] $ 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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T19:06:43.573Z] $ docker top a834d8bc8b7c69a73d7b71d028018432e66de93b6fa6e35f436d945ad8d5c905 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:06:43.953Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-395 [Pipeline] fileExists [Pipeline] sh [2023-01-04T19:06:44.315Z] + make test [2023-01-04T19:06:44.315Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-04T19:06:44.575Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-04T19:06:54.542Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-04T19:06:54.542Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.7% of statements [2023-01-04T19:06:59.810Z] 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." [2023-01-04T19:06:59.811Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T19:07:01.707Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T19:07:01.707Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T19:07:01.965Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T19:07:01.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T19:07:02.025Z] $ docker stop --time=1 a834d8bc8b7c69a73d7b71d028018432e66de93b6fa6e35f436d945ad8d5c905 [2023-01-04T19:07:03.687Z] $ docker rm -f --volumes a834d8bc8b7c69a73d7b71d028018432e66de93b6fa6e35f436d945ad8d5c905 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T19:07:04.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T19:07:04.252Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-04T19:07:04.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T19:07:05.138Z] + ls -al . [2023-01-04T19:07:05.138Z] total 196 [2023-01-04T19:07:05.138Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 19:06 . [2023-01-04T19:07:05.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:05 .. [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 19:05 .dockerignore [2023-01-04T19:07:05.138Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 19:06 .git [2023-01-04T19:07:05.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:05 .github [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 4 19:05 .gitignore [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 19:05 .golangci.yml [2023-01-04T19:07:05.138Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 19:06 .semver [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 4 19:05 Attribution.txt [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 4 19:05 CHANGELOG.md [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 4 19:05 Dockerfile [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 19:05 GOVERNANCE.md [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 19:05 Jenkinsfile [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 19:05 LICENSE [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 4 19:05 Makefile [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 4 19:05 OWNERS.md [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 4 19:05 README.md [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 19:06 VERSION [2023-01-04T19:07:05.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:05 bin [2023-01-04T19:07:05.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:05 cmd [2023-01-04T19:07:05.138Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 4 19:06 coverage.out [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 4 19:05 go.mod [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 4 19:05 go.sum [2023-01-04T19:07:05.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:05 internal [2023-01-04T19:07:05.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:05 simulator [2023-01-04T19:07:05.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:05 snap [2023-01-04T19:07:05.138Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 4 19:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:07:05.531Z] + 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=5cba2203e71886d94050145eddf79272566091df --label arch=amd64 --label version=0.0.0 . [2023-01-04T19:07:05.531Z] Sending build context to Docker daemon 6.375MB [2023-01-04T19:07:05.531Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:07:05.531Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-04T19:07:05.531Z] ---> edf56a9ecf40 [2023-01-04T19:07:05.531Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:07:05.531Z] ---> Running in 2cacd3516edd [2023-01-04T19:07:05.792Z] Removing intermediate container 2cacd3516edd [2023-01-04T19:07:05.792Z] ---> 2d246314dbb9 [2023-01-04T19:07:05.792Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:07:05.792Z] ---> Running in 3091396fe126 [2023-01-04T19:07:05.792Z] Removing intermediate container 3091396fe126 [2023-01-04T19:07:05.792Z] ---> 869d7030ba20 [2023-01-04T19:07:05.792Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-04T19:07:05.792Z] ---> Running in 515c30a00009 [2023-01-04T19:07:06.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T19:07:06.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T19:07:06.569Z] OK: 217 MiB in 59 packages [2023-01-04T19:07:06.828Z] Removing intermediate container 515c30a00009 [2023-01-04T19:07:06.828Z] ---> a4345f5c173e [2023-01-04T19:07:06.828Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-04T19:07:07.399Z] ---> Running in 54af1d444fdc [2023-01-04T19:07:07.399Z] Removing intermediate container 54af1d444fdc [2023-01-04T19:07:07.399Z] ---> 23efd13a795e [2023-01-04T19:07:07.399Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-04T19:07:07.399Z] ---> cfd2f8f1159c [2023-01-04T19:07:07.399Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:07:07.663Z] ---> Running in 44393c2c5211 [2023-01-04T19:07:08.235Z] Removing intermediate container 44393c2c5211 [2023-01-04T19:07:08.235Z] ---> d15ed4070ff0 [2023-01-04T19:07:08.235Z] Step 9/22 : COPY . . [2023-01-04T19:07:08.495Z] ---> d649f7569cf3 [2023-01-04T19:07:08.495Z] Step 10/22 : RUN ${MAKE} [2023-01-04T19:07:08.495Z] ---> Running in 53c016190fd5 [2023-01-04T19:07:08.754Z] 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 [2023-01-04T19:07:26.858Z] Removing intermediate container 53c016190fd5 [2023-01-04T19:07:26.858Z] ---> ff591793e440 [2023-01-04T19:07:26.858Z] Step 11/22 : FROM alpine:3.14 [2023-01-04T19:07:26.858Z] 3.14: Pulling from library/alpine [2023-01-04T19:07:26.858Z] c7ed990a2339: Pulling fs layer [2023-01-04T19:07:27.116Z] c7ed990a2339: Verifying Checksum [2023-01-04T19:07:27.116Z] c7ed990a2339: Download complete [2023-01-04T19:07:27.375Z] c7ed990a2339: Pull complete [2023-01-04T19:07:27.375Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-04T19:07:27.375Z] Status: Downloaded newer image for alpine:3.14 [2023-01-04T19:07:27.375Z] ---> dd53f409bf0b [2023-01-04T19:07:27.375Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-04T19:07:27.375Z] ---> Running in 7f75a2f62050 [2023-01-04T19:07:27.375Z] Removing intermediate container 7f75a2f62050 [2023-01-04T19:07:27.375Z] ---> 92c186ba6efb [2023-01-04T19:07:27.375Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T19:07:27.634Z] ---> Running in fec4121671f2 [2023-01-04T19:07:27.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-04T19:07:27.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-04T19:07:28.159Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T19:07:28.159Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-04T19:07:28.159Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T19:07:28.159Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-04T19:07:28.159Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T19:07:28.159Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T19:07:28.159Z] Executing busybox-1.33.1-r8.trigger [2023-01-04T19:07:28.159Z] OK: 8 MiB in 20 packages [2023-01-04T19:07:28.726Z] Removing intermediate container fec4121671f2 [2023-01-04T19:07:28.726Z] ---> a280f21362ba [2023-01-04T19:07:28.726Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-04T19:07:28.985Z] ---> 6848414dfc53 [2023-01-04T19:07:28.985Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-04T19:07:29.243Z] ---> 6428e0669133 [2023-01-04T19:07:29.244Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-04T19:07:29.244Z] ---> 40ba3f273306 [2023-01-04T19:07:29.244Z] Step 17/22 : EXPOSE 59901 [2023-01-04T19:07:29.503Z] ---> Running in d30573e9ac11 [2023-01-04T19:07:29.503Z] Removing intermediate container d30573e9ac11 [2023-01-04T19:07:29.503Z] ---> 9efeeb81c07b [2023-01-04T19:07:29.503Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-04T19:07:29.503Z] ---> Running in 7d3789011868 [2023-01-04T19:07:29.503Z] Removing intermediate container 7d3789011868 [2023-01-04T19:07:29.503Z] ---> eef3cdb9b63a [2023-01-04T19:07:29.503Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T19:07:29.503Z] ---> Running in 8f979d568701 [2023-01-04T19:07:29.762Z] Removing intermediate container 8f979d568701 [2023-01-04T19:07:29.762Z] ---> 8b50defb211e [2023-01-04T19:07:29.762Z] Step 20/22 : LABEL arch=amd64 [2023-01-04T19:07:29.762Z] ---> Running in 51cb5ade4e0a [2023-01-04T19:07:29.762Z] Removing intermediate container 51cb5ade4e0a [2023-01-04T19:07:29.762Z] ---> a053eff5ddf3 [2023-01-04T19:07:29.762Z] Step 21/22 : LABEL git_sha=5cba2203e71886d94050145eddf79272566091df [2023-01-04T19:07:29.762Z] ---> Running in b8629ae8b2ec [2023-01-04T19:07:30.021Z] Removing intermediate container b8629ae8b2ec [2023-01-04T19:07:30.021Z] ---> 5fb26f2fddb5 [2023-01-04T19:07:30.021Z] Step 22/22 : LABEL version=0.0.0 [2023-01-04T19:07:30.021Z] ---> Running in 4cf7a9edadf6 [2023-01-04T19:07:30.021Z] Removing intermediate container 4cf7a9edadf6 [2023-01-04T19:07:30.021Z] ---> 5d27a665435f [2023-01-04T19:07:30.021Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T19:07:30.021Z] Successfully built 5d27a665435f [2023-01-04T19:07:30.021Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:07:30.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:07:30.996Z] [2023-01-04T19:07:30.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:07:31.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:07:31.374Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-04T19:07:31.374Z] 5eb5b503b376: Pulling fs layer [2023-01-04T19:07:31.374Z] 5c69ac0246d0: Pulling fs layer [2023-01-04T19:07:31.374Z] ec43610c2a17: Pulling fs layer [2023-01-04T19:07:31.374Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-04T19:07:31.374Z] 33b1e0a273af: Pulling fs layer [2023-01-04T19:07:31.374Z] 5d3b04190fa2: Pulling fs layer [2023-01-04T19:07:31.374Z] 2f39f015ded8: Pulling fs layer [2023-01-04T19:07:31.374Z] 5d3b04190fa2: Waiting [2023-01-04T19:07:31.374Z] 3a2ae6a8a46f: Waiting [2023-01-04T19:07:31.374Z] 5c69ac0246d0: Verifying Checksum [2023-01-04T19:07:31.374Z] 5c69ac0246d0: Download complete [2023-01-04T19:07:31.374Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-04T19:07:31.374Z] 3a2ae6a8a46f: Download complete [2023-01-04T19:07:31.374Z] 33b1e0a273af: Verifying Checksum [2023-01-04T19:07:31.374Z] 33b1e0a273af: Download complete [2023-01-04T19:07:31.632Z] ec43610c2a17: Verifying Checksum [2023-01-04T19:07:31.632Z] ec43610c2a17: Download complete [2023-01-04T19:07:31.632Z] 5d3b04190fa2: Verifying Checksum [2023-01-04T19:07:31.632Z] 5d3b04190fa2: Download complete [2023-01-04T19:07:31.632Z] 5eb5b503b376: Verifying Checksum [2023-01-04T19:07:31.632Z] 5eb5b503b376: Download complete [2023-01-04T19:07:32.199Z] 2f39f015ded8: Verifying Checksum [2023-01-04T19:07:32.199Z] 2f39f015ded8: Download complete [2023-01-04T19:07:32.765Z] 5eb5b503b376: Pull complete [2023-01-04T19:07:32.765Z] 5c69ac0246d0: Pull complete [2023-01-04T19:07:33.332Z] ec43610c2a17: Pull complete [2023-01-04T19:07:33.332Z] 3a2ae6a8a46f: Pull complete [2023-01-04T19:07:33.332Z] 33b1e0a273af: Pull complete [2023-01-04T19:07:33.589Z] 5d3b04190fa2: Pull complete [2023-01-04T19:07:37.769Z] 2f39f015ded8: Pull complete [2023-01-04T19:07:37.769Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-04T19:07:37.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:07:37.769Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:07:37.961Z] prd-ubuntu20.04-docker-8c-8g-1123 does not seem to be running inside a container [2023-01-04T19:07:37.989Z] $ 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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T19:07:39.399Z] $ docker top cad442c1f98df4df4fddb9ca34bd4adbd39b22244137d259b8ea544960438c86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:07:39.829Z] ---> job-cost.sh [2023-01-04T19:07:39.829Z] lf-activate-venv: SKIPPING [2023-01-04T19:07:39.829Z] INFO: No Stack... [2023-01-04T19:07:40.089Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T19:07:40.350Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T19:07:40.674Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-395/archives/cost.csv [2023-01-04T19:07:40.674Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T19:07:40.712Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] [2023-01-04T19:07:40.717Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] did not exist. Created. [2023-01-04T19:07:40.717Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T19:07:41.134Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-04T19:07:41.188Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T19:07:41.210Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T19:07:41.286Z] $ docker stop --time=1 cad442c1f98df4df4fddb9ca34bd4adbd39b22244137d259b8ea544960438c86 [2023-01-04T19:07:42.457Z] $ docker rm -f --volumes cad442c1f98df4df4fddb9ca34bd4adbd39b22244137d259b8ea544960438c86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-04T19:07:56.806Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1124 in /w/workspace/xfoundry_device-modbus-go_PR-395 [Pipeline] { [Pipeline] ws [2023-01-04T19:07:56.858Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-01-04T19:07:56.935Z] Selected Git installation does not exist. Using Default [2023-01-04T19:07:56.935Z] The recommended git tool is: NONE [2023-01-04T19:08:01.892Z] using credential edgex-jenkins-ssh [2023-01-04T19:08:01.909Z] Cloning the remote Git repository [2023-01-04T19:08:01.951Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-04T19:08:02.026Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-01-04T19:08:02.188Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-04T19:08:02.189Z] > git --version # timeout=10 [2023-01-04T19:08:02.210Z] > git --version # 'git version 2.25.1' [2023-01-04T19:08:02.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T19:08:02.274Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T19:08:03.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-04T19:08:03.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T19:08:04.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-04T19:08:04.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-04T19:08:04.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T19:08:04.230Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/395/head:refs/remotes/origin/PR-395 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-04T19:08:04.782Z] Merging remotes/origin/main commit b747fdb0f46d56fab49edbd998369f5c6173beb1 into PR head commit 5cba2203e71886d94050145eddf79272566091df [2023-01-04T19:08:04.989Z] Merge succeeded, producing 5cba2203e71886d94050145eddf79272566091df [2023-01-04T19:08:04.989Z] Checking out Revision 5cba2203e71886d94050145eddf79272566091df (PR-395) [2023-01-04T19:08:04.798Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T19:08:04.814Z] > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 [2023-01-04T19:08:04.894Z] > git remote # timeout=10 [2023-01-04T19:08:04.914Z] > git config --get remote.origin.url # timeout=10 [2023-01-04T19:08:04.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T19:08:04.939Z] > git merge b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 [2023-01-04T19:08:04.969Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-04T19:08:04.997Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T19:08:05.012Z] > git checkout -f 5cba2203e71886d94050145eddf79272566091df # timeout=10 [2023-01-04T19:08:08.478Z] Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" [2023-01-04T19:08:08.525Z] > git --version # timeout=10 [2023-01-04T19:08:08.537Z] > git --version # 'git version 2.25.1' [2023-01-04T19:08:08.550Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T19:08:09.775Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-04T19:08:09.775Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T19:08:09.775Z] Dload Upload Total Spent Left Speed [2023-01-04T19:08:09.775Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh [2023-01-04T19:08:10.466Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-04T19:08:10.807Z] + sudo tee /etc/docker/daemon.new [2023-01-04T19:08:10.807Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-04T19:08:10.807Z] { [2023-01-04T19:08:10.808Z] "registry-mirrors": [ [2023-01-04T19:08:10.808Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-04T19:08:10.808Z] ], [2023-01-04T19:08:10.808Z] "bip": "10.250.0.254/24", [2023-01-04T19:08:10.808Z] "hosts": [ [2023-01-04T19:08:10.808Z] "tcp://0.0.0.0:5555", [2023-01-04T19:08:10.808Z] "unix:///var/run/docker.sock" [2023-01-04T19:08:10.808Z] ], [2023-01-04T19:08:10.808Z] "mtu": 1458, [2023-01-04T19:08:10.808Z] "selinux-enabled": true, [2023-01-04T19:08:10.808Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-04T19:08:10.808Z] } [Pipeline] sh [2023-01-04T19:08:11.152Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-04T19:08:11.500Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:08:29.812Z] provisioning config files... [2023-01-04T19:08:29.839Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config5531072527018764364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:08:30.226Z] ---> docker-login.sh [2023-01-04T19:08:30.226Z] nexus3.edgexfoundry.org:10001 [2023-01-04T19:08:30.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:30.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:30.768Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:30.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:30.768Z] [2023-01-04T19:08:30.768Z] Login Succeeded [2023-01-04T19:08:30.768Z] nexus3.edgexfoundry.org:10002 [2023-01-04T19:08:31.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:31.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:31.037Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:31.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:31.037Z] [2023-01-04T19:08:31.306Z] Login Succeeded [2023-01-04T19:08:31.306Z] nexus3.edgexfoundry.org:10003 [2023-01-04T19:08:31.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:31.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:31.577Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:31.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:31.577Z] [2023-01-04T19:08:31.577Z] Login Succeeded [2023-01-04T19:08:31.577Z] nexus3.edgexfoundry.org:10004 [2023-01-04T19:08:31.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:31.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:31.847Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:31.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:31.847Z] [2023-01-04T19:08:31.847Z] Login Succeeded [2023-01-04T19:08:31.847Z] docker.io [2023-01-04T19:08:32.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:32.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:32.386Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:32.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:32.386Z] [2023-01-04T19:08:32.386Z] Login Succeeded [2023-01-04T19:08:32.386Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T19:08:32.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T19:08:32.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:08:32.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:08:32.907Z] ========================================================= [2023-01-04T19:08:32.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-04T19:08:32.907Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:08:33.407Z] + 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 . [2023-01-04T19:08:33.675Z] Sending build context to Docker daemon 3.309MB [2023-01-04T19:08:33.676Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:08:33.676Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-04T19:08:33.945Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-04T19:08:33.945Z] 9b18e9b68314: Pulling fs layer [2023-01-04T19:08:33.945Z] 35d82f9e3411: Pulling fs layer [2023-01-04T19:08:33.945Z] e16973657156: Pulling fs layer [2023-01-04T19:08:33.945Z] fc693d55d65f: Pulling fs layer [2023-01-04T19:08:33.945Z] 7e9fc2657dce: Pulling fs layer [2023-01-04T19:08:33.945Z] dda99020689f: Pulling fs layer [2023-01-04T19:08:33.945Z] db1c61fa0a46: Pulling fs layer [2023-01-04T19:08:33.945Z] 891c053d2c06: Pulling fs layer [2023-01-04T19:08:33.945Z] 7e9fc2657dce: Waiting [2023-01-04T19:08:33.945Z] dda99020689f: Waiting [2023-01-04T19:08:33.945Z] fc693d55d65f: Waiting [2023-01-04T19:08:33.945Z] db1c61fa0a46: Waiting [2023-01-04T19:08:33.945Z] 891c053d2c06: Waiting [2023-01-04T19:08:33.945Z] e16973657156: Download complete [2023-01-04T19:08:33.945Z] 35d82f9e3411: Download complete [2023-01-04T19:08:33.945Z] 7e9fc2657dce: Download complete [2023-01-04T19:08:33.945Z] dda99020689f: Verifying Checksum [2023-01-04T19:08:33.945Z] dda99020689f: Download complete [2023-01-04T19:08:33.945Z] 9b18e9b68314: Verifying Checksum [2023-01-04T19:08:33.945Z] 9b18e9b68314: Download complete [2023-01-04T19:08:34.912Z] 9b18e9b68314: Pull complete [2023-01-04T19:08:35.193Z] 891c053d2c06: Verifying Checksum [2023-01-04T19:08:35.193Z] 891c053d2c06: Download complete [2023-01-04T19:08:35.480Z] 35d82f9e3411: Pull complete [2023-01-04T19:08:35.752Z] e16973657156: Pull complete [2023-01-04T19:08:36.345Z] db1c61fa0a46: Verifying Checksum [2023-01-04T19:08:36.346Z] db1c61fa0a46: Download complete [2023-01-04T19:08:36.938Z] fc693d55d65f: Verifying Checksum [2023-01-04T19:08:36.938Z] fc693d55d65f: Download complete [2023-01-04T19:08:49.305Z] fc693d55d65f: Pull complete [2023-01-04T19:08:49.305Z] 7e9fc2657dce: Pull complete [2023-01-04T19:08:49.574Z] dda99020689f: Pull complete [2023-01-04T19:08:56.235Z] db1c61fa0a46: Pull complete [2023-01-04T19:08:57.657Z] 891c053d2c06: Pull complete [2023-01-04T19:08:57.657Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-04T19:08:57.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-04T19:08:57.657Z] ---> f96f9c87975a [2023-01-04T19:08:57.657Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:08:59.606Z] ---> Running in ccf29f0a6dbb [2023-01-04T19:08:59.880Z] Removing intermediate container ccf29f0a6dbb [2023-01-04T19:08:59.880Z] ---> 82b245ca90b1 [2023-01-04T19:08:59.880Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:09:00.147Z] ---> Running in 017b6f59034a [2023-01-04T19:09:00.419Z] Removing intermediate container 017b6f59034a [2023-01-04T19:09:00.419Z] ---> 98532d19ab51 [2023-01-04T19:09:00.419Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-04T19:09:00.419Z] ---> Running in acf53deab866 [2023-01-04T19:09:01.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:09:01.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:09:02.815Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T19:09:02.815Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-04T19:09:02.815Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T19:09:03.087Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T19:09:03.087Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-04T19:09:03.087Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-04T19:09:03.087Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-04T19:09:03.087Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-04T19:09:03.087Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T19:09:03.087Z] OK: 228 MiB in 59 packages [2023-01-04T19:09:04.509Z] Removing intermediate container acf53deab866 [2023-01-04T19:09:04.509Z] ---> 94fbfdc205ff [2023-01-04T19:09:04.509Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-04T19:09:04.509Z] ---> Running in f33dc4db684d [2023-01-04T19:09:04.786Z] Removing intermediate container f33dc4db684d [2023-01-04T19:09:04.786Z] ---> 004fd7669922 [2023-01-04T19:09:04.786Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-04T19:09:05.066Z] ---> 4b796808bd7e [2023-01-04T19:09:05.066Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:09:05.341Z] ---> Running in 19e12ce1e164 [2023-01-04T19:10:01.754Z] Removing intermediate container 19e12ce1e164 [2023-01-04T19:10:01.754Z] ---> af7eda3dfde7 [2023-01-04T19:10:01.754Z] Step 9/10 : COPY . . [2023-01-04T19:10:01.754Z] ---> f5b610937a6a [2023-01-04T19:10:01.754Z] Step 10/10 : RUN ${MAKE} [2023-01-04T19:10:01.754Z] ---> Running in 449a227255ab [2023-01-04T19:10:01.754Z] noop [2023-01-04T19:10:01.754Z] Removing intermediate container 449a227255ab [2023-01-04T19:10:01.754Z] ---> fdd47a6fafd8 [2023-01-04T19:10:01.754Z] Successfully built fdd47a6fafd8 [2023-01-04T19:10:01.754Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:10:02.293Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T19:10:02.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:10:02.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-1124 does not seem to be running inside a container [2023-01-04T19:10:02.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T19:10:03.693Z] $ docker top be85b80ab227bd2ee8a2690a8ad4f54d18eeebcefaccfefd9444b271bba43652 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:10:04.536Z] + go version [2023-01-04T19:10:04.536Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-04T19:10:04.579Z] $ docker stop --time=1 be85b80ab227bd2ee8a2690a8ad4f54d18eeebcefaccfefd9444b271bba43652 [2023-01-04T19:10:06.220Z] $ docker rm -f --volumes be85b80ab227bd2ee8a2690a8ad4f54d18eeebcefaccfefd9444b271bba43652 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:10:07.043Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T19:10:07.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:10:07.306Z] prd-ubuntu20.04-docker-arm64-4c-16g-1124 does not seem to be running inside a container [2023-01-04T19:10:07.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T19:10:08.638Z] $ docker top 42ba42dafb6d54ac8bd3ae0a0705341d816fd576331e752d91ec219ee773da0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:10:09.512Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-04T19:10:09.909Z] + make test [2023-01-04T19:10:09.909Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-04T19:10:11.851Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-04T19:11:33.488Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-04T19:11:33.488Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements [2023-01-04T19:11:33.488Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-04T19:11:33.488Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T19:11:55.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T19:11:55.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T19:11:55.595Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T19:11:55.633Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T19:11:55.667Z] $ docker stop --time=1 42ba42dafb6d54ac8bd3ae0a0705341d816fd576331e752d91ec219ee773da0a [2023-01-04T19:11:57.413Z] $ docker rm -f --volumes 42ba42dafb6d54ac8bd3ae0a0705341d816fd576331e752d91ec219ee773da0a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T19:11:58.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T19:11:58.430Z] Warning: overwriting stash ‘coverage-report’ [2023-01-04T19:11:58.927Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T19:11:59.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T19:11:59.874Z] + ls -al . [2023-01-04T19:11:59.875Z] total 192 [2023-01-04T19:11:59.875Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 19:10 . [2023-01-04T19:11:59.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:08 .. [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 19:08 .dockerignore [2023-01-04T19:11:59.875Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 19:08 .git [2023-01-04T19:11:59.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:08 .github [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 4 19:08 .gitignore [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 19:08 .golangci.yml [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 4 19:08 Attribution.txt [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 4 19:08 CHANGELOG.md [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 4 19:08 Dockerfile [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 19:08 GOVERNANCE.md [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 19:08 Jenkinsfile [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 19:08 LICENSE [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 4 19:08 Makefile [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 4 19:08 OWNERS.md [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 4 19:08 README.md [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 19:06 VERSION [2023-01-04T19:11:59.875Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:08 bin [2023-01-04T19:11:59.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:08 cmd [2023-01-04T19:11:59.875Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 4 19:11 coverage.out [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 4 19:08 go.mod [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 4 19:08 go.sum [2023-01-04T19:11:59.875Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:08 internal [2023-01-04T19:11:59.875Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:08 simulator [2023-01-04T19:11:59.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:08 snap [2023-01-04T19:11:59.875Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 4 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:12:00.300Z] + 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=5cba2203e71886d94050145eddf79272566091df --label arch=arm64 --label version=0.0.0 . [2023-01-04T19:12:00.567Z] Sending build context to Docker daemon 3.333MB [2023-01-04T19:12:00.567Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:12:00.567Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-04T19:12:00.567Z] ---> fdd47a6fafd8 [2023-01-04T19:12:00.567Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:12:02.531Z] ---> Running in 49fcfe9b6ce7 [2023-01-04T19:12:02.531Z] Removing intermediate container 49fcfe9b6ce7 [2023-01-04T19:12:02.531Z] ---> 28d47cb02802 [2023-01-04T19:12:02.531Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:12:02.531Z] ---> Running in 89b63b126255 [2023-01-04T19:12:02.801Z] Removing intermediate container 89b63b126255 [2023-01-04T19:12:02.801Z] ---> a8116fcccc26 [2023-01-04T19:12:02.801Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-04T19:12:03.078Z] ---> Running in 6b45776b5103 [2023-01-04T19:12:04.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:12:04.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:12:05.277Z] OK: 228 MiB in 59 packages [2023-01-04T19:12:06.359Z] Removing intermediate container 6b45776b5103 [2023-01-04T19:12:06.359Z] ---> 623b615e5952 [2023-01-04T19:12:06.359Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-04T19:12:06.359Z] ---> Running in aa25c1603e06 [2023-01-04T19:12:06.647Z] Removing intermediate container aa25c1603e06 [2023-01-04T19:12:06.647Z] ---> 267847789f5f [2023-01-04T19:12:06.647Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-04T19:12:07.268Z] ---> a788f481402b [2023-01-04T19:12:07.268Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:12:07.268Z] ---> Running in eaa2e87b9bb3 [2023-01-04T19:12:09.280Z] Removing intermediate container eaa2e87b9bb3 [2023-01-04T19:12:09.280Z] ---> 4fc9a00a3b0c [2023-01-04T19:12:09.280Z] Step 9/22 : COPY . . [2023-01-04T19:12:10.262Z] ---> 297784e5246e [2023-01-04T19:12:10.262Z] Step 10/22 : RUN ${MAKE} [2023-01-04T19:12:10.262Z] ---> Running in b8efede82a34 [2023-01-04T19:12:11.242Z] 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 [2023-01-04T19:15:03.095Z] Removing intermediate container b8efede82a34 [2023-01-04T19:15:03.095Z] ---> 5fbd594c5268 [2023-01-04T19:15:03.095Z] Step 11/22 : FROM alpine:3.14 [2023-01-04T19:15:03.095Z] 3.14: Pulling from library/alpine [2023-01-04T19:15:03.095Z] 90cda3b7c325: Pulling fs layer [2023-01-04T19:15:03.095Z] 90cda3b7c325: Verifying Checksum [2023-01-04T19:15:03.095Z] 90cda3b7c325: Download complete [2023-01-04T19:15:03.095Z] 90cda3b7c325: Pull complete [2023-01-04T19:15:03.095Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-04T19:15:03.095Z] Status: Downloaded newer image for alpine:3.14 [2023-01-04T19:15:03.095Z] ---> 275902a1839d [2023-01-04T19:15:03.095Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-04T19:15:03.095Z] ---> Running in e831d0626bce [2023-01-04T19:15:03.095Z] Removing intermediate container e831d0626bce [2023-01-04T19:15:03.095Z] ---> 5c28928ee811 [2023-01-04T19:15:03.095Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T19:15:03.095Z] ---> Running in 4acc1df8089f [2023-01-04T19:15:03.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:15:03.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:15:03.095Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T19:15:03.095Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-04T19:15:03.095Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T19:15:03.095Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-04T19:15:03.095Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T19:15:03.095Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T19:15:03.095Z] Executing busybox-1.33.1-r8.trigger [2023-01-04T19:15:03.095Z] OK: 8 MiB in 20 packages [2023-01-04T19:15:03.366Z] Removing intermediate container 4acc1df8089f [2023-01-04T19:15:03.366Z] ---> b69980cccbf1 [2023-01-04T19:15:03.366Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-04T19:15:04.789Z] ---> 3b188691d4df [2023-01-04T19:15:04.789Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-04T19:15:05.381Z] ---> ca3729a53682 [2023-01-04T19:15:05.381Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-04T19:15:05.977Z] ---> bd02debde5cc [2023-01-04T19:15:05.977Z] Step 17/22 : EXPOSE 59901 [2023-01-04T19:15:05.977Z] ---> Running in 70958e88dac1 [2023-01-04T19:15:06.251Z] Removing intermediate container 70958e88dac1 [2023-01-04T19:15:06.251Z] ---> e0e498d875b0 [2023-01-04T19:15:06.251Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-04T19:15:06.522Z] ---> Running in 31f182512abf [2023-01-04T19:15:06.793Z] Removing intermediate container 31f182512abf [2023-01-04T19:15:06.793Z] ---> 4ae060b4694c [2023-01-04T19:15:06.793Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T19:15:06.793Z] ---> Running in 555a825eea6f [2023-01-04T19:15:07.062Z] Removing intermediate container 555a825eea6f [2023-01-04T19:15:07.062Z] ---> 0ab109d1c8f2 [2023-01-04T19:15:07.062Z] Step 20/22 : LABEL arch=arm64 [2023-01-04T19:15:07.062Z] ---> Running in 43c4bf670550 [2023-01-04T19:15:07.648Z] Removing intermediate container 43c4bf670550 [2023-01-04T19:15:07.648Z] ---> e4b6dc126a07 [2023-01-04T19:15:07.648Z] Step 21/22 : LABEL git_sha=5cba2203e71886d94050145eddf79272566091df [2023-01-04T19:15:07.648Z] ---> Running in 90d908e2361a [2023-01-04T19:15:07.916Z] Removing intermediate container 90d908e2361a [2023-01-04T19:15:07.916Z] ---> 9de8dd73a78b [2023-01-04T19:15:07.916Z] Step 22/22 : LABEL version=0.0.0 [2023-01-04T19:15:07.916Z] ---> Running in 4b1eda9e6774 [2023-01-04T19:15:08.184Z] Removing intermediate container 4b1eda9e6774 [2023-01-04T19:15:08.184Z] ---> 3392924c7d2e [2023-01-04T19:15:08.184Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T19:15:08.184Z] Successfully built 3392924c7d2e [2023-01-04T19:15:08.184Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:15:09.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:15:09.027Z] [2023-01-04T19:15:09.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:15:09.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:15:09.437Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-04T19:15:09.437Z] 8998bd30e6a1: Pulling fs layer [2023-01-04T19:15:09.437Z] 04944245beec: Pulling fs layer [2023-01-04T19:15:09.437Z] 699f458cf7ca: Pulling fs layer [2023-01-04T19:15:09.437Z] 765212b225bb: Pulling fs layer [2023-01-04T19:15:09.437Z] f23df028b6ca: Pulling fs layer [2023-01-04T19:15:09.437Z] d65c8cfc05b1: Pulling fs layer [2023-01-04T19:15:09.437Z] 2437ff75d9bd: Pulling fs layer [2023-01-04T19:15:09.437Z] f23df028b6ca: Waiting [2023-01-04T19:15:09.437Z] d65c8cfc05b1: Waiting [2023-01-04T19:15:09.437Z] 2437ff75d9bd: Waiting [2023-01-04T19:15:09.437Z] 765212b225bb: Waiting [2023-01-04T19:15:09.706Z] 04944245beec: Verifying Checksum [2023-01-04T19:15:09.706Z] 04944245beec: Download complete [2023-01-04T19:15:09.706Z] 765212b225bb: Verifying Checksum [2023-01-04T19:15:09.706Z] 765212b225bb: Download complete [2023-01-04T19:15:09.706Z] f23df028b6ca: Verifying Checksum [2023-01-04T19:15:09.706Z] f23df028b6ca: Download complete [2023-01-04T19:15:09.706Z] d65c8cfc05b1: Verifying Checksum [2023-01-04T19:15:09.706Z] d65c8cfc05b1: Download complete [2023-01-04T19:15:09.979Z] 699f458cf7ca: Verifying Checksum [2023-01-04T19:15:09.979Z] 699f458cf7ca: Download complete [2023-01-04T19:15:10.254Z] 8998bd30e6a1: Download complete [2023-01-04T19:15:12.851Z] 2437ff75d9bd: Verifying Checksum [2023-01-04T19:15:12.851Z] 2437ff75d9bd: Download complete [2023-01-04T19:15:14.806Z] 8998bd30e6a1: Pull complete [2023-01-04T19:15:15.075Z] 04944245beec: Pull complete [2023-01-04T19:15:16.492Z] 699f458cf7ca: Pull complete [2023-01-04T19:15:16.492Z] 765212b225bb: Pull complete [2023-01-04T19:15:17.455Z] f23df028b6ca: Pull complete [2023-01-04T19:15:17.722Z] d65c8cfc05b1: Pull complete [2023-01-04T19:15:32.732Z] 2437ff75d9bd: Pull complete [2023-01-04T19:15:32.732Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-04T19:15:32.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:15:32.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:15:33.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-1124 does not seem to be running inside a container [2023-01-04T19:15:33.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-04T19:15:36.107Z] $ docker top a25ac3cf204494844b9a277816c676fcd17787557fe35497a31f8c4ea2a6cfae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:37.034Z] ---> job-cost.sh [2023-01-04T19:15:37.034Z] lf-activate-venv: SKIPPING [2023-01-04T19:15:37.034Z] INFO: No Stack... [2023-01-04T19:15:37.305Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-04T19:15:38.265Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T19:15:38.938Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-01-04T19:15:38.938Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T19:15:39.031Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] [2023-01-04T19:15:39.038Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] did not exist. Created. [2023-01-04T19:15:39.039Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T19:15:39.774Z] /w/workspace/device-modbus-go/1@tmp/durable-2a2d41f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-04T19:15:40.463Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-04T19:15:40.499Z] Warning: overwriting stash ‘stack-cost’ [2023-01-04T19:15:40.554Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T19:15:40.571Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-395-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T19:15:40.653Z] $ docker stop --time=1 a25ac3cf204494844b9a277816c676fcd17787557fe35497a31f8c4ea2a6cfae [2023-01-04T19:15:42.209Z] $ docker rm -f --volumes a25ac3cf204494844b9a277816c676fcd17787557fe35497a31f8c4ea2a6cfae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-04T19:15:43.194Z] provisioning config files... [2023-01-04T19:15:43.201Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config12099036525645885644tmp [Pipeline] { [Pipeline] sh [2023-01-04T19:15:43.539Z] + set +x [2023-01-04T19:15:43.539Z] + curl -s https://codecov.io/bash [2023-01-04T19:15:43.539Z] + bash -s -- [2023-01-04T19:15:43.539Z] [2023-01-04T19:15:43.539Z] _____ _ [2023-01-04T19:15:43.539Z] / ____| | | [2023-01-04T19:15:43.539Z] | | ___ __| | ___ ___ _____ __ [2023-01-04T19:15:43.539Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-04T19:15:43.539Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-04T19:15:43.539Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-04T19:15:43.539Z] Bash-1.0.6 [2023-01-04T19:15:43.539Z] [2023-01-04T19:15:43.539Z] [2023-01-04T19:15:43.539Z] ==> git version 2.25.1 found [2023-01-04T19:15:43.539Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-04T19:15:43.539Z] Release-Date: 2020-01-08 [2023-01-04T19:15:43.539Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-04T19:15:43.539Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-04T19:15:43.539Z] ==> Jenkins CI detected. [2023-01-04T19:15:43.539Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-395 [2023-01-04T19:15:43.539Z] project root: . [2023-01-04T19:15:43.539Z] --> token set from env [2023-01-04T19:15:43.539Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-04T19:15:43.539Z] ==> Running gcov in . (disable via -X gcov) [2023-01-04T19:15:43.539Z] ==> Python coveragepy not found [2023-01-04T19:15:43.539Z] ==> Searching for coverage reports in: [2023-01-04T19:15:43.539Z] + . [2023-01-04T19:15:43.539Z] -> Found 1 reports [2023-01-04T19:15:43.539Z] ==> Detecting git/mercurial file structure [2023-01-04T19:15:43.539Z] ==> Reading reports [2023-01-04T19:15:43.798Z] + ./coverage.out bytes=23241 [2023-01-04T19:15:43.798Z] ==> Appending adjustments [2023-01-04T19:15:43.798Z] https://docs.codecov.io/docs/fixing-reports [2023-01-04T19:15:43.798Z] + Found adjustments [2023-01-04T19:15:43.798Z] ==> Gzipping contents [2023-01-04T19:15:43.798Z] 4.0K /tmp/codecov.Nnhq89.gz [2023-01-04T19:15:43.798Z] ==> Uploading reports [2023-01-04T19:15:43.798Z] url: https://codecov.io [2023-01-04T19:15:43.798Z] query: branch=PR-395&commit=5cba2203e71886d94050145eddf79272566091df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-01-04T19:15:43.798Z] -> Pinging Codecov [2023-01-04T19:15:43.798Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-395&commit=5cba2203e71886d94050145eddf79272566091df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=395&job=&cmd_args= [2023-01-04T19:15:44.057Z] -> Uploading to [2023-01-04T19:15:44.057Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-04/55DBCA73C666E3227836607328DD7E49/5cba2203e71886d94050145eddf79272566091df/1ebbc101-ba09-4269-b9c8-f7ea857086a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T191543Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e20dc4a61292b95a5b12c11189245f62dcc0eed2f61181cc0a08455a28cc71d [2023-01-04T19:15:44.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T19:15:44.057Z] Dload Upload Total Spent Left Speed [2023-01-04T19:15:44.316Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 18490 --:--:-- --:--:-- --:--:-- 18490 [2023-01-04T19:15:44.316Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/5cba2203e71886d94050145eddf79272566091df [Pipeline] } [2023-01-04T19:15:44.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-04T19:15:46.089Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-395/archives ] [2023-01-04T19:15:46.089Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-04T19:15:46.089Z] total 16 [2023-01-04T19:15:46.089Z] drwxr-xr-x 3 root root 4096 Jan 4 19:07 . [2023-01-04T19:15:46.089Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 19:07 .. [2023-01-04T19:15:46.089Z] drwxr-xr-x 2 root root 4096 Jan 4 19:07 cost [2023-01-04T19:15:46.089Z] -rw-r--r-- 1 root root 88 Jan 4 19:07 cost.csv [2023-01-04T19:15:46.089Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-04T19:15:46.089Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-395/archives [2023-01-04T19:15:46.089Z] total 16 [2023-01-04T19:15:46.089Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 19:07 . [2023-01-04T19:15:46.089Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 19:07 .. [2023-01-04T19:15:46.089Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 19:07 cost [2023-01-04T19:15:46.089Z] -rw-r--r-- 1 jenkins jenkins 88 Jan 4 19:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:46.421Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:47.304Z] ---> package-listing.sh [2023-01-04T19:15:47.304Z] ++ facter osfamily [2023-01-04T19:15:47.304Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-04T19:15:47.563Z] + OS_FAMILY=debian [2023-01-04T19:15:47.563Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-395 [2023-01-04T19:15:47.563Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-04T19:15:47.563Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-04T19:15:47.563Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-04T19:15:47.563Z] + PACKAGES=/tmp/packages_start.txt [2023-01-04T19:15:47.563Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-395 ']' [2023-01-04T19:15:47.563Z] + PACKAGES=/tmp/packages_end.txt [2023-01-04T19:15:47.563Z] + case "${OS_FAMILY}" in [2023-01-04T19:15:47.563Z] + dpkg -l [2023-01-04T19:15:47.563Z] + grep '^ii' [2023-01-04T19:15:47.563Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-04T19:15:47.563Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-04T19:15:47.563Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-04T19:15:47.563Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-395 ']' [2023-01-04T19:15:47.563Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-395/archives/ [2023-01-04T19:15:47.563Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-395/archives/ [Pipeline] echo [2023-01-04T19:15:47.603Z] 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-395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-04T19:15:47.895Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:15:48.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:15:48.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:15:48.654Z] prd-ubuntu20.04-docker-8c-8g-1123 does not seem to be running inside a container [2023-01-04T19:15:48.685Z] $ 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-395/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-395 -v /w/workspace/xfoundry_device-modbus-go_PR-395:/w/workspace/xfoundry_device-modbus-go_PR-395:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-395@tmp:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T19:15:48.885Z] $ docker top 11d0cfb297454a13ef3252742ba873a107b977299c7813304fdef25ba3554511 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:15:49.269Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-04T19:15:49.578Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-04T19:15:49.886Z] + ls /var/log/sa-host [2023-01-04T19:15:49.886Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:15:50.031Z] provisioning config files... [2023-01-04T19:15:50.042Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-395@tmp/config8883063237400374193tmp [Pipeline] { [Pipeline] echo [2023-01-04T19:15:50.100Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:50.425Z] ---> create-netrc.sh [Pipeline] } [2023-01-04T19:15:50.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:50.863Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-04T19:15:50.897Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:51.207Z] ---> sudo-logs.sh [2023-01-04T19:15:51.207Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-04T19:15:51.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:51.609Z] ---> job-cost.sh [2023-01-04T19:15:51.610Z] lf-activate-venv: SKIPPING [2023-01-04T19:15:51.610Z] DEBUG: total: 0.2199999988079071 [2023-01-04T19:15:51.610Z] INFO: Retrieving Stack Cost... [2023-01-04T19:15:51.869Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T19:15:52.437Z] INFO: Archiving Costs [Pipeline] echo [2023-01-04T19:15:52.477Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:15:52.790Z] ---> logs-deploy.sh [2023-01-04T19:15:52.790Z] lf-activate-venv: SKIPPING [2023-01-04T19:15:52.790Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-395/1 [2023-01-04T19:15:52.790Z] INFO: archiving workspace using pattern(s): [2023-01-04T19:15:53.726Z] Archives upload complete. [2023-01-04T19:15:53.727Z] INFO: archiving logs to Nexus