Pull request #240 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7+6fa13eb64575055365d964780e4ff33f2e866ca2 (954f7a07329089f65258640a02e7106b3356065d) 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-ssh6644940324681885450.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-ssh14707445010599720131.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-rest-go/branches/PR-240/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-rest-go/branches/PR-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3824578095942279661.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-rest-go/branches/PR-240/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6480922380515956936.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-ssh14659396363933312629.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-rest-go/branches/PR-240/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-rest-go/branches/PR-240/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3339157112382440286.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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-rest 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 Running on prd-ubuntu20.04-docker-8c-8g-2670 in /w/workspace/gexfoundry_device-rest-go_PR-240 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-240 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6fa13eb64575055365d964780e4ff33f2e866ca2 into PR head commit 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 Merge succeeded, producing 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 Checking out Revision 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 (PR-240) 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 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-16T20:01:37.827Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 # 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 6fa13eb64575055365d964780e4ff33f2e866ca2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T20:01:37.993Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T20:01:38.092Z] ========================================================= [2023-01-16T20:01:38.092Z] EdgeX Global Pipelines Version Info [2023-01-16T20:01:38.092Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:01:38.832Z] ------------------- [2023-01-16T20:01:38.832Z] stable info: [2023-01-16T20:01:38.832Z] ------------------- [2023-01-16T20:01:38.832Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T20:01:38.832Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T20:01:38.832Z] Message: update stable to v1.0.244 [2023-01-16T20:01:39.400Z] ------------------- [2023-01-16T20:01:39.400Z] experimental info: [2023-01-16T20:01:39.400Z] ------------------- [2023-01-16T20:01:39.400Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T20:01:39.400Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T20:01:39.400Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T20:01:39.674Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-16T20:01:39.713Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-16T20:01:39.757Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T20:01:39.801Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T20:01:39.844Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T20:01:39.883Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T20:01:39.918Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T20:01:39.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-16T20:01:40.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T20:01:40.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T20:01:40.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T20:01:40.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-16T20:01:40.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T20:01:40.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T20:01:40.260Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T20:01:40.300Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T20:01:40.340Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T20:01:40.375Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T20:01:40.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T20:01:40.462Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T20:01:40.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-16T20:01:40.549Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-16T20:01:40.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T20:01:40.637Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T20:01:40.680Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T20:01:40.724Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T20:01:40.768Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T20:01:40.813Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-240 [Pipeline] echo [2023-01-16T20:01:40.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-240 [Pipeline] echo [2023-01-16T20:01:40.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-240 [Pipeline] echo [2023-01-16T20:01:40.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 [Pipeline] echo [2023-01-16T20:01:40.996Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e59ee9 [Pipeline] echo [2023-01-16T20:01:41.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T20:01:41.159Z] provisioning config files... [2023-01-16T20:01:41.172Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-240@tmp/config15614054992533403369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:01:41.524Z] ---> docker-login.sh [2023-01-16T20:01:41.524Z] nexus3.edgexfoundry.org:10001 [2023-01-16T20:01:41.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:01:41.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:01:41.785Z] Configure a credential helper to remove this warning. See [2023-01-16T20:01:41.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:01:41.786Z] [2023-01-16T20:01:41.786Z] Login Succeeded [2023-01-16T20:01:41.786Z] nexus3.edgexfoundry.org:10002 [2023-01-16T20:01:41.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:01:42.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:01:42.046Z] Configure a credential helper to remove this warning. See [2023-01-16T20:01:42.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:01:42.046Z] [2023-01-16T20:01:42.046Z] Login Succeeded [2023-01-16T20:01:42.046Z] nexus3.edgexfoundry.org:10003 [2023-01-16T20:01:42.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:01:42.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:01:42.046Z] Configure a credential helper to remove this warning. See [2023-01-16T20:01:42.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:01:42.046Z] [2023-01-16T20:01:42.046Z] Login Succeeded [2023-01-16T20:01:42.046Z] nexus3.edgexfoundry.org:10004 [2023-01-16T20:01:42.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:01:42.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:01:42.047Z] Configure a credential helper to remove this warning. See [2023-01-16T20:01:42.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:01:42.047Z] [2023-01-16T20:01:42.047Z] Login Succeeded [2023-01-16T20:01:42.047Z] docker.io [2023-01-16T20:01:42.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:01:42.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:01:42.306Z] Configure a credential helper to remove this warning. See [2023-01-16T20:01:42.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:01:42.306Z] [2023-01-16T20:01:42.306Z] Login Succeeded [2023-01-16T20:01:42.306Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T20:01:42.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-16T20:01:42.987Z] + git rev-list -1 --merges 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7~1..7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 [Pipeline] echo [2023-01-16T20:01:43.103Z] -----------> git rev-list -1 --merges 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7~1..7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 [false] [Pipeline] sh [2023-01-16T20:01:43.531Z] + git log --format=format:%s -1 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 [Pipeline] echo [2023-01-16T20:01:43.572Z] ========================================================= [2023-01-16T20:01:43.572Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T20:01:43.572Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T20:01:44.005Z] + git log --format=format:%s -1 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 [Pipeline] echo [2023-01-16T20:01:44.040Z] [semverPrep] GIT_COMMIT: 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-16T20:01:44.071Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T20:01:44.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T20:01:44.443Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T20:01:44.443Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T20:01:44.443Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T20:01:44.443Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T20:01:44.443Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T20:01:44.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:01:44.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T20:01:44.889Z] [2023-01-16T20:01:44.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:01:45.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T20:01:45.272Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T20:01:45.272Z] b85a868b505f: Pulling fs layer [2023-01-16T20:01:45.272Z] e2be974225ed: Pulling fs layer [2023-01-16T20:01:45.272Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T20:01:45.272Z] 988bab9f4d93: Pulling fs layer [2023-01-16T20:01:45.272Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T20:01:45.272Z] eaf3925da568: Pulling fs layer [2023-01-16T20:01:45.272Z] bab4dde63d76: Pulling fs layer [2023-01-16T20:01:45.272Z] bde34c3a00c8: Pulling fs layer [2023-01-16T20:01:45.272Z] b352a97aabf1: Pulling fs layer [2023-01-16T20:01:45.272Z] 988bab9f4d93: Waiting [2023-01-16T20:01:45.272Z] 4872d77fe225: Pulling fs layer [2023-01-16T20:01:45.272Z] 5851b861e8e6: Pulling fs layer [2023-01-16T20:01:45.272Z] 1469e6f7b9e6: Waiting [2023-01-16T20:01:45.272Z] b352a97aabf1: Waiting [2023-01-16T20:01:45.272Z] bab4dde63d76: Waiting [2023-01-16T20:01:45.272Z] 4872d77fe225: Waiting [2023-01-16T20:01:45.272Z] bde34c3a00c8: Waiting [2023-01-16T20:01:45.272Z] 5851b861e8e6: Waiting [2023-01-16T20:01:45.272Z] e2be974225ed: Download complete [2023-01-16T20:01:45.272Z] 988bab9f4d93: Verifying Checksum [2023-01-16T20:01:45.272Z] 988bab9f4d93: Download complete [2023-01-16T20:01:45.532Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T20:01:45.532Z] 1469e6f7b9e6: Download complete [2023-01-16T20:01:45.532Z] eaf3925da568: Download complete [2023-01-16T20:01:45.532Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T20:01:45.532Z] 339a4e72a1f5: Download complete [2023-01-16T20:01:45.532Z] bde34c3a00c8: Verifying Checksum [2023-01-16T20:01:45.532Z] bde34c3a00c8: Download complete [2023-01-16T20:01:45.792Z] b352a97aabf1: Verifying Checksum [2023-01-16T20:01:45.792Z] b352a97aabf1: Download complete [2023-01-16T20:01:45.792Z] 4872d77fe225: Download complete [2023-01-16T20:01:45.792Z] 5851b861e8e6: Verifying Checksum [2023-01-16T20:01:45.792Z] 5851b861e8e6: Download complete [2023-01-16T20:01:45.792Z] b85a868b505f: Verifying Checksum [2023-01-16T20:01:45.792Z] b85a868b505f: Download complete [2023-01-16T20:01:46.358Z] bab4dde63d76: Verifying Checksum [2023-01-16T20:01:46.358Z] bab4dde63d76: Download complete [2023-01-16T20:01:46.925Z] b85a868b505f: Pull complete [2023-01-16T20:01:47.184Z] e2be974225ed: Pull complete [2023-01-16T20:01:47.443Z] 339a4e72a1f5: Pull complete [2023-01-16T20:01:47.702Z] 988bab9f4d93: Pull complete [2023-01-16T20:01:47.960Z] 1469e6f7b9e6: Pull complete [2023-01-16T20:01:47.960Z] eaf3925da568: Pull complete [2023-01-16T20:01:49.860Z] bab4dde63d76: Pull complete [2023-01-16T20:01:49.860Z] bde34c3a00c8: Pull complete [2023-01-16T20:01:49.860Z] b352a97aabf1: Pull complete [2023-01-16T20:01:49.860Z] 4872d77fe225: Pull complete [2023-01-16T20:01:49.860Z] 5851b861e8e6: Pull complete [2023-01-16T20:01:49.860Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T20:01:49.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T20:01:49.860Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:01:50.113Z] prd-ubuntu20.04-docker-8c-8g-2670 does not seem to be running inside a container [2023-01-16T20:01:50.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-240 -v /w/workspace/gexfoundry_device-rest-go_PR-240:/w/workspace/gexfoundry_device-rest-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-240@tmp:/w/workspace/gexfoundry_device-rest-go_PR-240@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-16T20:01:52.243Z] $ docker top 4e7bc32572125ea5c7f50879d4ffc9a23fd08cbe16354cd3fe31bee2bd4282ee -eo pid,comm [2023-01-16T20:01:52.302Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-16T20:01:52.302Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T20:01:52.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T20:01:52.428Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T20:01:52.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T20:01:52.536Z] $ docker exec 4e7bc32572125ea5c7f50879d4ffc9a23fd08cbe16354cd3fe31bee2bd4282ee ssh-agent [2023-01-16T20:01:52.642Z] SSH_AUTH_SOCK=/tmp/ssh-Ydw3StlunrZf/agent.32 [2023-01-16T20:01:52.642Z] SSH_AGENT_PID=38 [2023-01-16T20:01:52.648Z] Running ssh-add (command line suppressed) [2023-01-16T20:01:52.740Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-240@tmp/private_key_12817623798958688079.key (/w/workspace/gexfoundry_device-rest-go_PR-240@tmp/private_key_12817623798958688079.key) [2023-01-16T20:01:52.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T20:01:53.099Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T20:01:53.117Z] $ docker exec --env ******** --env ******** 4e7bc32572125ea5c7f50879d4ffc9a23fd08cbe16354cd3fe31bee2bd4282ee ssh-agent -k [2023-01-16T20:01:53.202Z] unset SSH_AUTH_SOCK; [2023-01-16T20:01:53.203Z] unset SSH_AGENT_PID; [2023-01-16T20:01:53.203Z] echo Agent pid 38 killed; [2023-01-16T20:01:53.225Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T20:01:53.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T20:01:53.317Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T20:01:53.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T20:01:53.422Z] $ docker exec 4e7bc32572125ea5c7f50879d4ffc9a23fd08cbe16354cd3fe31bee2bd4282ee ssh-agent [2023-01-16T20:01:53.544Z] SSH_AUTH_SOCK=/tmp/ssh-gmnliqJ5EkNl/agent.70 [2023-01-16T20:01:53.544Z] SSH_AGENT_PID=76 [2023-01-16T20:01:53.549Z] Running ssh-add (command line suppressed) [2023-01-16T20:01:53.651Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-240@tmp/private_key_8183059529362976774.key (/w/workspace/gexfoundry_device-rest-go_PR-240@tmp/private_key_8183059529362976774.key) [2023-01-16T20:01:53.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T20:01:53.995Z] + git semver init [2023-01-16T20:01:54.255Z] 2023-01-16 20:01:54,214 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T20:01:54.255Z] 2023-01-16 20:01:54,215 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-240/.semver [2023-01-16T20:01:54.255Z] 2023-01-16 20:01:54,216 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-240/.semver [2023-01-16T20:01:54.255Z] 2023-01-16 20:01:54,217 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-240/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-240, universal_newlines=False, shell=None, istream=None) [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,780 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-240/.git/info/exclude [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,781 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-240/.semver/PR-240 with force:False [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,781 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-240/.semver/PR-240 [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,785 [execute] INFO git cat-file --batch-check [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,790 [execute] INFO git cat-file --batch [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,790 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-240/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T20:01:56.163Z] 2023-01-16 20:01:55,793 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-240/.semver/PR-240 [2023-01-16T20:01:56.163Z] 0.0.0 [Pipeline] } [2023-01-16T20:01:56.180Z] $ docker exec --env ******** --env ******** 4e7bc32572125ea5c7f50879d4ffc9a23fd08cbe16354cd3fe31bee2bd4282ee ssh-agent -k [2023-01-16T20:01:56.279Z] unset SSH_AUTH_SOCK; [2023-01-16T20:01:56.280Z] unset SSH_AGENT_PID; [2023-01-16T20:01:56.280Z] echo Agent pid 76 killed; [2023-01-16T20:01:56.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T20:01:56.781Z] + git semver [Pipeline] } [2023-01-16T20:01:57.054Z] $ docker stop --time=1 4e7bc32572125ea5c7f50879d4ffc9a23fd08cbe16354cd3fe31bee2bd4282ee [2023-01-16T20:01:58.375Z] $ docker rm -f --volumes 4e7bc32572125ea5c7f50879d4ffc9a23fd08cbe16354cd3fe31bee2bd4282ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T20:01:58.778Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T20:01:59.034Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T20:01:59.052Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T20:01:59.644Z] provisioning config files... [2023-01-16T20:01:59.655Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-240@tmp/config9895413447433917306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:01:59.999Z] ---> docker-login.sh [2023-01-16T20:01:59.999Z] nexus3.edgexfoundry.org:10001 [2023-01-16T20:01:59.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:01:59.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:01:59.999Z] Configure a credential helper to remove this warning. See [2023-01-16T20:01:59.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:01:59.999Z] [2023-01-16T20:01:59.999Z] Login Succeeded [2023-01-16T20:01:59.999Z] nexus3.edgexfoundry.org:10002 [2023-01-16T20:01:59.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:01:59.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:01:59.999Z] Configure a credential helper to remove this warning. See [2023-01-16T20:01:59.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:01:59.999Z] [2023-01-16T20:01:59.999Z] Login Succeeded [2023-01-16T20:01:59.999Z] nexus3.edgexfoundry.org:10003 [2023-01-16T20:02:00.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:02:00.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:02:00.258Z] Configure a credential helper to remove this warning. See [2023-01-16T20:02:00.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:02:00.258Z] [2023-01-16T20:02:00.258Z] Login Succeeded [2023-01-16T20:02:00.258Z] nexus3.edgexfoundry.org:10004 [2023-01-16T20:02:00.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:02:00.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:02:00.258Z] Configure a credential helper to remove this warning. See [2023-01-16T20:02:00.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:02:00.258Z] [2023-01-16T20:02:00.258Z] Login Succeeded [2023-01-16T20:02:00.258Z] docker.io [2023-01-16T20:02:00.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:02:00.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:02:00.517Z] Configure a credential helper to remove this warning. See [2023-01-16T20:02:00.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:02:00.517Z] [2023-01-16T20:02:00.517Z] Login Succeeded [2023-01-16T20:02:00.517Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T20:02:00.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T20:02:00.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T20:02:00.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T20:02:00.804Z] ========================================================= [2023-01-16T20:02:00.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T20:02:00.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:02:01.262Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T20:02:01.263Z] Sending build context to Docker daemon 10.8MB [2023-01-16T20:02:01.263Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T20:02:01.263Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-16T20:02:01.263Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T20:02:01.263Z] 213ec9aee27d: Pulling fs layer [2023-01-16T20:02:01.263Z] 4583459ba037: Pulling fs layer [2023-01-16T20:02:01.263Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T20:02:01.263Z] 53926ce57604: Pulling fs layer [2023-01-16T20:02:01.263Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T20:02:01.263Z] 53926ce57604: Waiting [2023-01-16T20:02:01.263Z] 21b2b0c7a3f4: Waiting [2023-01-16T20:02:01.263Z] 22ff95d597cd: Pulling fs layer [2023-01-16T20:02:01.263Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T20:02:01.263Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T20:02:01.263Z] a7acece74701: Pulling fs layer [2023-01-16T20:02:01.263Z] 22ff95d597cd: Waiting [2023-01-16T20:02:01.263Z] 12d6caf4c0d1: Waiting [2023-01-16T20:02:01.263Z] 96b7cbca73a9: Waiting [2023-01-16T20:02:01.263Z] a7acece74701: Waiting [2023-01-16T20:02:01.263Z] 93c1e223e6f2: Verifying Checksum [2023-01-16T20:02:01.263Z] 93c1e223e6f2: Download complete [2023-01-16T20:02:01.263Z] 4583459ba037: Download complete [2023-01-16T20:02:01.263Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-16T20:02:01.263Z] 21b2b0c7a3f4: Download complete [2023-01-16T20:02:01.530Z] 22ff95d597cd: Verifying Checksum [2023-01-16T20:02:01.530Z] 22ff95d597cd: Download complete [2023-01-16T20:02:01.530Z] 213ec9aee27d: Verifying Checksum [2023-01-16T20:02:01.530Z] 213ec9aee27d: Download complete [2023-01-16T20:02:01.530Z] 12d6caf4c0d1: Download complete [2023-01-16T20:02:01.530Z] 213ec9aee27d: Pull complete [2023-01-16T20:02:01.804Z] 4583459ba037: Pull complete [2023-01-16T20:02:01.804Z] 93c1e223e6f2: Pull complete [2023-01-16T20:02:02.415Z] 53926ce57604: Verifying Checksum [2023-01-16T20:02:02.415Z] 53926ce57604: Download complete [2023-01-16T20:02:02.675Z] a7acece74701: Verifying Checksum [2023-01-16T20:02:02.675Z] a7acece74701: Download complete [2023-01-16T20:02:03.244Z] 96b7cbca73a9: Verifying Checksum [2023-01-16T20:02:03.244Z] 96b7cbca73a9: Download complete [2023-01-16T20:02:05.774Z] 53926ce57604: Pull complete [2023-01-16T20:02:05.774Z] 21b2b0c7a3f4: Pull complete [2023-01-16T20:02:05.774Z] 22ff95d597cd: Pull complete [2023-01-16T20:02:06.034Z] 12d6caf4c0d1: Pull complete [2023-01-16T20:02:07.933Z] 96b7cbca73a9: Pull complete [2023-01-16T20:02:08.499Z] a7acece74701: Pull complete [2023-01-16T20:02:08.499Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T20:02:08.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T20:02:08.499Z] ---> db6d94c90886 [2023-01-16T20:02:08.499Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-16T20:02:12.691Z] ---> Running in 2fcbc6ead2b0 [2023-01-16T20:02:12.691Z] Removing intermediate container 2fcbc6ead2b0 [2023-01-16T20:02:12.691Z] ---> b931c0d7ea7d [2023-01-16T20:02:12.691Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T20:02:12.691Z] ---> Running in 18222eb14003 [2023-01-16T20:02:12.691Z] Removing intermediate container 18222eb14003 [2023-01-16T20:02:12.691Z] ---> a2455b114591 [2023-01-16T20:02:12.691Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-16T20:02:12.691Z] ---> Running in 8c969e19b320 [2023-01-16T20:02:12.691Z] Removing intermediate container 8c969e19b320 [2023-01-16T20:02:12.691Z] ---> 004e7fa9895c [2023-01-16T20:02:12.691Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T20:02:12.691Z] ---> Running in 01403d08ff57 [2023-01-16T20:02:12.951Z] Removing intermediate container 01403d08ff57 [2023-01-16T20:02:12.951Z] ---> 709420967b81 [2023-01-16T20:02:12.951Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T20:02:12.951Z] ---> Running in 8ddb42553fef [2023-01-16T20:02:13.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T20:02:13.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T20:02:13.776Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-16T20:02:13.776Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-16T20:02:13.776Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-16T20:02:13.776Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-16T20:02:13.776Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T20:02:13.776Z] OK: 216 MiB in 55 packages [2023-01-16T20:02:14.343Z] Removing intermediate container 8ddb42553fef [2023-01-16T20:02:14.343Z] ---> ca036da208c0 [2023-01-16T20:02:14.343Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-16T20:02:14.343Z] ---> Running in bbad94a6e512 [2023-01-16T20:02:14.343Z] Removing intermediate container bbad94a6e512 [2023-01-16T20:02:14.343Z] ---> 148ec56ff575 [2023-01-16T20:02:14.343Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-16T20:02:14.343Z] ---> a726440109bb [2023-01-16T20:02:14.343Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T20:02:14.343Z] ---> Running in 606135441b02 [2023-01-16T20:02:14.477Z] Still waiting to schedule task [2023-01-16T20:02:14.477Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-16T20:02:46.580Z] Removing intermediate container 606135441b02 [2023-01-16T20:02:46.580Z] ---> cc6adca56832 [2023-01-16T20:02:46.580Z] Step 11/12 : COPY . . [2023-01-16T20:02:46.839Z] ---> 9df3d4185597 [2023-01-16T20:02:46.839Z] Step 12/12 : RUN $MAKE [2023-01-16T20:02:46.839Z] ---> Running in aaa6daab914d [2023-01-16T20:02:47.097Z] noop [2023-01-16T20:02:47.354Z] Removing intermediate container aaa6daab914d [2023-01-16T20:02:47.354Z] ---> 3719aee6b7e3 [2023-01-16T20:02:47.354Z] Successfully built 3719aee6b7e3 [2023-01-16T20:02:47.354Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:02:47.786Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T20:02:47.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:02:47.936Z] prd-ubuntu20.04-docker-8c-8g-2670 does not seem to be running inside a container [2023-01-16T20:02:47.958Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-240 -v /w/workspace/gexfoundry_device-rest-go_PR-240:/w/workspace/gexfoundry_device-rest-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-240@tmp:/w/workspace/gexfoundry_device-rest-go_PR-240@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 ******** ci-base-image-x86_64 cat [2023-01-16T20:02:48.353Z] $ docker top 61f49f4d05cd1d48d2425736f39bc6f06bbc8d9cb54b65b7edfe48ca245cd344 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T20:02:48.758Z] + go version [2023-01-16T20:02:48.758Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T20:02:48.779Z] $ docker stop --time=1 61f49f4d05cd1d48d2425736f39bc6f06bbc8d9cb54b65b7edfe48ca245cd344 [2023-01-16T20:02:50.074Z] $ docker rm -f --volumes 61f49f4d05cd1d48d2425736f39bc6f06bbc8d9cb54b65b7edfe48ca245cd344 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:02:50.855Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T20:02:50.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:02:50.999Z] prd-ubuntu20.04-docker-8c-8g-2670 does not seem to be running inside a container [2023-01-16T20:02:51.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-240 -v /w/workspace/gexfoundry_device-rest-go_PR-240:/w/workspace/gexfoundry_device-rest-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-240@tmp:/w/workspace/gexfoundry_device-rest-go_PR-240@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 ******** ci-base-image-x86_64 cat [2023-01-16T20:02:51.345Z] $ docker top 6af20cd62e5a5c6f5fde7bd19d240a7b860609117d1a7f1da9fb3d1189ac04c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T20:02:51.739Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-240 [Pipeline] fileExists [Pipeline] sh [2023-01-16T20:02:52.092Z] + make test [2023-01-16T20:02:52.092Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T20:02:52.350Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-16T20:02:58.923Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T20:02:58.923Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-16T20:02:58.923Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T20:02:58.923Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T20:02:58.923Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T20:02:58.923Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-16T20:03:00.840Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T20:03:00.840Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-16T20:03:00.840Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-16T20:03:00.840Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T20:03:00.840Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-16T20:03:00.840Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-16T20:03:00.840Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2023-01-16T20:03:00.840Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-01-16T20:03:00.871Z] $ docker stop --time=1 6af20cd62e5a5c6f5fde7bd19d240a7b860609117d1a7f1da9fb3d1189ac04c8 [2023-01-16T20:03:03.346Z] $ docker rm -f --volumes 6af20cd62e5a5c6f5fde7bd19d240a7b860609117d1a7f1da9fb3d1189ac04c8 [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-01-16T20:03:04.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T20:03:04.826Z] [2023-01-16T20:03:04.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:03:05.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T20:03:05.201Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T20:03:05.201Z] 5eb5b503b376: Pulling fs layer [2023-01-16T20:03:05.201Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T20:03:05.201Z] ec43610c2a17: Pulling fs layer [2023-01-16T20:03:05.201Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T20:03:05.201Z] 33b1e0a273af: Pulling fs layer [2023-01-16T20:03:05.201Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T20:03:05.201Z] 2f39f015ded8: Pulling fs layer [2023-01-16T20:03:05.201Z] 5d3b04190fa2: Waiting [2023-01-16T20:03:05.201Z] 33b1e0a273af: Waiting [2023-01-16T20:03:05.201Z] 2f39f015ded8: Waiting [2023-01-16T20:03:05.201Z] 3a2ae6a8a46f: Waiting [2023-01-16T20:03:05.201Z] 5c69ac0246d0: Verifying Checksum [2023-01-16T20:03:05.201Z] 5c69ac0246d0: Download complete [2023-01-16T20:03:05.201Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-16T20:03:05.201Z] 3a2ae6a8a46f: Download complete [2023-01-16T20:03:05.461Z] 33b1e0a273af: Verifying Checksum [2023-01-16T20:03:05.461Z] 33b1e0a273af: Download complete [2023-01-16T20:03:05.461Z] ec43610c2a17: Verifying Checksum [2023-01-16T20:03:05.461Z] ec43610c2a17: Download complete [2023-01-16T20:03:05.461Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T20:03:05.461Z] 5d3b04190fa2: Download complete [2023-01-16T20:03:05.461Z] 5eb5b503b376: Download complete [2023-01-16T20:03:06.397Z] 2f39f015ded8: Verifying Checksum [2023-01-16T20:03:06.398Z] 2f39f015ded8: Download complete [2023-01-16T20:03:06.655Z] 5eb5b503b376: Pull complete [2023-01-16T20:03:06.914Z] 5c69ac0246d0: Pull complete [2023-01-16T20:03:07.489Z] ec43610c2a17: Pull complete [2023-01-16T20:03:07.489Z] 3a2ae6a8a46f: Pull complete [2023-01-16T20:03:07.747Z] 33b1e0a273af: Pull complete [2023-01-16T20:03:07.747Z] 5d3b04190fa2: Pull complete [2023-01-16T20:03:11.959Z] 2f39f015ded8: Pull complete [2023-01-16T20:03:11.959Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T20:03:11.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T20:03:11.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:03:12.194Z] prd-ubuntu20.04-docker-8c-8g-2670 does not seem to be running inside a container [2023-01-16T20:03:12.211Z] $ 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/gexfoundry_device-rest-go_PR-240 -v /w/workspace/gexfoundry_device-rest-go_PR-240:/w/workspace/gexfoundry_device-rest-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-240@tmp:/w/workspace/gexfoundry_device-rest-go_PR-240@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-01-16T20:03:16.082Z] $ docker top b593753214829b7d6de323b55221dbc20a8622054618e6bc5a144c8c4580123e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:03:16.572Z] ---> job-cost.sh [2023-01-16T20:03:16.572Z] lf-activate-venv: SKIPPING [2023-01-16T20:03:16.572Z] INFO: No Stack... [2023-01-16T20:03:17.138Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T20:03:17.397Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T20:03:17.707Z] + + cut -d, -f6 [2023-01-16T20:03:17.707Z] cat /w/workspace/gexfoundry_device-rest-go_PR-240/archives/cost.csv [Pipeline] lock [2023-01-16T20:03:17.752Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] [2023-01-16T20:03:17.757Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] did not exist. Created. [2023-01-16T20:03:17.757Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T20:03:18.152Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T20:03:18.206Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T20:03:18.234Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T20:03:18.304Z] $ docker stop --time=1 b593753214829b7d6de323b55221dbc20a8622054618e6bc5a144c8c4580123e [2023-01-16T20:03:19.442Z] $ docker rm -f --volumes b593753214829b7d6de323b55221dbc20a8622054618e6bc5a144c8c4580123e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T20:03:19.820Z] Failed in branch amd64 [2023-01-16T20:03:45.848Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2678 in /w/workspace/gexfoundry_device-rest-go_PR-240 [Pipeline] { [Pipeline] ws [2023-01-16T20:03:45.906Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-16T20:03:45.984Z] The recommended git tool is: git [2023-01-16T20:03:50.730Z] using credential edgex-jenkins-ssh [2023-01-16T20:03:50.749Z] Cloning the remote Git repository [2023-01-16T20:03:50.798Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-16T20:03:50.875Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-16T20:03:51.027Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-16T20:03:51.028Z] > git --version # timeout=10 [2023-01-16T20:03:51.048Z] > git --version # 'git version 2.25.1' [2023-01-16T20:03:51.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T20:03:51.106Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T20:03:52.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-16T20:03:52.959Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T20:03:54.309Z] Merging remotes/origin/main commit 6fa13eb64575055365d964780e4ff33f2e866ca2 into PR head commit 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 [2023-01-16T20:03:54.535Z] Merge succeeded, producing 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 [2023-01-16T20:03:54.535Z] Checking out Revision 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 (PR-240) [2023-01-16T20:03:53.735Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-16T20:03:53.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-16T20:03:53.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T20:03:53.794Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/240/head:refs/remotes/origin/PR-240 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T20:03:54.332Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T20:03:54.359Z] > git checkout -f 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 # timeout=10 [2023-01-16T20:03:54.439Z] > git remote # timeout=10 [2023-01-16T20:03:54.459Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T20:03:54.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T20:03:54.491Z] > git merge 6fa13eb64575055365d964780e4ff33f2e866ca2 # timeout=10 [2023-01-16T20:03:54.520Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T20:03:54.546Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T20:03:54.560Z] > git checkout -f 7e59ee9b48b056dfdcc9c4f6d561d66caf50f4b7 # timeout=10 [2023-01-16T20:03:55.031Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-16T20:03:55.092Z] > git --version # timeout=10 [2023-01-16T20:03:55.107Z] > git --version # 'git version 2.25.1' [2023-01-16T20:03:55.120Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T20:03:56.450Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T20:03:56.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T20:03:56.450Z] Dload Upload Total Spent Left Speed [2023-01-16T20:03:56.450Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh [2023-01-16T20:03:57.092Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T20:03:57.442Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T20:03:57.442Z] + sudo tee /etc/docker/daemon.new [2023-01-16T20:03:57.442Z] { [2023-01-16T20:03:57.442Z] "registry-mirrors": [ [2023-01-16T20:03:57.442Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T20:03:57.442Z] ], [2023-01-16T20:03:57.442Z] "bip": "10.250.0.254/24", [2023-01-16T20:03:57.442Z] "hosts": [ [2023-01-16T20:03:57.442Z] "tcp://0.0.0.0:5555", [2023-01-16T20:03:57.442Z] "unix:///var/run/docker.sock" [2023-01-16T20:03:57.442Z] ], [2023-01-16T20:03:57.442Z] "mtu": 1458, [2023-01-16T20:03:57.442Z] "selinux-enabled": true, [2023-01-16T20:03:57.442Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T20:03:57.442Z] } [Pipeline] sh [2023-01-16T20:03:57.788Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T20:03:58.134Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T20:04:16.457Z] provisioning config files... [2023-01-16T20:04:16.486Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config699454081142836646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:04:16.879Z] ---> docker-login.sh [2023-01-16T20:04:16.879Z] nexus3.edgexfoundry.org:10001 [2023-01-16T20:04:17.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:04:17.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:04:17.416Z] Configure a credential helper to remove this warning. See [2023-01-16T20:04:17.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:04:17.416Z] [2023-01-16T20:04:17.416Z] Login Succeeded [2023-01-16T20:04:17.416Z] nexus3.edgexfoundry.org:10002 [2023-01-16T20:04:17.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:04:17.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:04:17.953Z] Configure a credential helper to remove this warning. See [2023-01-16T20:04:17.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:04:17.953Z] [2023-01-16T20:04:17.953Z] Login Succeeded [2023-01-16T20:04:17.953Z] nexus3.edgexfoundry.org:10003 [2023-01-16T20:04:17.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:04:18.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:04:18.225Z] Configure a credential helper to remove this warning. See [2023-01-16T20:04:18.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:04:18.225Z] [2023-01-16T20:04:18.225Z] Login Succeeded [2023-01-16T20:04:18.225Z] nexus3.edgexfoundry.org:10004 [2023-01-16T20:04:18.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:04:18.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:04:18.496Z] Configure a credential helper to remove this warning. See [2023-01-16T20:04:18.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:04:18.496Z] [2023-01-16T20:04:18.496Z] Login Succeeded [2023-01-16T20:04:18.496Z] docker.io [2023-01-16T20:04:18.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T20:04:19.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T20:04:19.034Z] Configure a credential helper to remove this warning. See [2023-01-16T20:04:19.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T20:04:19.034Z] [2023-01-16T20:04:19.034Z] Login Succeeded [2023-01-16T20:04:19.034Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T20:04:19.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T20:04:19.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T20:04:19.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T20:04:19.508Z] ========================================================= [2023-01-16T20:04:19.508Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T20:04:19.508Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:04:20.009Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-16T20:04:20.009Z] Sending build context to Docker daemon 128.5kB [2023-01-16T20:04:20.281Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T20:04:20.281Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-16T20:04:20.281Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T20:04:20.281Z] 9b18e9b68314: Pulling fs layer [2023-01-16T20:04:20.281Z] 35d82f9e3411: Pulling fs layer [2023-01-16T20:04:20.281Z] e16973657156: Pulling fs layer [2023-01-16T20:04:20.281Z] fc693d55d65f: Pulling fs layer [2023-01-16T20:04:20.281Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T20:04:20.281Z] dda99020689f: Pulling fs layer [2023-01-16T20:04:20.281Z] fc693d55d65f: Waiting [2023-01-16T20:04:20.281Z] 7e9fc2657dce: Waiting [2023-01-16T20:04:20.281Z] db1c61fa0a46: Pulling fs layer [2023-01-16T20:04:20.281Z] 891c053d2c06: Pulling fs layer [2023-01-16T20:04:20.281Z] db1c61fa0a46: Waiting [2023-01-16T20:04:20.281Z] 891c053d2c06: Waiting [2023-01-16T20:04:20.281Z] dda99020689f: Waiting [2023-01-16T20:04:20.281Z] e16973657156: Verifying Checksum [2023-01-16T20:04:20.281Z] e16973657156: Download complete [2023-01-16T20:04:20.556Z] 35d82f9e3411: Verifying Checksum [2023-01-16T20:04:20.556Z] 35d82f9e3411: Download complete [2023-01-16T20:04:20.556Z] 7e9fc2657dce: Verifying Checksum [2023-01-16T20:04:20.556Z] 7e9fc2657dce: Download complete [2023-01-16T20:04:20.556Z] dda99020689f: Verifying Checksum [2023-01-16T20:04:20.556Z] dda99020689f: Download complete [2023-01-16T20:04:20.556Z] 9b18e9b68314: Verifying Checksum [2023-01-16T20:04:21.535Z] 891c053d2c06: Verifying Checksum [2023-01-16T20:04:21.535Z] 891c053d2c06: Download complete [2023-01-16T20:04:22.127Z] 9b18e9b68314: Pull complete [2023-01-16T20:04:22.714Z] 35d82f9e3411: Pull complete [2023-01-16T20:04:22.714Z] db1c61fa0a46: Verifying Checksum [2023-01-16T20:04:22.714Z] db1c61fa0a46: Download complete [2023-01-16T20:04:22.983Z] e16973657156: Pull complete [2023-01-16T20:04:23.252Z] fc693d55d65f: Verifying Checksum [2023-01-16T20:04:23.252Z] fc693d55d65f: Download complete [2023-01-16T20:04:37.053Z] fc693d55d65f: Pull complete [2023-01-16T20:04:37.053Z] 7e9fc2657dce: Pull complete [2023-01-16T20:04:37.053Z] dda99020689f: Pull complete [2023-01-16T20:04:42.427Z] db1c61fa0a46: Pull complete [2023-01-16T20:04:43.851Z] 891c053d2c06: Pull complete [2023-01-16T20:04:43.851Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T20:04:43.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T20:04:43.851Z] ---> f96f9c87975a [2023-01-16T20:04:43.851Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-16T20:04:45.815Z] ---> Running in 33ef55db1772 [2023-01-16T20:04:46.099Z] Removing intermediate container 33ef55db1772 [2023-01-16T20:04:46.099Z] ---> eb924d60e253 [2023-01-16T20:04:46.099Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T20:04:46.390Z] ---> Running in 3058e862e446 [2023-01-16T20:04:46.696Z] Removing intermediate container 3058e862e446 [2023-01-16T20:04:46.696Z] ---> df8ae0a9c93f [2023-01-16T20:04:46.696Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-16T20:04:46.696Z] ---> Running in e150f9722338 [2023-01-16T20:04:47.295Z] Removing intermediate container e150f9722338 [2023-01-16T20:04:47.295Z] ---> ff208cb206e6 [2023-01-16T20:04:47.295Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T20:04:47.295Z] ---> Running in fcf8f3edb957 [2023-01-16T20:04:47.568Z] Removing intermediate container fcf8f3edb957 [2023-01-16T20:04:47.568Z] ---> f96e2cc46400 [2023-01-16T20:04:47.568Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T20:04:47.568Z] ---> Running in 58e27486dd25 [2023-01-16T20:04:48.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T20:04:48.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T20:04:49.945Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-16T20:04:49.945Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-16T20:04:49.945Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-16T20:04:50.211Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-16T20:04:50.211Z] Executing busybox-1.35.0-r17.trigger [2023-01-16T20:04:50.211Z] OK: 226 MiB in 55 packages [2023-01-16T20:04:51.185Z] Removing intermediate container 58e27486dd25 [2023-01-16T20:04:51.185Z] ---> 80225f24a2c3 [2023-01-16T20:04:51.185Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-16T20:04:51.185Z] ---> Running in 1b69c85e7db3 [2023-01-16T20:04:51.463Z] Removing intermediate container 1b69c85e7db3 [2023-01-16T20:04:51.463Z] ---> 2063dc2ee366 [2023-01-16T20:04:51.463Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-16T20:04:52.056Z] ---> 9e1c3b883566 [2023-01-16T20:04:52.056Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T20:04:52.056Z] ---> Running in d2a65af2928b [2023-01-16T20:05:48.474Z] Removing intermediate container d2a65af2928b [2023-01-16T20:05:48.474Z] ---> 2101c660b627 [2023-01-16T20:05:48.474Z] Step 11/12 : COPY . . [2023-01-16T20:05:48.474Z] ---> d62a54ea2de7 [2023-01-16T20:05:48.474Z] Step 12/12 : RUN $MAKE [2023-01-16T20:05:48.474Z] ---> Running in fb222f770424 [2023-01-16T20:05:48.474Z] noop [2023-01-16T20:05:48.474Z] Removing intermediate container fb222f770424 [2023-01-16T20:05:48.474Z] ---> 35b226823bba [2023-01-16T20:05:48.474Z] Successfully built 35b226823bba [2023-01-16T20:05:48.474Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:05:48.940Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T20:05:48.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:05:49.205Z] prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container [2023-01-16T20:05:49.283Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-01-16T20:05:50.679Z] $ docker top 03fc0eea16f2573a3866fefc363a0d1455207a9951f3349946b75fb365ea5bfe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T20:05:51.571Z] + go version [2023-01-16T20:05:51.571Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T20:05:51.615Z] $ docker stop --time=1 03fc0eea16f2573a3866fefc363a0d1455207a9951f3349946b75fb365ea5bfe [2023-01-16T20:05:53.274Z] $ docker rm -f --volumes 03fc0eea16f2573a3866fefc363a0d1455207a9951f3349946b75fb365ea5bfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:05:54.109Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T20:05:54.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:05:54.386Z] prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container [2023-01-16T20:05:54.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-01-16T20:05:55.650Z] $ docker top e78a85f33f715cb4b96310fb17101232936577d0d6d7c80057bae6e464fdd2b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T20:05:56.553Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-16T20:05:57.265Z] + make test [2023-01-16T20:05:57.265Z] go test ./... -coverprofile=coverage.out ./... [2023-01-16T20:05:58.678Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-16T20:06:55.125Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T20:06:55.125Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-16T20:06:55.125Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T20:06:55.125Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T20:06:55.125Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-16T20:06:55.125Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-16T20:07:10.145Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-01-16T20:07:10.145Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-01-16T20:07:10.145Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-01-16T20:07:10.145Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-01-16T20:07:10.145Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-01-16T20:07:10.145Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-01-16T20:07:15.504Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2023-01-16T20:07:15.504Z] make: *** [Makefile:29: unittest] Error 2 [Pipeline] } [2023-01-16T20:07:15.557Z] $ docker stop --time=1 e78a85f33f715cb4b96310fb17101232936577d0d6d7c80057bae6e464fdd2b4 [2023-01-16T20:07:17.339Z] $ docker rm -f --volumes e78a85f33f715cb4b96310fb17101232936577d0d6d7c80057bae6e464fdd2b4 [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-01-16T20:07:18.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T20:07:18.823Z] [2023-01-16T20:07:18.823Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:07:19.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T20:07:19.822Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T20:07:19.822Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T20:07:19.822Z] 04944245beec: Pulling fs layer [2023-01-16T20:07:19.822Z] 699f458cf7ca: Pulling fs layer [2023-01-16T20:07:19.822Z] 765212b225bb: Pulling fs layer [2023-01-16T20:07:19.822Z] f23df028b6ca: Pulling fs layer [2023-01-16T20:07:19.822Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T20:07:19.822Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T20:07:19.822Z] f23df028b6ca: Waiting [2023-01-16T20:07:19.822Z] d65c8cfc05b1: Waiting [2023-01-16T20:07:19.822Z] 2437ff75d9bd: Waiting [2023-01-16T20:07:19.822Z] 765212b225bb: Waiting [2023-01-16T20:07:19.822Z] 04944245beec: Verifying Checksum [2023-01-16T20:07:19.822Z] 04944245beec: Download complete [2023-01-16T20:07:19.822Z] 765212b225bb: Verifying Checksum [2023-01-16T20:07:19.822Z] 765212b225bb: Download complete [2023-01-16T20:07:20.093Z] f23df028b6ca: Download complete [2023-01-16T20:07:20.093Z] d65c8cfc05b1: Download complete [2023-01-16T20:07:20.093Z] 699f458cf7ca: Verifying Checksum [2023-01-16T20:07:20.093Z] 699f458cf7ca: Download complete [2023-01-16T20:07:20.679Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T20:07:20.679Z] 8998bd30e6a1: Download complete [2023-01-16T20:07:22.629Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T20:07:22.629Z] 2437ff75d9bd: Download complete [2023-01-16T20:07:24.573Z] 8998bd30e6a1: Pull complete [2023-01-16T20:07:24.842Z] 04944245beec: Pull complete [2023-01-16T20:07:26.251Z] 699f458cf7ca: Pull complete [2023-01-16T20:07:26.251Z] 765212b225bb: Pull complete [2023-01-16T20:07:27.211Z] f23df028b6ca: Pull complete [2023-01-16T20:07:27.211Z] d65c8cfc05b1: Pull complete [2023-01-16T20:07:42.208Z] 2437ff75d9bd: Pull complete [2023-01-16T20:07:42.208Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T20:07:42.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T20:07:42.208Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:07:42.530Z] prd-ubuntu20.04-docker-arm64-4c-16g-2678 does not seem to be running inside a container [2023-01-16T20:07:42.602Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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-01-16T20:07:45.223Z] $ docker top 13d2533e01cf867a0b46fb15993f5b7f07bd4ee1c92ca929d0fb3b0638a20e16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:07:46.132Z] ---> job-cost.sh [2023-01-16T20:07:46.132Z] lf-activate-venv: SKIPPING [2023-01-16T20:07:46.132Z] INFO: No Stack... [2023-01-16T20:07:46.402Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T20:07:47.365Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T20:07:48.028Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-16T20:07:48.028Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T20:07:48.108Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] [2023-01-16T20:07:48.113Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] did not exist. Created. [2023-01-16T20:07:48.113Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T20:07:48.856Z] /w/workspace/device-rest-go/1@tmp/durable-6319498c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T20:07:49.535Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T20:07:49.570Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T20:07:49.979Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T20:07:49.998Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-240-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T20:07:50.083Z] $ docker stop --time=1 13d2533e01cf867a0b46fb15993f5b7f07bd4ee1c92ca929d0fb3b0638a20e16 [2023-01-16T20:07:51.578Z] $ docker rm -f --volumes 13d2533e01cf867a0b46fb15993f5b7f07bd4ee1c92ca929d0fb3b0638a20e16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T20:07:52.256Z] 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-01-16T20:07:54.371Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-240/archives ] [2023-01-16T20:07:54.371Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-240/archives [2023-01-16T20:07:54.371Z] total 16 [2023-01-16T20:07:54.371Z] drwxr-xr-x 3 root root 4096 Jan 16 20:03 . [2023-01-16T20:07:54.371Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 20:03 .. [2023-01-16T20:07:54.371Z] drwxr-xr-x 2 root root 4096 Jan 16 20:03 cost [2023-01-16T20:07:54.371Z] -rw-r--r-- 1 root root 87 Jan 16 20:03 cost.csv [2023-01-16T20:07:54.371Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-240/archives [2023-01-16T20:07:54.371Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-240/archives [2023-01-16T20:07:54.371Z] total 16 [2023-01-16T20:07:54.371Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 20:03 . [2023-01-16T20:07:54.371Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 20:03 .. [2023-01-16T20:07:54.371Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 20:03 cost [2023-01-16T20:07:54.371Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 16 20:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:07:54.701Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:07:55.588Z] ---> package-listing.sh [2023-01-16T20:07:55.588Z] ++ facter osfamily [2023-01-16T20:07:55.588Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T20:07:55.849Z] + OS_FAMILY=debian [2023-01-16T20:07:55.849Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-240 [2023-01-16T20:07:55.849Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T20:07:55.849Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T20:07:55.849Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T20:07:55.849Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T20:07:55.849Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-240 ']' [2023-01-16T20:07:55.849Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T20:07:55.849Z] + case "${OS_FAMILY}" in [2023-01-16T20:07:55.849Z] + dpkg -l [2023-01-16T20:07:55.849Z] + grep '^ii' [2023-01-16T20:07:55.849Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T20:07:55.849Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T20:07:55.849Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T20:07:55.849Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-240 ']' [2023-01-16T20:07:55.849Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-240/archives/ [2023-01-16T20:07:55.849Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-240/archives/ [Pipeline] echo [2023-01-16T20:07:55.891Z] 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/gexfoundry_device-rest-go_PR-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T20:07:56.183Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T20:07:56.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T20:07:56.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T20:07:56.951Z] prd-ubuntu20.04-docker-8c-8g-2670 does not seem to be running inside a container [2023-01-16T20:07:56.972Z] $ 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/gexfoundry_device-rest-go_PR-240/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-240 -v /w/workspace/gexfoundry_device-rest-go_PR-240:/w/workspace/gexfoundry_device-rest-go_PR-240:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-240@tmp:/w/workspace/gexfoundry_device-rest-go_PR-240@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T20:07:57.162Z] $ docker top 213d96fb3f5be92a734d93110b397fbde712d13401c877950c94100855bd80b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T20:07:57.560Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T20:07:57.868Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T20:07:58.175Z] + ls /var/log/sa-host [2023-01-16T20:07:58.175Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T20:07:58.389Z] provisioning config files... [2023-01-16T20:07:58.399Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-240@tmp/config5016030859352139440tmp [Pipeline] { [Pipeline] echo [2023-01-16T20:07:58.454Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:07:58.766Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T20:07:58.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:07:59.215Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T20:07:59.249Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:07:59.553Z] ---> sudo-logs.sh [2023-01-16T20:07:59.553Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T20:07:59.638Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:07:59.957Z] ---> job-cost.sh [2023-01-16T20:07:59.957Z] lf-activate-venv: SKIPPING [2023-01-16T20:07:59.957Z] DEBUG: total: 0.2199999988079071 [2023-01-16T20:07:59.957Z] INFO: Retrieving Stack Cost... [2023-01-16T20:08:00.218Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T20:08:00.476Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T20:08:00.512Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T20:08:00.825Z] ---> logs-deploy.sh [2023-01-16T20:08:00.825Z] lf-activate-venv: SKIPPING [2023-01-16T20:08:00.825Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-240/1 [2023-01-16T20:08:00.825Z] INFO: archiving workspace using pattern(s): [2023-01-16T20:08:01.770Z] Archives upload complete. [2023-01-16T20:08:01.770Z] INFO: archiving logs to Nexus [2023-01-16T20:08:02.339Z] ---> uname -a: [2023-01-16T20:08:02.339Z] Linux prd-ubuntu20-04-docker-8c-8g-2670 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-01-16T20:08:02.339Z] [2023-01-16T20:08:02.339Z]