Pull request #382 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-modbus-go Obtained Jenkinsfile from c5f598b77e77bd73a577202a05e992d50edf3c45+dc9c57eb5fcf9d56daa39b489e9deb9211134340 (4fb584f0c3c1930f2fe84b02158664abde313789) 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-ssh15641833901036096191.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12128389029254672083.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh 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-382/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-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11128966953523388935.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-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh978968214317339610.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh18438442768752681618.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-382/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-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2428943008321680171.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-7857 in /w/workspace/xfoundry_device-modbus-go_PR-382 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-382 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Merging remotes/origin/main commit dc9c57eb5fcf9d56daa39b489e9deb9211134340 into PR head commit c5f598b77e77bd73a577202a05e992d50edf3c45 Merge succeeded, producing c5f598b77e77bd73a577202a05e992d50edf3c45 Checking out Revision c5f598b77e77bd73a577202a05e992d50edf3c45 (PR-382) Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dc9c57eb5fcf9d56daa39b489e9deb9211134340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 Commit message: "feat(snap): add config interface with unique identifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-14T13:08:45.639Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-14T13:08:45.827Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-14T13:08:45.932Z] ========================================================= [2022-10-14T13:08:45.932Z] EdgeX Global Pipelines Version Info [2022-10-14T13:08:45.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:08:46.684Z] ------------------- [2022-10-14T13:08:46.684Z] stable info: [2022-10-14T13:08:46.684Z] ------------------- [2022-10-14T13:08:46.684Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-14T13:08:46.684Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-14T13:08:46.684Z] Message: update stable to v1.0.239 [2022-10-14T13:08:47.253Z] ------------------- [2022-10-14T13:08:47.253Z] experimental info: [2022-10-14T13:08:47.253Z] ------------------- [2022-10-14T13:08:47.253Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-14T13:08:47.253Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-14T13:08:47.253Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-14T13:08:47.545Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-10-14T13:08:47.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-10-14T13:08:47.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-14T13:08:47.672Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-14T13:08:47.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-14T13:08:47.756Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-14T13:08:47.794Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-14T13:08:47.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-14T13:08:47.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-14T13:08:47.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-14T13:08:47.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-14T13:08:48.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-10-14T13:08:48.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-14T13:08:48.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-14T13:08:48.133Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-14T13:08:48.172Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-14T13:08:48.219Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-14T13:08:48.260Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-14T13:08:48.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-14T13:08:48.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-14T13:08:48.384Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-14T13:08:48.426Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-14T13:08:48.467Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-14T13:08:48.505Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-14T13:08:48.543Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-14T13:08:48.581Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-14T13:08:48.622Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-14T13:08:48.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo [2022-10-14T13:08:48.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo [2022-10-14T13:08:48.748Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo [2022-10-14T13:08:48.789Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5f598b77e77bd73a577202a05e992d50edf3c45 [Pipeline] echo [2022-10-14T13:08:48.830Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5f598b [Pipeline] echo [2022-10-14T13:08:48.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:08:48.994Z] provisioning config files... [2022-10-14T13:08:49.008Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config18073831117189079080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:08:49.354Z] ---> docker-login.sh [2022-10-14T13:08:49.354Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:08:49.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:08:49.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:08:49.882Z] Configure a credential helper to remove this warning. See [2022-10-14T13:08:49.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:08:49.882Z] [2022-10-14T13:08:49.882Z] Login Succeeded [2022-10-14T13:08:49.882Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:08:49.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:08:49.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:08:49.882Z] Configure a credential helper to remove this warning. See [2022-10-14T13:08:49.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:08:49.882Z] [2022-10-14T13:08:49.882Z] Login Succeeded [2022-10-14T13:08:49.882Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:08:49.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:08:50.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:08:50.141Z] Configure a credential helper to remove this warning. See [2022-10-14T13:08:50.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:08:50.141Z] [2022-10-14T13:08:50.141Z] Login Succeeded [2022-10-14T13:08:50.141Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:08:50.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:08:50.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:08:50.141Z] Configure a credential helper to remove this warning. See [2022-10-14T13:08:50.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:08:50.141Z] [2022-10-14T13:08:50.141Z] Login Succeeded [2022-10-14T13:08:50.141Z] docker.io [2022-10-14T13:08:50.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:08:50.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:08:50.711Z] Configure a credential helper to remove this warning. See [2022-10-14T13:08:50.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:08:50.711Z] [2022-10-14T13:08:50.711Z] Login Succeeded [2022-10-14T13:08:50.711Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:08:50.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-14T13:08:51.372Z] + git rev-list -1 --merges c5f598b77e77bd73a577202a05e992d50edf3c45~1..c5f598b77e77bd73a577202a05e992d50edf3c45 [Pipeline] echo [2022-10-14T13:08:51.418Z] -----------> git rev-list -1 --merges c5f598b77e77bd73a577202a05e992d50edf3c45~1..c5f598b77e77bd73a577202a05e992d50edf3c45 c5f598b77e77bd73a577202a05e992d50edf3c45 [false] [Pipeline] sh [2022-10-14T13:08:51.723Z] + git log --format=format:%s -1 c5f598b77e77bd73a577202a05e992d50edf3c45 [Pipeline] echo [2022-10-14T13:08:51.759Z] ========================================================= [2022-10-14T13:08:51.759Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-14T13:08:51.759Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:08:52.173Z] + git log --format=format:%s -1 c5f598b77e77bd73a577202a05e992d50edf3c45 [Pipeline] echo [2022-10-14T13:08:52.204Z] [semverPrep] GIT_COMMIT: c5f598b77e77bd73a577202a05e992d50edf3c45, Commit Message: feat(snap): add config interface with unique identifier [Pipeline] echo [2022-10-14T13:08:52.231Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-14T13:08:52.626Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-14T13:08:52.626Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-14T13:08:52.626Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-14T13:08:52.626Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-14T13:08:52.626Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-14T13:08:52.626Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-14T13:08:52.626Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:08:53.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:08:53.135Z] [2022-10-14T13:08:53.135Z] 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-14T13:08:53.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:08:53.505Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-14T13:08:53.505Z] b85a868b505f: Pulling fs layer [2022-10-14T13:08:53.505Z] e2be974225ed: Pulling fs layer [2022-10-14T13:08:53.505Z] 339a4e72a1f5: Pulling fs layer [2022-10-14T13:08:53.505Z] 988bab9f4d93: Pulling fs layer [2022-10-14T13:08:53.505Z] 1469e6f7b9e6: Pulling fs layer [2022-10-14T13:08:53.505Z] eaf3925da568: Pulling fs layer [2022-10-14T13:08:53.505Z] bab4dde63d76: Pulling fs layer [2022-10-14T13:08:53.505Z] 1469e6f7b9e6: Waiting [2022-10-14T13:08:53.505Z] 988bab9f4d93: Waiting [2022-10-14T13:08:53.505Z] bde34c3a00c8: Pulling fs layer [2022-10-14T13:08:53.505Z] bab4dde63d76: Waiting [2022-10-14T13:08:53.505Z] b352a97aabf1: Pulling fs layer [2022-10-14T13:08:53.505Z] 4872d77fe225: Pulling fs layer [2022-10-14T13:08:53.505Z] 5851b861e8e6: Pulling fs layer [2022-10-14T13:08:53.505Z] b352a97aabf1: Waiting [2022-10-14T13:08:53.505Z] bde34c3a00c8: Waiting [2022-10-14T13:08:53.505Z] 4872d77fe225: Waiting [2022-10-14T13:08:53.505Z] 5851b861e8e6: Waiting [2022-10-14T13:08:53.505Z] e2be974225ed: Verifying Checksum [2022-10-14T13:08:53.505Z] e2be974225ed: Download complete [2022-10-14T13:08:53.505Z] 988bab9f4d93: Verifying Checksum [2022-10-14T13:08:53.505Z] 988bab9f4d93: Download complete [2022-10-14T13:08:53.766Z] 1469e6f7b9e6: Verifying Checksum [2022-10-14T13:08:53.766Z] 1469e6f7b9e6: Download complete [2022-10-14T13:08:53.766Z] eaf3925da568: Download complete [2022-10-14T13:08:53.766Z] 339a4e72a1f5: Verifying Checksum [2022-10-14T13:08:53.766Z] 339a4e72a1f5: Download complete [2022-10-14T13:08:53.766Z] bde34c3a00c8: Download complete [2022-10-14T13:08:53.766Z] b352a97aabf1: Download complete [2022-10-14T13:08:53.766Z] 4872d77fe225: Download complete [2022-10-14T13:08:53.766Z] 5851b861e8e6: Verifying Checksum [2022-10-14T13:08:53.766Z] 5851b861e8e6: Download complete [2022-10-14T13:08:53.766Z] b85a868b505f: Verifying Checksum [2022-10-14T13:08:53.766Z] b85a868b505f: Download complete [2022-10-14T13:08:54.026Z] bab4dde63d76: Verifying Checksum [2022-10-14T13:08:54.026Z] bab4dde63d76: Download complete [2022-10-14T13:08:55.411Z] b85a868b505f: Pull complete [2022-10-14T13:08:55.411Z] e2be974225ed: Pull complete [2022-10-14T13:08:55.675Z] 339a4e72a1f5: Pull complete [2022-10-14T13:08:55.675Z] 988bab9f4d93: Pull complete [2022-10-14T13:08:56.248Z] 1469e6f7b9e6: Pull complete [2022-10-14T13:08:56.248Z] eaf3925da568: Pull complete [2022-10-14T13:08:58.157Z] bab4dde63d76: Pull complete [2022-10-14T13:08:58.157Z] bde34c3a00c8: Pull complete [2022-10-14T13:08:58.157Z] b352a97aabf1: Pull complete [2022-10-14T13:08:58.157Z] 4872d77fe225: Pull complete [2022-10-14T13:08:58.157Z] 5851b861e8e6: Pull complete [2022-10-14T13:08:58.418Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-14T13:08:58.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:08:58.418Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:08:58.646Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2022-10-14T13:08:58.678Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-14T13:09:00.084Z] $ docker top f31f602f8dd0fe5de14f7df95afe63edfe19c2cdcfda38b881a193a7cf733e99 -eo pid,comm [2022-10-14T13:09:00.142Z] 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-14T13:09:00.142Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-14T13:09:00.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-14T13:09:00.276Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-14T13:09:00.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-14T13:09:00.393Z] $ docker exec f31f602f8dd0fe5de14f7df95afe63edfe19c2cdcfda38b881a193a7cf733e99 ssh-agent [2022-10-14T13:09:00.498Z] SSH_AUTH_SOCK=/tmp/ssh-0SsCzn8fFtGJ/agent.33 [2022-10-14T13:09:00.498Z] SSH_AGENT_PID=39 [2022-10-14T13:09:00.504Z] Running ssh-add (command line suppressed) [2022-10-14T13:09:00.624Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_5780994851210615008.key (/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_5780994851210615008.key) [2022-10-14T13:09:00.638Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-14T13:09:00.971Z] + git tag --points-at HEAD [Pipeline] } [2022-10-14T13:09:00.994Z] $ docker exec --env ******** --env ******** f31f602f8dd0fe5de14f7df95afe63edfe19c2cdcfda38b881a193a7cf733e99 ssh-agent -k [2022-10-14T13:09:01.101Z] unset SSH_AUTH_SOCK; [2022-10-14T13:09:01.101Z] unset SSH_AGENT_PID; [2022-10-14T13:09:01.102Z] echo Agent pid 39 killed; [2022-10-14T13:09:01.111Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-14T13:09:01.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-14T13:09:01.202Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-14T13:09:01.330Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-14T13:09:01.334Z] $ docker exec f31f602f8dd0fe5de14f7df95afe63edfe19c2cdcfda38b881a193a7cf733e99 ssh-agent [2022-10-14T13:09:01.444Z] SSH_AUTH_SOCK=/tmp/ssh-beJvNxP9B6ma/agent.71 [2022-10-14T13:09:01.444Z] SSH_AGENT_PID=77 [2022-10-14T13:09:01.448Z] Running ssh-add (command line suppressed) [2022-10-14T13:09:01.557Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_347949290798861964.key (/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/private_key_347949290798861964.key) [2022-10-14T13:09:01.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-14T13:09:01.902Z] + git semver init [2022-10-14T13:09:02.162Z] 2022-10-14 13:09:02,083 [run_init] DEBUG init version:0.0.0 force:False [2022-10-14T13:09:02.162Z] 2022-10-14 13:09:02,083 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver [2022-10-14T13:09:02.162Z] 2022-10-14 13:09:02,084 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-382/.semver [2022-10-14T13:09:02.162Z] 2022-10-14 13:09:02,084 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-382/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382, universal_newlines=False, shell=None, istream=None) [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,045 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-382/.git/info/exclude [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,045 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 with force:False [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,046 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,049 [execute] INFO git cat-file --batch-check [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,056 [execute] INFO git cat-file --batch [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) [2022-10-14T13:09:03.103Z] 2022-10-14 13:09:03,063 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-382/.semver/PR-382 [2022-10-14T13:09:03.103Z] 0.0.0 [Pipeline] } [2022-10-14T13:09:03.124Z] $ docker exec --env ******** --env ******** f31f602f8dd0fe5de14f7df95afe63edfe19c2cdcfda38b881a193a7cf733e99 ssh-agent -k [2022-10-14T13:09:03.211Z] unset SSH_AUTH_SOCK; [2022-10-14T13:09:03.211Z] unset SSH_AGENT_PID; [2022-10-14T13:09:03.211Z] echo Agent pid 77 killed; [2022-10-14T13:09:03.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-14T13:09:03.629Z] + git semver [Pipeline] } [2022-10-14T13:09:03.914Z] $ docker stop --time=1 f31f602f8dd0fe5de14f7df95afe63edfe19c2cdcfda38b881a193a7cf733e99 [2022-10-14T13:09:05.241Z] $ docker rm -f f31f602f8dd0fe5de14f7df95afe63edfe19c2cdcfda38b881a193a7cf733e99 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:09:05.641Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-14T13:09:05.965Z] Stashed 1 file(s) [Pipeline] echo [2022-10-14T13:09:05.981Z] [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-14T13:09:06.517Z] provisioning config files... [2022-10-14T13:09:06.527Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config12859690970294592355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:09:06.884Z] ---> docker-login.sh [2022-10-14T13:09:06.884Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:09:06.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:09:06.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:09:06.884Z] Configure a credential helper to remove this warning. See [2022-10-14T13:09:06.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:09:06.884Z] [2022-10-14T13:09:06.884Z] Login Succeeded [2022-10-14T13:09:06.884Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:09:06.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:09:06.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:09:06.884Z] Configure a credential helper to remove this warning. See [2022-10-14T13:09:06.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:09:06.884Z] [2022-10-14T13:09:06.884Z] Login Succeeded [2022-10-14T13:09:06.884Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:09:07.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:09:07.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:09:07.144Z] Configure a credential helper to remove this warning. See [2022-10-14T13:09:07.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:09:07.144Z] [2022-10-14T13:09:07.144Z] Login Succeeded [2022-10-14T13:09:07.144Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:09:07.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:09:07.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:09:07.144Z] Configure a credential helper to remove this warning. See [2022-10-14T13:09:07.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:09:07.145Z] [2022-10-14T13:09:07.145Z] Login Succeeded [2022-10-14T13:09:07.145Z] docker.io [2022-10-14T13:09:07.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:09:07.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:09:07.662Z] Configure a credential helper to remove this warning. See [2022-10-14T13:09:07.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:09:07.662Z] [2022-10-14T13:09:07.662Z] Login Succeeded [2022-10-14T13:09:07.662Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:09:07.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-14T13:09:07.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:09:07.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:09:08.004Z] ========================================================= [2022-10-14T13:09:08.004Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-14T13:09:08.004Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:09:08.461Z] + 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-14T13:09:08.461Z] Sending build context to Docker daemon 6.18MB [2022-10-14T13:09:08.461Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:09:08.461Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-14T13:09:08.461Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-14T13:09:08.461Z] 213ec9aee27d: Pulling fs layer [2022-10-14T13:09:08.461Z] 4583459ba037: Pulling fs layer [2022-10-14T13:09:08.461Z] 93c1e223e6f2: Pulling fs layer [2022-10-14T13:09:08.461Z] 53926ce57604: Pulling fs layer [2022-10-14T13:09:08.461Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-14T13:09:08.461Z] 30f14e443154: Pulling fs layer [2022-10-14T13:09:08.461Z] 801331c1e519: Pulling fs layer [2022-10-14T13:09:08.461Z] 99cc6dd402b0: Pulling fs layer [2022-10-14T13:09:08.461Z] 7d9ed39f4882: Pulling fs layer [2022-10-14T13:09:08.461Z] 30f14e443154: Waiting [2022-10-14T13:09:08.461Z] 801331c1e519: Waiting [2022-10-14T13:09:08.461Z] 99cc6dd402b0: Waiting [2022-10-14T13:09:08.461Z] 7d9ed39f4882: Waiting [2022-10-14T13:09:08.461Z] 53926ce57604: Waiting [2022-10-14T13:09:08.461Z] 21b2b0c7a3f4: Waiting [2022-10-14T13:09:08.461Z] 93c1e223e6f2: Download complete [2022-10-14T13:09:08.461Z] 4583459ba037: Verifying Checksum [2022-10-14T13:09:08.461Z] 4583459ba037: Download complete [2022-10-14T13:09:08.461Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-14T13:09:08.461Z] 21b2b0c7a3f4: Download complete [2022-10-14T13:09:08.722Z] 30f14e443154: Download complete [2022-10-14T13:09:08.722Z] 213ec9aee27d: Verifying Checksum [2022-10-14T13:09:08.722Z] 213ec9aee27d: Download complete [2022-10-14T13:09:08.722Z] 801331c1e519: Verifying Checksum [2022-10-14T13:09:08.722Z] 801331c1e519: Download complete [2022-10-14T13:09:08.722Z] 213ec9aee27d: Pull complete [2022-10-14T13:09:08.989Z] 4583459ba037: Pull complete [2022-10-14T13:09:08.989Z] 93c1e223e6f2: Pull complete [2022-10-14T13:09:09.252Z] 7d9ed39f4882: Verifying Checksum [2022-10-14T13:09:09.252Z] 99cc6dd402b0: Verifying Checksum [2022-10-14T13:09:09.252Z] 99cc6dd402b0: Download complete [2022-10-14T13:09:09.513Z] 53926ce57604: Verifying Checksum [2022-10-14T13:09:09.513Z] 53926ce57604: Download complete [2022-10-14T13:09:13.706Z] 53926ce57604: Pull complete [2022-10-14T13:09:13.706Z] 21b2b0c7a3f4: Pull complete [2022-10-14T13:09:13.706Z] 30f14e443154: Pull complete [2022-10-14T13:09:13.706Z] 801331c1e519: Pull complete [2022-10-14T13:09:15.604Z] 99cc6dd402b0: Pull complete [2022-10-14T13:09:16.538Z] 7d9ed39f4882: Pull complete [2022-10-14T13:09:16.538Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-14T13:09:16.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-14T13:09:16.538Z] ---> 1dedd983c030 [2022-10-14T13:09:16.538Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:09:18.444Z] ---> Running in 99b7e15c7a54 [2022-10-14T13:09:18.444Z] Removing intermediate container 99b7e15c7a54 [2022-10-14T13:09:18.444Z] ---> 91fa942fcb8a [2022-10-14T13:09:18.444Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:09:18.444Z] ---> Running in 2e4bd7953051 [2022-10-14T13:09:18.444Z] Removing intermediate container 2e4bd7953051 [2022-10-14T13:09:18.444Z] ---> b19e4b8d2d35 [2022-10-14T13:09:18.444Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:09:18.703Z] ---> Running in f14b03100835 [2022-10-14T13:09:19.270Z] Removing intermediate container f14b03100835 [2022-10-14T13:09:19.270Z] ---> dbc6a285f870 [2022-10-14T13:09:19.270Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-14T13:09:19.270Z] ---> Running in 4104ba4c687b [2022-10-14T13:09:19.530Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:09:20.467Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:09:21.035Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-14T13:09:21.035Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-14T13:09:21.035Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-14T13:09:21.298Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-14T13:09:21.298Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-14T13:09:21.298Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-14T13:09:21.347Z] Still waiting to schedule task [2022-10-14T13:09:21.347Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-14T13:09:21.557Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-14T13:09:21.557Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-14T13:09:21.557Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:09:21.557Z] OK: 217 MiB in 59 packages [2022-10-14T13:09:22.126Z] Removing intermediate container 4104ba4c687b [2022-10-14T13:09:22.126Z] ---> e7339a27041d [2022-10-14T13:09:22.126Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-14T13:09:22.126Z] ---> Running in a003203e03e4 [2022-10-14T13:09:22.126Z] Removing intermediate container a003203e03e4 [2022-10-14T13:09:22.126Z] ---> 5dceb36d8a19 [2022-10-14T13:09:22.126Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-14T13:09:22.385Z] ---> 2924b92addbc [2022-10-14T13:09:22.385Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:09:22.385Z] ---> Running in d1ed5fef26ac [2022-10-14T13:09:48.970Z] Removing intermediate container d1ed5fef26ac [2022-10-14T13:09:48.970Z] ---> 9a311379eb8c [2022-10-14T13:09:48.970Z] Step 10/11 : COPY . . [2022-10-14T13:09:48.970Z] ---> 33952ca6c5fe [2022-10-14T13:09:48.970Z] Step 11/11 : RUN ${MAKE} [2022-10-14T13:09:48.970Z] ---> Running in 3f73966a1551 [2022-10-14T13:09:48.970Z] noop [2022-10-14T13:09:48.970Z] Removing intermediate container 3f73966a1551 [2022-10-14T13:09:48.970Z] ---> 1a9cb0ebd6c4 [2022-10-14T13:09:48.970Z] Successfully built 1a9cb0ebd6c4 [2022-10-14T13:09:48.970Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:09:49.428Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-14T13:09:49.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:09:49.565Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2022-10-14T13:09:49.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-14T13:09:49.949Z] $ docker top dd9499dae774cb86c0a43dbf665d7333e46db65d34b7376505aae565ddfa57f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:09:50.346Z] + go version [2022-10-14T13:09:50.346Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-14T13:09:50.382Z] $ docker stop --time=1 dd9499dae774cb86c0a43dbf665d7333e46db65d34b7376505aae565ddfa57f1 [2022-10-14T13:09:51.667Z] $ docker rm -f dd9499dae774cb86c0a43dbf665d7333e46db65d34b7376505aae565ddfa57f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:09:52.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-14T13:09:52.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:09:52.559Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2022-10-14T13:09:52.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-14T13:09:52.976Z] $ docker top e3175e9002137eb9c4300cea142c117182c8190c4578335097839775c02f4506 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:09:53.371Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-382 [Pipeline] fileExists [Pipeline] sh [2022-10-14T13:09:53.723Z] + make test [2022-10-14T13:09:53.723Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-14T13:09:53.981Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-14T13:10:03.954Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-14T13:10:03.954Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.021s coverage: 47.7% of statements [2022-10-14T13:10:10.554Z] 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-14T13:10:10.554Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-14T13:10:13.836Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-14T13:10:13.836Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-14T13:10:13.836Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-14T13:10:14.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-14T13:10:14.159Z] $ docker stop --time=1 e3175e9002137eb9c4300cea142c117182c8190c4578335097839775c02f4506 [2022-10-14T13:10:15.985Z] $ docker rm -f e3175e9002137eb9c4300cea142c117182c8190c4578335097839775c02f4506 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:10:16.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-14T13:10:16.627Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-14T13:10:17.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-14T13:10:17.597Z] + ls -al . [2022-10-14T13:10:17.597Z] total 188 [2022-10-14T13:10:17.597Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 13:09 . [2022-10-14T13:10:17.597Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:08 .. [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 13:08 .dockerignore [2022-10-14T13:10:17.597Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:10 .git [2022-10-14T13:10:17.597Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:08 .github [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 14 13:08 .gitignore [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:08 .golangci.yml [2022-10-14T13:10:17.597Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:09 .semver [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 14 13:08 Attribution.txt [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 14 13:08 CHANGELOG.md [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 14 13:08 Dockerfile [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:08 GOVERNANCE.md [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 13:08 Jenkinsfile [2022-10-14T13:10:17.597Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:08 LICENSE [2022-10-14T13:10:17.598Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 14 13:08 Makefile [2022-10-14T13:10:17.598Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 13:08 OWNERS.md [2022-10-14T13:10:17.598Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 14 13:08 README.md [2022-10-14T13:10:17.598Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:09 VERSION [2022-10-14T13:10:17.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:08 bin [2022-10-14T13:10:17.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:08 cmd [2022-10-14T13:10:17.598Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 14 13:10 coverage.out [2022-10-14T13:10:17.598Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 14 13:08 go.mod [2022-10-14T13:10:17.598Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 14 13:08 go.sum [2022-10-14T13:10:17.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:08 internal [2022-10-14T13:10:17.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:08 simulator [2022-10-14T13:10:17.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:08 snap [2022-10-14T13:10:17.598Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 14 13:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:10:17.990Z] + 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=c5f598b77e77bd73a577202a05e992d50edf3c45 --label arch=amd64 --label version=0.0.0 . [2022-10-14T13:10:17.991Z] Sending build context to Docker daemon 6.204MB [2022-10-14T13:10:17.991Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:10:17.991Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-14T13:10:17.991Z] ---> 1a9cb0ebd6c4 [2022-10-14T13:10:17.991Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:10:17.991Z] ---> Running in 48d4b24c3378 [2022-10-14T13:10:17.991Z] Removing intermediate container 48d4b24c3378 [2022-10-14T13:10:17.991Z] ---> 7b76f892bd4b [2022-10-14T13:10:17.991Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:10:18.250Z] ---> Running in c7a9c80361cb [2022-10-14T13:10:18.250Z] Removing intermediate container c7a9c80361cb [2022-10-14T13:10:18.250Z] ---> ca46131f4668 [2022-10-14T13:10:18.250Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:10:18.250Z] ---> Running in 814d1119a687 [2022-10-14T13:10:18.818Z] Removing intermediate container 814d1119a687 [2022-10-14T13:10:18.818Z] ---> 4549d285a60b [2022-10-14T13:10:18.818Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-14T13:10:18.818Z] ---> Running in f2b659aaeabd [2022-10-14T13:10:19.077Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:10:20.015Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:10:20.275Z] OK: 217 MiB in 59 packages [2022-10-14T13:10:20.544Z] Removing intermediate container f2b659aaeabd [2022-10-14T13:10:20.544Z] ---> f6e2f485c078 [2022-10-14T13:10:20.544Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-14T13:10:20.544Z] ---> Running in c2da2aef98e1 [2022-10-14T13:10:20.803Z] Removing intermediate container c2da2aef98e1 [2022-10-14T13:10:20.803Z] ---> acf3bb04f3a7 [2022-10-14T13:10:20.803Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-14T13:10:20.803Z] ---> dfdbc58d26a0 [2022-10-14T13:10:20.803Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:10:20.803Z] ---> Running in fc484b7d378f [2022-10-14T13:10:21.777Z] Removing intermediate container fc484b7d378f [2022-10-14T13:10:21.777Z] ---> 51c795fb8462 [2022-10-14T13:10:21.777Z] Step 10/24 : COPY . . [2022-10-14T13:10:22.037Z] ---> a24d52151e0a [2022-10-14T13:10:22.037Z] Step 11/24 : RUN ${MAKE} [2022-10-14T13:10:22.037Z] ---> Running in 0cb2c96f914d [2022-10-14T13:10:22.295Z] 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-14T13:10:44.207Z] Removing intermediate container 0cb2c96f914d [2022-10-14T13:10:44.207Z] ---> 769a7789a5e3 [2022-10-14T13:10:44.207Z] Step 12/24 : FROM alpine:3.14 [2022-10-14T13:10:44.207Z] 3.14: Pulling from library/alpine [2022-10-14T13:10:44.208Z] c7ed990a2339: Pulling fs layer [2022-10-14T13:10:44.208Z] c7ed990a2339: Verifying Checksum [2022-10-14T13:10:44.208Z] c7ed990a2339: Download complete [2022-10-14T13:10:44.208Z] c7ed990a2339: Pull complete [2022-10-14T13:10:44.208Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-14T13:10:44.208Z] Status: Downloaded newer image for alpine:3.14 [2022-10-14T13:10:44.208Z] ---> dd53f409bf0b [2022-10-14T13:10:44.208Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-14T13:10:44.208Z] ---> Running in be02262777e6 [2022-10-14T13:10:44.208Z] Removing intermediate container be02262777e6 [2022-10-14T13:10:44.208Z] ---> 93902a6ec69d [2022-10-14T13:10:44.208Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:10:44.208Z] ---> Running in a2112780e35c [2022-10-14T13:10:44.471Z] Removing intermediate container a2112780e35c [2022-10-14T13:10:44.471Z] ---> b10dc90e310e [2022-10-14T13:10:44.471Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-14T13:10:44.730Z] ---> Running in 77a5a3543bcc [2022-10-14T13:10:44.990Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:10:45.927Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:10:45.927Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-14T13:10:46.185Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-14T13:10:46.185Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-14T13:10:46.185Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-14T13:10:46.443Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-14T13:10:46.443Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-14T13:10:46.443Z] Executing busybox-1.33.1-r8.trigger [2022-10-14T13:10:46.443Z] OK: 8 MiB in 20 packages [2022-10-14T13:10:47.011Z] Removing intermediate container 77a5a3543bcc [2022-10-14T13:10:47.011Z] ---> 98b507ad9491 [2022-10-14T13:10:47.011Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-14T13:10:47.582Z] ---> 9676e700c3f8 [2022-10-14T13:10:47.582Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-14T13:10:47.582Z] ---> a60a055af6a2 [2022-10-14T13:10:47.582Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-14T13:10:47.839Z] ---> 17c769e288f5 [2022-10-14T13:10:47.839Z] Step 19/24 : EXPOSE 59901 [2022-10-14T13:10:47.839Z] ---> Running in e1185509101f [2022-10-14T13:10:47.839Z] Removing intermediate container e1185509101f [2022-10-14T13:10:47.839Z] ---> be3730d1a3aa [2022-10-14T13:10:47.839Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-14T13:10:47.839Z] ---> Running in 662f4b00051d [2022-10-14T13:10:48.099Z] Removing intermediate container 662f4b00051d [2022-10-14T13:10:48.099Z] ---> dfe639de0017 [2022-10-14T13:10:48.099Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-14T13:10:48.099Z] ---> Running in f898d4093708 [2022-10-14T13:10:48.099Z] Removing intermediate container f898d4093708 [2022-10-14T13:10:48.099Z] ---> 19331853a57e [2022-10-14T13:10:48.099Z] Step 22/24 : LABEL arch=amd64 [2022-10-14T13:10:48.099Z] ---> Running in af7dd2331aa0 [2022-10-14T13:10:48.359Z] Removing intermediate container af7dd2331aa0 [2022-10-14T13:10:48.359Z] ---> f6eadf4a06c7 [2022-10-14T13:10:48.359Z] Step 23/24 : LABEL git_sha=c5f598b77e77bd73a577202a05e992d50edf3c45 [2022-10-14T13:10:48.359Z] ---> Running in 3dcec44b8ad5 [2022-10-14T13:10:48.359Z] Removing intermediate container 3dcec44b8ad5 [2022-10-14T13:10:48.359Z] ---> 3189c4604c38 [2022-10-14T13:10:48.359Z] Step 24/24 : LABEL version=0.0.0 [2022-10-14T13:10:48.359Z] ---> Running in f3bb40393f13 [2022-10-14T13:10:48.359Z] Removing intermediate container f3bb40393f13 [2022-10-14T13:10:48.359Z] ---> a3ebc9b1f8cd [2022-10-14T13:10:48.359Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-14T13:10:48.359Z] Successfully built a3ebc9b1f8cd [2022-10-14T13:10:48.359Z] 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-14T13:10:49.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:10:49.173Z] [2022-10-14T13:10:49.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:10:49.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:10:49.539Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-14T13:10:49.539Z] 5eb5b503b376: Pulling fs layer [2022-10-14T13:10:49.539Z] 5c69ac0246d0: Pulling fs layer [2022-10-14T13:10:49.539Z] ec43610c2a17: Pulling fs layer [2022-10-14T13:10:49.539Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-14T13:10:49.539Z] 33b1e0a273af: Pulling fs layer [2022-10-14T13:10:49.539Z] 5d3b04190fa2: Pulling fs layer [2022-10-14T13:10:49.539Z] 2f39f015ded8: Pulling fs layer [2022-10-14T13:10:49.539Z] 3a2ae6a8a46f: Waiting [2022-10-14T13:10:49.539Z] 33b1e0a273af: Waiting [2022-10-14T13:10:49.539Z] 2f39f015ded8: Waiting [2022-10-14T13:10:49.539Z] 5d3b04190fa2: Waiting [2022-10-14T13:10:49.539Z] 5c69ac0246d0: Download complete [2022-10-14T13:10:49.539Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-14T13:10:49.539Z] 3a2ae6a8a46f: Download complete [2022-10-14T13:10:49.539Z] 33b1e0a273af: Verifying Checksum [2022-10-14T13:10:49.539Z] 33b1e0a273af: Download complete [2022-10-14T13:10:49.797Z] 5d3b04190fa2: Download complete [2022-10-14T13:10:49.797Z] ec43610c2a17: Verifying Checksum [2022-10-14T13:10:50.056Z] 5eb5b503b376: Verifying Checksum [2022-10-14T13:10:50.056Z] 5eb5b503b376: Download complete [2022-10-14T13:10:50.627Z] 2f39f015ded8: Verifying Checksum [2022-10-14T13:10:50.627Z] 2f39f015ded8: Download complete [2022-10-14T13:10:51.205Z] 5eb5b503b376: Pull complete [2022-10-14T13:10:51.205Z] 5c69ac0246d0: Pull complete [2022-10-14T13:10:51.782Z] ec43610c2a17: Pull complete [2022-10-14T13:10:51.782Z] 3a2ae6a8a46f: Pull complete [2022-10-14T13:10:52.050Z] 33b1e0a273af: Pull complete [2022-10-14T13:10:52.050Z] 5d3b04190fa2: Pull complete [2022-10-14T13:10:52.911Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7858 in /w/workspace/xfoundry_device-modbus-go_PR-382 [Pipeline] { [Pipeline] ws [2022-10-14T13:10:52.953Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2022-10-14T13:10:53.025Z] Selected Git installation does not exist. Using Default [2022-10-14T13:10:53.025Z] The recommended git tool is: NONE [2022-10-14T13:10:56.231Z] 2f39f015ded8: Pull complete [2022-10-14T13:10:56.491Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-14T13:10:56.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:10:56.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:10:56.697Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2022-10-14T13:10:56.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-14T13:10:58.051Z] using credential edgex-jenkins-ssh [2022-10-14T13:10:58.067Z] Cloning the remote Git repository [2022-10-14T13:10:59.151Z] $ docker top 94244d01d082858204e95fad8345a77d5f5da6d4771ee07ef714d3e53ed4a0af -eo pid,comm [2022-10-14T13:10:58.105Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-10-14T13:10:58.176Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2022-10-14T13:10:58.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-14T13:10:58.314Z] > git --version # timeout=10 [2022-10-14T13:10:58.331Z] > git --version # 'git version 2.25.1' [2022-10-14T13:10:58.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:10:58.386Z] Verifying host key using known hosts file [2022-10-14T13:10:58.648Z] 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-14T13:10:58.661Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:10:59.610Z] ---> job-cost.sh [2022-10-14T13:10:59.610Z] lf-activate-venv: SKIPPING [2022-10-14T13:10:59.610Z] INFO: No Stack... [2022-10-14T13:10:59.873Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-14T13:11:00.134Z] INFO: Archiving Costs [Pipeline] sh [2022-10-14T13:11:00.446Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-382/archives/cost.csv [2022-10-14T13:11:00.446Z] + cut -d, -f6 [Pipeline] lock [2022-10-14T13:11:00.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] [2022-10-14T13:10:59.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-14T13:10:59.810Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-14T13:11:00.495Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] did not exist. Created. [2022-10-14T13:11:00.495Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-14T13:11:00.879Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-14T13:11:00.924Z] Stashed 1 file(s) [Pipeline] } [2022-10-14T13:11:00.959Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-14T13:11:01.044Z] $ docker stop --time=1 94244d01d082858204e95fad8345a77d5f5da6d4771ee07ef714d3e53ed4a0af [2022-10-14T13:11:01.399Z] Merging remotes/origin/main commit dc9c57eb5fcf9d56daa39b489e9deb9211134340 into PR head commit c5f598b77e77bd73a577202a05e992d50edf3c45 [2022-10-14T13:11:01.632Z] Merge succeeded, producing c5f598b77e77bd73a577202a05e992d50edf3c45 [2022-10-14T13:11:01.632Z] Checking out Revision c5f598b77e77bd73a577202a05e992d50edf3c45 (PR-382) [2022-10-14T13:11:00.659Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-10-14T13:11:00.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-10-14T13:11:00.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:11:00.702Z] Verifying host key using known hosts file [2022-10-14T13:11:00.709Z] 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-14T13:11:00.720Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-14T13:11:01.413Z] > git config core.sparsecheckout # timeout=10 [2022-10-14T13:11:01.437Z] > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 [2022-10-14T13:11:01.519Z] > git remote # timeout=10 [2022-10-14T13:11:01.537Z] > git config --get remote.origin.url # timeout=10 [2022-10-14T13:11:01.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:11:01.560Z] Verifying host key using known hosts file [2022-10-14T13:11:01.565Z] 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-14T13:11:01.576Z] > git merge dc9c57eb5fcf9d56daa39b489e9deb9211134340 # timeout=10 [2022-10-14T13:11:01.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-14T13:11:01.634Z] > git config core.sparsecheckout # timeout=10 [2022-10-14T13:11:01.653Z] > git checkout -f c5f598b77e77bd73a577202a05e992d50edf3c45 # timeout=10 [2022-10-14T13:11:02.187Z] $ docker rm -f 94244d01d082858204e95fad8345a77d5f5da6d4771ee07ef714d3e53ed4a0af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-14T13:11:05.139Z] Commit message: "feat(snap): add config interface with unique identifier" [2022-10-14T13:11:05.184Z] > git --version # timeout=10 [2022-10-14T13:11:05.197Z] > git --version # 'git version 2.25.1' [2022-10-14T13:11:05.226Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:11:06.281Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-14T13:11:06.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-14T13:11:06.281Z] Dload Upload Total Spent Left Speed [2022-10-14T13:11:06.281Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 83456 0 --:--:-- --:--:-- --:--:-- 84013 [Pipeline] sh [2022-10-14T13:11:06.985Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-14T13:11:07.335Z] + sudo tee /etc/docker/daemon.new [2022-10-14T13:11:07.335Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-14T13:11:07.335Z] { [2022-10-14T13:11:07.335Z] "registry-mirrors": [ [2022-10-14T13:11:07.335Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-14T13:11:07.335Z] ], [2022-10-14T13:11:07.335Z] "bip": "10.250.0.254/24", [2022-10-14T13:11:07.335Z] "hosts": [ [2022-10-14T13:11:07.335Z] "tcp://0.0.0.0:5555", [2022-10-14T13:11:07.335Z] "unix:///var/run/docker.sock" [2022-10-14T13:11:07.335Z] ], [2022-10-14T13:11:07.335Z] "mtu": 1458, [2022-10-14T13:11:07.335Z] "selinux-enabled": true, [2022-10-14T13:11:07.335Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-14T13:11:07.335Z] } [Pipeline] sh [2022-10-14T13:11:07.686Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-14T13:11:08.032Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:11:26.343Z] provisioning config files... [2022-10-14T13:11:26.371Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4668305147118595475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:11:26.752Z] ---> docker-login.sh [2022-10-14T13:11:26.752Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:11:27.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:11:27.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:11:27.340Z] Configure a credential helper to remove this warning. See [2022-10-14T13:11:27.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:11:27.340Z] [2022-10-14T13:11:27.340Z] Login Succeeded [2022-10-14T13:11:27.340Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:11:27.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:11:27.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:11:27.882Z] Configure a credential helper to remove this warning. See [2022-10-14T13:11:27.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:11:27.882Z] [2022-10-14T13:11:27.882Z] Login Succeeded [2022-10-14T13:11:27.882Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:11:27.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:11:28.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:11:28.151Z] Configure a credential helper to remove this warning. See [2022-10-14T13:11:28.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:11:28.151Z] [2022-10-14T13:11:28.151Z] Login Succeeded [2022-10-14T13:11:28.151Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:11:28.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:11:28.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:11:28.422Z] Configure a credential helper to remove this warning. See [2022-10-14T13:11:28.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:11:28.422Z] [2022-10-14T13:11:28.422Z] Login Succeeded [2022-10-14T13:11:28.422Z] docker.io [2022-10-14T13:11:28.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:11:28.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:11:28.954Z] Configure a credential helper to remove this warning. See [2022-10-14T13:11:28.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:11:28.954Z] [2022-10-14T13:11:28.954Z] Login Succeeded [2022-10-14T13:11:28.954Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:11:28.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-14T13:11:29.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:11:29.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:11:29.318Z] ========================================================= [2022-10-14T13:11:29.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-14T13:11:29.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:11:29.811Z] + 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-14T13:11:30.080Z] Sending build context to Docker daemon 3.215MB [2022-10-14T13:11:30.080Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:11:30.080Z] Step 2/11 : FROM ${BASE} AS builder [2022-10-14T13:11:30.350Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-14T13:11:30.351Z] 9b18e9b68314: Pulling fs layer [2022-10-14T13:11:30.351Z] d32db5db7311: Pulling fs layer [2022-10-14T13:11:30.351Z] d0c4b47475fc: Pulling fs layer [2022-10-14T13:11:30.351Z] 5831b945b038: Pulling fs layer [2022-10-14T13:11:30.351Z] 86bbec2aaacd: Pulling fs layer [2022-10-14T13:11:30.351Z] 5831b945b038: Waiting [2022-10-14T13:11:30.351Z] e10730c5d714: Pulling fs layer [2022-10-14T13:11:30.351Z] 5dd5c2283517: Pulling fs layer [2022-10-14T13:11:30.351Z] d5ac0230b979: Pulling fs layer [2022-10-14T13:11:30.351Z] 86bbec2aaacd: Waiting [2022-10-14T13:11:30.351Z] e10730c5d714: Waiting [2022-10-14T13:11:30.351Z] 5dd5c2283517: Waiting [2022-10-14T13:11:30.351Z] d5ac0230b979: Waiting [2022-10-14T13:11:30.351Z] d0c4b47475fc: Download complete [2022-10-14T13:11:30.351Z] d32db5db7311: Verifying Checksum [2022-10-14T13:11:30.351Z] d32db5db7311: Download complete [2022-10-14T13:11:30.351Z] 86bbec2aaacd: Verifying Checksum [2022-10-14T13:11:30.351Z] 86bbec2aaacd: Download complete [2022-10-14T13:11:30.351Z] e10730c5d714: Verifying Checksum [2022-10-14T13:11:30.351Z] e10730c5d714: Download complete [2022-10-14T13:11:30.351Z] 9b18e9b68314: Verifying Checksum [2022-10-14T13:11:30.351Z] 9b18e9b68314: Download complete [2022-10-14T13:11:31.330Z] 9b18e9b68314: Pull complete [2022-10-14T13:11:31.330Z] d5ac0230b979: Verifying Checksum [2022-10-14T13:11:31.330Z] d5ac0230b979: Download complete [2022-10-14T13:11:31.919Z] d32db5db7311: Pull complete [2022-10-14T13:11:32.191Z] d0c4b47475fc: Pull complete [2022-10-14T13:11:32.463Z] 5dd5c2283517: Verifying Checksum [2022-10-14T13:11:32.463Z] 5dd5c2283517: Download complete [2022-10-14T13:11:33.052Z] 5831b945b038: Verifying Checksum [2022-10-14T13:11:33.052Z] 5831b945b038: Download complete [2022-10-14T13:11:45.379Z] 5831b945b038: Pull complete [2022-10-14T13:11:45.379Z] 86bbec2aaacd: Pull complete [2022-10-14T13:11:45.379Z] e10730c5d714: Pull complete [2022-10-14T13:11:52.035Z] 5dd5c2283517: Pull complete [2022-10-14T13:11:53.458Z] d5ac0230b979: Pull complete [2022-10-14T13:11:53.458Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-14T13:11:53.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-14T13:11:53.458Z] ---> 59b3b1a385d4 [2022-10-14T13:11:53.458Z] Step 3/11 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:11:55.434Z] ---> Running in d20dc6bb469f [2022-10-14T13:11:55.434Z] Removing intermediate container d20dc6bb469f [2022-10-14T13:11:55.434Z] ---> 927ee0ffcabf [2022-10-14T13:11:55.434Z] Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:11:55.434Z] ---> Running in 502153aae62c [2022-10-14T13:11:55.706Z] Removing intermediate container 502153aae62c [2022-10-14T13:11:55.706Z] ---> a570dc3fdec6 [2022-10-14T13:11:55.706Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:11:55.976Z] ---> Running in 49b247302599 [2022-10-14T13:11:57.928Z] Removing intermediate container 49b247302599 [2022-10-14T13:11:57.928Z] ---> f2eb89c8f949 [2022-10-14T13:11:57.928Z] Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-14T13:11:57.928Z] ---> Running in 89a93642835b [2022-10-14T13:11:58.514Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:11:59.474Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:12:00.440Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-10-14T13:12:00.709Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-10-14T13:12:00.709Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-10-14T13:12:00.975Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-10-14T13:12:00.975Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-10-14T13:12:00.975Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-10-14T13:12:01.242Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-10-14T13:12:01.242Z] (8/8) Installing openssh (9.0_p1-r2) [2022-10-14T13:12:01.242Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:12:01.516Z] OK: 228 MiB in 59 packages [2022-10-14T13:12:02.479Z] Removing intermediate container 89a93642835b [2022-10-14T13:12:02.479Z] ---> b351fa6de65a [2022-10-14T13:12:02.479Z] Step 7/11 : WORKDIR /device-modbus-go [2022-10-14T13:12:02.479Z] ---> Running in 25fb72ae9b77 [2022-10-14T13:12:02.746Z] Removing intermediate container 25fb72ae9b77 [2022-10-14T13:12:02.746Z] ---> daa75fb36408 [2022-10-14T13:12:02.746Z] Step 8/11 : COPY go.mod vendor* ./ [2022-10-14T13:12:03.331Z] ---> 746ca615b72d [2022-10-14T13:12:03.331Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:12:03.331Z] ---> Running in cce1e5b1099b [2022-10-14T13:12:50.215Z] Removing intermediate container cce1e5b1099b [2022-10-14T13:12:50.215Z] ---> b71fbdc7298d [2022-10-14T13:12:50.215Z] Step 10/11 : COPY . . [2022-10-14T13:12:51.179Z] ---> c91dc0908a87 [2022-10-14T13:12:51.179Z] Step 11/11 : RUN ${MAKE} [2022-10-14T13:12:51.179Z] ---> Running in 7e66d86eab3f [2022-10-14T13:12:52.149Z] noop [2022-10-14T13:12:52.733Z] Removing intermediate container 7e66d86eab3f [2022-10-14T13:12:52.733Z] ---> 7c0762ece659 [2022-10-14T13:12:52.733Z] Successfully built 7c0762ece659 [2022-10-14T13:12:52.733Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:12:53.233Z] + docker inspect -f . ci-base-image-arm64 [2022-10-14T13:12:53.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:12:53.483Z] prd-ubuntu20.04-docker-arm64-4c-16g-7858 does not seem to be running inside a container [2022-10-14T13:12:53.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-14T13:12:54.742Z] $ docker top bf6e820decbb3fdc56044e5ef0811f8d815a9731d8c6e317d327a7cbe05789a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:12:55.614Z] + go version [2022-10-14T13:12:55.615Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-14T13:12:55.658Z] $ docker stop --time=1 bf6e820decbb3fdc56044e5ef0811f8d815a9731d8c6e317d327a7cbe05789a1 [2022-10-14T13:12:57.281Z] $ docker rm -f bf6e820decbb3fdc56044e5ef0811f8d815a9731d8c6e317d327a7cbe05789a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:12:58.103Z] + docker inspect -f . ci-base-image-arm64 [2022-10-14T13:12:58.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:12:58.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-7858 does not seem to be running inside a container [2022-10-14T13:12:58.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-14T13:13:00.793Z] $ docker top a4f58db0c0089758832975efdd459952e164bf4ce216e95131b6beca60007719 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:13:01.346Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-14T13:13:02.315Z] + make test [2022-10-14T13:13:02.315Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-14T13:13:03.726Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-10-14T13:14:25.400Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-10-14T13:14:25.400Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.7% of statements [2022-10-14T13:14:25.400Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-14T13:14:25.400Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-14T13:14:43.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-14T13:14:43.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-14T13:14:43.619Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-14T13:14:43.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-14T13:14:43.697Z] $ docker stop --time=1 a4f58db0c0089758832975efdd459952e164bf4ce216e95131b6beca60007719 [2022-10-14T13:14:45.448Z] $ docker rm -f a4f58db0c0089758832975efdd459952e164bf4ce216e95131b6beca60007719 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:14:46.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-14T13:14:46.426Z] Warning: overwriting stash ‘coverage-report’ [2022-10-14T13:14:46.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:14:47.392Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-14T13:14:47.730Z] + ls -al . [2022-10-14T13:14:47.730Z] total 184 [2022-10-14T13:14:47.730Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 13:13 . [2022-10-14T13:14:47.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:10 .. [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 13:11 .dockerignore [2022-10-14T13:14:47.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:11 .git [2022-10-14T13:14:47.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:11 .github [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 331 Oct 14 13:11 .gitignore [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:11 .golangci.yml [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 10121 Oct 14 13:11 Attribution.txt [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 10001 Oct 14 13:11 CHANGELOG.md [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 1606 Oct 14 13:11 Dockerfile [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:11 GOVERNANCE.md [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 13:11 Jenkinsfile [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:11 LICENSE [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 2101 Oct 14 13:11 Makefile [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 622 Oct 14 13:11 OWNERS.md [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 4061 Oct 14 13:11 README.md [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:09 VERSION [2022-10-14T13:14:47.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:11 bin [2022-10-14T13:14:47.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:11 cmd [2022-10-14T13:14:47.730Z] -rw-r--r-- 1 jenkins jenkins 23241 Oct 14 13:14 coverage.out [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 3643 Oct 14 13:11 go.mod [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 38288 Oct 14 13:11 go.sum [2022-10-14T13:14:47.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:11 internal [2022-10-14T13:14:47.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:11 simulator [2022-10-14T13:14:47.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:11 snap [2022-10-14T13:14:47.730Z] -rw-rw-r-- 1 jenkins jenkins 229 Oct 14 13:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:14:48.209Z] + 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=c5f598b77e77bd73a577202a05e992d50edf3c45 --label arch=arm64 --label version=0.0.0 . [2022-10-14T13:14:48.483Z] Sending build context to Docker daemon 3.239MB [2022-10-14T13:14:48.483Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:14:48.483Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-14T13:14:48.483Z] ---> 7c0762ece659 [2022-10-14T13:14:48.483Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:14:48.769Z] ---> Running in 39358822ecba [2022-10-14T13:14:49.043Z] Removing intermediate container 39358822ecba [2022-10-14T13:14:49.043Z] ---> 902d8c930ce0 [2022-10-14T13:14:49.043Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:14:49.043Z] ---> Running in bb11b840b925 [2022-10-14T13:14:49.320Z] Removing intermediate container bb11b840b925 [2022-10-14T13:14:49.320Z] ---> 706dc32c5027 [2022-10-14T13:14:49.320Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:14:49.320Z] ---> Running in c12d0242cf91 [2022-10-14T13:14:51.302Z] Removing intermediate container c12d0242cf91 [2022-10-14T13:14:51.302Z] ---> 7ea67a58fcd9 [2022-10-14T13:14:51.302Z] Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-10-14T13:14:51.302Z] ---> Running in 6ce318229792 [2022-10-14T13:14:51.886Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:14:52.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:14:53.803Z] OK: 228 MiB in 59 packages [2022-10-14T13:14:54.395Z] Removing intermediate container 6ce318229792 [2022-10-14T13:14:54.395Z] ---> 5eda3d7fda0d [2022-10-14T13:14:54.395Z] Step 7/24 : WORKDIR /device-modbus-go [2022-10-14T13:14:54.662Z] ---> Running in c00d5ee0284b [2022-10-14T13:14:54.928Z] Removing intermediate container c00d5ee0284b [2022-10-14T13:14:54.928Z] ---> fa6d202a1ec3 [2022-10-14T13:14:54.928Z] Step 8/24 : COPY go.mod vendor* ./ [2022-10-14T13:14:55.196Z] ---> 54dcdd246e94 [2022-10-14T13:14:55.196Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:14:55.465Z] ---> Running in 0295dc43a040 [2022-10-14T13:14:58.058Z] Removing intermediate container 0295dc43a040 [2022-10-14T13:14:58.058Z] ---> cffb3cd6a10d [2022-10-14T13:14:58.058Z] Step 10/24 : COPY . . [2022-10-14T13:14:58.644Z] ---> 02f2e121bf99 [2022-10-14T13:14:58.644Z] Step 11/24 : RUN ${MAKE} [2022-10-14T13:14:58.644Z] ---> Running in 84b52079e491 [2022-10-14T13:14:59.602Z] 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-14T13:17:36.349Z] Removing intermediate container 84b52079e491 [2022-10-14T13:17:36.349Z] ---> 268dc698efc8 [2022-10-14T13:17:36.349Z] Step 12/24 : FROM alpine:3.14 [2022-10-14T13:17:36.349Z] 3.14: Pulling from library/alpine [2022-10-14T13:17:36.349Z] 90cda3b7c325: Pulling fs layer [2022-10-14T13:17:36.349Z] 90cda3b7c325: Verifying Checksum [2022-10-14T13:17:36.349Z] 90cda3b7c325: Pull complete [2022-10-14T13:17:36.349Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-14T13:17:36.349Z] Status: Downloaded newer image for alpine:3.14 [2022-10-14T13:17:36.349Z] ---> 376ba31ae3da [2022-10-14T13:17:36.349Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-10-14T13:17:36.349Z] ---> Running in 02dcc80bfc57 [2022-10-14T13:17:36.349Z] Removing intermediate container 02dcc80bfc57 [2022-10-14T13:17:36.349Z] ---> 28790e1ae3bb [2022-10-14T13:17:36.349Z] Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:17:36.349Z] ---> Running in 6ae1f3ac7cc7 [2022-10-14T13:17:36.349Z] Removing intermediate container 6ae1f3ac7cc7 [2022-10-14T13:17:36.349Z] ---> e6e32a0d2b35 [2022-10-14T13:17:36.349Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-14T13:17:36.349Z] ---> Running in fafc3cbf0496 [2022-10-14T13:17:36.349Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:17:36.349Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:17:36.349Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-14T13:17:36.349Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-10-14T13:17:36.349Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-14T13:17:36.349Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-14T13:17:36.349Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-14T13:17:36.350Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-14T13:17:36.350Z] Executing busybox-1.33.1-r8.trigger [2022-10-14T13:17:36.350Z] OK: 8 MiB in 20 packages [2022-10-14T13:17:36.350Z] Removing intermediate container fafc3cbf0496 [2022-10-14T13:17:36.350Z] ---> 24d629777224 [2022-10-14T13:17:36.350Z] Step 16/24 : COPY --from=builder /device-modbus-go/cmd / [2022-10-14T13:17:37.309Z] ---> 5f48eb03a0e0 [2022-10-14T13:17:37.309Z] Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / [2022-10-14T13:17:37.578Z] ---> 823bac89c98e [2022-10-14T13:17:37.578Z] Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-10-14T13:17:38.160Z] ---> 25fdbedf6f86 [2022-10-14T13:17:38.160Z] Step 19/24 : EXPOSE 59901 [2022-10-14T13:17:38.160Z] ---> Running in 2ef49087d10c [2022-10-14T13:17:38.425Z] Removing intermediate container 2ef49087d10c [2022-10-14T13:17:38.425Z] ---> 68a6abd1f4d6 [2022-10-14T13:17:38.425Z] Step 20/24 : ENTRYPOINT ["/device-modbus"] [2022-10-14T13:17:38.425Z] ---> Running in 9b5593af33e6 [2022-10-14T13:17:38.692Z] Removing intermediate container 9b5593af33e6 [2022-10-14T13:17:38.692Z] ---> 6b9a845a9779 [2022-10-14T13:17:38.692Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-14T13:17:38.961Z] ---> Running in 4edf17968350 [2022-10-14T13:17:39.227Z] Removing intermediate container 4edf17968350 [2022-10-14T13:17:39.227Z] ---> 15b5fbe3e5a7 [2022-10-14T13:17:39.227Z] Step 22/24 : LABEL arch=arm64 [2022-10-14T13:17:39.227Z] ---> Running in ed07dee7dcb4 [2022-10-14T13:17:39.493Z] Removing intermediate container ed07dee7dcb4 [2022-10-14T13:17:39.493Z] ---> d80aa77e75f3 [2022-10-14T13:17:39.493Z] Step 23/24 : LABEL git_sha=c5f598b77e77bd73a577202a05e992d50edf3c45 [2022-10-14T13:17:39.493Z] ---> Running in c18351f8f887 [2022-10-14T13:17:39.764Z] Removing intermediate container c18351f8f887 [2022-10-14T13:17:39.764Z] ---> f5322e2b1acb [2022-10-14T13:17:39.764Z] Step 24/24 : LABEL version=0.0.0 [2022-10-14T13:17:40.032Z] ---> Running in 1df4965bd542 [2022-10-14T13:17:40.298Z] Removing intermediate container 1df4965bd542 [2022-10-14T13:17:40.298Z] ---> abf3a7e34d6a [2022-10-14T13:17:40.298Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-14T13:17:40.298Z] Successfully built abf3a7e34d6a [2022-10-14T13:17:40.298Z] 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-14T13:17:41.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:17:41.088Z] [2022-10-14T13:17:41.088Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:17:41.496Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:17:41.496Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-14T13:17:41.496Z] 8998bd30e6a1: Pulling fs layer [2022-10-14T13:17:41.496Z] 04944245beec: Pulling fs layer [2022-10-14T13:17:41.496Z] 699f458cf7ca: Pulling fs layer [2022-10-14T13:17:41.496Z] 765212b225bb: Pulling fs layer [2022-10-14T13:17:41.496Z] f23df028b6ca: Pulling fs layer [2022-10-14T13:17:41.496Z] d65c8cfc05b1: Pulling fs layer [2022-10-14T13:17:41.496Z] 2437ff75d9bd: Pulling fs layer [2022-10-14T13:17:41.496Z] f23df028b6ca: Waiting [2022-10-14T13:17:41.496Z] d65c8cfc05b1: Waiting [2022-10-14T13:17:41.496Z] 2437ff75d9bd: Waiting [2022-10-14T13:17:41.496Z] 765212b225bb: Waiting [2022-10-14T13:17:41.766Z] 04944245beec: Verifying Checksum [2022-10-14T13:17:41.766Z] 04944245beec: Download complete [2022-10-14T13:17:41.766Z] 765212b225bb: Verifying Checksum [2022-10-14T13:17:41.766Z] 765212b225bb: Download complete [2022-10-14T13:17:41.766Z] f23df028b6ca: Verifying Checksum [2022-10-14T13:17:41.766Z] f23df028b6ca: Download complete [2022-10-14T13:17:41.766Z] d65c8cfc05b1: Verifying Checksum [2022-10-14T13:17:41.766Z] d65c8cfc05b1: Download complete [2022-10-14T13:17:42.035Z] 699f458cf7ca: Verifying Checksum [2022-10-14T13:17:42.035Z] 699f458cf7ca: Download complete [2022-10-14T13:17:42.304Z] 8998bd30e6a1: Verifying Checksum [2022-10-14T13:17:42.304Z] 8998bd30e6a1: Download complete [2022-10-14T13:17:44.244Z] 2437ff75d9bd: Download complete [2022-10-14T13:17:46.187Z] 8998bd30e6a1: Pull complete [2022-10-14T13:17:46.769Z] 04944245beec: Pull complete [2022-10-14T13:17:48.175Z] 699f458cf7ca: Pull complete [2022-10-14T13:17:48.175Z] 765212b225bb: Pull complete [2022-10-14T13:17:48.760Z] f23df028b6ca: Pull complete [2022-10-14T13:17:49.030Z] d65c8cfc05b1: Pull complete [2022-10-14T13:18:04.020Z] 2437ff75d9bd: Pull complete [2022-10-14T13:18:04.020Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-14T13:18:04.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:18:04.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:18:04.321Z] prd-ubuntu20.04-docker-arm64-4c-16g-7858 does not seem to be running inside a container [2022-10-14T13:18:04.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-14T13:18:06.883Z] $ docker top faa2f9be85496c31939b4fedf15ac363c2572872207f225f8c35828a270e53af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:07.771Z] ---> job-cost.sh [2022-10-14T13:18:07.771Z] lf-activate-venv: SKIPPING [2022-10-14T13:18:07.771Z] INFO: No Stack... [2022-10-14T13:18:08.039Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-14T13:18:09.000Z] INFO: Archiving Costs [Pipeline] sh [2022-10-14T13:18:09.339Z] + cut -d, -f6 [2022-10-14T13:18:09.339Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2022-10-14T13:18:09.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] [2022-10-14T13:18:09.704Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] did not exist. Created. [2022-10-14T13:18:09.704Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-14T13:18:10.117Z] /w/workspace/device-modbus-go/1@tmp/durable-5f33e42f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-14T13:18:10.811Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-14T13:18:10.851Z] Warning: overwriting stash ‘stack-cost’ [2022-10-14T13:18:10.897Z] Stashed 1 file(s) [Pipeline] } [2022-10-14T13:18:10.912Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-14T13:18:10.993Z] $ docker stop --time=1 faa2f9be85496c31939b4fedf15ac363c2572872207f225f8c35828a270e53af [2022-10-14T13:18:12.467Z] $ docker rm -f faa2f9be85496c31939b4fedf15ac363c2572872207f225f8c35828a270e53af [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-14T13:18:13.480Z] provisioning config files... [2022-10-14T13:18:13.493Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config9623992851241697813tmp [Pipeline] { [Pipeline] sh [2022-10-14T13:18:13.812Z] + set +x [2022-10-14T13:18:13.812Z] + bash -s -- [2022-10-14T13:18:13.812Z] + curl -s https://codecov.io/bash [2022-10-14T13:18:13.812Z] [2022-10-14T13:18:13.812Z] _____ _ [2022-10-14T13:18:13.812Z] / ____| | | [2022-10-14T13:18:13.812Z] | | ___ __| | ___ ___ _____ __ [2022-10-14T13:18:13.812Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-14T13:18:13.812Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-14T13:18:13.812Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-14T13:18:13.812Z] Bash-1.0.6 [2022-10-14T13:18:13.812Z] [2022-10-14T13:18:13.812Z] [2022-10-14T13:18:13.812Z] ==> git version 2.25.1 found [2022-10-14T13:18:13.812Z] ==> 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-14T13:18:13.812Z] Release-Date: 2020-01-08 [2022-10-14T13:18:13.812Z] 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-14T13:18:13.812Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-14T13:18:13.812Z] ==> Jenkins CI detected. [2022-10-14T13:18:13.812Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-382 [2022-10-14T13:18:13.812Z] project root: . [2022-10-14T13:18:13.812Z] --> token set from env [2022-10-14T13:18:13.812Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-14T13:18:14.073Z] ==> Running gcov in . (disable via -X gcov) [2022-10-14T13:18:14.073Z] ==> Python coveragepy not found [2022-10-14T13:18:14.073Z] ==> Searching for coverage reports in: [2022-10-14T13:18:14.073Z] + . [2022-10-14T13:18:14.073Z] -> Found 1 reports [2022-10-14T13:18:14.073Z] ==> Detecting git/mercurial file structure [2022-10-14T13:18:14.073Z] ==> Reading reports [2022-10-14T13:18:14.073Z] + ./coverage.out bytes=23241 [2022-10-14T13:18:14.073Z] ==> Appending adjustments [2022-10-14T13:18:14.073Z] https://docs.codecov.io/docs/fixing-reports [2022-10-14T13:18:14.073Z] + Found adjustments [2022-10-14T13:18:14.073Z] ==> Gzipping contents [2022-10-14T13:18:14.073Z] 4.0K /tmp/codecov.snWKA4.gz [2022-10-14T13:18:14.073Z] ==> Uploading reports [2022-10-14T13:18:14.073Z] url: https://codecov.io [2022-10-14T13:18:14.073Z] query: branch=PR-382&commit=c5f598b77e77bd73a577202a05e992d50edf3c45&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-382%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=382&job=&cmd_args= [2022-10-14T13:18:14.073Z] -> Pinging Codecov [2022-10-14T13:18:14.073Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-382&commit=c5f598b77e77bd73a577202a05e992d50edf3c45&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-382%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=382&job=&cmd_args= [2022-10-14T13:18:14.672Z] -> Uploading to [2022-10-14T13:18:14.673Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-14/55DBCA73C666E3227836607328DD7E49/c5f598b77e77bd73a577202a05e992d50edf3c45/bd99ced7-0c41-48e8-9d7e-fcb68f53c7b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221014T131814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b1f758e7585f7e70a2e63298360b4848d01ce79cd0a9e4c88679ad0041f61963 [2022-10-14T13:18:14.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-14T13:18:14.673Z] Dload Upload Total Spent Left Speed [2022-10-14T13:18:14.673Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3904 0 0 100 3904 0 19231 --:--:-- --:--:-- --:--:-- 19137 100 3904 0 0 100 3904 0 16403 --:--:-- --:--:-- --:--:-- 16334 [2022-10-14T13:18:14.673Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c5f598b77e77bd73a577202a05e992d50edf3c45 [Pipeline] } [2022-10-14T13:18:14.703Z] 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-14T13:18:16.477Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-382/archives ] [2022-10-14T13:18:16.477Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-382/archives [2022-10-14T13:18:16.477Z] total 16 [2022-10-14T13:18:16.477Z] drwxr-xr-x 3 root root 4096 Oct 14 13:11 . [2022-10-14T13:18:16.477Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 13:11 .. [2022-10-14T13:18:16.477Z] drwxr-xr-x 2 root root 4096 Oct 14 13:11 cost [2022-10-14T13:18:16.477Z] -rw-r--r-- 1 root root 88 Oct 14 13:11 cost.csv [2022-10-14T13:18:16.477Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-382/archives [2022-10-14T13:18:16.477Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-382/archives [2022-10-14T13:18:16.477Z] total 16 [2022-10-14T13:18:16.477Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:11 . [2022-10-14T13:18:16.477Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 14 13:11 .. [2022-10-14T13:18:16.477Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 13:11 cost [2022-10-14T13:18:16.477Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 14 13:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:16.808Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:17.704Z] ---> package-listing.sh [2022-10-14T13:18:17.704Z] ++ facter osfamily [2022-10-14T13:18:17.704Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-14T13:18:17.969Z] + OS_FAMILY=debian [2022-10-14T13:18:17.969Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-382 [2022-10-14T13:18:17.969Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-14T13:18:17.969Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-14T13:18:17.969Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-14T13:18:17.969Z] + PACKAGES=/tmp/packages_start.txt [2022-10-14T13:18:17.969Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-382 ']' [2022-10-14T13:18:17.969Z] + PACKAGES=/tmp/packages_end.txt [2022-10-14T13:18:17.969Z] + case "${OS_FAMILY}" in [2022-10-14T13:18:17.969Z] + dpkg -l [2022-10-14T13:18:17.969Z] + grep '^ii' [2022-10-14T13:18:17.969Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-14T13:18:17.969Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-14T13:18:17.969Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-14T13:18:17.969Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-382 ']' [2022-10-14T13:18:17.969Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-382/archives/ [2022-10-14T13:18:17.969Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-382/archives/ [Pipeline] echo [2022-10-14T13:18:18.001Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-14T13:18:18.296Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:18:18.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:18:18.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:18:19.071Z] prd-ubuntu20.04-docker-8c-8g-7857 does not seem to be running inside a container [2022-10-14T13:18:19.106Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-382 -v /w/workspace/xfoundry_device-modbus-go_PR-382:/w/workspace/xfoundry_device-modbus-go_PR-382:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-382@tmp:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-14T13:18:19.300Z] $ docker top 45123f868c5b3a14ebabe953243b9e83af69b92cfde126bf7be30a94145f2f57 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:18:19.697Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-14T13:18:20.003Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-14T13:18:20.310Z] + ls /var/log/sa-host [2022-10-14T13:18:20.310Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:18:20.509Z] provisioning config files... [2022-10-14T13:18:20.517Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-382@tmp/config17957518630540743857tmp [Pipeline] { [Pipeline] echo [2022-10-14T13:18:20.586Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:20.893Z] ---> create-netrc.sh [Pipeline] } [2022-10-14T13:18:20.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:21.328Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-14T13:18:21.359Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:21.668Z] ---> sudo-logs.sh [2022-10-14T13:18:21.668Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-14T13:18:21.759Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:22.067Z] ---> job-cost.sh [2022-10-14T13:18:22.067Z] lf-activate-venv: SKIPPING [2022-10-14T13:18:22.067Z] DEBUG: total: 0.2199999988079071 [2022-10-14T13:18:22.067Z] INFO: Retrieving Stack Cost... [2022-10-14T13:18:22.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-14T13:18:22.893Z] INFO: Archiving Costs [Pipeline] echo [2022-10-14T13:18:22.925Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:18:23.231Z] ---> logs-deploy.sh [2022-10-14T13:18:23.231Z] lf-activate-venv: SKIPPING [2022-10-14T13:18:23.231Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-382/1 [2022-10-14T13:18:23.231Z] INFO: archiving workspace using pattern(s): [2022-10-14T13:18:24.172Z] Archives upload complete. [2022-10-14T13:18:24.172Z] INFO: archiving logs to Nexus