Pull request #456 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 lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 07c1a647140f71fdfdeaaee3b7136732308ddaac+55987cd457f5f1a930ff560b78c1acf5044fc241 (4b2aae3e11fcbdbdc9909d1d29b19008a411a88e) 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-ssh11539942629503493730.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12975168125663659844.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-456/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-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12765819469276360480.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12204172777386686815.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13273357494540617220.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-456/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-456/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10577916438582667628.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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-8750 in /w/workspace/xfoundry_device-modbus-go_PR-456 [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-456 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55987cd457f5f1a930ff560b78c1acf5044fc241 into PR head commit 07c1a647140f71fdfdeaaee3b7136732308ddaac Merge succeeded, producing 07c1a647140f71fdfdeaaee3b7136732308ddaac Checking out Revision 07c1a647140f71fdfdeaaee3b7136732308ddaac (PR-456) > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07c1a647140f71fdfdeaaee3b7136732308ddaac # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07c1a647140f71fdfdeaaee3b7136732308ddaac # timeout=10 Commit message: "refactor: Set ProfilesDir & DevicesDir to empty string" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T17:48:45.422Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T17:48:45.588Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T17:48:45.677Z] ========================================================= [2023-04-17T17:48:45.677Z] EdgeX Global Pipelines Version Info [2023-04-17T17:48:45.677Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:48:46.404Z] ------------------- [2023-04-17T17:48:46.404Z] stable info: [2023-04-17T17:48:46.404Z] ------------------- [2023-04-17T17:48:46.404Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T17:48:46.404Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T17:48:46.404Z] Message: update stable to v1.0.248 [2023-04-17T17:48:46.975Z] ------------------- [2023-04-17T17:48:46.975Z] experimental info: [2023-04-17T17:48:46.975Z] ------------------- [2023-04-17T17:48:46.975Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T17:48:46.975Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T17:48:46.975Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T17:48:47.338Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-04-17T17:48:47.376Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-04-17T17:48:47.414Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T17:48:47.459Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T17:48:47.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T17:48:47.538Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T17:48:47.577Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T17:48:47.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T17:48:47.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T17:48:47.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T17:48:47.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T17:48:47.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-04-17T17:48:47.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T17:48:47.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T17:48:47.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T17:48:47.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T17:48:47.973Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T17:48:48.012Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T17:48:48.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T17:48:48.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T17:48:48.136Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T17:48:48.172Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T17:48:48.208Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T17:48:48.247Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T17:48:48.294Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T17:48:48.334Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T17:48:48.374Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T17:48:48.410Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-456 [Pipeline] echo [2023-04-17T17:48:48.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-456 [Pipeline] echo [2023-04-17T17:48:48.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-456 [Pipeline] echo [2023-04-17T17:48:48.533Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07c1a647140f71fdfdeaaee3b7136732308ddaac [Pipeline] echo [2023-04-17T17:48:48.570Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07c1a64 [Pipeline] echo [2023-04-17T17:48:48.611Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T17:48:48.719Z] provisioning config files... [2023-04-17T17:48:48.736Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp/config12335050299349083119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:48:49.082Z] ---> docker-login.sh [2023-04-17T17:48:49.082Z] nexus3.edgexfoundry.org:10001 [2023-04-17T17:48:49.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:48:49.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:48:49.342Z] Configure a credential helper to remove this warning. See [2023-04-17T17:48:49.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:48:49.342Z] [2023-04-17T17:48:49.602Z] Login Succeeded [2023-04-17T17:48:49.602Z] nexus3.edgexfoundry.org:10002 [2023-04-17T17:48:49.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:48:49.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:48:49.602Z] Configure a credential helper to remove this warning. See [2023-04-17T17:48:49.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:48:49.602Z] [2023-04-17T17:48:49.602Z] Login Succeeded [2023-04-17T17:48:49.602Z] nexus3.edgexfoundry.org:10003 [2023-04-17T17:48:49.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:48:49.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:48:49.602Z] Configure a credential helper to remove this warning. See [2023-04-17T17:48:49.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:48:49.602Z] [2023-04-17T17:48:49.602Z] Login Succeeded [2023-04-17T17:48:49.602Z] nexus3.edgexfoundry.org:10004 [2023-04-17T17:48:49.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:48:49.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:48:49.862Z] Configure a credential helper to remove this warning. See [2023-04-17T17:48:49.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:48:49.862Z] [2023-04-17T17:48:49.862Z] Login Succeeded [2023-04-17T17:48:49.862Z] docker.io [2023-04-17T17:48:49.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:48:50.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:48:50.123Z] Configure a credential helper to remove this warning. See [2023-04-17T17:48:50.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:48:50.123Z] [2023-04-17T17:48:50.123Z] Login Succeeded [2023-04-17T17:48:50.123Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T17:48:50.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T17:48:50.752Z] + git rev-list -1 --merges 07c1a647140f71fdfdeaaee3b7136732308ddaac~1..07c1a647140f71fdfdeaaee3b7136732308ddaac [Pipeline] echo [2023-04-17T17:48:50.806Z] -----------> git rev-list -1 --merges 07c1a647140f71fdfdeaaee3b7136732308ddaac~1..07c1a647140f71fdfdeaaee3b7136732308ddaac 07c1a647140f71fdfdeaaee3b7136732308ddaac [false] [Pipeline] sh [2023-04-17T17:48:51.112Z] + git log --format=format:%s -1 07c1a647140f71fdfdeaaee3b7136732308ddaac [Pipeline] echo [2023-04-17T17:48:51.145Z] ========================================================= [2023-04-17T17:48:51.145Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T17:48:51.145Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T17:48:51.577Z] + git log --format=format:%s -1 07c1a647140f71fdfdeaaee3b7136732308ddaac [Pipeline] echo [2023-04-17T17:48:51.609Z] [semverPrep] GIT_COMMIT: 07c1a647140f71fdfdeaaee3b7136732308ddaac, Commit Message: refactor: Set ProfilesDir & DevicesDir to empty string [Pipeline] echo [2023-04-17T17:48:51.638Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T17:48:52.035Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T17:48:52.035Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T17:48:52.035Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T17:48:52.035Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T17:48:52.035Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T17:48:52.035Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T17:48:52.035Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:48:52.518Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T17:48:52.518Z] [2023-04-17T17:48:52.518Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:48:52.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T17:48:52.954Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T17:48:52.954Z] b85a868b505f: Pulling fs layer [2023-04-17T17:48:52.954Z] e2be974225ed: Pulling fs layer [2023-04-17T17:48:52.954Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T17:48:52.954Z] 988bab9f4d93: Pulling fs layer [2023-04-17T17:48:52.954Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T17:48:52.954Z] eaf3925da568: Pulling fs layer [2023-04-17T17:48:52.954Z] bab4dde63d76: Pulling fs layer [2023-04-17T17:48:52.954Z] bde34c3a00c8: Pulling fs layer [2023-04-17T17:48:52.954Z] b352a97aabf1: Pulling fs layer [2023-04-17T17:48:52.954Z] 4872d77fe225: Pulling fs layer [2023-04-17T17:48:52.954Z] 5851b861e8e6: Pulling fs layer [2023-04-17T17:48:52.954Z] b352a97aabf1: Waiting [2023-04-17T17:48:52.954Z] 988bab9f4d93: Waiting [2023-04-17T17:48:52.954Z] eaf3925da568: Waiting [2023-04-17T17:48:52.954Z] bde34c3a00c8: Waiting [2023-04-17T17:48:52.954Z] bab4dde63d76: Waiting [2023-04-17T17:48:52.954Z] 4872d77fe225: Waiting [2023-04-17T17:48:52.954Z] 1469e6f7b9e6: Waiting [2023-04-17T17:48:52.954Z] e2be974225ed: Download complete [2023-04-17T17:48:52.954Z] 988bab9f4d93: Verifying Checksum [2023-04-17T17:48:52.954Z] 988bab9f4d93: Download complete [2023-04-17T17:48:52.954Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T17:48:52.954Z] 1469e6f7b9e6: Download complete [2023-04-17T17:48:53.215Z] eaf3925da568: Verifying Checksum [2023-04-17T17:48:53.215Z] eaf3925da568: Download complete [2023-04-17T17:48:53.215Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T17:48:53.215Z] 339a4e72a1f5: Download complete [2023-04-17T17:48:53.216Z] bde34c3a00c8: Verifying Checksum [2023-04-17T17:48:53.216Z] bde34c3a00c8: Download complete [2023-04-17T17:48:53.216Z] b352a97aabf1: Verifying Checksum [2023-04-17T17:48:53.216Z] b352a97aabf1: Download complete [2023-04-17T17:48:53.216Z] 4872d77fe225: Download complete [2023-04-17T17:48:53.216Z] 5851b861e8e6: Verifying Checksum [2023-04-17T17:48:53.216Z] 5851b861e8e6: Download complete [2023-04-17T17:48:53.216Z] b85a868b505f: Verifying Checksum [2023-04-17T17:48:53.216Z] b85a868b505f: Download complete [2023-04-17T17:48:53.475Z] bab4dde63d76: Verifying Checksum [2023-04-17T17:48:53.475Z] bab4dde63d76: Download complete [2023-04-17T17:48:54.410Z] b85a868b505f: Pull complete [2023-04-17T17:48:54.668Z] e2be974225ed: Pull complete [2023-04-17T17:48:54.927Z] 339a4e72a1f5: Pull complete [2023-04-17T17:48:55.185Z] 988bab9f4d93: Pull complete [2023-04-17T17:48:55.443Z] 1469e6f7b9e6: Pull complete [2023-04-17T17:48:55.443Z] eaf3925da568: Pull complete [2023-04-17T17:48:57.346Z] bab4dde63d76: Pull complete [2023-04-17T17:48:57.346Z] bde34c3a00c8: Pull complete [2023-04-17T17:48:57.346Z] b352a97aabf1: Pull complete [2023-04-17T17:48:57.346Z] 4872d77fe225: Pull complete [2023-04-17T17:48:57.346Z] 5851b861e8e6: Pull complete [2023-04-17T17:48:57.346Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T17:48:57.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T17:48:57.346Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:48:57.572Z] prd-ubuntu20.04-docker-8c-8g-8750 does not seem to be running inside a container [2023-04-17T17:48:57.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-456 -v /w/workspace/xfoundry_device-modbus-go_PR-456:/w/workspace/xfoundry_device-modbus-go_PR-456:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-456@tmp:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T17:49:01.009Z] $ docker top d8ea60e37927c269f094f99ec9695d93355eaaf208618f31db3df608505d6d85 -eo pid,comm [2023-04-17T17:49:01.066Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-17T17:49:01.066Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T17:49:01.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T17:49:01.195Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T17:49:01.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T17:49:01.300Z] $ docker exec d8ea60e37927c269f094f99ec9695d93355eaaf208618f31db3df608505d6d85 ssh-agent [2023-04-17T17:49:01.430Z] SSH_AUTH_SOCK=/tmp/ssh-lUiDbc9NDVBr/agent.33 [2023-04-17T17:49:01.430Z] SSH_AGENT_PID=39 [2023-04-17T17:49:01.436Z] Running ssh-add (command line suppressed) [2023-04-17T17:49:01.528Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-456@tmp/private_key_1449656777056882365.key (/w/workspace/xfoundry_device-modbus-go_PR-456@tmp/private_key_1449656777056882365.key) [2023-04-17T17:49:01.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T17:49:01.889Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T17:49:01.903Z] $ docker exec --env ******** --env ******** d8ea60e37927c269f094f99ec9695d93355eaaf208618f31db3df608505d6d85 ssh-agent -k [2023-04-17T17:49:02.001Z] unset SSH_AUTH_SOCK; [2023-04-17T17:49:02.001Z] unset SSH_AGENT_PID; [2023-04-17T17:49:02.001Z] echo Agent pid 39 killed; [2023-04-17T17:49:02.026Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T17:49:02.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T17:49:02.113Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T17:49:02.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T17:49:02.207Z] $ docker exec d8ea60e37927c269f094f99ec9695d93355eaaf208618f31db3df608505d6d85 ssh-agent [2023-04-17T17:49:02.326Z] SSH_AUTH_SOCK=/tmp/ssh-uwCfrJeiKR3D/agent.71 [2023-04-17T17:49:02.326Z] SSH_AGENT_PID=77 [2023-04-17T17:49:02.330Z] Running ssh-add (command line suppressed) [2023-04-17T17:49:02.415Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-456@tmp/private_key_2049496697237144661.key (/w/workspace/xfoundry_device-modbus-go_PR-456@tmp/private_key_2049496697237144661.key) [2023-04-17T17:49:02.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T17:49:02.774Z] + git semver init [2023-04-17T17:49:03.033Z] 2023-04-17 17:49:02,975 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T17:49:03.033Z] 2023-04-17 17:49:02,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-456/.semver [2023-04-17T17:49:03.033Z] 2023-04-17 17:49:02,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-456/.semver [2023-04-17T17:49:03.033Z] 2023-04-17 17:49:02,976 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-456/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-456, universal_newlines=False, shell=None, istream=None) [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,801 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-456/.git/info/exclude [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,802 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-456/.semver/PR-456 with force:False [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,802 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-456/.semver/PR-456 [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,806 [execute] INFO git cat-file --batch-check [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,806 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-456/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,811 [execute] INFO git cat-file --batch [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-456/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T17:49:03.972Z] 2023-04-17 17:49:03,816 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-456/.semver/PR-456 [2023-04-17T17:49:03.972Z] 0.0.0 [Pipeline] } [2023-04-17T17:49:03.992Z] $ docker exec --env ******** --env ******** d8ea60e37927c269f094f99ec9695d93355eaaf208618f31db3df608505d6d85 ssh-agent -k [2023-04-17T17:49:04.074Z] unset SSH_AUTH_SOCK; [2023-04-17T17:49:04.075Z] unset SSH_AGENT_PID; [2023-04-17T17:49:04.075Z] echo Agent pid 77 killed; [2023-04-17T17:49:04.095Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T17:49:04.501Z] + git semver [Pipeline] } [2023-04-17T17:49:04.771Z] $ docker stop --time=1 d8ea60e37927c269f094f99ec9695d93355eaaf208618f31db3df608505d6d85 [2023-04-17T17:49:06.049Z] $ docker rm -f --volumes d8ea60e37927c269f094f99ec9695d93355eaaf208618f31db3df608505d6d85 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T17:49:06.459Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T17:49:06.729Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T17:49:06.749Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T17:49:07.351Z] provisioning config files... [2023-04-17T17:49:07.360Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp/config9678715401837520180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:49:07.703Z] ---> docker-login.sh [2023-04-17T17:49:07.703Z] nexus3.edgexfoundry.org:10001 [2023-04-17T17:49:07.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:49:07.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:49:07.703Z] Configure a credential helper to remove this warning. See [2023-04-17T17:49:07.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:49:07.703Z] [2023-04-17T17:49:07.703Z] Login Succeeded [2023-04-17T17:49:07.703Z] nexus3.edgexfoundry.org:10002 [2023-04-17T17:49:07.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:49:07.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:49:07.703Z] Configure a credential helper to remove this warning. See [2023-04-17T17:49:07.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:49:07.703Z] [2023-04-17T17:49:07.703Z] Login Succeeded [2023-04-17T17:49:07.703Z] nexus3.edgexfoundry.org:10003 [2023-04-17T17:49:07.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:49:07.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:49:07.964Z] Configure a credential helper to remove this warning. See [2023-04-17T17:49:07.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:49:07.964Z] [2023-04-17T17:49:07.964Z] Login Succeeded [2023-04-17T17:49:07.964Z] nexus3.edgexfoundry.org:10004 [2023-04-17T17:49:07.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:49:07.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:49:07.964Z] Configure a credential helper to remove this warning. See [2023-04-17T17:49:07.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:49:07.964Z] [2023-04-17T17:49:07.964Z] Login Succeeded [2023-04-17T17:49:07.964Z] docker.io [2023-04-17T17:49:07.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:49:08.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:49:08.223Z] Configure a credential helper to remove this warning. See [2023-04-17T17:49:08.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:49:08.223Z] [2023-04-17T17:49:08.223Z] Login Succeeded [2023-04-17T17:49:08.223Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T17:49:08.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T17:49:08.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T17:49:08.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T17:49:08.509Z] ========================================================= [2023-04-17T17:49:08.509Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T17:49:08.509Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:49:08.978Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T17:49:08.978Z] Sending build context to Docker daemon 6.442MB [2023-04-17T17:49:08.978Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T17:49:08.978Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-17T17:49:08.978Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T17:49:08.978Z] 63b65145d645: Pulling fs layer [2023-04-17T17:49:08.978Z] a2d21d5440eb: Pulling fs layer [2023-04-17T17:49:08.978Z] 935e6c44a52c: Pulling fs layer [2023-04-17T17:49:08.978Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T17:49:08.978Z] 30dea6a524f1: Pulling fs layer [2023-04-17T17:49:08.978Z] a2aff8979fd8: Pulling fs layer [2023-04-17T17:49:08.978Z] 6808be2612f2: Pulling fs layer [2023-04-17T17:49:08.978Z] f25807f1079a: Pulling fs layer [2023-04-17T17:49:08.978Z] 94cc34f8dd06: Waiting [2023-04-17T17:49:08.978Z] f25807f1079a: Waiting [2023-04-17T17:49:08.978Z] 6808be2612f2: Waiting [2023-04-17T17:49:08.978Z] 30dea6a524f1: Waiting [2023-04-17T17:49:08.978Z] a2aff8979fd8: Waiting [2023-04-17T17:49:08.978Z] a2d21d5440eb: Download complete [2023-04-17T17:49:08.978Z] 94cc34f8dd06: Download complete [2023-04-17T17:49:08.978Z] 30dea6a524f1: Verifying Checksum [2023-04-17T17:49:08.978Z] 30dea6a524f1: Download complete [2023-04-17T17:49:08.978Z] 63b65145d645: Verifying Checksum [2023-04-17T17:49:08.978Z] 63b65145d645: Download complete [2023-04-17T17:49:09.237Z] a2aff8979fd8: Verifying Checksum [2023-04-17T17:49:09.237Z] a2aff8979fd8: Download complete [2023-04-17T17:49:09.237Z] 63b65145d645: Pull complete [2023-04-17T17:49:09.498Z] a2d21d5440eb: Pull complete [2023-04-17T17:49:09.499Z] f25807f1079a: Download complete [2023-04-17T17:49:09.758Z] 935e6c44a52c: Verifying Checksum [2023-04-17T17:49:09.758Z] 935e6c44a52c: Download complete [2023-04-17T17:49:10.017Z] 6808be2612f2: Verifying Checksum [2023-04-17T17:49:10.017Z] 6808be2612f2: Download complete [2023-04-17T17:49:13.302Z] 935e6c44a52c: Pull complete [2023-04-17T17:49:13.302Z] 94cc34f8dd06: Pull complete [2023-04-17T17:49:13.302Z] 30dea6a524f1: Pull complete [2023-04-17T17:49:13.302Z] a2aff8979fd8: Pull complete [2023-04-17T17:49:15.201Z] 6808be2612f2: Pull complete [2023-04-17T17:49:15.768Z] f25807f1079a: Pull complete [2023-04-17T17:49:15.768Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T17:49:15.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T17:49:15.768Z] ---> 3b553350e43f [2023-04-17T17:49:15.768Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-17T17:49:19.960Z] ---> Running in 34a977e532d7 [2023-04-17T17:49:19.960Z] Removing intermediate container 34a977e532d7 [2023-04-17T17:49:19.960Z] ---> 8bb14e7d5286 [2023-04-17T17:49:19.960Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T17:49:19.960Z] ---> Running in 875068fb7366 [2023-04-17T17:49:19.960Z] Removing intermediate container 875068fb7366 [2023-04-17T17:49:19.960Z] ---> 66bc0a588ef1 [2023-04-17T17:49:19.960Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-17T17:49:19.960Z] ---> Running in 2a9b6c2a9b4a [2023-04-17T17:49:20.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T17:49:20.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T17:49:20.479Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T17:49:20.479Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-17T17:49:20.479Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T17:49:20.479Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T17:49:20.479Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-17T17:49:20.479Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-17T17:49:20.479Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-17T17:49:20.479Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-17T17:49:20.479Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T17:49:20.479Z] OK: 270 MiB in 61 packages [2023-04-17T17:49:21.048Z] Removing intermediate container 2a9b6c2a9b4a [2023-04-17T17:49:21.048Z] ---> ab1b5cc84e39 [2023-04-17T17:49:21.048Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-17T17:49:21.048Z] ---> Running in bb20a3edc889 [2023-04-17T17:49:21.048Z] Removing intermediate container bb20a3edc889 [2023-04-17T17:49:21.048Z] ---> 74b710501ef2 [2023-04-17T17:49:21.048Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-17T17:49:21.308Z] ---> ea0ecd637727 [2023-04-17T17:49:21.308Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T17:49:21.308Z] ---> Running in 8018645fae71 [2023-04-17T17:49:22.180Z] Still waiting to schedule task [2023-04-17T17:49:22.181Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-17T17:50:00.163Z] Removing intermediate container 8018645fae71 [2023-04-17T17:50:00.163Z] ---> b8c1652d7de7 [2023-04-17T17:50:00.163Z] Step 9/10 : COPY . . [2023-04-17T17:50:00.163Z] ---> a77bd49f1f08 [2023-04-17T17:50:00.163Z] Step 10/10 : RUN ${MAKE} [2023-04-17T17:50:00.163Z] ---> Running in 9d15a61da9c2 [2023-04-17T17:50:00.163Z] noop [2023-04-17T17:50:00.163Z] Removing intermediate container 9d15a61da9c2 [2023-04-17T17:50:00.163Z] ---> 104675a55ca2 [2023-04-17T17:50:00.163Z] Successfully built 104675a55ca2 [2023-04-17T17:50:00.163Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:50:00.659Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T17:50:00.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:50:00.819Z] prd-ubuntu20.04-docker-8c-8g-8750 does not seem to be running inside a container [2023-04-17T17:50:00.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-456 -v /w/workspace/xfoundry_device-modbus-go_PR-456:/w/workspace/xfoundry_device-modbus-go_PR-456:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-456@tmp:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T17:50:01.179Z] $ docker top 1752a4252af0c7d8a07e7098972c6cbfda802343440d3e54f9bf8cb79adfb7da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T17:50:01.561Z] + go version [2023-04-17T17:50:01.561Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T17:50:01.600Z] $ docker stop --time=1 1752a4252af0c7d8a07e7098972c6cbfda802343440d3e54f9bf8cb79adfb7da [2023-04-17T17:50:03.360Z] $ docker rm -f --volumes 1752a4252af0c7d8a07e7098972c6cbfda802343440d3e54f9bf8cb79adfb7da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:50:04.117Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T17:50:04.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:50:04.263Z] prd-ubuntu20.04-docker-8c-8g-8750 does not seem to be running inside a container [2023-04-17T17:50:04.301Z] $ 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-456 -v /w/workspace/xfoundry_device-modbus-go_PR-456:/w/workspace/xfoundry_device-modbus-go_PR-456:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-456@tmp:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T17:50:05.156Z] $ docker top b22d3e87b43acbe671cf0bfce1a59bfa55ef7afb2f37684fc64a7bbb2f46460b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T17:50:05.549Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-456 [Pipeline] fileExists [Pipeline] sh [2023-04-17T17:50:05.908Z] + make test [2023-04-17T17:50:05.908Z] go test ./... -coverprofile=coverage.out [2023-04-17T17:50:11.188Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-17T17:50:21.210Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-17T17:50:21.210Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.5% of statements [2023-04-17T17:50:27.768Z] go vet ./... [2023-04-17T17:50:31.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T17:50:31.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T17:50:31.952Z] ./bin/test-attribution-txt.sh [2023-04-17T17:50:31.952Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T17:50:31.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T17:50:32.038Z] $ docker stop --time=1 b22d3e87b43acbe671cf0bfce1a59bfa55ef7afb2f37684fc64a7bbb2f46460b [2023-04-17T17:50:35.451Z] $ docker rm -f --volumes b22d3e87b43acbe671cf0bfce1a59bfa55ef7afb2f37684fc64a7bbb2f46460b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T17:50:35.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T17:50:36.071Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T17:50:36.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T17:50:37.045Z] + ls -al . [2023-04-17T17:50:37.045Z] total 180 [2023-04-17T17:50:37.045Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 17:50 . [2023-04-17T17:50:37.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 17:48 .. [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 17:48 .dockerignore [2023-04-17T17:50:37.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 17:49 .git [2023-04-17T17:50:37.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 17:48 .github [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 17 17:48 .gitignore [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 17:48 .golangci.yml [2023-04-17T17:50:37.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 17:49 .semver [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 17 17:48 Attribution.txt [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 17 17:48 CHANGELOG.md [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 17 17:48 Dockerfile [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 17:48 GOVERNANCE.md [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 17:48 Jenkinsfile [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 17:48 LICENSE [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 17 17:48 Makefile [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 17:48 OWNERS.md [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 17 17:48 README.md [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 17:49 VERSION [2023-04-17T17:50:37.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 17:48 bin [2023-04-17T17:50:37.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 17:48 cmd [2023-04-17T17:50:37.045Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 17 17:50 coverage.out [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 17 17:48 go.mod [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 17 17:48 go.sum [2023-04-17T17:50:37.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 17:48 internal [2023-04-17T17:50:37.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 17:48 simulator [2023-04-17T17:50:37.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 17:48 snap [2023-04-17T17:50:37.045Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 17 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:50:37.466Z] + 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=07c1a647140f71fdfdeaaee3b7136732308ddaac --label arch=amd64 --label version=0.0.0 . [2023-04-17T17:50:37.467Z] Sending build context to Docker daemon 6.467MB [2023-04-17T17:50:37.467Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T17:50:37.467Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-17T17:50:37.467Z] ---> 104675a55ca2 [2023-04-17T17:50:37.467Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-17T17:50:38.057Z] ---> Running in 4d2294e8ce1b [2023-04-17T17:50:38.339Z] Removing intermediate container 4d2294e8ce1b [2023-04-17T17:50:38.339Z] ---> d73d5c28e4c0 [2023-04-17T17:50:38.339Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T17:50:38.339Z] ---> Running in 262cc37017c0 [2023-04-17T17:50:38.598Z] Removing intermediate container 262cc37017c0 [2023-04-17T17:50:38.598Z] ---> 4872c8cd10c6 [2023-04-17T17:50:38.598Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-17T17:50:38.857Z] ---> Running in 8ebe84e37a0b [2023-04-17T17:50:39.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T17:50:39.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T17:50:39.684Z] OK: 270 MiB in 61 packages [2023-04-17T17:50:40.262Z] Removing intermediate container 8ebe84e37a0b [2023-04-17T17:50:40.262Z] ---> a253b5fb1c27 [2023-04-17T17:50:40.262Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-17T17:50:40.522Z] ---> Running in 74f18267a9f3 [2023-04-17T17:50:40.522Z] Removing intermediate container 74f18267a9f3 [2023-04-17T17:50:40.522Z] ---> b1727986937e [2023-04-17T17:50:40.522Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-17T17:50:40.781Z] ---> ce48e961aa3b [2023-04-17T17:50:40.781Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T17:50:40.781Z] ---> Running in f3d6549c4873 [2023-04-17T17:50:41.789Z] Removing intermediate container f3d6549c4873 [2023-04-17T17:50:41.789Z] ---> 4e148fe76394 [2023-04-17T17:50:41.789Z] Step 9/22 : COPY . . [2023-04-17T17:50:42.048Z] ---> 4c1c79244979 [2023-04-17T17:50:42.048Z] Step 10/22 : RUN ${MAKE} [2023-04-17T17:50:42.048Z] ---> Running in abeb7b5b3c4d [2023-04-17T17:50:42.305Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-17T17:51:01.227Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8751 in /w/workspace/xfoundry_device-modbus-go_PR-456 [Pipeline] { [Pipeline] ws [2023-04-17T17:51:01.344Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-04-17T17:51:01.446Z] Selected Git installation does not exist. Using Default [2023-04-17T17:51:01.446Z] The recommended git tool is: NONE [2023-04-17T17:51:04.265Z] Removing intermediate container abeb7b5b3c4d [2023-04-17T17:51:04.265Z] ---> cc1ac0fc94a6 [2023-04-17T17:51:04.265Z] Step 11/22 : FROM alpine:3.17 [2023-04-17T17:51:04.265Z] 3.17: Pulling from library/alpine [2023-04-17T17:51:04.265Z] f56be85fc22e: Pulling fs layer [2023-04-17T17:51:04.265Z] f56be85fc22e: Verifying Checksum [2023-04-17T17:51:04.265Z] f56be85fc22e: Download complete [2023-04-17T17:51:04.265Z] f56be85fc22e: Pull complete [2023-04-17T17:51:04.265Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T17:51:04.265Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T17:51:04.265Z] ---> 9ed4aefc74f6 [2023-04-17T17:51:04.265Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-17T17:51:04.265Z] ---> Running in 75fc7110f908 [2023-04-17T17:51:04.265Z] Removing intermediate container 75fc7110f908 [2023-04-17T17:51:04.265Z] ---> b547705e40af [2023-04-17T17:51:04.265Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-17T17:51:04.265Z] ---> Running in 145989a517ae [2023-04-17T17:51:04.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T17:51:04.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T17:51:04.265Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T17:51:04.265Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T17:51:04.265Z] OK: 7 MiB in 16 packages [2023-04-17T17:51:04.265Z] Removing intermediate container 145989a517ae [2023-04-17T17:51:04.265Z] ---> b46788cd7fe0 [2023-04-17T17:51:04.265Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-17T17:51:04.265Z] ---> 9588954c920b [2023-04-17T17:51:04.265Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-17T17:51:04.265Z] ---> ec4690624532 [2023-04-17T17:51:04.265Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-17T17:51:04.265Z] ---> f01a6bc5aa9b [2023-04-17T17:51:04.265Z] Step 17/22 : EXPOSE 59901 [2023-04-17T17:51:04.265Z] ---> Running in df308e895a99 [2023-04-17T17:51:04.265Z] Removing intermediate container df308e895a99 [2023-04-17T17:51:04.265Z] ---> c3e7e49dc927 [2023-04-17T17:51:04.265Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-17T17:51:04.265Z] ---> Running in 9a772ae973d9 [2023-04-17T17:51:04.265Z] Removing intermediate container 9a772ae973d9 [2023-04-17T17:51:04.265Z] ---> 9d71ca38e6d8 [2023-04-17T17:51:04.265Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T17:51:04.265Z] ---> Running in cc241208cc34 [2023-04-17T17:51:04.525Z] Removing intermediate container cc241208cc34 [2023-04-17T17:51:04.525Z] ---> 31ca4966ab30 [2023-04-17T17:51:04.525Z] Step 20/22 : LABEL arch=amd64 [2023-04-17T17:51:04.525Z] ---> Running in 0789ccf238fb [2023-04-17T17:51:04.525Z] Removing intermediate container 0789ccf238fb [2023-04-17T17:51:04.525Z] ---> d86cd57d50f3 [2023-04-17T17:51:04.525Z] Step 21/22 : LABEL git_sha=07c1a647140f71fdfdeaaee3b7136732308ddaac [2023-04-17T17:51:04.525Z] ---> Running in a0018506d3b5 [2023-04-17T17:51:04.525Z] Removing intermediate container a0018506d3b5 [2023-04-17T17:51:04.525Z] ---> 7ff490f9b0ca [2023-04-17T17:51:04.525Z] Step 22/22 : LABEL version=0.0.0 [2023-04-17T17:51:04.525Z] ---> Running in 5116d88fb54f [2023-04-17T17:51:04.785Z] Removing intermediate container 5116d88fb54f [2023-04-17T17:51:04.785Z] ---> 7f744d7ebabd [2023-04-17T17:51:04.785Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T17:51:04.785Z] Successfully built 7f744d7ebabd [2023-04-17T17:51:04.785Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:51:05.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T17:51:05.650Z] [2023-04-17T17:51:05.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:51:06.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T17:51:06.031Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T17:51:06.031Z] 5eb5b503b376: Pulling fs layer [2023-04-17T17:51:06.031Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T17:51:06.031Z] ec43610c2a17: Pulling fs layer [2023-04-17T17:51:06.031Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T17:51:06.031Z] 33b1e0a273af: Pulling fs layer [2023-04-17T17:51:06.031Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T17:51:06.031Z] 2f39f015ded8: Pulling fs layer [2023-04-17T17:51:06.031Z] 3a2ae6a8a46f: Waiting [2023-04-17T17:51:06.031Z] 33b1e0a273af: Waiting [2023-04-17T17:51:06.031Z] 5d3b04190fa2: Waiting [2023-04-17T17:51:06.031Z] 2f39f015ded8: Waiting [2023-04-17T17:51:06.031Z] 5c69ac0246d0: Verifying Checksum [2023-04-17T17:51:06.031Z] 5c69ac0246d0: Download complete [2023-04-17T17:51:06.031Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T17:51:06.031Z] 3a2ae6a8a46f: Download complete [2023-04-17T17:51:06.031Z] 33b1e0a273af: Verifying Checksum [2023-04-17T17:51:06.031Z] 33b1e0a273af: Download complete [2023-04-17T17:51:06.031Z] ec43610c2a17: Verifying Checksum [2023-04-17T17:51:06.031Z] ec43610c2a17: Download complete [2023-04-17T17:51:06.031Z] 5d3b04190fa2: Verifying Checksum [2023-04-17T17:51:06.031Z] 5d3b04190fa2: Download complete [2023-04-17T17:51:06.291Z] 5eb5b503b376: Verifying Checksum [2023-04-17T17:51:06.292Z] 5eb5b503b376: Download complete [2023-04-17T17:51:06.792Z] using credential edgex-jenkins-ssh [2023-04-17T17:51:06.808Z] Cloning the remote Git repository [2023-04-17T17:51:06.857Z] 2f39f015ded8: Download complete [2023-04-17T17:51:07.422Z] 5eb5b503b376: Pull complete [2023-04-17T17:51:07.422Z] 5c69ac0246d0: Pull complete [2023-04-17T17:51:06.857Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-04-17T17:51:06.945Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-04-17T17:51:07.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-17T17:51:07.088Z] > git --version # timeout=10 [2023-04-17T17:51:07.112Z] > git --version # 'git version 2.25.1' [2023-04-17T17:51:07.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T17:51:07.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T17:51:07.987Z] ec43610c2a17: Pull complete [2023-04-17T17:51:07.987Z] 3a2ae6a8a46f: Pull complete [2023-04-17T17:51:08.245Z] 33b1e0a273af: Pull complete [2023-04-17T17:51:08.245Z] 5d3b04190fa2: Pull complete [2023-04-17T17:51:08.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-17T17:51:08.633Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T17:51:10.163Z] Merging remotes/origin/main commit 55987cd457f5f1a930ff560b78c1acf5044fc241 into PR head commit 07c1a647140f71fdfdeaaee3b7136732308ddaac [2023-04-17T17:51:09.511Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-04-17T17:51:09.554Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-04-17T17:51:09.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T17:51:09.571Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T17:51:10.182Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T17:51:10.271Z] > git checkout -f 07c1a647140f71fdfdeaaee3b7136732308ddaac # timeout=10 [2023-04-17T17:51:10.455Z] Merge succeeded, producing 07c1a647140f71fdfdeaaee3b7136732308ddaac [2023-04-17T17:51:10.456Z] Checking out Revision 07c1a647140f71fdfdeaaee3b7136732308ddaac (PR-456) [2023-04-17T17:51:10.354Z] > git remote # timeout=10 [2023-04-17T17:51:10.375Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T17:51:10.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T17:51:10.414Z] > git merge 55987cd457f5f1a930ff560b78c1acf5044fc241 # timeout=10 [2023-04-17T17:51:10.437Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T17:51:10.460Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T17:51:10.479Z] > git checkout -f 07c1a647140f71fdfdeaaee3b7136732308ddaac # timeout=10 [2023-04-17T17:51:12.427Z] 2f39f015ded8: Pull complete [2023-04-17T17:51:12.427Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T17:51:12.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T17:51:12.427Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:51:12.656Z] prd-ubuntu20.04-docker-8c-8g-8750 does not seem to be running inside a container [2023-04-17T17:51:12.701Z] $ 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-456 -v /w/workspace/xfoundry_device-modbus-go_PR-456:/w/workspace/xfoundry_device-modbus-go_PR-456:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-456@tmp:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T17:51:13.952Z] Commit message: "refactor: Set ProfilesDir & DevicesDir to empty string" [2023-04-17T17:51:14.001Z] > git --version # timeout=10 [2023-04-17T17:51:14.013Z] > git --version # 'git version 2.25.1' [2023-04-17T17:51:14.027Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T17:51:14.621Z] [2023-04-17T17:51:14.621Z] GitHub has been notified of this commit’s build result [2023-04-17T17:51:14.621Z] [2023-04-17T17:51:16.410Z] $ docker top 30517b973e296545935821d068698e5dfcb5d8e51fda250d5fce836ba33e4320 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T17:51:16.856Z] ---> job-cost.sh [2023-04-17T17:51:16.857Z] lf-activate-venv: SKIPPING [2023-04-17T17:51:16.857Z] INFO: No Stack... [2023-04-17T17:51:17.115Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T17:51:17.313Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T17:51:17.313Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T17:51:17.313Z] Dload Upload Total Spent Left Speed [2023-04-17T17:51:17.313Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [2023-04-17T17:51:17.375Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T17:51:17.686Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-456/archives/cost.csv [2023-04-17T17:51:17.686Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T17:51:17.734Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] [2023-04-17T17:51:17.739Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] did not exist. Created. [2023-04-17T17:51:17.739Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2023-04-17T17:51:18.077Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T17:51:18.194Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T17:51:18.252Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T17:51:18.278Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T17:51:18.378Z] $ docker stop --time=1 30517b973e296545935821d068698e5dfcb5d8e51fda250d5fce836ba33e4320 [2023-04-17T17:51:18.423Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T17:51:18.423Z] + sudo tee /etc/docker/daemon.new [2023-04-17T17:51:18.423Z] { [2023-04-17T17:51:18.423Z] "registry-mirrors": [ [2023-04-17T17:51:18.423Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T17:51:18.423Z] ], [2023-04-17T17:51:18.423Z] "bip": "10.250.0.254/24", [2023-04-17T17:51:18.423Z] "hosts": [ [2023-04-17T17:51:18.423Z] "tcp://0.0.0.0:5555", [2023-04-17T17:51:18.423Z] "unix:///var/run/docker.sock" [2023-04-17T17:51:18.423Z] ], [2023-04-17T17:51:18.423Z] "mtu": 1458, [2023-04-17T17:51:18.423Z] "selinux-enabled": true, [2023-04-17T17:51:18.423Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T17:51:18.423Z] } [2023-04-17T17:51:19.546Z] $ docker rm -f --volumes 30517b973e296545935821d068698e5dfcb5d8e51fda250d5fce836ba33e4320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-04-17T17:51:19.984Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage [Pipeline] } [Pipeline] sh [2023-04-17T17:51:20.376Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T17:51:38.766Z] provisioning config files... [2023-04-17T17:51:38.795Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1010167500110690808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:51:39.196Z] ---> docker-login.sh [2023-04-17T17:51:39.196Z] nexus3.edgexfoundry.org:10001 [2023-04-17T17:51:39.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:51:39.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:51:39.789Z] Configure a credential helper to remove this warning. See [2023-04-17T17:51:39.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:51:39.789Z] [2023-04-17T17:51:39.789Z] Login Succeeded [2023-04-17T17:51:39.789Z] nexus3.edgexfoundry.org:10002 [2023-04-17T17:51:40.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:51:40.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:51:40.330Z] Configure a credential helper to remove this warning. See [2023-04-17T17:51:40.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:51:40.330Z] [2023-04-17T17:51:40.330Z] Login Succeeded [2023-04-17T17:51:40.330Z] nexus3.edgexfoundry.org:10003 [2023-04-17T17:51:40.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:51:40.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:51:40.601Z] Configure a credential helper to remove this warning. See [2023-04-17T17:51:40.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:51:40.601Z] [2023-04-17T17:51:40.601Z] Login Succeeded [2023-04-17T17:51:40.601Z] nexus3.edgexfoundry.org:10004 [2023-04-17T17:51:40.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:51:40.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:51:40.875Z] Configure a credential helper to remove this warning. See [2023-04-17T17:51:40.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:51:40.875Z] [2023-04-17T17:51:40.875Z] Login Succeeded [2023-04-17T17:51:40.875Z] docker.io [2023-04-17T17:51:41.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T17:51:41.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T17:51:41.415Z] Configure a credential helper to remove this warning. See [2023-04-17T17:51:41.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T17:51:41.415Z] [2023-04-17T17:51:41.415Z] Login Succeeded [2023-04-17T17:51:41.415Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T17:51:41.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T17:51:41.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T17:51:41.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T17:51:41.873Z] ========================================================= [2023-04-17T17:51:41.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T17:51:41.873Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:51:42.374Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T17:51:42.643Z] Sending build context to Docker daemon 3.363MB [2023-04-17T17:51:42.643Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T17:51:42.643Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-17T17:51:42.914Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T17:51:42.914Z] af6eaf76a39c: Pulling fs layer [2023-04-17T17:51:42.914Z] 55522c791124: Pulling fs layer [2023-04-17T17:51:42.914Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T17:51:42.914Z] 169dfbe0d373: Pulling fs layer [2023-04-17T17:51:42.914Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T17:51:42.914Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T17:51:42.914Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T17:51:42.914Z] e1ff8fa3b103: Waiting [2023-04-17T17:51:42.914Z] 5abe8eddf0d5: Waiting [2023-04-17T17:51:42.914Z] 169dfbe0d373: Waiting [2023-04-17T17:51:42.914Z] 52ebb69f0ebf: Waiting [2023-04-17T17:51:42.914Z] 55522c791124: Verifying Checksum [2023-04-17T17:51:42.914Z] 55522c791124: Download complete [2023-04-17T17:51:42.914Z] 169dfbe0d373: Verifying Checksum [2023-04-17T17:51:42.914Z] 169dfbe0d373: Download complete [2023-04-17T17:51:42.914Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T17:51:42.914Z] e1ff8fa3b103: Download complete [2023-04-17T17:51:42.914Z] af6eaf76a39c: Verifying Checksum [2023-04-17T17:51:42.914Z] af6eaf76a39c: Download complete [2023-04-17T17:51:43.896Z] af6eaf76a39c: Pull complete [2023-04-17T17:51:44.168Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T17:51:44.168Z] 5abe8eddf0d5: Download complete [2023-04-17T17:51:44.756Z] 55522c791124: Pull complete [2023-04-17T17:51:45.346Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T17:51:45.346Z] ce5c4a1c91eb: Download complete [2023-04-17T17:51:45.346Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T17:51:45.346Z] 52ebb69f0ebf: Download complete [2023-04-17T17:51:57.681Z] ce5c4a1c91eb: Pull complete [2023-04-17T17:51:57.681Z] 169dfbe0d373: Pull complete [2023-04-17T17:51:57.681Z] e1ff8fa3b103: Pull complete [2023-04-17T17:52:03.039Z] 52ebb69f0ebf: Pull complete [2023-04-17T17:52:05.020Z] 5abe8eddf0d5: Pull complete [2023-04-17T17:52:05.020Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T17:52:05.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T17:52:05.020Z] ---> 6cb57ee374ae [2023-04-17T17:52:05.020Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-04-17T17:52:06.978Z] ---> Running in 0434a3ddeab8 [2023-04-17T17:52:07.249Z] Removing intermediate container 0434a3ddeab8 [2023-04-17T17:52:07.249Z] ---> fbf5805227d7 [2023-04-17T17:52:07.249Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T17:52:07.249Z] ---> Running in 795869b5ba6d [2023-04-17T17:52:07.522Z] Removing intermediate container 795869b5ba6d [2023-04-17T17:52:07.522Z] ---> e37e152758d2 [2023-04-17T17:52:07.522Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-04-17T17:52:07.522Z] ---> Running in f184b184d67d [2023-04-17T17:52:08.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T17:52:09.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T17:52:10.162Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T17:52:10.162Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-04-17T17:52:10.162Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T17:52:10.162Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T17:52:10.162Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-04-17T17:52:10.162Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-04-17T17:52:10.162Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-04-17T17:52:10.162Z] (8/8) Installing openssh (9.1_p1-r2) [2023-04-17T17:52:10.431Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T17:52:10.431Z] OK: 270 MiB in 61 packages [2023-04-17T17:52:11.397Z] Removing intermediate container f184b184d67d [2023-04-17T17:52:11.397Z] ---> c71d0ec638ea [2023-04-17T17:52:11.397Z] Step 6/10 : WORKDIR /device-modbus-go [2023-04-17T17:52:11.397Z] ---> Running in 335795fd224d [2023-04-17T17:52:11.985Z] Removing intermediate container 335795fd224d [2023-04-17T17:52:11.985Z] ---> 1fdbd2a7805f [2023-04-17T17:52:11.985Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-17T17:52:12.254Z] ---> 33d0896f8da7 [2023-04-17T17:52:12.254Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T17:52:12.520Z] ---> Running in 2aa78fe02825 [2023-04-17T17:53:20.363Z] Removing intermediate container 2aa78fe02825 [2023-04-17T17:53:20.363Z] ---> b1e2cd0eb495 [2023-04-17T17:53:20.363Z] Step 9/10 : COPY . . [2023-04-17T17:53:20.363Z] ---> fad7bab85dbd [2023-04-17T17:53:20.363Z] Step 10/10 : RUN ${MAKE} [2023-04-17T17:53:20.363Z] ---> Running in b5d2902bdf06 [2023-04-17T17:53:20.363Z] noop [2023-04-17T17:53:20.363Z] Removing intermediate container b5d2902bdf06 [2023-04-17T17:53:20.363Z] ---> 227438a11bf7 [2023-04-17T17:53:20.363Z] Successfully built 227438a11bf7 [2023-04-17T17:53:20.363Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:53:20.844Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T17:53:20.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:53:21.122Z] prd-ubuntu20.04-docker-arm64-4c-16g-8751 does not seem to be running inside a container [2023-04-17T17:53:21.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T17:53:22.353Z] $ docker top 75e4b97c5ae16856871af1b98e457c377ba6c773def50ec709607e1fc4148ebd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T17:53:23.213Z] + go version [2023-04-17T17:53:23.213Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T17:53:23.252Z] $ docker stop --time=1 75e4b97c5ae16856871af1b98e457c377ba6c773def50ec709607e1fc4148ebd [2023-04-17T17:53:24.913Z] $ docker rm -f --volumes 75e4b97c5ae16856871af1b98e457c377ba6c773def50ec709607e1fc4148ebd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:53:25.780Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T17:53:25.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:53:26.030Z] prd-ubuntu20.04-docker-arm64-4c-16g-8751 does not seem to be running inside a container [2023-04-17T17:53:26.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-17T17:53:27.288Z] $ docker top 880529dc4ade1efcb53211bcb5a41074e28b4beda69fc5f4b182818756ff8d22 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T17:53:27.864Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T17:53:28.513Z] + make test [2023-04-17T17:53:28.787Z] go test ./... -coverprofile=coverage.out [2023-04-17T17:54:01.012Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-04-17T17:55:52.659Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-04-17T17:55:53.243Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 47.5% of statements [2023-04-17T17:55:54.204Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T17:55:54.204Z] go vet ./... [2023-04-17T17:56:33.093Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T17:56:33.093Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T17:56:33.093Z] ./bin/test-attribution-txt.sh [2023-04-17T17:56:33.093Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T17:56:33.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T17:56:33.173Z] $ docker stop --time=1 880529dc4ade1efcb53211bcb5a41074e28b4beda69fc5f4b182818756ff8d22 [2023-04-17T17:56:35.088Z] $ docker rm -f --volumes 880529dc4ade1efcb53211bcb5a41074e28b4beda69fc5f4b182818756ff8d22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T17:56:36.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T17:56:36.353Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T17:56:36.788Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T17:56:37.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T17:56:37.803Z] + ls -al . [2023-04-17T17:56:37.803Z] total 176 [2023-04-17T17:56:37.803Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 17:53 . [2023-04-17T17:56:37.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 17:51 .. [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 17:51 .dockerignore [2023-04-17T17:56:37.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 17:51 .git [2023-04-17T17:56:37.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 17:51 .github [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 331 Apr 17 17:51 .gitignore [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 17:51 .golangci.yml [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 10004 Apr 17 17:51 Attribution.txt [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 11576 Apr 17 17:51 CHANGELOG.md [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 1365 Apr 17 17:51 Dockerfile [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 17:51 GOVERNANCE.md [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 17:51 Jenkinsfile [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 17:51 LICENSE [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 1705 Apr 17 17:51 Makefile [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 17:51 OWNERS.md [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 4045 Apr 17 17:51 README.md [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 17:49 VERSION [2023-04-17T17:56:37.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 17:51 bin [2023-04-17T17:56:37.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 17:51 cmd [2023-04-17T17:56:37.803Z] -rw-r--r-- 1 jenkins jenkins 24076 Apr 17 17:55 coverage.out [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 3453 Apr 17 17:51 go.mod [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 31895 Apr 17 17:51 go.sum [2023-04-17T17:56:37.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 17:51 internal [2023-04-17T17:56:37.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 17:51 simulator [2023-04-17T17:56:37.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 17:51 snap [2023-04-17T17:56:37.803Z] -rw-rw-r-- 1 jenkins jenkins 229 Apr 17 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:56:38.240Z] + 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=07c1a647140f71fdfdeaaee3b7136732308ddaac --label arch=arm64 --label version=0.0.0 . [2023-04-17T17:56:38.530Z] Sending build context to Docker daemon 3.388MB [2023-04-17T17:56:38.530Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T17:56:38.530Z] Step 2/22 : FROM ${BASE} AS builder [2023-04-17T17:56:38.530Z] ---> 227438a11bf7 [2023-04-17T17:56:38.530Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-04-17T17:56:38.815Z] ---> Running in 50c9f311c382 [2023-04-17T17:56:39.091Z] Removing intermediate container 50c9f311c382 [2023-04-17T17:56:39.091Z] ---> 14a6579c6644 [2023-04-17T17:56:39.091Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T17:56:39.091Z] ---> Running in f555408b471a [2023-04-17T17:56:39.373Z] Removing intermediate container f555408b471a [2023-04-17T17:56:39.373Z] ---> a9edbcf5869d [2023-04-17T17:56:39.373Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-04-17T17:56:39.643Z] ---> Running in 95bf295284d3 [2023-04-17T17:56:40.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T17:56:41.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T17:56:42.156Z] OK: 270 MiB in 61 packages [2023-04-17T17:56:43.117Z] Removing intermediate container 95bf295284d3 [2023-04-17T17:56:43.117Z] ---> 7f8dd1c4023e [2023-04-17T17:56:43.117Z] Step 6/22 : WORKDIR /device-modbus-go [2023-04-17T17:56:43.117Z] ---> Running in ce0f62bdce78 [2023-04-17T17:56:43.386Z] Removing intermediate container ce0f62bdce78 [2023-04-17T17:56:43.386Z] ---> cbff3c7e4260 [2023-04-17T17:56:43.386Z] Step 7/22 : COPY go.mod vendor* ./ [2023-04-17T17:56:43.977Z] ---> 4cd7a98ba734 [2023-04-17T17:56:43.977Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T17:56:43.977Z] ---> Running in 5f636fb13792 [2023-04-17T17:56:46.571Z] Removing intermediate container 5f636fb13792 [2023-04-17T17:56:46.571Z] ---> 6e1a1950f486 [2023-04-17T17:56:46.571Z] Step 9/22 : COPY . . [2023-04-17T17:56:47.533Z] ---> 7d65bbe195ad [2023-04-17T17:56:47.533Z] Step 10/22 : RUN ${MAKE} [2023-04-17T17:56:47.533Z] ---> Running in e1ee1b51b399 [2023-04-17T17:56:48.492Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-04-17T17:58:55.169Z] Removing intermediate container e1ee1b51b399 [2023-04-17T17:58:55.169Z] ---> 229271c0fdfe [2023-04-17T17:58:55.169Z] Step 11/22 : FROM alpine:3.17 [2023-04-17T17:58:55.169Z] 3.17: Pulling from library/alpine [2023-04-17T17:58:55.754Z] c41833b44d91: Pulling fs layer [2023-04-17T17:58:56.020Z] c41833b44d91: Verifying Checksum [2023-04-17T17:58:56.021Z] c41833b44d91: Download complete [2023-04-17T17:58:56.605Z] c41833b44d91: Pull complete [2023-04-17T17:58:56.605Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T17:58:56.605Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T17:58:56.605Z] ---> 51e60588ff2c [2023-04-17T17:58:56.605Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-04-17T17:58:56.605Z] ---> Running in 9025bd4647fb [2023-04-17T17:58:56.873Z] Removing intermediate container 9025bd4647fb [2023-04-17T17:58:56.873Z] ---> a9051ba440b8 [2023-04-17T17:58:56.873Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-04-17T17:58:57.148Z] ---> Running in f6d6ae1335aa [2023-04-17T17:58:58.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T17:58:58.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T17:58:59.672Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T17:58:59.672Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T17:58:59.672Z] OK: 8 MiB in 16 packages [2023-04-17T17:59:00.640Z] Removing intermediate container f6d6ae1335aa [2023-04-17T17:59:00.640Z] ---> acd376f0df9a [2023-04-17T17:59:00.640Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-04-17T17:59:02.048Z] ---> b241678454de [2023-04-17T17:59:02.048Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-04-17T17:59:02.317Z] ---> e533310e8b9f [2023-04-17T17:59:02.317Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-04-17T17:59:02.901Z] ---> 9d47662dfb06 [2023-04-17T17:59:02.901Z] Step 17/22 : EXPOSE 59901 [2023-04-17T17:59:02.901Z] ---> Running in a51e29be483e [2023-04-17T17:59:03.168Z] Removing intermediate container a51e29be483e [2023-04-17T17:59:03.168Z] ---> 555e5a67551c [2023-04-17T17:59:03.168Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-04-17T17:59:03.168Z] ---> Running in 5e92e7583410 [2023-04-17T17:59:03.437Z] Removing intermediate container 5e92e7583410 [2023-04-17T17:59:03.437Z] ---> 83a663cf749c [2023-04-17T17:59:03.437Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T17:59:03.712Z] ---> Running in c71caa2db690 [2023-04-17T17:59:03.988Z] Removing intermediate container c71caa2db690 [2023-04-17T17:59:03.988Z] ---> e5396343af11 [2023-04-17T17:59:03.988Z] Step 20/22 : LABEL arch=arm64 [2023-04-17T17:59:03.988Z] ---> Running in 5f27f7a52318 [2023-04-17T17:59:04.257Z] Removing intermediate container 5f27f7a52318 [2023-04-17T17:59:04.257Z] ---> 68efdd435501 [2023-04-17T17:59:04.257Z] Step 21/22 : LABEL git_sha=07c1a647140f71fdfdeaaee3b7136732308ddaac [2023-04-17T17:59:04.257Z] ---> Running in 9be0ed458beb [2023-04-17T17:59:04.525Z] Removing intermediate container 9be0ed458beb [2023-04-17T17:59:04.525Z] ---> db36520e6205 [2023-04-17T17:59:04.525Z] Step 22/22 : LABEL version=0.0.0 [2023-04-17T17:59:04.796Z] ---> Running in 4c79b5dfc796 [2023-04-17T17:59:05.064Z] Removing intermediate container 4c79b5dfc796 [2023-04-17T17:59:05.064Z] ---> 7a8a3c6a80ea [2023-04-17T17:59:05.064Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T17:59:05.064Z] Successfully built 7a8a3c6a80ea [2023-04-17T17:59:05.064Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:59:05.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T17:59:05.871Z] [2023-04-17T17:59:05.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:59:06.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T17:59:06.278Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T17:59:06.278Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T17:59:06.278Z] 04944245beec: Pulling fs layer [2023-04-17T17:59:06.278Z] 699f458cf7ca: Pulling fs layer [2023-04-17T17:59:06.278Z] 765212b225bb: Pulling fs layer [2023-04-17T17:59:06.278Z] f23df028b6ca: Pulling fs layer [2023-04-17T17:59:06.278Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T17:59:06.278Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T17:59:06.278Z] f23df028b6ca: Waiting [2023-04-17T17:59:06.278Z] 765212b225bb: Waiting [2023-04-17T17:59:06.278Z] d65c8cfc05b1: Waiting [2023-04-17T17:59:06.278Z] 2437ff75d9bd: Waiting [2023-04-17T17:59:06.547Z] 04944245beec: Download complete [2023-04-17T17:59:06.547Z] 765212b225bb: Verifying Checksum [2023-04-17T17:59:06.547Z] 765212b225bb: Download complete [2023-04-17T17:59:06.547Z] f23df028b6ca: Download complete [2023-04-17T17:59:06.547Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T17:59:06.547Z] d65c8cfc05b1: Download complete [2023-04-17T17:59:06.815Z] 699f458cf7ca: Verifying Checksum [2023-04-17T17:59:06.815Z] 699f458cf7ca: Download complete [2023-04-17T17:59:07.084Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T17:59:07.084Z] 8998bd30e6a1: Download complete [2023-04-17T17:59:09.670Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T17:59:09.670Z] 2437ff75d9bd: Download complete [2023-04-17T17:59:11.079Z] 8998bd30e6a1: Pull complete [2023-04-17T17:59:11.665Z] 04944245beec: Pull complete [2023-04-17T17:59:13.075Z] 699f458cf7ca: Pull complete [2023-04-17T17:59:13.075Z] 765212b225bb: Pull complete [2023-04-17T17:59:14.034Z] f23df028b6ca: Pull complete [2023-04-17T17:59:14.034Z] d65c8cfc05b1: Pull complete [2023-04-17T17:59:29.035Z] 2437ff75d9bd: Pull complete [2023-04-17T17:59:29.035Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T17:59:29.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T17:59:29.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:59:29.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-8751 does not seem to be running inside a container [2023-04-17T17:59:29.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-17T17:59:32.007Z] $ docker top 05b48e67f8d50fdce6da84325df7d0b2b1bd28da24bc13fa101e4d29af5d971b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:32.927Z] ---> job-cost.sh [2023-04-17T17:59:32.927Z] lf-activate-venv: SKIPPING [2023-04-17T17:59:32.927Z] INFO: No Stack... [2023-04-17T17:59:33.508Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T17:59:34.092Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T17:59:34.704Z] + + cutcat -d, /w/workspace/device-modbus-go/1/archives/cost.csv -f6 [2023-04-17T17:59:34.704Z] [Pipeline] lock [2023-04-17T17:59:35.090Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] [2023-04-17T17:59:35.095Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] did not exist. Created. [2023-04-17T17:59:35.095Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T17:59:35.519Z] /w/workspace/device-modbus-go/1@tmp/durable-5ccd6359/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T17:59:35.873Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T17:59:35.908Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T17:59:35.953Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T17:59:35.968Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T17:59:36.059Z] $ docker stop --time=1 05b48e67f8d50fdce6da84325df7d0b2b1bd28da24bc13fa101e4d29af5d971b [2023-04-17T17:59:37.851Z] $ docker rm -f --volumes 05b48e67f8d50fdce6da84325df7d0b2b1bd28da24bc13fa101e4d29af5d971b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-17T17:59:38.920Z] provisioning config files... [2023-04-17T17:59:38.927Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp/config1570116026652893267tmp [Pipeline] { [Pipeline] sh [2023-04-17T17:59:39.264Z] + set +x [2023-04-17T17:59:39.264Z] + curl -s https://codecov.io/bash [2023-04-17T17:59:39.264Z] + bash -s -- [2023-04-17T17:59:39.264Z] [2023-04-17T17:59:39.264Z] _____ _ [2023-04-17T17:59:39.264Z] / ____| | | [2023-04-17T17:59:39.264Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T17:59:39.264Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T17:59:39.264Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T17:59:39.264Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T17:59:39.264Z] Bash-1.0.6 [2023-04-17T17:59:39.264Z] [2023-04-17T17:59:39.264Z] [2023-04-17T17:59:39.264Z] ==> git version 2.25.1 found [2023-04-17T17:59:39.264Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-17T17:59:39.264Z] Release-Date: 2020-01-08 [2023-04-17T17:59:39.264Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-17T17:59:39.264Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T17:59:39.264Z] ==> Jenkins CI detected. [2023-04-17T17:59:39.264Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-456 [2023-04-17T17:59:39.264Z] project root: . [2023-04-17T17:59:39.264Z] --> token set from env [2023-04-17T17:59:39.264Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T17:59:39.264Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T17:59:39.264Z] ==> Python coveragepy not found [2023-04-17T17:59:39.264Z] ==> Searching for coverage reports in: [2023-04-17T17:59:39.264Z] + . [2023-04-17T17:59:39.523Z] -> Found 1 reports [2023-04-17T17:59:39.523Z] ==> Detecting git/mercurial file structure [2023-04-17T17:59:39.523Z] ==> Reading reports [2023-04-17T17:59:39.523Z] + ./coverage.out bytes=24076 [2023-04-17T17:59:39.523Z] ==> Appending adjustments [2023-04-17T17:59:39.523Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T17:59:39.523Z] + Found adjustments [2023-04-17T17:59:39.523Z] ==> Gzipping contents [2023-04-17T17:59:39.523Z] 4.0K /tmp/codecov.ZCAiIR.gz [2023-04-17T17:59:39.523Z] ==> Uploading reports [2023-04-17T17:59:39.523Z] url: https://codecov.io [2023-04-17T17:59:39.523Z] query: branch=PR-456&commit=07c1a647140f71fdfdeaaee3b7136732308ddaac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-456%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=456&job=&cmd_args= [2023-04-17T17:59:39.523Z] -> Pinging Codecov [2023-04-17T17:59:39.523Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-456&commit=07c1a647140f71fdfdeaaee3b7136732308ddaac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-456%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=456&job=&cmd_args= [2023-04-17T17:59:39.783Z] -> Uploading to [2023-04-17T17:59:39.783Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/55DBCA73C666E3227836607328DD7E49/07c1a647140f71fdfdeaaee3b7136732308ddaac/f83ac3fd-0b05-4d4b-adf0-0ba9035a47ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T175939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ae52ef090737dae3ec033d2ba302a66cc164e41a24ac53014b6727a246958e7 [2023-04-17T17:59:39.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T17:59:39.783Z] Dload Upload Total Spent Left Speed [2023-04-17T17:59:40.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3917 0 0 100 3917 0 13989 --:--:-- --:--:-- --:--:-- 13989 [2023-04-17T17:59:40.042Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/07c1a647140f71fdfdeaaee3b7136732308ddaac [Pipeline] } [2023-04-17T17:59:40.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-17T17:59:42.177Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-456/archives ] [2023-04-17T17:59:42.177Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-456/archives [2023-04-17T17:59:42.177Z] total 16 [2023-04-17T17:59:42.177Z] drwxr-xr-x 3 root root 4096 Apr 17 17:51 . [2023-04-17T17:59:42.177Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 17:51 .. [2023-04-17T17:59:42.177Z] drwxr-xr-x 2 root root 4096 Apr 17 17:51 cost [2023-04-17T17:59:42.177Z] -rw-r--r-- 1 root root 88 Apr 17 17:51 cost.csv [2023-04-17T17:59:42.177Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-456/archives [2023-04-17T17:59:42.177Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-456/archives [2023-04-17T17:59:42.177Z] total 16 [2023-04-17T17:59:42.177Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 17:51 . [2023-04-17T17:59:42.177Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 17:51 .. [2023-04-17T17:59:42.177Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 17:51 cost [2023-04-17T17:59:42.177Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 17 17:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:42.526Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:43.413Z] ---> package-listing.sh [2023-04-17T17:59:43.413Z] ++ facter osfamily [2023-04-17T17:59:43.413Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T17:59:43.672Z] + OS_FAMILY=debian [2023-04-17T17:59:43.672Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-456 [2023-04-17T17:59:43.672Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T17:59:43.672Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T17:59:43.672Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T17:59:43.672Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T17:59:43.672Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-456 ']' [2023-04-17T17:59:43.672Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T17:59:43.672Z] + case "${OS_FAMILY}" in [2023-04-17T17:59:43.672Z] + dpkg -l [2023-04-17T17:59:43.672Z] + grep '^ii' [2023-04-17T17:59:43.672Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T17:59:43.672Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T17:59:43.672Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T17:59:43.672Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-456 ']' [2023-04-17T17:59:43.672Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-456/archives/ [2023-04-17T17:59:43.672Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-456/archives/ [Pipeline] echo [2023-04-17T17:59:43.721Z] 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-456/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T17:59:44.012Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T17:59:44.640Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T17:59:44.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T17:59:44.784Z] prd-ubuntu20.04-docker-8c-8g-8750 does not seem to be running inside a container [2023-04-17T17:59:44.824Z] $ 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-456/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-456 -v /w/workspace/xfoundry_device-modbus-go_PR-456:/w/workspace/xfoundry_device-modbus-go_PR-456:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-456@tmp:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T17:59:45.211Z] $ docker top 1d1feed50c789cc9273ad08e2624ea44714c50a9e1ec3fc5e16b447510c80e72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T17:59:45.605Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T17:59:45.913Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T17:59:46.225Z] + ls /var/log/sa-host [2023-04-17T17:59:46.225Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T17:59:46.443Z] provisioning config files... [2023-04-17T17:59:46.451Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-456@tmp/config1698676127260795421tmp [Pipeline] { [Pipeline] echo [2023-04-17T17:59:46.508Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:46.816Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T17:59:46.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:47.248Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T17:59:47.279Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:47.592Z] ---> sudo-logs.sh [2023-04-17T17:59:47.592Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T17:59:47.685Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:47.991Z] ---> job-cost.sh [2023-04-17T17:59:47.991Z] lf-activate-venv: SKIPPING [2023-04-17T17:59:47.991Z] DEBUG: total: 0.2199999988079071 [2023-04-17T17:59:47.991Z] INFO: Retrieving Stack Cost... [2023-04-17T17:59:48.251Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T17:59:48.818Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T17:59:48.857Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T17:59:49.169Z] ---> logs-deploy.sh [2023-04-17T17:59:49.169Z] lf-activate-venv: SKIPPING [2023-04-17T17:59:49.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-456/1 [2023-04-17T17:59:49.169Z] INFO: archiving workspace using pattern(s): [2023-04-17T17:59:50.104Z] Archives upload complete. [2023-04-17T17:59:50.104Z] INFO: archiving logs to Nexus