Pull request #385 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b03dabf38b63f24493184e5a8112871062c4142f+9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 (eefd47ef62ef0b881c6e40beacf39253753a5422) 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-ssh14030835169619861063.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh4660642435711942203.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-385/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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1701896144196964015.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8243574385763189317.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh137328135515635383.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-385/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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13552164344483320098.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9182 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-385 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit b03dabf38b63f24493184e5a8112871062c4142f Merge succeeded, producing b03dabf38b63f24493184e5a8112871062c4142f Checking out Revision b03dabf38b63f24493184e5a8112871062c4142f (PR-385) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T05:04:49.054Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T05:04:49.255Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T05:04:49.352Z] ========================================================= [2022-10-24T05:04:49.352Z] EdgeX Global Pipelines Version Info [2022-10-24T05:04:49.352Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 [2022-10-24T05:04:50.086Z] ------------------- [2022-10-24T05:04:50.086Z] stable info: [2022-10-24T05:04:50.086Z] ------------------- [2022-10-24T05:04:50.086Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T05:04:50.086Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T05:04:50.086Z] Message: update stable to v1.0.243 [2022-10-24T05:04:50.657Z] ------------------- [2022-10-24T05:04:50.657Z] experimental info: [2022-10-24T05:04:50.657Z] ------------------- [2022-10-24T05:04:50.657Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T05:04:50.657Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T05:04:50.657Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T05:04:50.941Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-24T05:04:50.983Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-24T05:04:51.024Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T05:04:51.071Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T05:04:51.113Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T05:04:51.154Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T05:04:51.192Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T05:04:51.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T05:04:51.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T05:04:51.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T05:04:51.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T05:04:51.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-24T05:04:51.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T05:04:51.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T05:04:51.517Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T05:04:51.562Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T05:04:51.603Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T05:04:51.645Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T05:04:51.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T05:04:51.734Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T05:04:51.776Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T05:04:51.821Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T05:04:51.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T05:04:51.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T05:04:51.950Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T05:04:51.993Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T05:04:52.038Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T05:04:52.077Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-10-24T05:04:52.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-10-24T05:04:52.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-10-24T05:04:52.196Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo [2022-10-24T05:04:52.237Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b03dabf [Pipeline] echo [2022-10-24T05:04:52.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:04:52.402Z] provisioning config files... [2022-10-24T05:04:52.417Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config7098431848832315931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:04:52.761Z] ---> docker-login.sh [2022-10-24T05:04:52.761Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:04:53.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:53.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:53.022Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:53.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:53.022Z] [2022-10-24T05:04:53.022Z] Login Succeeded [2022-10-24T05:04:53.022Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:04:53.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:53.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:53.283Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:53.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:53.283Z] [2022-10-24T05:04:53.283Z] Login Succeeded [2022-10-24T05:04:53.283Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:04:53.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:53.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:53.283Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:53.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:53.283Z] [2022-10-24T05:04:53.283Z] Login Succeeded [2022-10-24T05:04:53.283Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:04:53.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:53.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:53.546Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:53.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:53.546Z] [2022-10-24T05:04:53.546Z] Login Succeeded [2022-10-24T05:04:53.546Z] docker.io [2022-10-24T05:04:53.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:04:53.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:04:53.807Z] Configure a credential helper to remove this warning. See [2022-10-24T05:04:53.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:04:53.807Z] [2022-10-24T05:04:53.807Z] Login Succeeded [2022-10-24T05:04:53.807Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:04:53.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T05:04:54.490Z] + git rev-list -1 --merges b03dabf38b63f24493184e5a8112871062c4142f~1..b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo [2022-10-24T05:04:54.540Z] -----------> git rev-list -1 --merges b03dabf38b63f24493184e5a8112871062c4142f~1..b03dabf38b63f24493184e5a8112871062c4142f b03dabf38b63f24493184e5a8112871062c4142f [false] [Pipeline] sh [2022-10-24T05:04:54.854Z] + git log --format=format:%s -1 b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo [2022-10-24T05:04:54.891Z] ========================================================= [2022-10-24T05:04:54.891Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T05:04:54.891Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:04:55.307Z] + git log --format=format:%s -1 b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] echo [2022-10-24T05:04:55.339Z] [semverPrep] GIT_COMMIT: b03dabf38b63f24493184e5a8112871062c4142f, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-24T05:04:55.366Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T05:04:55.733Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T05:04:55.733Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T05:04:55.733Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T05:04:55.733Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T05:04:55.733Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T05:04:55.733Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T05:04:55.733Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:04:56.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:56.176Z] [2022-10-24T05:04:56.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:04:56.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:04:56.547Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T05:04:56.547Z] b85a868b505f: Pulling fs layer [2022-10-24T05:04:56.547Z] e2be974225ed: Pulling fs layer [2022-10-24T05:04:56.547Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T05:04:56.547Z] 988bab9f4d93: Pulling fs layer [2022-10-24T05:04:56.547Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T05:04:56.547Z] eaf3925da568: Pulling fs layer [2022-10-24T05:04:56.547Z] bab4dde63d76: Pulling fs layer [2022-10-24T05:04:56.547Z] bde34c3a00c8: Pulling fs layer [2022-10-24T05:04:56.547Z] b352a97aabf1: Pulling fs layer [2022-10-24T05:04:56.547Z] 4872d77fe225: Pulling fs layer [2022-10-24T05:04:56.547Z] 5851b861e8e6: Pulling fs layer [2022-10-24T05:04:56.547Z] 988bab9f4d93: Waiting [2022-10-24T05:04:56.547Z] b352a97aabf1: Waiting [2022-10-24T05:04:56.547Z] bde34c3a00c8: Waiting [2022-10-24T05:04:56.547Z] 1469e6f7b9e6: Waiting [2022-10-24T05:04:56.547Z] 4872d77fe225: Waiting [2022-10-24T05:04:56.547Z] bab4dde63d76: Waiting [2022-10-24T05:04:56.547Z] eaf3925da568: Waiting [2022-10-24T05:04:56.547Z] 5851b861e8e6: Waiting [2022-10-24T05:04:56.547Z] e2be974225ed: Verifying Checksum [2022-10-24T05:04:56.547Z] e2be974225ed: Download complete [2022-10-24T05:04:56.547Z] 988bab9f4d93: Verifying Checksum [2022-10-24T05:04:56.547Z] 988bab9f4d93: Download complete [2022-10-24T05:04:56.806Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T05:04:56.806Z] 1469e6f7b9e6: Download complete [2022-10-24T05:04:56.806Z] eaf3925da568: Verifying Checksum [2022-10-24T05:04:56.806Z] eaf3925da568: Download complete [2022-10-24T05:04:56.806Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T05:04:56.806Z] 339a4e72a1f5: Download complete [2022-10-24T05:04:56.806Z] bde34c3a00c8: Verifying Checksum [2022-10-24T05:04:56.806Z] bde34c3a00c8: Download complete [2022-10-24T05:04:56.806Z] b352a97aabf1: Download complete [2022-10-24T05:04:56.806Z] 4872d77fe225: Verifying Checksum [2022-10-24T05:04:56.806Z] 4872d77fe225: Download complete [2022-10-24T05:04:56.806Z] 5851b861e8e6: Download complete [2022-10-24T05:04:56.806Z] b85a868b505f: Verifying Checksum [2022-10-24T05:04:56.806Z] b85a868b505f: Download complete [2022-10-24T05:04:57.066Z] bab4dde63d76: Verifying Checksum [2022-10-24T05:04:57.066Z] bab4dde63d76: Download complete [2022-10-24T05:04:58.022Z] b85a868b505f: Pull complete [2022-10-24T05:04:58.280Z] e2be974225ed: Pull complete [2022-10-24T05:04:58.850Z] 339a4e72a1f5: Pull complete [2022-10-24T05:04:58.850Z] 988bab9f4d93: Pull complete [2022-10-24T05:04:59.109Z] 1469e6f7b9e6: Pull complete [2022-10-24T05:04:59.109Z] eaf3925da568: Pull complete [2022-10-24T05:05:01.017Z] bab4dde63d76: Pull complete [2022-10-24T05:05:01.017Z] bde34c3a00c8: Pull complete [2022-10-24T05:05:01.279Z] b352a97aabf1: Pull complete [2022-10-24T05:05:01.279Z] 4872d77fe225: Pull complete [2022-10-24T05:05:01.541Z] 5851b861e8e6: Pull complete [2022-10-24T05:05:01.541Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T05:05:01.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T05:05:01.541Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:05:01.758Z] prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container [2022-10-24T05:05:01.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T05:05:03.498Z] $ docker top cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e -eo pid,comm [2022-10-24T05:05:03.558Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-24T05:05:03.558Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T05:05:03.686Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T05:05:03.686Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T05:05:03.803Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T05:05:03.804Z] $ docker exec cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent [2022-10-24T05:05:03.925Z] SSH_AUTH_SOCK=/tmp/ssh-TXokNeNDjG0H/agent.33 [2022-10-24T05:05:03.925Z] SSH_AGENT_PID=39 [2022-10-24T05:05:03.934Z] Running ssh-add (command line suppressed) [2022-10-24T05:05:04.048Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_17654816976499296673.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_17654816976499296673.key) [2022-10-24T05:05:04.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T05:05:04.394Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T05:05:04.420Z] $ docker exec --env ******** --env ******** cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent -k [2022-10-24T05:05:04.516Z] unset SSH_AUTH_SOCK; [2022-10-24T05:05:04.517Z] unset SSH_AGENT_PID; [2022-10-24T05:05:04.517Z] echo Agent pid 39 killed; [2022-10-24T05:05:04.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T05:05:04.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T05:05:04.609Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T05:05:04.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T05:05:04.730Z] $ docker exec cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent [2022-10-24T05:05:04.851Z] SSH_AUTH_SOCK=/tmp/ssh-S0ovIo4dXgMm/agent.72 [2022-10-24T05:05:04.851Z] SSH_AGENT_PID=78 [2022-10-24T05:05:04.856Z] Running ssh-add (command line suppressed) [2022-10-24T05:05:04.955Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_11071722809917168093.key (/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/private_key_11071722809917168093.key) [2022-10-24T05:05:04.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T05:05:05.297Z] + git semver init [2022-10-24T05:05:05.558Z] 2022-10-24 05:05:05,492 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T05:05:05.558Z] 2022-10-24 05:05:05,493 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-24T05:05:05.558Z] 2022-10-24 05:05:05,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-385/.semver [2022-10-24T05:05:05.558Z] 2022-10-24 05:05:05,494 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-385/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385, universal_newlines=False, shell=None, istream=None) [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,397 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.git/info/exclude [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,397 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 with force:False [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,398 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,403 [execute] INFO git cat-file --batch-check [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,409 [execute] INFO git cat-file --batch [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T05:05:06.495Z] 2022-10-24 05:05:06,415 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-385/.semver/PR-385 [2022-10-24T05:05:06.495Z] 0.0.0 [Pipeline] } [2022-10-24T05:05:06.518Z] $ docker exec --env ******** --env ******** cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e ssh-agent -k [2022-10-24T05:05:06.623Z] unset SSH_AUTH_SOCK; [2022-10-24T05:05:06.623Z] unset SSH_AGENT_PID; [2022-10-24T05:05:06.623Z] echo Agent pid 78 killed; [2022-10-24T05:05:06.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T05:05:07.066Z] + git semver [Pipeline] } [2022-10-24T05:05:07.348Z] $ docker stop --time=1 cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e [2022-10-24T05:05:08.720Z] $ docker rm -f cead7d8a67075c4541fd68f799f96dcaa8896026d8eec0b9be97981f33b5049e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:05:09.141Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T05:05:09.382Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T05:05:09.402Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:05:10.004Z] provisioning config files... [2022-10-24T05:05:10.015Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config13146591142470481895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:05:10.371Z] ---> docker-login.sh [2022-10-24T05:05:10.371Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:05:10.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:10.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:10.371Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:10.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:10.371Z] [2022-10-24T05:05:10.371Z] Login Succeeded [2022-10-24T05:05:10.371Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:05:10.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:10.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:10.371Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:10.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:10.371Z] [2022-10-24T05:05:10.371Z] Login Succeeded [2022-10-24T05:05:10.371Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:05:10.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:10.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:10.633Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:10.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:10.633Z] [2022-10-24T05:05:10.633Z] Login Succeeded [2022-10-24T05:05:10.633Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:05:10.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:10.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:10.633Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:10.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:10.633Z] [2022-10-24T05:05:10.633Z] Login Succeeded [2022-10-24T05:05:10.633Z] docker.io [2022-10-24T05:05:10.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:05:11.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:05:11.153Z] Configure a credential helper to remove this warning. See [2022-10-24T05:05:11.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:05:11.153Z] [2022-10-24T05:05:11.153Z] Login Succeeded [2022-10-24T05:05:11.153Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:05:11.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T05:05:11.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:05:11.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:05:11.452Z] ========================================================= [2022-10-24T05:05:11.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T05:05:11.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:11.981Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T05:05:11.981Z] Sending build context to Docker daemon 6.199MB [2022-10-24T05:05:11.981Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:05:11.981Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T05:05:11.981Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T05:05:11.981Z] 213ec9aee27d: Pulling fs layer [2022-10-24T05:05:11.981Z] 4583459ba037: Pulling fs layer [2022-10-24T05:05:11.981Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T05:05:11.981Z] 53926ce57604: Pulling fs layer [2022-10-24T05:05:11.981Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T05:05:11.981Z] 30f14e443154: Pulling fs layer [2022-10-24T05:05:11.981Z] 801331c1e519: Pulling fs layer [2022-10-24T05:05:11.981Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T05:05:11.981Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T05:05:11.981Z] 99cc6dd402b0: Waiting [2022-10-24T05:05:11.981Z] 21b2b0c7a3f4: Waiting [2022-10-24T05:05:11.981Z] 30f14e443154: Waiting [2022-10-24T05:05:11.981Z] 801331c1e519: Waiting [2022-10-24T05:05:11.981Z] 7d9ed39f4882: Waiting [2022-10-24T05:05:11.981Z] 53926ce57604: Waiting [2022-10-24T05:05:11.981Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T05:05:11.981Z] 93c1e223e6f2: Download complete [2022-10-24T05:05:11.981Z] 4583459ba037: Verifying Checksum [2022-10-24T05:05:11.981Z] 4583459ba037: Download complete [2022-10-24T05:05:12.249Z] 21b2b0c7a3f4: Download complete [2022-10-24T05:05:12.249Z] 30f14e443154: Verifying Checksum [2022-10-24T05:05:12.249Z] 30f14e443154: Download complete [2022-10-24T05:05:12.249Z] 213ec9aee27d: Verifying Checksum [2022-10-24T05:05:12.249Z] 801331c1e519: Verifying Checksum [2022-10-24T05:05:12.249Z] 801331c1e519: Download complete [2022-10-24T05:05:12.249Z] 213ec9aee27d: Pull complete [2022-10-24T05:05:12.542Z] 4583459ba037: Pull complete [2022-10-24T05:05:12.542Z] 93c1e223e6f2: Pull complete [2022-10-24T05:05:13.242Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T05:05:13.242Z] 7d9ed39f4882: Download complete [2022-10-24T05:05:13.503Z] 53926ce57604: Verifying Checksum [2022-10-24T05:05:13.503Z] 53926ce57604: Download complete [2022-10-24T05:05:13.503Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T05:05:13.503Z] 99cc6dd402b0: Download complete [2022-10-24T05:05:17.694Z] 53926ce57604: Pull complete [2022-10-24T05:05:17.694Z] 21b2b0c7a3f4: Pull complete [2022-10-24T05:05:17.694Z] 30f14e443154: Pull complete [2022-10-24T05:05:17.955Z] 801331c1e519: Pull complete [2022-10-24T05:05:20.484Z] 99cc6dd402b0: Pull complete [2022-10-24T05:05:20.742Z] 7d9ed39f4882: Pull complete [2022-10-24T05:05:20.742Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T05:05:20.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T05:05:21.000Z] ---> 1dedd983c030 [2022-10-24T05:05:21.000Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:05:22.381Z] ---> Running in 05c70f8fb6f4 [2022-10-24T05:05:22.381Z] Removing intermediate container 05c70f8fb6f4 [2022-10-24T05:05:22.381Z] ---> 9c8468c0f78f [2022-10-24T05:05:22.381Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:05:22.381Z] ---> Running in 714a22066e02 [2022-10-24T05:05:22.641Z] Removing intermediate container 714a22066e02 [2022-10-24T05:05:22.641Z] ---> 052ff17bd46e [2022-10-24T05:05:22.641Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:05:22.641Z] ---> Running in 49cc8dce588d [2022-10-24T05:05:23.208Z] Removing intermediate container 49cc8dce588d [2022-10-24T05:05:23.208Z] ---> 6db322b6689d [2022-10-24T05:05:23.208Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:05:23.208Z] ---> Running in 47fa840dcae1 [2022-10-24T05:05:23.468Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:05:24.404Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:05:24.662Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T05:05:24.662Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-24T05:05:24.817Z] Still waiting to schedule task [2022-10-24T05:05:24.818Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9183’ is offline [2022-10-24T05:05:24.934Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T05:05:24.934Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T05:05:24.934Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-24T05:05:25.194Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-24T05:05:25.194Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-24T05:05:25.194Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-24T05:05:25.453Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:05:25.453Z] OK: 217 MiB in 59 packages [2022-10-24T05:05:25.712Z] Removing intermediate container 47fa840dcae1 [2022-10-24T05:05:25.712Z] ---> 6f0d7529b878 [2022-10-24T05:05:25.712Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-24T05:05:25.973Z] ---> Running in e63cab532277 [2022-10-24T05:05:25.973Z] Removing intermediate container e63cab532277 [2022-10-24T05:05:25.973Z] ---> a36d8bf76ca9 [2022-10-24T05:05:25.973Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T05:05:25.973Z] ---> 85c103ce04ae [2022-10-24T05:05:25.973Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:05:26.231Z] ---> Running in 2f7537ae84be [2022-10-24T05:05:44.330Z] Removing intermediate container 2f7537ae84be [2022-10-24T05:05:44.330Z] ---> b591b69b6b7e [2022-10-24T05:05:44.330Z] Step 10/11 : COPY . . [2022-10-24T05:05:44.330Z] ---> a7886ae80d41 [2022-10-24T05:05:44.330Z] Step 11/11 : RUN ${MAKE} [2022-10-24T05:05:44.330Z] ---> Running in d9979ff2180e [2022-10-24T05:05:44.330Z] noop [2022-10-24T05:05:44.330Z] Removing intermediate container d9979ff2180e [2022-10-24T05:05:44.330Z] ---> ef593c7f8a41 [2022-10-24T05:05:44.330Z] Successfully built ef593c7f8a41 [2022-10-24T05:05:44.330Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:44.799Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T05:05:44.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:05:44.957Z] prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container [2022-10-24T05:05:44.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T05:05:45.373Z] $ docker top 04614b7f748bedf441ea4ac28a141f3c85d399329eb2c6feaf7e4f4da32d3950 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:05:45.768Z] + go version [2022-10-24T05:05:45.768Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T05:05:45.797Z] $ docker stop --time=1 04614b7f748bedf441ea4ac28a141f3c85d399329eb2c6feaf7e4f4da32d3950 [2022-10-24T05:05:47.115Z] $ docker rm -f 04614b7f748bedf441ea4ac28a141f3c85d399329eb2c6feaf7e4f4da32d3950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:05:47.834Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T05:05:47.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:05:47.993Z] prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container [2022-10-24T05:05:48.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T05:05:48.382Z] $ docker top 540a1d8a7b11983d97363432f4d92af25694a84633295709075ceb1cb231ae3c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:05:48.781Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] fileExists [Pipeline] sh [2022-10-24T05:05:49.140Z] + make test [2022-10-24T05:05:49.140Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T05:05:49.401Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-24T05:05:59.372Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-24T05:05:59.373Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2022-10-24T05:06:07.499Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-24T05:06:07.499Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T05:06:10.167Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T05:06:10.167Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T05:06:10.167Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T05:06:10.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T05:06:10.240Z] $ docker stop --time=1 540a1d8a7b11983d97363432f4d92af25694a84633295709075ceb1cb231ae3c [2022-10-24T05:06:12.321Z] $ docker rm -f 540a1d8a7b11983d97363432f4d92af25694a84633295709075ceb1cb231ae3c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:06:12.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T05:06:12.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T05:06:13.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T05:06:13.785Z] + ls -al . [2022-10-24T05:06:13.785Z] total 188 [2022-10-24T05:06:13.785Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 05:05 . [2022-10-24T05:06:13.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 .. [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:04 .dockerignore [2022-10-24T05:06:13.785Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:05 .git [2022-10-24T05:06:13.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 .github [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:04 .gitignore [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:04 .golangci.yml [2022-10-24T05:06:13.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:05 .semver [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:04 Attribution.txt [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:04 CHANGELOG.md [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:04 Dockerfile [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:04 GOVERNANCE.md [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:04 Jenkinsfile [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:04 LICENSE [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:04 Makefile [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:04 OWNERS.md [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:04 README.md [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION [2022-10-24T05:06:13.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 bin [2022-10-24T05:06:13.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 cmd [2022-10-24T05:06:13.785Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:05 coverage.out [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:04 go.mod [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 38465 Oct 24 05:04 go.sum [2022-10-24T05:06:13.785Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:04 internal [2022-10-24T05:06:13.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:04 simulator [2022-10-24T05:06:13.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:04 snap [2022-10-24T05:06:13.785Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:14.166Z] + 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=b03dabf38b63f24493184e5a8112871062c4142f --label arch=amd64 --label version=0.0.0 . [2022-10-24T05:06:14.166Z] Sending build context to Docker daemon 6.223MB [2022-10-24T05:06:14.166Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:06:14.166Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-24T05:06:14.166Z] ---> ef593c7f8a41 [2022-10-24T05:06:14.166Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:06:14.425Z] ---> Running in ae4eb85156a6 [2022-10-24T05:06:14.425Z] Removing intermediate container ae4eb85156a6 [2022-10-24T05:06:14.425Z] ---> 9b1d5ec4d866 [2022-10-24T05:06:14.425Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:06:14.425Z] ---> Running in 110f1557fa93 [2022-10-24T05:06:14.682Z] Removing intermediate container 110f1557fa93 [2022-10-24T05:06:14.682Z] ---> def49a1f7c7c [2022-10-24T05:06:14.682Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:06:14.682Z] ---> Running in df1ef6697142 [2022-10-24T05:06:15.256Z] Removing intermediate container df1ef6697142 [2022-10-24T05:06:15.256Z] ---> 21aee1b5ba5c [2022-10-24T05:06:15.256Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:06:15.514Z] ---> Running in e4ba8f875e59 [2022-10-24T05:06:15.772Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:16.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:16.990Z] OK: 217 MiB in 59 packages [2022-10-24T05:06:17.251Z] Removing intermediate container e4ba8f875e59 [2022-10-24T05:06:17.251Z] ---> 07f716579e28 [2022-10-24T05:06:17.251Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-24T05:06:17.251Z] ---> Running in 1f93c1967f08 [2022-10-24T05:06:17.510Z] Removing intermediate container 1f93c1967f08 [2022-10-24T05:06:17.510Z] ---> 794c3594e7ff [2022-10-24T05:06:17.510Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-24T05:06:17.510Z] ---> 864847e4722f [2022-10-24T05:06:17.510Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:06:17.510Z] ---> Running in 1819c97f29f9 [2022-10-24T05:06:18.451Z] Removing intermediate container 1819c97f29f9 [2022-10-24T05:06:18.451Z] ---> 3d6d9ae83393 [2022-10-24T05:06:18.451Z] Step 10/24 : COPY . . [2022-10-24T05:06:18.710Z] ---> 4d3a6f2b9d13 [2022-10-24T05:06:18.710Z] Step 11/24 : RUN ${MAKE} [2022-10-24T05:06:18.710Z] ---> Running in 4a86cfde1e8a [2022-10-24T05:06:18.968Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-24T05:06:40.903Z] Removing intermediate container 4a86cfde1e8a [2022-10-24T05:06:40.903Z] ---> 8178f2a8ee92 [2022-10-24T05:06:40.903Z] Step 12/24 : FROM alpine:3.14 [2022-10-24T05:06:40.903Z] 3.14: Pulling from library/alpine [2022-10-24T05:06:41.165Z] c7ed990a2339: Pulling fs layer [2022-10-24T05:06:41.423Z] c7ed990a2339: Download complete [2022-10-24T05:06:41.873Z] c7ed990a2339: Pull complete [2022-10-24T05:06:41.873Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T05:06:41.873Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T05:06:41.873Z] ---> dd53f409bf0b [2022-10-24T05:06:41.873Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-24T05:06:42.442Z] ---> Running in aeae5860bd6f [2022-10-24T05:06:43.012Z] Removing intermediate container aeae5860bd6f [2022-10-24T05:06:43.012Z] ---> 39305cd80b3b [2022-10-24T05:06:43.012Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:06:43.270Z] ---> Running in 30b1e4d83d28 [2022-10-24T05:06:44.649Z] Removing intermediate container 30b1e4d83d28 [2022-10-24T05:06:44.649Z] ---> 5df6b9c2281e [2022-10-24T05:06:44.649Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T05:06:44.910Z] ---> Running in d74d293ec3f8 [2022-10-24T05:06:45.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:46.046Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-24T05:06:46.612Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T05:06:46.612Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T05:06:46.612Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T05:06:46.612Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T05:06:46.872Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T05:06:46.872Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T05:06:47.130Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T05:06:47.130Z] OK: 8 MiB in 20 packages [2022-10-24T05:06:47.699Z] Removing intermediate container d74d293ec3f8 [2022-10-24T05:06:47.699Z] ---> c94da80ff72c [2022-10-24T05:06:47.699Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-24T05:06:48.267Z] ---> 78551cb150d3 [2022-10-24T05:06:48.267Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-24T05:06:48.526Z] ---> e421e88cdf00 [2022-10-24T05:06:48.526Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-24T05:06:48.526Z] ---> 77abc1ef95a1 [2022-10-24T05:06:48.526Z] Step 19/24 : EXPOSE 59901 [2022-10-24T05:06:48.526Z] ---> Running in 9c729e647884 [2022-10-24T05:06:48.790Z] Removing intermediate container 9c729e647884 [2022-10-24T05:06:48.790Z] ---> 17287a48d9cc [2022-10-24T05:06:48.790Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-24T05:06:48.790Z] ---> Running in 7ef36c678959 [2022-10-24T05:06:48.790Z] Removing intermediate container 7ef36c678959 [2022-10-24T05:06:48.790Z] ---> 2b9c01eea266 [2022-10-24T05:06:48.790Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T05:06:49.050Z] ---> Running in 7c2f0075bdd2 [2022-10-24T05:06:49.050Z] Removing intermediate container 7c2f0075bdd2 [2022-10-24T05:06:49.050Z] ---> 9ceaacf33623 [2022-10-24T05:06:49.050Z] Step 22/24 : LABEL arch=amd64 [2022-10-24T05:06:49.050Z] ---> Running in eccd3a5b351e [2022-10-24T05:06:49.309Z] Removing intermediate container eccd3a5b351e [2022-10-24T05:06:49.309Z] ---> a5d7d6616688 [2022-10-24T05:06:49.309Z] Step 23/24 : LABEL git_sha=b03dabf38b63f24493184e5a8112871062c4142f [2022-10-24T05:06:49.309Z] ---> Running in e8a28677f73d [2022-10-24T05:06:49.309Z] Removing intermediate container e8a28677f73d [2022-10-24T05:06:49.309Z] ---> 4ce261f5b716 [2022-10-24T05:06:49.309Z] Step 24/24 : LABEL version=0.0.0 [2022-10-24T05:06:49.309Z] ---> Running in 61f43506bd24 [2022-10-24T05:06:49.572Z] Removing intermediate container 61f43506bd24 [2022-10-24T05:06:49.572Z] ---> 493dda1804dc [2022-10-24T05:06:49.572Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T05:06:49.572Z] Successfully built 493dda1804dc [2022-10-24T05:06:49.572Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:50.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:50.478Z] [2022-10-24T05:06:50.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:06:50.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:50.851Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T05:06:50.851Z] 5eb5b503b376: Pulling fs layer [2022-10-24T05:06:50.851Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T05:06:50.851Z] ec43610c2a17: Pulling fs layer [2022-10-24T05:06:50.851Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T05:06:50.851Z] 33b1e0a273af: Pulling fs layer [2022-10-24T05:06:50.851Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T05:06:50.851Z] 2f39f015ded8: Pulling fs layer [2022-10-24T05:06:50.851Z] 3a2ae6a8a46f: Waiting [2022-10-24T05:06:50.851Z] 33b1e0a273af: Waiting [2022-10-24T05:06:50.851Z] 5d3b04190fa2: Waiting [2022-10-24T05:06:50.851Z] 2f39f015ded8: Waiting [2022-10-24T05:06:50.851Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T05:06:50.851Z] 5c69ac0246d0: Download complete [2022-10-24T05:06:50.851Z] 3a2ae6a8a46f: Download complete [2022-10-24T05:06:50.851Z] 33b1e0a273af: Verifying Checksum [2022-10-24T05:06:50.851Z] 33b1e0a273af: Download complete [2022-10-24T05:06:51.110Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T05:06:51.110Z] 5d3b04190fa2: Download complete [2022-10-24T05:06:51.110Z] ec43610c2a17: Verifying Checksum [2022-10-24T05:06:51.110Z] ec43610c2a17: Download complete [2022-10-24T05:06:51.110Z] 5eb5b503b376: Verifying Checksum [2022-10-24T05:06:51.110Z] 5eb5b503b376: Download complete [2022-10-24T05:06:51.676Z] 2f39f015ded8: Verifying Checksum [2022-10-24T05:06:51.676Z] 2f39f015ded8: Download complete [2022-10-24T05:06:52.241Z] 5eb5b503b376: Pull complete [2022-10-24T05:06:52.241Z] 5c69ac0246d0: Pull complete [2022-10-24T05:06:52.809Z] ec43610c2a17: Pull complete [2022-10-24T05:06:52.809Z] 3a2ae6a8a46f: Pull complete [2022-10-24T05:06:53.067Z] 33b1e0a273af: Pull complete [2022-10-24T05:06:53.067Z] 5d3b04190fa2: Pull complete [2022-10-24T05:06:57.248Z] 2f39f015ded8: Pull complete [2022-10-24T05:06:57.248Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T05:06:57.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:06:57.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:06:57.456Z] prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container [2022-10-24T05:06:57.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T05:06:59.386Z] $ docker top aa91dfb585b2f70c8da7d1937ab32f8ed71925b703055c7fc2865b79ff242cd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:06:59.814Z] ---> job-cost.sh [2022-10-24T05:06:59.814Z] lf-activate-venv: SKIPPING [2022-10-24T05:06:59.814Z] INFO: No Stack... [2022-10-24T05:07:00.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T05:07:00.639Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T05:07:00.957Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-385/archives/cost.csv [2022-10-24T05:07:00.957Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T05:07:01.003Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [2022-10-24T05:07:01.008Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] did not exist. Created. [2022-10-24T05:07:01.008Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T05:07:01.392Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T05:07:01.436Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T05:07:01.470Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T05:07:01.551Z] $ docker stop --time=1 aa91dfb585b2f70c8da7d1937ab32f8ed71925b703055c7fc2865b79ff242cd3 [2022-10-24T05:07:02.722Z] $ docker rm -f aa91dfb585b2f70c8da7d1937ab32f8ed71925b703055c7fc2865b79ff242cd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T05:08:05.244Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9187 in /w/workspace/xfoundry_device-modbus-go_PR-385 [Pipeline] { [Pipeline] ws [2022-10-24T05:08:05.282Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-10-24T05:08:05.360Z] Selected Git installation does not exist. Using Default [2022-10-24T05:08:05.360Z] The recommended git tool is: NONE [2022-10-24T05:08:11.083Z] using credential edgex-jenkins-ssh [2022-10-24T05:08:11.099Z] Cloning the remote Git repository [2022-10-24T05:08:11.144Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T05:08:11.227Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-10-24T05:08:11.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T05:08:11.413Z] > git --version # timeout=10 [2022-10-24T05:08:11.435Z] > git --version # 'git version 2.25.1' [2022-10-24T05:08:11.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:08:11.492Z] Verifying host key using known hosts file [2022-10-24T05:08:11.722Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:08:11.735Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T05:08:12.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-24T05:08:13.006Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T05:08:14.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-24T05:08:14.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-24T05:08:14.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:08:14.140Z] Verifying host key using known hosts file [2022-10-24T05:08:14.149Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:08:14.162Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T05:08:14.774Z] Merging remotes/origin/main commit 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 into PR head commit b03dabf38b63f24493184e5a8112871062c4142f [2022-10-24T05:08:15.040Z] Merge succeeded, producing b03dabf38b63f24493184e5a8112871062c4142f [2022-10-24T05:08:15.041Z] Checking out Revision b03dabf38b63f24493184e5a8112871062c4142f (PR-385) [2022-10-24T05:08:14.792Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T05:08:14.816Z] > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 [2022-10-24T05:08:14.917Z] > git remote # timeout=10 [2022-10-24T05:08:14.941Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T05:08:14.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T05:08:14.968Z] Verifying host key using known hosts file [2022-10-24T05:08:14.972Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T05:08:14.983Z] > git merge 9ccf6e7123ca340eb6b62d94bb6ebb24a17f5f37 # timeout=10 [2022-10-24T05:08:15.016Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T05:08:15.047Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T05:08:15.064Z] > git checkout -f b03dabf38b63f24493184e5a8112871062c4142f # timeout=10 [2022-10-24T05:08:15.634Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [2022-10-24T05:08:15.695Z] > git --version # timeout=10 [2022-10-24T05:08:15.710Z] > git --version # 'git version 2.25.1' [2022-10-24T05:08:15.728Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:08:16.842Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T05:08:16.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T05:08:16.842Z] Dload Upload Total Spent Left Speed [2022-10-24T05:08:16.842Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh [2022-10-24T05:08:17.476Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T05:08:17.833Z] + sudo tee /etc/docker/daemon.new [2022-10-24T05:08:17.833Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T05:08:17.833Z] { [2022-10-24T05:08:17.833Z] "registry-mirrors": [ [2022-10-24T05:08:17.833Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T05:08:17.833Z] ], [2022-10-24T05:08:17.833Z] "bip": "10.250.0.254/24", [2022-10-24T05:08:17.833Z] "hosts": [ [2022-10-24T05:08:17.833Z] "tcp://0.0.0.0:5555", [2022-10-24T05:08:17.833Z] "unix:///var/run/docker.sock" [2022-10-24T05:08:17.833Z] ], [2022-10-24T05:08:17.833Z] "mtu": 1458, [2022-10-24T05:08:17.833Z] "selinux-enabled": true, [2022-10-24T05:08:17.833Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T05:08:17.833Z] } [Pipeline] sh [2022-10-24T05:08:18.199Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T05:08:18.572Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:08:36.938Z] provisioning config files... [2022-10-24T05:08:36.970Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config16076350228210464871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:08:37.373Z] ---> docker-login.sh [2022-10-24T05:08:37.373Z] nexus3.edgexfoundry.org:10001 [2022-10-24T05:08:37.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:37.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:37.967Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:37.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:37.967Z] [2022-10-24T05:08:37.967Z] Login Succeeded [2022-10-24T05:08:37.967Z] nexus3.edgexfoundry.org:10002 [2022-10-24T05:08:38.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:38.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:38.515Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:38.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:38.515Z] [2022-10-24T05:08:38.515Z] Login Succeeded [2022-10-24T05:08:38.515Z] nexus3.edgexfoundry.org:10003 [2022-10-24T05:08:38.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:38.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:38.787Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:38.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:38.787Z] [2022-10-24T05:08:38.787Z] Login Succeeded [2022-10-24T05:08:38.787Z] nexus3.edgexfoundry.org:10004 [2022-10-24T05:08:39.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:39.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:39.333Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:39.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:39.333Z] [2022-10-24T05:08:39.333Z] Login Succeeded [2022-10-24T05:08:39.333Z] docker.io [2022-10-24T05:08:39.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T05:08:39.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T05:08:39.877Z] Configure a credential helper to remove this warning. See [2022-10-24T05:08:39.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T05:08:39.877Z] [2022-10-24T05:08:39.877Z] Login Succeeded [2022-10-24T05:08:39.877Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T05:08:39.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T05:08:40.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:08:40.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T05:08:40.280Z] ========================================================= [2022-10-24T05:08:40.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T05:08:40.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:08:40.787Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T05:08:41.059Z] Sending build context to Docker daemon 3.228MB [2022-10-24T05:08:41.059Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:08:41.059Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-24T05:08:41.334Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T05:08:41.334Z] 9b18e9b68314: Pulling fs layer [2022-10-24T05:08:41.334Z] d32db5db7311: Pulling fs layer [2022-10-24T05:08:41.334Z] d0c4b47475fc: Pulling fs layer [2022-10-24T05:08:41.334Z] 5831b945b038: Pulling fs layer [2022-10-24T05:08:41.334Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T05:08:41.334Z] e10730c5d714: Pulling fs layer [2022-10-24T05:08:41.334Z] 5dd5c2283517: Pulling fs layer [2022-10-24T05:08:41.334Z] d5ac0230b979: Pulling fs layer [2022-10-24T05:08:41.334Z] 5831b945b038: Waiting [2022-10-24T05:08:41.334Z] 86bbec2aaacd: Waiting [2022-10-24T05:08:41.334Z] e10730c5d714: Waiting [2022-10-24T05:08:41.334Z] d5ac0230b979: Waiting [2022-10-24T05:08:41.334Z] 5dd5c2283517: Waiting [2022-10-24T05:08:41.334Z] d0c4b47475fc: Download complete [2022-10-24T05:08:41.334Z] d32db5db7311: Verifying Checksum [2022-10-24T05:08:41.334Z] d32db5db7311: Download complete [2022-10-24T05:08:41.334Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T05:08:41.334Z] 86bbec2aaacd: Download complete [2022-10-24T05:08:41.334Z] e10730c5d714: Verifying Checksum [2022-10-24T05:08:41.334Z] e10730c5d714: Download complete [2022-10-24T05:08:41.334Z] 9b18e9b68314: Verifying Checksum [2022-10-24T05:08:41.334Z] 9b18e9b68314: Download complete [2022-10-24T05:08:42.349Z] 9b18e9b68314: Pull complete [2022-10-24T05:08:42.623Z] d5ac0230b979: Verifying Checksum [2022-10-24T05:08:42.623Z] d5ac0230b979: Download complete [2022-10-24T05:08:42.900Z] d32db5db7311: Pull complete [2022-10-24T05:08:43.496Z] d0c4b47475fc: Pull complete [2022-10-24T05:08:43.767Z] 5dd5c2283517: Verifying Checksum [2022-10-24T05:08:43.767Z] 5dd5c2283517: Download complete [2022-10-24T05:08:44.744Z] 5831b945b038: Verifying Checksum [2022-10-24T05:08:44.744Z] 5831b945b038: Download complete [2022-10-24T05:08:57.161Z] 5831b945b038: Pull complete [2022-10-24T05:08:57.161Z] 86bbec2aaacd: Pull complete [2022-10-24T05:08:57.161Z] e10730c5d714: Pull complete [2022-10-24T05:09:03.865Z] 5dd5c2283517: Pull complete [2022-10-24T05:09:06.478Z] d5ac0230b979: Pull complete [2022-10-24T05:09:06.478Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T05:09:06.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T05:09:06.478Z] ---> 59b3b1a385d4 [2022-10-24T05:09:06.478Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:09:08.442Z] ---> Running in d3210aa028b8 [2022-10-24T05:09:08.712Z] Removing intermediate container d3210aa028b8 [2022-10-24T05:09:08.712Z] ---> 480d8c1dea4d [2022-10-24T05:09:08.712Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:09:08.712Z] ---> Running in a50f9f31125f [2022-10-24T05:09:08.981Z] Removing intermediate container a50f9f31125f [2022-10-24T05:09:08.981Z] ---> cac1ce442d17 [2022-10-24T05:09:08.981Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:09:09.249Z] ---> Running in d72562ea1a11 [2022-10-24T05:09:11.229Z] Removing intermediate container d72562ea1a11 [2022-10-24T05:09:11.229Z] ---> 204c90d52498 [2022-10-24T05:09:11.229Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:09:11.229Z] ---> Running in 80535bf69ea2 [2022-10-24T05:09:12.195Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:09:13.158Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:09:14.119Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-24T05:09:14.119Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-24T05:09:14.389Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-24T05:09:14.658Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-24T05:09:14.658Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-24T05:09:14.658Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-24T05:09:14.926Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-24T05:09:14.926Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-24T05:09:14.926Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T05:09:15.195Z] OK: 228 MiB in 59 packages [2022-10-24T05:09:16.164Z] Removing intermediate container 80535bf69ea2 [2022-10-24T05:09:16.164Z] ---> 649eea79f1ee [2022-10-24T05:09:16.164Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-24T05:09:16.164Z] ---> Running in f2670761740e [2022-10-24T05:09:16.760Z] Removing intermediate container f2670761740e [2022-10-24T05:09:16.760Z] ---> 108c71d1300e [2022-10-24T05:09:16.760Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-24T05:09:17.344Z] ---> d535bb8bf1dc [2022-10-24T05:09:17.344Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:09:17.344Z] ---> Running in e5df1373a85b [2022-10-24T05:10:13.789Z] Removing intermediate container e5df1373a85b [2022-10-24T05:10:13.789Z] ---> 5eae9285e49b [2022-10-24T05:10:13.789Z] Step 10/11 : COPY . . [2022-10-24T05:10:13.789Z] ---> 9b4070a46984 [2022-10-24T05:10:13.789Z] Step 11/11 : RUN ${MAKE} [2022-10-24T05:10:13.789Z] ---> Running in ddec20f36890 [2022-10-24T05:10:13.789Z] noop [2022-10-24T05:10:13.789Z] Removing intermediate container ddec20f36890 [2022-10-24T05:10:13.789Z] ---> 0bd74f48e856 [2022-10-24T05:10:13.789Z] Successfully built 0bd74f48e856 [2022-10-24T05:10:13.789Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:10:14.268Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T05:10:14.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:10:14.538Z] prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container [2022-10-24T05:10:14.610Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-24T05:10:15.903Z] $ docker top 8d54fc57b2af7bf38568dbf408835aece4df139c0514a3a8e058d6244f09348e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:10:16.831Z] + go version [2022-10-24T05:10:16.831Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T05:10:16.869Z] $ docker stop --time=1 8d54fc57b2af7bf38568dbf408835aece4df139c0514a3a8e058d6244f09348e [2022-10-24T05:10:18.530Z] $ docker rm -f 8d54fc57b2af7bf38568dbf408835aece4df139c0514a3a8e058d6244f09348e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:10:19.415Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T05:10:19.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:10:19.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container [2022-10-24T05:10:19.739Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-24T05:10:20.895Z] $ docker top 4e12f6b651d57fe4b6a3abe513146f147214039b208edaff8ff622d5f00c4e5c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:10:21.764Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T05:10:22.170Z] + make test [2022-10-24T05:10:22.170Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-24T05:10:24.126Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-24T05:12:00.808Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-24T05:12:00.808Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements [2022-10-24T05:12:00.808Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T05:12:00.808Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T05:12:19.031Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T05:12:19.031Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T05:12:19.031Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-24T05:12:19.070Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T05:12:19.103Z] $ docker stop --time=1 4e12f6b651d57fe4b6a3abe513146f147214039b208edaff8ff622d5f00c4e5c [2022-10-24T05:12:20.947Z] $ docker rm -f 4e12f6b651d57fe4b6a3abe513146f147214039b208edaff8ff622d5f00c4e5c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T05:12:22.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T05:12:22.093Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T05:12:22.723Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T05:12:23.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T05:12:23.681Z] + ls -al . [2022-10-24T05:12:23.681Z] total 184 [2022-10-24T05:12:23.681Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 05:10 . [2022-10-24T05:12:23.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:08 .. [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 05:08 .dockerignore [2022-10-24T05:12:23.681Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 05:08 .git [2022-10-24T05:12:23.681Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:08 .github [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 24 05:08 .gitignore [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 05:08 .golangci.yml [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 24 05:08 Attribution.txt [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 24 05:08 CHANGELOG.md [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 24 05:08 Dockerfile [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 05:08 GOVERNANCE.md [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 05:08 Jenkinsfile [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 05:08 LICENSE [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 24 05:08 Makefile [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 05:08 OWNERS.md [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 24 05:08 README.md [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 05:05 VERSION [2022-10-24T05:12:23.681Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:08 bin [2022-10-24T05:12:23.681Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:08 cmd [2022-10-24T05:12:23.681Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 24 05:11 coverage.out [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 24 05:08 go.mod [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 38465 Oct 24 05:08 go.sum [2022-10-24T05:12:23.681Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 05:08 internal [2022-10-24T05:12:23.681Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 05:08 simulator [2022-10-24T05:12:23.681Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 05:08 snap [2022-10-24T05:12:23.681Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 24 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:12:24.097Z] + 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=b03dabf38b63f24493184e5a8112871062c4142f --label arch=arm64 --label version=0.0.0 . [2022-10-24T05:12:24.381Z] Sending build context to Docker daemon 3.252MB [2022-10-24T05:12:24.381Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T05:12:24.381Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-24T05:12:24.381Z] ---> 0bd74f48e856 [2022-10-24T05:12:24.381Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-24T05:12:24.651Z] ---> Running in 96587cd52acb [2022-10-24T05:12:24.917Z] Removing intermediate container 96587cd52acb [2022-10-24T05:12:24.918Z] ---> 73f9505de812 [2022-10-24T05:12:24.918Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T05:12:24.918Z] ---> Running in 91f32d0afe67 [2022-10-24T05:12:25.510Z] Removing intermediate container 91f32d0afe67 [2022-10-24T05:12:25.510Z] ---> ace4ed2452f9 [2022-10-24T05:12:25.510Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:12:25.510Z] ---> Running in 78ba566eee00 [2022-10-24T05:12:27.457Z] Removing intermediate container 78ba566eee00 [2022-10-24T05:12:27.457Z] ---> 55f4d9247122 [2022-10-24T05:12:27.457Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-24T05:12:27.457Z] ---> Running in c24761fcacdc [2022-10-24T05:12:28.441Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:12:29.403Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:12:30.364Z] OK: 228 MiB in 59 packages [2022-10-24T05:12:31.329Z] Removing intermediate container c24761fcacdc [2022-10-24T05:12:31.329Z] ---> 94cd1292096d [2022-10-24T05:12:31.329Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-24T05:12:31.329Z] ---> Running in 56e1ec6a2fe8 [2022-10-24T05:12:31.605Z] Removing intermediate container 56e1ec6a2fe8 [2022-10-24T05:12:31.605Z] ---> a25b8b894113 [2022-10-24T05:12:31.605Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-24T05:12:32.193Z] ---> bc7b99e4b5ae [2022-10-24T05:12:32.193Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T05:12:32.193Z] ---> Running in c586c83e8b3f [2022-10-24T05:12:34.805Z] Removing intermediate container c586c83e8b3f [2022-10-24T05:12:34.805Z] ---> b2f66e666b7d [2022-10-24T05:12:34.805Z] Step 10/24 : COPY . . [2022-10-24T05:12:35.767Z] ---> 8ee01bdf3466 [2022-10-24T05:12:35.767Z] Step 11/24 : RUN ${MAKE} [2022-10-24T05:12:36.035Z] ---> Running in c75af8955e7e [2022-10-24T05:12:37.441Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-10-24T05:15:14.207Z] Removing intermediate container c75af8955e7e [2022-10-24T05:15:14.207Z] ---> 42c4a39864fa [2022-10-24T05:15:14.207Z] Step 12/24 : FROM alpine:3.14 [2022-10-24T05:15:14.789Z] 3.14: Pulling from library/alpine [2022-10-24T05:15:15.377Z] 90cda3b7c325: Pulling fs layer [2022-10-24T05:15:15.377Z] 90cda3b7c325: Verifying Checksum [2022-10-24T05:15:15.377Z] 90cda3b7c325: Download complete [2022-10-24T05:15:15.959Z] 90cda3b7c325: Pull complete [2022-10-24T05:15:15.959Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T05:15:15.959Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T05:15:15.959Z] ---> 376ba31ae3da [2022-10-24T05:15:15.959Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-24T05:15:15.959Z] ---> Running in e40f516d9258 [2022-10-24T05:15:16.230Z] Removing intermediate container e40f516d9258 [2022-10-24T05:15:16.230Z] ---> a5e6f9ca92b5 [2022-10-24T05:15:16.230Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T05:15:16.502Z] ---> Running in ebf11a484ac8 [2022-10-24T05:15:18.444Z] Removing intermediate container ebf11a484ac8 [2022-10-24T05:15:18.444Z] ---> 5e4c5602d8c0 [2022-10-24T05:15:18.444Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T05:15:18.444Z] ---> Running in 654e00cafc30 [2022-10-24T05:15:19.027Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-24T05:15:19.985Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-24T05:15:20.945Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T05:15:20.945Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T05:15:20.945Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T05:15:21.212Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T05:15:21.212Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T05:15:21.482Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T05:15:21.482Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T05:15:21.482Z] OK: 8 MiB in 20 packages [2022-10-24T05:15:22.447Z] Removing intermediate container 654e00cafc30 [2022-10-24T05:15:22.447Z] ---> 53022679ed83 [2022-10-24T05:15:22.447Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-24T05:15:23.856Z] ---> ab3a8112811e [2022-10-24T05:15:23.856Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-24T05:15:24.440Z] ---> 57482b6d71b6 [2022-10-24T05:15:24.440Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-24T05:15:25.028Z] ---> 264a37498f1a [2022-10-24T05:15:25.028Z] Step 19/24 : EXPOSE 59901 [2022-10-24T05:15:25.028Z] ---> Running in 6e9ecec9f6cb [2022-10-24T05:15:25.294Z] Removing intermediate container 6e9ecec9f6cb [2022-10-24T05:15:25.294Z] ---> 762d214f0428 [2022-10-24T05:15:25.294Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-24T05:15:25.294Z] ---> Running in dfe8f424e4db [2022-10-24T05:15:25.562Z] Removing intermediate container dfe8f424e4db [2022-10-24T05:15:25.562Z] ---> 1ef561eed06f [2022-10-24T05:15:25.562Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-24T05:15:25.562Z] ---> Running in ea5824f108bf [2022-10-24T05:15:25.834Z] Removing intermediate container ea5824f108bf [2022-10-24T05:15:25.834Z] ---> 35d6437c4cdb [2022-10-24T05:15:25.834Z] Step 22/24 : LABEL arch=arm64 [2022-10-24T05:15:26.102Z] ---> Running in 88a353537b7f [2022-10-24T05:15:26.446Z] Removing intermediate container 88a353537b7f [2022-10-24T05:15:26.446Z] ---> cfb6462f5546 [2022-10-24T05:15:26.446Z] Step 23/24 : LABEL git_sha=b03dabf38b63f24493184e5a8112871062c4142f [2022-10-24T05:15:26.446Z] ---> Running in b8785a12debd [2022-10-24T05:15:26.721Z] Removing intermediate container b8785a12debd [2022-10-24T05:15:26.721Z] ---> cda558a32df3 [2022-10-24T05:15:26.721Z] Step 24/24 : LABEL version=0.0.0 [2022-10-24T05:15:26.721Z] ---> Running in 8ce9060467ef [2022-10-24T05:15:26.989Z] Removing intermediate container 8ce9060467ef [2022-10-24T05:15:26.989Z] ---> 0cdfb8b68990 [2022-10-24T05:15:26.989Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T05:15:27.272Z] Successfully built 0cdfb8b68990 [2022-10-24T05:15:27.272Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:15:28.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:15:28.072Z] [2022-10-24T05:15:28.072Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:15:28.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:15:28.552Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T05:15:28.552Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T05:15:28.552Z] 04944245beec: Pulling fs layer [2022-10-24T05:15:28.552Z] 699f458cf7ca: Pulling fs layer [2022-10-24T05:15:28.552Z] 765212b225bb: Pulling fs layer [2022-10-24T05:15:28.552Z] f23df028b6ca: Pulling fs layer [2022-10-24T05:15:28.552Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T05:15:28.552Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T05:15:28.552Z] f23df028b6ca: Waiting [2022-10-24T05:15:28.552Z] d65c8cfc05b1: Waiting [2022-10-24T05:15:28.552Z] 2437ff75d9bd: Waiting [2022-10-24T05:15:28.552Z] 765212b225bb: Waiting [2022-10-24T05:15:28.842Z] 04944245beec: Verifying Checksum [2022-10-24T05:15:28.842Z] 04944245beec: Download complete [2022-10-24T05:15:28.842Z] 765212b225bb: Verifying Checksum [2022-10-24T05:15:28.842Z] 765212b225bb: Download complete [2022-10-24T05:15:28.842Z] f23df028b6ca: Verifying Checksum [2022-10-24T05:15:28.842Z] f23df028b6ca: Download complete [2022-10-24T05:15:28.842Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T05:15:28.842Z] d65c8cfc05b1: Download complete [2022-10-24T05:15:29.126Z] 699f458cf7ca: Verifying Checksum [2022-10-24T05:15:29.126Z] 699f458cf7ca: Download complete [2022-10-24T05:15:29.402Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T05:15:29.402Z] 8998bd30e6a1: Download complete [2022-10-24T05:15:31.992Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T05:15:31.992Z] 2437ff75d9bd: Download complete [2022-10-24T05:15:33.400Z] 8998bd30e6a1: Pull complete [2022-10-24T05:15:33.983Z] 04944245beec: Pull complete [2022-10-24T05:15:35.390Z] 699f458cf7ca: Pull complete [2022-10-24T05:15:35.390Z] 765212b225bb: Pull complete [2022-10-24T05:15:35.975Z] f23df028b6ca: Pull complete [2022-10-24T05:15:36.243Z] d65c8cfc05b1: Pull complete [2022-10-24T05:15:51.227Z] 2437ff75d9bd: Pull complete [2022-10-24T05:15:51.227Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T05:15:51.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T05:15:51.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:15:51.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container [2022-10-24T05:15:51.589Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T05:15:54.049Z] $ docker top 55fc96745529bce89ec3ff3a1f3c884dcaa57df46814f841ffadc1475b5b5385 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:15:54.618Z] ---> job-cost.sh [2022-10-24T05:15:54.884Z] lf-activate-venv: SKIPPING [2022-10-24T05:15:54.884Z] INFO: No Stack... [2022-10-24T05:15:55.148Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T05:15:56.102Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T05:15:56.448Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2022-10-24T05:15:56.449Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T05:15:56.523Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [2022-10-24T05:15:56.528Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] did not exist. Created. [2022-10-24T05:15:56.528Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T05:15:56.932Z] /w/workspace/device-modbus-go/1@tmp/durable-91f9573a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T05:15:57.281Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T05:15:57.317Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T05:15:57.356Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T05:15:57.370Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T05:15:57.438Z] $ docker stop --time=1 55fc96745529bce89ec3ff3a1f3c884dcaa57df46814f841ffadc1475b5b5385 [2022-10-24T05:15:58.923Z] $ docker rm -f 55fc96745529bce89ec3ff3a1f3c884dcaa57df46814f841ffadc1475b5b5385 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-24T05:15:59.860Z] provisioning config files... [2022-10-24T05:15:59.867Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config223700264339467220tmp [Pipeline] { [Pipeline] sh [2022-10-24T05:16:00.207Z] + set +x [2022-10-24T05:16:00.207Z] + curl -s https://codecov.io/bash [2022-10-24T05:16:00.207Z] + bash -s -- [2022-10-24T05:16:00.207Z] [2022-10-24T05:16:00.207Z] _____ _ [2022-10-24T05:16:00.207Z] / ____| | | [2022-10-24T05:16:00.207Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T05:16:00.207Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T05:16:00.207Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T05:16:00.207Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T05:16:00.207Z] Bash-1.0.6 [2022-10-24T05:16:00.207Z] [2022-10-24T05:16:00.207Z] [2022-10-24T05:16:00.207Z] ==> git version 2.25.1 found [2022-10-24T05:16:00.207Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-24T05:16:00.207Z] Release-Date: 2020-01-08 [2022-10-24T05:16:00.207Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-24T05:16:00.207Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T05:16:00.207Z] ==> Jenkins CI detected. [2022-10-24T05:16:00.207Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-24T05:16:00.207Z] project root: . [2022-10-24T05:16:00.207Z] --> token set from env [2022-10-24T05:16:00.207Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T05:16:00.207Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T05:16:00.207Z] ==> Python coveragepy not found [2022-10-24T05:16:00.207Z] ==> Searching for coverage reports in: [2022-10-24T05:16:00.207Z] + . [2022-10-24T05:16:00.207Z] -> Found 1 reports [2022-10-24T05:16:00.207Z] ==> Detecting git/mercurial file structure [2022-10-24T05:16:00.207Z] ==> Reading reports [2022-10-24T05:16:00.207Z] + ./coverage.out bytes=23241 [2022-10-24T05:16:00.207Z] ==> Appending adjustments [2022-10-24T05:16:00.207Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T05:16:00.467Z] + Found adjustments [2022-10-24T05:16:00.467Z] ==> Gzipping contents [2022-10-24T05:16:00.467Z] 4.0K /tmp/codecov.XzHXDM.gz [2022-10-24T05:16:00.467Z] ==> Uploading reports [2022-10-24T05:16:00.467Z] url: https://codecov.io [2022-10-24T05:16:00.467Z] query: branch=PR-385&commit=b03dabf38b63f24493184e5a8112871062c4142f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-24T05:16:00.467Z] -> Pinging Codecov [2022-10-24T05:16:00.467Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-385&commit=b03dabf38b63f24493184e5a8112871062c4142f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-385%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=385&job=&cmd_args= [2022-10-24T05:16:00.725Z] -> Uploading to [2022-10-24T05:16:00.725Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/55DBCA73C666E3227836607328DD7E49/b03dabf38b63f24493184e5a8112871062c4142f/a291e91e-defc-4e8c-a766-8e68210513db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T051600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d674d0b4820b3a0dddc9683bc0c73f35759d642b6ddd03fd4ef54f97ad3f10f [2022-10-24T05:16:00.725Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T05:16:00.725Z] Dload Upload Total Spent Left Speed [2022-10-24T05:16:00.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3903 0 0 100 3903 0 19226 --:--:-- --:--:-- --:--:-- 19132 100 3903 0 0 100 3903 0 17903 --:--:-- --:--:-- --:--:-- 17821 [2022-10-24T05:16:00.984Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b03dabf38b63f24493184e5a8112871062c4142f [Pipeline] } [2022-10-24T05:16:01.016Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-24T05:16:02.742Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-385/archives ] [2022-10-24T05:16:02.742Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-24T05:16:02.742Z] total 16 [2022-10-24T05:16:02.742Z] drwxr-xr-x 3 root root 4096 Oct 24 05:07 . [2022-10-24T05:16:02.742Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. [2022-10-24T05:16:02.742Z] drwxr-xr-x 2 root root 4096 Oct 24 05:07 cost [2022-10-24T05:16:02.742Z] -rw-r--r-- 1 root root 88 Oct 24 05:07 cost.csv [2022-10-24T05:16:02.742Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-24T05:16:02.742Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-385/archives [2022-10-24T05:16:02.742Z] total 16 [2022-10-24T05:16:02.742Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 05:07 . [2022-10-24T05:16:02.742Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 05:07 .. [2022-10-24T05:16:02.742Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 05:07 cost [2022-10-24T05:16:02.742Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 24 05:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:16:03.069Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:16:03.958Z] ---> package-listing.sh [2022-10-24T05:16:03.958Z] ++ facter osfamily [2022-10-24T05:16:03.958Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T05:16:04.217Z] + OS_FAMILY=debian [2022-10-24T05:16:04.217Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-385 [2022-10-24T05:16:04.217Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T05:16:04.217Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T05:16:04.217Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T05:16:04.217Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T05:16:04.217Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-24T05:16:04.217Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T05:16:04.217Z] + case "${OS_FAMILY}" in [2022-10-24T05:16:04.217Z] + dpkg -l [2022-10-24T05:16:04.217Z] + grep '^ii' [2022-10-24T05:16:04.217Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T05:16:04.217Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T05:16:04.217Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T05:16:04.217Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-385 ']' [2022-10-24T05:16:04.217Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [2022-10-24T05:16:04.217Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-385/archives/ [Pipeline] echo [2022-10-24T05:16:04.249Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T05:16:04.539Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T05:16:05.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T05:16:05.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T05:16:05.314Z] prd-ubuntu20.04-docker-8c-8g-9182 does not seem to be running inside a container [2022-10-24T05:16:05.345Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-385 -v /w/workspace/xfoundry_device-modbus-go_PR-385:/w/workspace/xfoundry_device-modbus-go_PR-385:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-385@tmp:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T05:16:05.568Z] $ docker top 8523333d54fb92a525eb2716836e93296756fa25a6bc22bd778707346a362f17 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T05:16:05.980Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T05:16:06.294Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T05:16:06.603Z] + ls /var/log/sa-host [2022-10-24T05:16:06.603Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T05:16:06.739Z] provisioning config files... [2022-10-24T05:16:06.748Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-385@tmp/config13959652664215278696tmp [Pipeline] { [Pipeline] echo [2022-10-24T05:16:06.794Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:16:07.101Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T05:16:07.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:16:07.525Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T05:16:07.561Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:16:07.870Z] ---> sudo-logs.sh [2022-10-24T05:16:07.870Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T05:16:07.955Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:16:08.263Z] ---> job-cost.sh [2022-10-24T05:16:08.263Z] lf-activate-venv: SKIPPING [2022-10-24T05:16:08.263Z] DEBUG: total: 0.2199999988079071 [2022-10-24T05:16:08.263Z] INFO: Retrieving Stack Cost... [2022-10-24T05:16:08.523Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T05:16:09.091Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T05:16:09.132Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T05:16:09.443Z] ---> logs-deploy.sh [2022-10-24T05:16:09.443Z] lf-activate-venv: SKIPPING [2022-10-24T05:16:09.443Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-385/1 [2022-10-24T05:16:09.443Z] INFO: archiving workspace using pattern(s): [2022-10-24T05:16:10.378Z] Archives upload complete. [2022-10-24T05:16:10.378Z] INFO: archiving logs to Nexus