Pull request #410 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 312a9458e21a282c28ee8e5345a43c3e810412cf+05607db3767b12e2b1688c1d4c1138f7ff4649fd (4e93e2d32474501ac465768d5c5262d9fd386a94) 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-ssh7114520801133868748.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4339112458124104921.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-410/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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3046709883771947661.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-410/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10398489817647086242.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16166800853020975024.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-410/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-410/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13679963651971177022.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5477’ Running on prd-ubuntu20.04-docker-8c-8g-5487 in /w/workspace/xfoundry_device-modbus-go_PR-410 [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-410 # 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 > 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/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit 312a9458e21a282c28ee8e5345a43c3e810412cf Merge succeeded, producing 312a9458e21a282c28ee8e5345a43c3e810412cf Checking out Revision 312a9458e21a282c28ee8e5345a43c3e810412cf (PR-410) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # 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 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T06:00:31.490Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T06:00:31.673Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T06:00:31.782Z] ========================================================= [2023-02-13T06:00:31.782Z] EdgeX Global Pipelines Version Info [2023-02-13T06:00:31.782Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:00:32.885Z] ------------------- [2023-02-13T06:00:32.885Z] stable info: [2023-02-13T06:00:32.885Z] ------------------- [2023-02-13T06:00:32.885Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T06:00:32.885Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T06:00:32.885Z] Message: update stable to v1.0.244 [2023-02-13T06:00:33.146Z] ------------------- [2023-02-13T06:00:33.146Z] experimental info: [2023-02-13T06:00:33.146Z] ------------------- [2023-02-13T06:00:33.146Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T06:00:33.146Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T06:00:33.146Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T06:00:33.442Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-13T06:00:33.483Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-13T06:00:33.526Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T06:00:33.569Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T06:00:33.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T06:00:33.651Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T06:00:33.687Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T06:00:33.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T06:00:33.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T06:00:33.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T06:00:33.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T06:00:33.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-13T06:00:33.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T06:00:33.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T06:00:33.987Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T06:00:34.024Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T06:00:34.065Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T06:00:34.104Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T06:00:34.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T06:00:34.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T06:00:34.212Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-13T06:00:34.247Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-13T06:00:34.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T06:00:34.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T06:00:34.357Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T06:00:34.392Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T06:00:34.427Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T06:00:34.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-410 [Pipeline] echo [2023-02-13T06:00:34.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-410 [Pipeline] echo [2023-02-13T06:00:34.617Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-410 [Pipeline] echo [2023-02-13T06:00:34.654Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo [2023-02-13T06:00:34.694Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 312a945 [Pipeline] echo [2023-02-13T06:00:34.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:00:34.841Z] provisioning config files... [2023-02-13T06:00:34.855Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/config3205830500584235015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:00:35.204Z] ---> docker-login.sh [2023-02-13T06:00:35.205Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:00:35.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:35.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:35.468Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:35.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:35.468Z] [2023-02-13T06:00:35.468Z] Login Succeeded [2023-02-13T06:00:35.468Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:00:35.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:35.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:35.733Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:35.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:35.733Z] [2023-02-13T06:00:35.733Z] Login Succeeded [2023-02-13T06:00:35.733Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:00:35.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:35.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:35.733Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:35.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:35.733Z] [2023-02-13T06:00:35.733Z] Login Succeeded [2023-02-13T06:00:35.733Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:00:35.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:35.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:35.733Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:35.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:35.733Z] [2023-02-13T06:00:35.733Z] Login Succeeded [2023-02-13T06:00:35.733Z] docker.io [2023-02-13T06:00:35.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:36.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:36.252Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:36.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:36.252Z] [2023-02-13T06:00:36.252Z] Login Succeeded [2023-02-13T06:00:36.252Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:00:36.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T06:00:36.902Z] + git rev-list -1 --merges 312a9458e21a282c28ee8e5345a43c3e810412cf~1..312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo [2023-02-13T06:00:36.962Z] -----------> git rev-list -1 --merges 312a9458e21a282c28ee8e5345a43c3e810412cf~1..312a9458e21a282c28ee8e5345a43c3e810412cf 312a9458e21a282c28ee8e5345a43c3e810412cf [false] [Pipeline] sh [2023-02-13T06:00:37.274Z] + git log --format=format:%s -1 312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo [2023-02-13T06:00:37.316Z] ========================================================= [2023-02-13T06:00:37.316Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T06:00:37.316Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T06:00:37.770Z] + git log --format=format:%s -1 312a9458e21a282c28ee8e5345a43c3e810412cf [Pipeline] echo [2023-02-13T06:00:37.802Z] [semverPrep] GIT_COMMIT: 312a9458e21a282c28ee8e5345a43c3e810412cf, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-13T06:00:37.832Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T06:00:38.201Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T06:00:38.202Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T06:00:38.202Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T06:00:38.202Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T06:00:38.202Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T06:00:38.202Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T06:00:38.202Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:00:38.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T06:00:38.620Z] [2023-02-13T06:00:38.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:00:38.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T06:00:38.998Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T06:00:38.998Z] b85a868b505f: Pulling fs layer [2023-02-13T06:00:38.998Z] e2be974225ed: Pulling fs layer [2023-02-13T06:00:38.998Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T06:00:38.998Z] 988bab9f4d93: Pulling fs layer [2023-02-13T06:00:38.998Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T06:00:38.998Z] eaf3925da568: Pulling fs layer [2023-02-13T06:00:38.998Z] bab4dde63d76: Pulling fs layer [2023-02-13T06:00:38.998Z] bde34c3a00c8: Pulling fs layer [2023-02-13T06:00:38.998Z] b352a97aabf1: Pulling fs layer [2023-02-13T06:00:38.998Z] 4872d77fe225: Pulling fs layer [2023-02-13T06:00:38.998Z] 5851b861e8e6: Pulling fs layer [2023-02-13T06:00:38.998Z] b352a97aabf1: Waiting [2023-02-13T06:00:38.998Z] 1469e6f7b9e6: Waiting [2023-02-13T06:00:38.998Z] 4872d77fe225: Waiting [2023-02-13T06:00:38.998Z] eaf3925da568: Waiting [2023-02-13T06:00:38.998Z] 5851b861e8e6: Waiting [2023-02-13T06:00:38.998Z] bab4dde63d76: Waiting [2023-02-13T06:00:38.998Z] 988bab9f4d93: Waiting [2023-02-13T06:00:38.998Z] bde34c3a00c8: Waiting [2023-02-13T06:00:38.998Z] e2be974225ed: Download complete [2023-02-13T06:00:38.998Z] 988bab9f4d93: Download complete [2023-02-13T06:00:39.261Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T06:00:39.261Z] 1469e6f7b9e6: Download complete [2023-02-13T06:00:39.261Z] eaf3925da568: Verifying Checksum [2023-02-13T06:00:39.261Z] eaf3925da568: Download complete [2023-02-13T06:00:39.261Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T06:00:39.261Z] 339a4e72a1f5: Download complete [2023-02-13T06:00:39.528Z] bde34c3a00c8: Verifying Checksum [2023-02-13T06:00:39.528Z] bde34c3a00c8: Download complete [2023-02-13T06:00:39.528Z] b352a97aabf1: Verifying Checksum [2023-02-13T06:00:39.528Z] b352a97aabf1: Download complete [2023-02-13T06:00:39.528Z] b85a868b505f: Download complete [2023-02-13T06:00:39.528Z] 5851b861e8e6: Download complete [2023-02-13T06:00:40.094Z] bab4dde63d76: Verifying Checksum [2023-02-13T06:00:40.094Z] bab4dde63d76: Download complete [2023-02-13T06:00:40.663Z] 4872d77fe225: Verifying Checksum [2023-02-13T06:00:40.663Z] 4872d77fe225: Download complete [2023-02-13T06:00:40.663Z] b85a868b505f: Pull complete [2023-02-13T06:00:40.921Z] e2be974225ed: Pull complete [2023-02-13T06:00:41.180Z] 339a4e72a1f5: Pull complete [2023-02-13T06:00:41.439Z] 988bab9f4d93: Pull complete [2023-02-13T06:00:41.697Z] 1469e6f7b9e6: Pull complete [2023-02-13T06:00:41.697Z] eaf3925da568: Pull complete [2023-02-13T06:00:43.599Z] bab4dde63d76: Pull complete [2023-02-13T06:00:43.599Z] bde34c3a00c8: Pull complete [2023-02-13T06:00:43.599Z] b352a97aabf1: Pull complete [2023-02-13T06:00:43.599Z] 4872d77fe225: Pull complete [2023-02-13T06:00:43.857Z] 5851b861e8e6: Pull complete [2023-02-13T06:00:43.857Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T06:00:43.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T06:00:43.857Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:00:44.073Z] prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container [2023-02-13T06:00:44.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T06:00:45.609Z] $ docker top 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d -eo pid,comm [2023-02-13T06:00:45.659Z] 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-02-13T06:00:45.659Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T06:00:45.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T06:00:45.788Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T06:00:45.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T06:00:45.903Z] $ docker exec 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent [2023-02-13T06:00:46.005Z] SSH_AUTH_SOCK=/tmp/ssh-fHK1pUlZpZ2F/agent.31 [2023-02-13T06:00:46.005Z] SSH_AGENT_PID=37 [2023-02-13T06:00:46.012Z] Running ssh-add (command line suppressed) [2023-02-13T06:00:46.112Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_3410259149126224571.key (/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_3410259149126224571.key) [2023-02-13T06:00:46.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T06:00:46.461Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T06:00:46.489Z] $ docker exec --env ******** --env ******** 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent -k [2023-02-13T06:00:46.581Z] unset SSH_AUTH_SOCK; [2023-02-13T06:00:46.582Z] unset SSH_AGENT_PID; [2023-02-13T06:00:46.582Z] echo Agent pid 37 killed; [2023-02-13T06:00:46.591Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T06:00:46.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T06:00:46.684Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T06:00:46.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T06:00:46.796Z] $ docker exec 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent [2023-02-13T06:00:46.907Z] SSH_AUTH_SOCK=/tmp/ssh-ujY854cpIAmf/agent.70 [2023-02-13T06:00:46.907Z] SSH_AGENT_PID=76 [2023-02-13T06:00:46.911Z] Running ssh-add (command line suppressed) [2023-02-13T06:00:47.011Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_9580739704652680606.key (/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/private_key_9580739704652680606.key) [2023-02-13T06:00:47.024Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T06:00:47.357Z] + git semver init [2023-02-13T06:00:47.619Z] 2023-02-13 06:00:47,535 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T06:00:47.619Z] 2023-02-13 06:00:47,536 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-410/.semver [2023-02-13T06:00:47.619Z] 2023-02-13 06:00:47,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-410/.semver [2023-02-13T06:00:47.619Z] 2023-02-13 06:00:47,536 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-410/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-410, universal_newlines=False, shell=None, istream=None) [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,460 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-410/.git/info/exclude [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,460 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-410/.semver/PR-410 with force:False [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,461 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-410/.semver/PR-410 [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,465 [execute] INFO git cat-file --batch-check [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,471 [execute] INFO git cat-file --batch [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-410/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T06:00:48.558Z] 2023-02-13 06:00:48,475 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-410/.semver/PR-410 [2023-02-13T06:00:48.558Z] 0.0.0 [Pipeline] } [2023-02-13T06:00:48.584Z] $ docker exec --env ******** --env ******** 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d ssh-agent -k [2023-02-13T06:00:48.680Z] unset SSH_AUTH_SOCK; [2023-02-13T06:00:48.681Z] unset SSH_AGENT_PID; [2023-02-13T06:00:48.681Z] echo Agent pid 76 killed; [2023-02-13T06:00:48.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T06:00:49.107Z] + git semver [Pipeline] } [2023-02-13T06:00:49.396Z] $ docker stop --time=1 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d [2023-02-13T06:00:50.715Z] $ docker rm -f --volumes 5acd420f926f398fa5e2a0f391666f81ecbf5778541de4f37886fdbfea7fea8d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T06:00:51.135Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T06:00:51.422Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T06:00:51.439Z] [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-02-13T06:00:52.268Z] provisioning config files... [2023-02-13T06:00:52.277Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/config16758411779264722886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:00:52.630Z] ---> docker-login.sh [2023-02-13T06:00:52.630Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:00:52.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:52.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:52.630Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:52.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:52.630Z] [2023-02-13T06:00:52.630Z] Login Succeeded [2023-02-13T06:00:52.630Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:00:52.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:52.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:52.630Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:52.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:52.630Z] [2023-02-13T06:00:52.630Z] Login Succeeded [2023-02-13T06:00:52.630Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:00:52.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:52.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:52.889Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:52.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:52.889Z] [2023-02-13T06:00:52.889Z] Login Succeeded [2023-02-13T06:00:52.889Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:00:52.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:52.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:52.889Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:52.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:52.889Z] [2023-02-13T06:00:52.889Z] Login Succeeded [2023-02-13T06:00:52.889Z] docker.io [2023-02-13T06:00:53.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:00:53.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:00:53.149Z] Configure a credential helper to remove this warning. See [2023-02-13T06:00:53.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:00:53.149Z] [2023-02-13T06:00:53.149Z] Login Succeeded [2023-02-13T06:00:53.149Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:00:53.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T06:00:53.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:00:53.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:00:53.442Z] ========================================================= [2023-02-13T06:00:53.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T06:00:53.442Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:00:53.914Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T06:00:53.914Z] Sending build context to Docker daemon 6.372MB [2023-02-13T06:00:53.914Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:00:53.914Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T06:00:53.914Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T06:00:53.914Z] 213ec9aee27d: Pulling fs layer [2023-02-13T06:00:53.914Z] 4583459ba037: Pulling fs layer [2023-02-13T06:00:53.914Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T06:00:53.914Z] 53926ce57604: Pulling fs layer [2023-02-13T06:00:53.914Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T06:00:53.914Z] 22ff95d597cd: Pulling fs layer [2023-02-13T06:00:53.914Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T06:00:53.914Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T06:00:53.914Z] a7acece74701: Pulling fs layer [2023-02-13T06:00:53.914Z] 96b7cbca73a9: Waiting [2023-02-13T06:00:53.914Z] a7acece74701: Waiting [2023-02-13T06:00:53.914Z] 22ff95d597cd: Waiting [2023-02-13T06:00:53.914Z] 53926ce57604: Waiting [2023-02-13T06:00:53.914Z] 12d6caf4c0d1: Waiting [2023-02-13T06:00:53.914Z] 21b2b0c7a3f4: Waiting [2023-02-13T06:00:53.914Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T06:00:53.914Z] 93c1e223e6f2: Download complete [2023-02-13T06:00:53.914Z] 4583459ba037: Verifying Checksum [2023-02-13T06:00:53.914Z] 4583459ba037: Download complete [2023-02-13T06:00:54.185Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T06:00:54.185Z] 21b2b0c7a3f4: Download complete [2023-02-13T06:00:54.185Z] 22ff95d597cd: Verifying Checksum [2023-02-13T06:00:54.185Z] 22ff95d597cd: Download complete [2023-02-13T06:00:54.185Z] 213ec9aee27d: Verifying Checksum [2023-02-13T06:00:54.185Z] 213ec9aee27d: Download complete [2023-02-13T06:00:54.185Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T06:00:54.185Z] 12d6caf4c0d1: Download complete [2023-02-13T06:00:54.455Z] 213ec9aee27d: Pull complete [2023-02-13T06:00:54.455Z] 4583459ba037: Pull complete [2023-02-13T06:00:54.455Z] 93c1e223e6f2: Pull complete [2023-02-13T06:00:55.512Z] a7acece74701: Verifying Checksum [2023-02-13T06:00:55.512Z] a7acece74701: Download complete [2023-02-13T06:00:55.777Z] 53926ce57604: Verifying Checksum [2023-02-13T06:00:55.777Z] 53926ce57604: Download complete [2023-02-13T06:00:55.777Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T06:00:55.777Z] 96b7cbca73a9: Download complete [2023-02-13T06:00:59.052Z] 53926ce57604: Pull complete [2023-02-13T06:00:59.314Z] 21b2b0c7a3f4: Pull complete [2023-02-13T06:00:59.314Z] 22ff95d597cd: Pull complete [2023-02-13T06:00:59.572Z] 12d6caf4c0d1: Pull complete [2023-02-13T06:01:01.473Z] 96b7cbca73a9: Pull complete [2023-02-13T06:01:02.410Z] a7acece74701: Pull complete [2023-02-13T06:01:02.410Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T06:01:02.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T06:01:02.410Z] ---> db6d94c90886 [2023-02-13T06:01:02.410Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:01:04.313Z] ---> Running in 0b31ac101b12 [2023-02-13T06:01:04.313Z] Removing intermediate container 0b31ac101b12 [2023-02-13T06:01:04.313Z] ---> 1544d90044d0 [2023-02-13T06:01:04.313Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:01:04.313Z] ---> Running in 0df729a92a87 [2023-02-13T06:01:04.571Z] Removing intermediate container 0df729a92a87 [2023-02-13T06:01:04.571Z] ---> 2c0efe5e32c2 [2023-02-13T06:01:04.571Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-13T06:01:04.571Z] ---> Running in bb9427c0b4d1 [2023-02-13T06:01:04.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T06:01:05.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T06:01:05.345Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T06:01:05.345Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-13T06:01:05.345Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T06:01:05.345Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T06:01:05.345Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-13T06:01:05.345Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-13T06:01:05.345Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-13T06:01:05.345Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-13T06:01:05.345Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:01:05.345Z] OK: 217 MiB in 59 packages [2023-02-13T06:01:05.910Z] Removing intermediate container bb9427c0b4d1 [2023-02-13T06:01:05.910Z] ---> 8deae2c6006c [2023-02-13T06:01:05.910Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-13T06:01:05.910Z] ---> Running in e6484ed2e351 [2023-02-13T06:01:05.910Z] Removing intermediate container e6484ed2e351 [2023-02-13T06:01:05.910Z] ---> dadcc45a830f [2023-02-13T06:01:05.910Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T06:01:06.168Z] ---> 001b88b62a87 [2023-02-13T06:01:06.168Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:01:06.168Z] ---> Running in 36393e68be88 [2023-02-13T06:01:06.931Z] Still waiting to schedule task [2023-02-13T06:01:06.932Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-13T06:01:32.711Z] Removing intermediate container 36393e68be88 [2023-02-13T06:01:32.711Z] ---> 9de63e874cad [2023-02-13T06:01:32.711Z] Step 9/10 : COPY . . [2023-02-13T06:01:32.711Z] ---> 9e3b0f9d34d5 [2023-02-13T06:01:32.711Z] Step 10/10 : RUN ${MAKE} [2023-02-13T06:01:32.711Z] ---> Running in 0a32270dad99 [2023-02-13T06:01:32.711Z] noop [2023-02-13T06:01:32.711Z] Removing intermediate container 0a32270dad99 [2023-02-13T06:01:32.711Z] ---> 48375ef49d15 [2023-02-13T06:01:32.711Z] Successfully built 48375ef49d15 [2023-02-13T06:01:32.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:01:33.175Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T06:01:33.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:01:33.315Z] prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container [2023-02-13T06:01:33.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T06:01:33.715Z] $ docker top 630e352f015996e6f8ee63e576a07d131ebe1be2b8d6b6d26597ca6608e9bffb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:01:34.111Z] + go version [2023-02-13T06:01:34.112Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T06:01:34.147Z] $ docker stop --time=1 630e352f015996e6f8ee63e576a07d131ebe1be2b8d6b6d26597ca6608e9bffb [2023-02-13T06:01:35.432Z] $ docker rm -f --volumes 630e352f015996e6f8ee63e576a07d131ebe1be2b8d6b6d26597ca6608e9bffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:01:36.239Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T06:01:36.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:01:36.380Z] prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container [2023-02-13T06:01:36.407Z] $ 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-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T06:01:36.956Z] $ docker top 3869888f3806143558f2663ea2440b7d716cc070f4fab2d6621a12d493908295 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:01:37.351Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-410 [Pipeline] fileExists [Pipeline] sh [2023-02-13T06:01:37.716Z] + make test [2023-02-13T06:01:37.716Z] go test ./... -coverprofile=coverage.out [2023-02-13T06:01:37.974Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-13T06:01:46.081Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-13T06:01:46.081Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-13T06:01:46.081Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-13T06:01:46.081Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-13T06:01:46.081Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.010s coverage: 47.7% of statements [2023-02-13T06:01:46.081Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-13T06:01:46.119Z] $ docker stop --time=1 3869888f3806143558f2663ea2440b7d716cc070f4fab2d6621a12d493908295 [2023-02-13T06:01:47.951Z] $ docker rm -f --volumes 3869888f3806143558f2663ea2440b7d716cc070f4fab2d6621a12d493908295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:01:49.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:01:49.059Z] [2023-02-13T06:01:49.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:01:49.516Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:01:49.517Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T06:01:49.517Z] 5eb5b503b376: Pulling fs layer [2023-02-13T06:01:49.517Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T06:01:49.517Z] ec43610c2a17: Pulling fs layer [2023-02-13T06:01:49.517Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T06:01:49.517Z] 33b1e0a273af: Pulling fs layer [2023-02-13T06:01:49.517Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T06:01:49.517Z] 2f39f015ded8: Pulling fs layer [2023-02-13T06:01:49.517Z] 3a2ae6a8a46f: Waiting [2023-02-13T06:01:49.517Z] 33b1e0a273af: Waiting [2023-02-13T06:01:49.517Z] 5d3b04190fa2: Waiting [2023-02-13T06:01:49.517Z] 2f39f015ded8: Waiting [2023-02-13T06:01:49.517Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T06:01:49.517Z] 5c69ac0246d0: Download complete [2023-02-13T06:01:49.517Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T06:01:49.517Z] 3a2ae6a8a46f: Download complete [2023-02-13T06:01:49.797Z] 33b1e0a273af: Verifying Checksum [2023-02-13T06:01:49.797Z] 33b1e0a273af: Download complete [2023-02-13T06:01:49.797Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T06:01:49.797Z] 5d3b04190fa2: Download complete [2023-02-13T06:01:49.797Z] ec43610c2a17: Verifying Checksum [2023-02-13T06:01:49.797Z] ec43610c2a17: Download complete [2023-02-13T06:01:50.087Z] 5eb5b503b376: Verifying Checksum [2023-02-13T06:01:50.087Z] 5eb5b503b376: Download complete [2023-02-13T06:01:50.681Z] 2f39f015ded8: Download complete [2023-02-13T06:01:50.939Z] 5eb5b503b376: Pull complete [2023-02-13T06:01:51.196Z] 5c69ac0246d0: Pull complete [2023-02-13T06:01:51.455Z] ec43610c2a17: Pull complete [2023-02-13T06:01:51.713Z] 3a2ae6a8a46f: Pull complete [2023-02-13T06:01:51.713Z] 33b1e0a273af: Pull complete [2023-02-13T06:01:51.972Z] 5d3b04190fa2: Pull complete [2023-02-13T06:01:56.159Z] 2f39f015ded8: Pull complete [2023-02-13T06:01:56.159Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T06:01:56.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:01:56.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:01:56.350Z] prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container [2023-02-13T06:01:56.384Z] $ 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-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T06:01:58.740Z] $ docker top 86381a6ac6eddf81b68af54584c97751169e6019aa5d8bf640f87d30f91869a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:01:59.172Z] ---> job-cost.sh [2023-02-13T06:01:59.172Z] lf-activate-venv: SKIPPING [2023-02-13T06:01:59.172Z] INFO: No Stack... [2023-02-13T06:01:59.743Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T06:02:00.002Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T06:02:00.315Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-410/archives/cost.csv [2023-02-13T06:02:00.315Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T06:02:00.355Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [2023-02-13T06:02:00.360Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] did not exist. Created. [2023-02-13T06:02:00.360Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T06:02:00.752Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T06:02:00.808Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T06:02:00.828Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T06:02:00.905Z] $ docker stop --time=1 86381a6ac6eddf81b68af54584c97751169e6019aa5d8bf640f87d30f91869a9 [2023-02-13T06:02:02.097Z] $ docker rm -f --volumes 86381a6ac6eddf81b68af54584c97751169e6019aa5d8bf640f87d30f91869a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T06:02:02.473Z] Failed in branch amd64 [2023-02-13T06:05:40.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5490 in /w/workspace/xfoundry_device-modbus-go_PR-410 [Pipeline] { [Pipeline] ws [2023-02-13T06:05:40.493Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2023-02-13T06:05:40.571Z] Selected Git installation does not exist. Using Default [2023-02-13T06:05:40.571Z] The recommended git tool is: NONE [2023-02-13T06:05:47.903Z] using credential edgex-jenkins-ssh [2023-02-13T06:05:47.922Z] Cloning the remote Git repository [2023-02-13T06:05:47.981Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T06:05:48.083Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2023-02-13T06:05:48.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T06:05:48.282Z] > git --version # timeout=10 [2023-02-13T06:05:48.307Z] > git --version # 'git version 2.25.1' [2023-02-13T06:05:48.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:05:48.384Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T06:05:49.613Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-13T06:05:49.642Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T06:05:50.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-13T06:05:50.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-13T06:05:50.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:05:50.617Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/410/head:refs/remotes/origin/PR-410 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T06:05:51.235Z] Merging remotes/origin/main commit 05607db3767b12e2b1688c1d4c1138f7ff4649fd into PR head commit 312a9458e21a282c28ee8e5345a43c3e810412cf [2023-02-13T06:05:51.523Z] Merge succeeded, producing 312a9458e21a282c28ee8e5345a43c3e810412cf [2023-02-13T06:05:51.523Z] Checking out Revision 312a9458e21a282c28ee8e5345a43c3e810412cf (PR-410) [2023-02-13T06:05:52.187Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-13T06:05:52.250Z] > git --version # timeout=10 [2023-02-13T06:05:52.262Z] > git --version # 'git version 2.25.1' [2023-02-13T06:05:52.277Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T06:05:51.262Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T06:05:51.283Z] > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # timeout=10 [2023-02-13T06:05:51.398Z] > git remote # timeout=10 [2023-02-13T06:05:51.423Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T06:05:51.449Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T06:05:51.466Z] > git merge 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 [2023-02-13T06:05:51.501Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T06:05:51.534Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T06:05:51.558Z] > git checkout -f 312a9458e21a282c28ee8e5345a43c3e810412cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T06:05:53.487Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T06:05:53.487Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T06:05:53.487Z] Dload Upload Total Spent Left Speed [2023-02-13T06:05:53.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-02-13T06:05:54.108Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T06:05:54.466Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T06:05:54.466Z] + sudo tee /etc/docker/daemon.new [2023-02-13T06:05:54.466Z] { [2023-02-13T06:05:54.466Z] "registry-mirrors": [ [2023-02-13T06:05:54.466Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T06:05:54.466Z] ], [2023-02-13T06:05:54.466Z] "bip": "10.250.0.254/24", [2023-02-13T06:05:54.466Z] "hosts": [ [2023-02-13T06:05:54.466Z] "tcp://0.0.0.0:5555", [2023-02-13T06:05:54.466Z] "unix:///var/run/docker.sock" [2023-02-13T06:05:54.466Z] ], [2023-02-13T06:05:54.466Z] "mtu": 1458, [2023-02-13T06:05:54.466Z] "selinux-enabled": true, [2023-02-13T06:05:54.466Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T06:05:54.466Z] } [Pipeline] sh [2023-02-13T06:05:54.823Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T06:05:55.189Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:06:17.395Z] provisioning config files... [2023-02-13T06:06:17.425Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4159348522851562750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:06:17.833Z] ---> docker-login.sh [2023-02-13T06:06:17.833Z] nexus3.edgexfoundry.org:10001 [2023-02-13T06:06:18.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:06:18.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:06:18.382Z] Configure a credential helper to remove this warning. See [2023-02-13T06:06:18.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:06:18.382Z] [2023-02-13T06:06:18.382Z] Login Succeeded [2023-02-13T06:06:18.382Z] nexus3.edgexfoundry.org:10002 [2023-02-13T06:06:18.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:06:18.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:06:18.928Z] Configure a credential helper to remove this warning. See [2023-02-13T06:06:18.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:06:18.928Z] [2023-02-13T06:06:18.928Z] Login Succeeded [2023-02-13T06:06:18.928Z] nexus3.edgexfoundry.org:10003 [2023-02-13T06:06:19.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:06:19.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:06:19.205Z] Configure a credential helper to remove this warning. See [2023-02-13T06:06:19.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:06:19.205Z] [2023-02-13T06:06:19.205Z] Login Succeeded [2023-02-13T06:06:19.205Z] nexus3.edgexfoundry.org:10004 [2023-02-13T06:06:19.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:06:19.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:06:19.747Z] Configure a credential helper to remove this warning. See [2023-02-13T06:06:19.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:06:19.747Z] [2023-02-13T06:06:19.747Z] Login Succeeded [2023-02-13T06:06:19.747Z] docker.io [2023-02-13T06:06:20.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T06:06:20.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T06:06:20.293Z] Configure a credential helper to remove this warning. See [2023-02-13T06:06:20.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T06:06:20.293Z] [2023-02-13T06:06:20.293Z] Login Succeeded [2023-02-13T06:06:20.293Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T06:06:20.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T06:06:20.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:06:20.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T06:06:20.890Z] ========================================================= [2023-02-13T06:06:20.891Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T06:06:20.891Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:06:21.427Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T06:06:21.698Z] Sending build context to Docker daemon 3.319MB [2023-02-13T06:06:21.698Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T06:06:21.698Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T06:06:21.986Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T06:06:21.986Z] 9b18e9b68314: Pulling fs layer [2023-02-13T06:06:21.986Z] 35d82f9e3411: Pulling fs layer [2023-02-13T06:06:21.986Z] e16973657156: Pulling fs layer [2023-02-13T06:06:21.986Z] fc693d55d65f: Pulling fs layer [2023-02-13T06:06:21.986Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T06:06:21.986Z] dda99020689f: Pulling fs layer [2023-02-13T06:06:21.986Z] db1c61fa0a46: Pulling fs layer [2023-02-13T06:06:21.986Z] 891c053d2c06: Pulling fs layer [2023-02-13T06:06:21.986Z] fc693d55d65f: Waiting [2023-02-13T06:06:21.986Z] 7e9fc2657dce: Waiting [2023-02-13T06:06:21.986Z] dda99020689f: Waiting [2023-02-13T06:06:21.986Z] db1c61fa0a46: Waiting [2023-02-13T06:06:21.986Z] e16973657156: Verifying Checksum [2023-02-13T06:06:21.986Z] e16973657156: Download complete [2023-02-13T06:06:21.986Z] 35d82f9e3411: Verifying Checksum [2023-02-13T06:06:21.986Z] 35d82f9e3411: Download complete [2023-02-13T06:06:21.986Z] 7e9fc2657dce: Download complete [2023-02-13T06:06:21.986Z] dda99020689f: Verifying Checksum [2023-02-13T06:06:21.986Z] dda99020689f: Download complete [2023-02-13T06:06:21.986Z] 9b18e9b68314: Verifying Checksum [2023-02-13T06:06:21.986Z] 9b18e9b68314: Download complete [2023-02-13T06:06:22.985Z] 9b18e9b68314: Pull complete [2023-02-13T06:06:23.260Z] 891c053d2c06: Verifying Checksum [2023-02-13T06:06:23.260Z] 891c053d2c06: Download complete [2023-02-13T06:06:23.534Z] 35d82f9e3411: Pull complete [2023-02-13T06:06:24.150Z] e16973657156: Pull complete [2023-02-13T06:06:24.747Z] db1c61fa0a46: Verifying Checksum [2023-02-13T06:06:24.747Z] db1c61fa0a46: Download complete [2023-02-13T06:06:25.339Z] fc693d55d65f: Verifying Checksum [2023-02-13T06:06:25.339Z] fc693d55d65f: Download complete [2023-02-13T06:06:40.411Z] fc693d55d65f: Pull complete [2023-02-13T06:06:40.411Z] 7e9fc2657dce: Pull complete [2023-02-13T06:06:40.411Z] dda99020689f: Pull complete [2023-02-13T06:06:44.716Z] db1c61fa0a46: Pull complete [2023-02-13T06:06:46.677Z] 891c053d2c06: Pull complete [2023-02-13T06:06:46.677Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T06:06:46.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T06:06:46.677Z] ---> f96f9c87975a [2023-02-13T06:06:46.677Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-13T06:06:47.656Z] ---> Running in a507e858f81f [2023-02-13T06:06:47.929Z] Removing intermediate container a507e858f81f [2023-02-13T06:06:47.929Z] ---> 58103b3e41ec [2023-02-13T06:06:47.929Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T06:06:48.210Z] ---> Running in 03118d82881c [2023-02-13T06:06:48.485Z] Removing intermediate container 03118d82881c [2023-02-13T06:06:48.485Z] ---> 608268faebe1 [2023-02-13T06:06:48.485Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-13T06:06:48.485Z] ---> Running in 155e72d72c69 [2023-02-13T06:06:49.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T06:06:50.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T06:06:51.164Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-13T06:06:51.164Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-13T06:06:51.164Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-13T06:06:51.164Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-13T06:06:51.164Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-13T06:06:51.164Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-13T06:06:51.164Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-13T06:06:51.164Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-13T06:06:51.164Z] Executing busybox-1.35.0-r17.trigger [2023-02-13T06:06:51.164Z] OK: 228 MiB in 59 packages [2023-02-13T06:06:52.593Z] Removing intermediate container 155e72d72c69 [2023-02-13T06:06:52.593Z] ---> a9ef32948b3c [2023-02-13T06:06:52.593Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-13T06:06:52.593Z] ---> Running in b7570c579a9a [2023-02-13T06:06:52.867Z] Removing intermediate container b7570c579a9a [2023-02-13T06:06:52.867Z] ---> 9ddce10ef204 [2023-02-13T06:06:52.868Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T06:06:53.463Z] ---> 5483a910c073 [2023-02-13T06:06:53.463Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T06:06:53.463Z] ---> Running in 63417b0b41b7 [2023-02-13T06:08:01.433Z] Removing intermediate container 63417b0b41b7 [2023-02-13T06:08:01.433Z] ---> b05e331d70a2 [2023-02-13T06:08:01.433Z] Step 9/10 : COPY . . [2023-02-13T06:08:01.433Z] ---> 718b6e3ad602 [2023-02-13T06:08:01.433Z] Step 10/10 : RUN ${MAKE} [2023-02-13T06:08:01.433Z] ---> Running in e03c529aee59 [2023-02-13T06:08:01.433Z] noop [2023-02-13T06:08:02.024Z] Removing intermediate container e03c529aee59 [2023-02-13T06:08:02.024Z] ---> 4637c292261f [2023-02-13T06:08:02.024Z] Successfully built 4637c292261f [2023-02-13T06:08:02.024Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:08:02.786Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T06:08:02.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:08:03.062Z] prd-ubuntu20.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container [2023-02-13T06:08:03.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T06:08:04.365Z] $ docker top 4365c845ed832596d4b07c640b64c2f17002da34e6aa55800ac82f6a74d324b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:08:05.284Z] + go version [2023-02-13T06:08:05.284Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T06:08:05.316Z] $ docker stop --time=1 4365c845ed832596d4b07c640b64c2f17002da34e6aa55800ac82f6a74d324b5 [2023-02-13T06:08:07.012Z] $ docker rm -f --volumes 4365c845ed832596d4b07c640b64c2f17002da34e6aa55800ac82f6a74d324b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:08:07.889Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T06:08:07.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:08:08.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container [2023-02-13T06:08:08.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T06:08:09.492Z] $ docker top a7e6576c8be311e20f901da93a909caf94b970b9de5d93622aefed18d14fea59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:08:10.472Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T06:08:11.202Z] + make test [2023-02-13T06:08:11.202Z] go test ./... -coverprofile=coverage.out [2023-02-13T06:08:13.161Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-13T06:09:34.815Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-13T06:09:34.815Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-13T06:09:34.815Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-13T06:09:34.815Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-13T06:09:34.815Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements [2023-02-13T06:09:35.081Z] make: *** [Makefile:30: unittest] Error 2 [Pipeline] } [2023-02-13T06:09:35.128Z] $ docker stop --time=1 a7e6576c8be311e20f901da93a909caf94b970b9de5d93622aefed18d14fea59 [2023-02-13T06:09:38.055Z] $ docker rm -f --volumes a7e6576c8be311e20f901da93a909caf94b970b9de5d93622aefed18d14fea59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:09:39.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:09:39.513Z] [2023-02-13T06:09:39.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:09:39.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:09:39.925Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T06:09:39.925Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T06:09:39.925Z] 04944245beec: Pulling fs layer [2023-02-13T06:09:39.925Z] 699f458cf7ca: Pulling fs layer [2023-02-13T06:09:39.925Z] 765212b225bb: Pulling fs layer [2023-02-13T06:09:39.925Z] f23df028b6ca: Pulling fs layer [2023-02-13T06:09:39.925Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T06:09:39.925Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T06:09:39.925Z] f23df028b6ca: Waiting [2023-02-13T06:09:39.925Z] 765212b225bb: Waiting [2023-02-13T06:09:39.925Z] d65c8cfc05b1: Waiting [2023-02-13T06:09:39.925Z] 2437ff75d9bd: Waiting [2023-02-13T06:09:40.194Z] 04944245beec: Verifying Checksum [2023-02-13T06:09:40.194Z] 04944245beec: Download complete [2023-02-13T06:09:40.194Z] 765212b225bb: Verifying Checksum [2023-02-13T06:09:40.194Z] 765212b225bb: Download complete [2023-02-13T06:09:40.194Z] f23df028b6ca: Verifying Checksum [2023-02-13T06:09:40.194Z] f23df028b6ca: Download complete [2023-02-13T06:09:40.464Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T06:09:40.464Z] d65c8cfc05b1: Download complete [2023-02-13T06:09:40.464Z] 699f458cf7ca: Verifying Checksum [2023-02-13T06:09:40.464Z] 699f458cf7ca: Download complete [2023-02-13T06:09:40.731Z] 8998bd30e6a1: Download complete [2023-02-13T06:09:43.321Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T06:09:43.321Z] 2437ff75d9bd: Download complete [2023-02-13T06:09:44.727Z] 8998bd30e6a1: Pull complete [2023-02-13T06:09:44.995Z] 04944245beec: Pull complete [2023-02-13T06:09:45.962Z] 699f458cf7ca: Pull complete [2023-02-13T06:09:46.230Z] 765212b225bb: Pull complete [2023-02-13T06:09:47.189Z] f23df028b6ca: Pull complete [2023-02-13T06:09:47.189Z] d65c8cfc05b1: Pull complete [2023-02-13T06:10:02.192Z] 2437ff75d9bd: Pull complete [2023-02-13T06:10:02.192Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T06:10:02.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T06:10:02.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:10:02.508Z] prd-ubuntu20.04-docker-arm64-4c-16g-5490 does not seem to be running inside a container [2023-02-13T06:10:02.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T06:10:03.632Z] $ docker top 1d9148f79d590a9543db8d2760ddbad0257e3f3ccc526c4049b7bf2184dcbea6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:04.541Z] ---> job-cost.sh [2023-02-13T06:10:04.541Z] lf-activate-venv: SKIPPING [2023-02-13T06:10:04.541Z] INFO: No Stack... [2023-02-13T06:10:05.507Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T06:10:06.475Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T06:10:07.134Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2023-02-13T06:10:07.134Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T06:10:07.223Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [2023-02-13T06:10:07.228Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] did not exist. Created. [2023-02-13T06:10:07.228Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T06:10:07.982Z] /w/workspace/device-modbus-go/1@tmp/durable-ff876070/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T06:10:08.692Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T06:10:08.738Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T06:10:09.273Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T06:10:09.289Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-410-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T06:10:09.400Z] $ docker stop --time=1 1d9148f79d590a9543db8d2760ddbad0257e3f3ccc526c4049b7bf2184dcbea6 [2023-02-13T06:10:11.058Z] $ docker rm -f --volumes 1d9148f79d590a9543db8d2760ddbad0257e3f3ccc526c4049b7bf2184dcbea6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T06:10:11.838Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-02-13T06:10:13.720Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-410/archives ] [2023-02-13T06:10:13.720Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-410/archives [2023-02-13T06:10:13.720Z] total 16 [2023-02-13T06:10:13.720Z] drwxr-xr-x 3 root root 4096 Feb 13 06:01 . [2023-02-13T06:10:13.720Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 06:02 .. [2023-02-13T06:10:13.720Z] drwxr-xr-x 2 root root 4096 Feb 13 06:01 cost [2023-02-13T06:10:13.720Z] -rw-r--r-- 1 root root 88 Feb 13 06:01 cost.csv [2023-02-13T06:10:13.720Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-410/archives [2023-02-13T06:10:13.720Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-410/archives [2023-02-13T06:10:13.720Z] total 16 [2023-02-13T06:10:13.720Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 06:01 . [2023-02-13T06:10:13.720Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 06:02 .. [2023-02-13T06:10:13.720Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 06:01 cost [2023-02-13T06:10:13.720Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 13 06:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:14.047Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:14.946Z] ---> package-listing.sh [2023-02-13T06:10:14.946Z] ++ facter osfamily [2023-02-13T06:10:14.946Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T06:10:15.205Z] + OS_FAMILY=debian [2023-02-13T06:10:15.205Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-410 [2023-02-13T06:10:15.205Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T06:10:15.205Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T06:10:15.205Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T06:10:15.205Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T06:10:15.205Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-410 ']' [2023-02-13T06:10:15.205Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T06:10:15.205Z] + case "${OS_FAMILY}" in [2023-02-13T06:10:15.205Z] + dpkg -l [2023-02-13T06:10:15.205Z] + grep '^ii' [2023-02-13T06:10:15.205Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T06:10:15.205Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T06:10:15.205Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T06:10:15.205Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-410 ']' [2023-02-13T06:10:15.205Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-410/archives/ [2023-02-13T06:10:15.205Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-410/archives/ [Pipeline] echo [2023-02-13T06:10:15.241Z] 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-410/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T06:10:15.532Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T06:10:16.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T06:10:16.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T06:10:16.302Z] prd-ubuntu20.04-docker-8c-8g-5487 does not seem to be running inside a container [2023-02-13T06:10:16.338Z] $ 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-410/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-410 -v /w/workspace/xfoundry_device-modbus-go_PR-410:/w/workspace/xfoundry_device-modbus-go_PR-410:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-410@tmp:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T06:10:16.539Z] $ docker top 9dde327a34b1551a7952d0905f78d446bfa5dbf8703d64ec81b3ea9cc7da3d78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T06:10:16.923Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T06:10:17.231Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T06:10:17.540Z] + ls /var/log/sa-host [2023-02-13T06:10:17.540Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T06:10:17.670Z] provisioning config files... [2023-02-13T06:10:17.679Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-410@tmp/config2315063057171376197tmp [Pipeline] { [Pipeline] echo [2023-02-13T06:10:17.728Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:18.042Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T06:10:18.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:18.453Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T06:10:18.486Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:18.800Z] ---> sudo-logs.sh [2023-02-13T06:10:18.800Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T06:10:18.881Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:19.191Z] ---> job-cost.sh [2023-02-13T06:10:19.191Z] lf-activate-venv: SKIPPING [2023-02-13T06:10:19.191Z] DEBUG: total: 0.2199999988079071 [2023-02-13T06:10:19.191Z] INFO: Retrieving Stack Cost... [2023-02-13T06:10:19.452Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T06:10:20.020Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T06:10:20.061Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T06:10:20.376Z] ---> logs-deploy.sh [2023-02-13T06:10:20.376Z] lf-activate-venv: SKIPPING [2023-02-13T06:10:20.376Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-410/1 [2023-02-13T06:10:20.376Z] INFO: archiving workspace using pattern(s): [2023-02-13T06:10:21.314Z] Archives upload complete. [2023-02-13T06:10:21.314Z] INFO: archiving logs to Nexus