Pull request #539 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of badboy-huaqiao for edgexfoundry/edgex-ui-go Obtained Jenkinsfile from e5a917ff2554435c1a3cf660735787291985b4cf+b529499ada60d8f3399282414b00f575858c0428 (61875fc6dea2157cce5885ffab498962129f7d9d) 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-ssh8584508423514164260.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh18359193928481347238.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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/edgex-ui-go/branches/PR-539/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/edgex-ui-go/branches/PR-539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12204749583179334950.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/edgex-ui-go/branches/PR-539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14010242794383931624.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh11497986109112851293.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/edgex-ui-go/branches/PR-539/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/edgex-ui-go/branches/PR-539/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3593602314165105039.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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:edgex-ui-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: edgex-ui-go-settings PROJECT: edgex-ui-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: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19579 in /w/workspace/edgexfoundry_edgex-ui-go_PR-539 [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/edgex-ui-go.git > git init /w/workspace/edgexfoundry_edgex-ui-go_PR-539 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-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/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b529499ada60d8f3399282414b00f575858c0428 into PR head commit e5a917ff2554435c1a3cf660735787291985b4cf > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-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/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5a917ff2554435c1a3cf660735787291985b4cf # timeout=10 Merge succeeded, producing e5a917ff2554435c1a3cf660735787291985b4cf Checking out Revision e5a917ff2554435c1a3cf660735787291985b4cf (PR-539) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b529499ada60d8f3399282414b00f575858c0428 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5a917ff2554435c1a3cf660735787291985b4cf # timeout=10 Commit message: "refactor: spliting big device management component into small components" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T16:13:55.671Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T16:13:55.864Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T16:13:55.965Z] ========================================================= [2022-07-12T16:13:55.965Z] EdgeX Global Pipelines Version Info [2022-07-12T16:13:55.965Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:13:56.747Z] ------------------- [2022-07-12T16:13:56.747Z] stable info: [2022-07-12T16:13:56.747Z] ------------------- [2022-07-12T16:13:56.747Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T16:13:56.747Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T16:13:56.747Z] Message: update stable to v1.0.237 [2022-07-12T16:13:57.321Z] ------------------- [2022-07-12T16:13:57.321Z] experimental info: [2022-07-12T16:13:57.321Z] ------------------- [2022-07-12T16:13:57.321Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T16:13:57.321Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T16:13:57.321Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T16:13:57.694Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo [2022-07-12T16:13:57.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo [2022-07-12T16:13:57.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T16:13:57.811Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T16:13:57.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T16:13:57.888Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T16:13:57.932Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T16:13:57.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T16:13:58.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T16:13:58.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T16:13:58.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T16:13:58.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo [2022-07-12T16:13:58.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T16:13:58.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T16:13:58.262Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T16:13:58.304Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T16:13:58.343Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T16:13:58.385Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T16:13:58.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T16:13:58.472Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T16:13:58.512Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T16:13:58.553Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T16:13:58.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T16:13:58.639Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T16:13:58.680Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T16:13:58.729Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T16:13:58.771Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T16:13:58.809Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-539 [Pipeline] echo [2022-07-12T16:13:58.847Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-539 [Pipeline] echo [2022-07-12T16:13:58.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-539 [Pipeline] echo [2022-07-12T16:13:58.933Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5a917ff2554435c1a3cf660735787291985b4cf [Pipeline] echo [2022-07-12T16:13:58.975Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5a917f [Pipeline] echo [2022-07-12T16:13:59.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:13:59.130Z] provisioning config files... [2022-07-12T16:13:59.144Z] copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/config7754786945403448055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:13:59.492Z] ---> docker-login.sh [2022-07-12T16:13:59.492Z] nexus3.edgexfoundry.org:10001 [2022-07-12T16:13:59.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:13:59.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:13:59.754Z] Configure a credential helper to remove this warning. See [2022-07-12T16:13:59.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:13:59.754Z] [2022-07-12T16:13:59.754Z] Login Succeeded [2022-07-12T16:13:59.754Z] nexus3.edgexfoundry.org:10002 [2022-07-12T16:14:00.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:00.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:00.015Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:00.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:00.015Z] [2022-07-12T16:14:00.015Z] Login Succeeded [2022-07-12T16:14:00.015Z] nexus3.edgexfoundry.org:10003 [2022-07-12T16:14:00.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:00.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:00.015Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:00.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:00.015Z] [2022-07-12T16:14:00.015Z] Login Succeeded [2022-07-12T16:14:00.015Z] nexus3.edgexfoundry.org:10004 [2022-07-12T16:14:00.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:00.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:00.278Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:00.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:00.278Z] [2022-07-12T16:14:00.278Z] Login Succeeded [2022-07-12T16:14:00.278Z] docker.io [2022-07-12T16:14:00.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:00.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:00.854Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:00.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:00.854Z] [2022-07-12T16:14:00.854Z] Login Succeeded [2022-07-12T16:14:00.854Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T16:14:00.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T16:14:01.497Z] + git rev-list -1 --merges e5a917ff2554435c1a3cf660735787291985b4cf~1..e5a917ff2554435c1a3cf660735787291985b4cf [Pipeline] echo [2022-07-12T16:14:01.549Z] -----------> git rev-list -1 --merges e5a917ff2554435c1a3cf660735787291985b4cf~1..e5a917ff2554435c1a3cf660735787291985b4cf e5a917ff2554435c1a3cf660735787291985b4cf [false] [Pipeline] sh [2022-07-12T16:14:01.861Z] + git log --format=format:%s -1 e5a917ff2554435c1a3cf660735787291985b4cf [Pipeline] echo [2022-07-12T16:14:01.897Z] ========================================================= [2022-07-12T16:14:01.897Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T16:14:01.897Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T16:14:02.350Z] + git log --format=format:%s -1 e5a917ff2554435c1a3cf660735787291985b4cf [Pipeline] echo [2022-07-12T16:14:02.380Z] [semverPrep] GIT_COMMIT: e5a917ff2554435c1a3cf660735787291985b4cf, Commit Message: refactor: spliting big device management component into small components [Pipeline] echo [2022-07-12T16:14:02.411Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T16:14:02.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T16:14:02.817Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T16:14:02.817Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T16:14:02.817Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T16:14:02.817Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T16:14:02.817Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T16:14:02.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:14:03.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T16:14:03.333Z] [2022-07-12T16:14:03.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:14:03.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T16:14:03.719Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T16:14:03.719Z] b85a868b505f: Pulling fs layer [2022-07-12T16:14:03.719Z] e2be974225ed: Pulling fs layer [2022-07-12T16:14:03.719Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T16:14:03.719Z] 988bab9f4d93: Pulling fs layer [2022-07-12T16:14:03.719Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T16:14:03.719Z] eaf3925da568: Pulling fs layer [2022-07-12T16:14:03.719Z] bab4dde63d76: Pulling fs layer [2022-07-12T16:14:03.719Z] bde34c3a00c8: Pulling fs layer [2022-07-12T16:14:03.719Z] b352a97aabf1: Pulling fs layer [2022-07-12T16:14:03.719Z] 4872d77fe225: Pulling fs layer [2022-07-12T16:14:03.719Z] 5851b861e8e6: Pulling fs layer [2022-07-12T16:14:03.719Z] bab4dde63d76: Waiting [2022-07-12T16:14:03.719Z] bde34c3a00c8: Waiting [2022-07-12T16:14:03.719Z] b352a97aabf1: Waiting [2022-07-12T16:14:03.719Z] 4872d77fe225: Waiting [2022-07-12T16:14:03.719Z] 5851b861e8e6: Waiting [2022-07-12T16:14:03.719Z] eaf3925da568: Waiting [2022-07-12T16:14:03.719Z] 1469e6f7b9e6: Waiting [2022-07-12T16:14:03.719Z] e2be974225ed: Verifying Checksum [2022-07-12T16:14:03.719Z] e2be974225ed: Download complete [2022-07-12T16:14:03.719Z] 988bab9f4d93: Verifying Checksum [2022-07-12T16:14:03.719Z] 988bab9f4d93: Download complete [2022-07-12T16:14:03.979Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T16:14:03.979Z] 339a4e72a1f5: Download complete [2022-07-12T16:14:03.979Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T16:14:03.979Z] 1469e6f7b9e6: Download complete [2022-07-12T16:14:03.979Z] eaf3925da568: Download complete [2022-07-12T16:14:03.979Z] bde34c3a00c8: Download complete [2022-07-12T16:14:03.979Z] b352a97aabf1: Verifying Checksum [2022-07-12T16:14:03.979Z] b352a97aabf1: Download complete [2022-07-12T16:14:03.979Z] 4872d77fe225: Verifying Checksum [2022-07-12T16:14:03.979Z] 4872d77fe225: Download complete [2022-07-12T16:14:03.979Z] 5851b861e8e6: Verifying Checksum [2022-07-12T16:14:03.979Z] 5851b861e8e6: Download complete [2022-07-12T16:14:03.979Z] b85a868b505f: Verifying Checksum [2022-07-12T16:14:03.979Z] b85a868b505f: Download complete [2022-07-12T16:14:04.248Z] bab4dde63d76: Verifying Checksum [2022-07-12T16:14:04.248Z] bab4dde63d76: Download complete [2022-07-12T16:14:05.636Z] b85a868b505f: Pull complete [2022-07-12T16:14:05.637Z] e2be974225ed: Pull complete [2022-07-12T16:14:06.207Z] 339a4e72a1f5: Pull complete [2022-07-12T16:14:06.207Z] 988bab9f4d93: Pull complete [2022-07-12T16:14:06.471Z] 1469e6f7b9e6: Pull complete [2022-07-12T16:14:06.471Z] eaf3925da568: Pull complete [2022-07-12T16:14:09.021Z] bab4dde63d76: Pull complete [2022-07-12T16:14:09.021Z] bde34c3a00c8: Pull complete [2022-07-12T16:14:09.021Z] b352a97aabf1: Pull complete [2022-07-12T16:14:09.021Z] 4872d77fe225: Pull complete [2022-07-12T16:14:09.021Z] 5851b861e8e6: Pull complete [2022-07-12T16:14:09.021Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T16:14:09.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T16:14:09.021Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:14:09.257Z] prd-ubuntu20.04-docker-8c-8g-19579 does not seem to be running inside a container [2022-07-12T16:14:09.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-539 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539:/w/workspace/edgexfoundry_edgex-ui-go_PR-539:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T16:14:10.603Z] $ docker top 2b399dd59fda772e169912143ed714bf493ec311b6eea90c18b5bbafb3197097 -eo pid,comm [2022-07-12T16:14:10.672Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-12T16:14:10.672Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T16:14:10.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T16:14:10.800Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T16:14:10.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T16:14:10.941Z] $ docker exec 2b399dd59fda772e169912143ed714bf493ec311b6eea90c18b5bbafb3197097 ssh-agent [2022-07-12T16:14:11.067Z] SSH_AUTH_SOCK=/tmp/ssh-iW6gxMRhvOyL/agent.33 [2022-07-12T16:14:11.067Z] SSH_AGENT_PID=39 [2022-07-12T16:14:11.074Z] Running ssh-add (command line suppressed) [2022-07-12T16:14:11.197Z] Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/private_key_1196588866841365347.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/private_key_1196588866841365347.key) [2022-07-12T16:14:11.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T16:14:11.553Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T16:14:11.589Z] $ docker exec --env ******** --env ******** 2b399dd59fda772e169912143ed714bf493ec311b6eea90c18b5bbafb3197097 ssh-agent -k [2022-07-12T16:14:11.710Z] unset SSH_AUTH_SOCK; [2022-07-12T16:14:11.710Z] unset SSH_AGENT_PID; [2022-07-12T16:14:11.710Z] echo Agent pid 39 killed; [2022-07-12T16:14:11.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T16:14:11.807Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T16:14:11.807Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T16:14:11.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T16:14:11.960Z] $ docker exec 2b399dd59fda772e169912143ed714bf493ec311b6eea90c18b5bbafb3197097 ssh-agent [2022-07-12T16:14:12.078Z] SSH_AUTH_SOCK=/tmp/ssh-BkDRyCg7ZTkO/agent.75 [2022-07-12T16:14:12.078Z] SSH_AGENT_PID=81 [2022-07-12T16:14:12.084Z] Running ssh-add (command line suppressed) [2022-07-12T16:14:12.205Z] Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/private_key_352403119404830672.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/private_key_352403119404830672.key) [2022-07-12T16:14:12.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T16:14:12.549Z] + git semver init [2022-07-12T16:14:12.812Z] 2022-07-12 16:14:12,761 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T16:14:12.812Z] 2022-07-12 16:14:12,762 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver [2022-07-12T16:14:12.812Z] 2022-07-12 16:14:12,763 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-ui-go.git /w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver [2022-07-12T16:14:12.812Z] 2022-07-12 16:14:12,763 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-ui-go.git', '/w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-539, universal_newlines=False, shell=None, istream=None) [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,919 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-539/.git/info/exclude [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,920 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver/PR-539 with force:False [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,920 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver/PR-539 [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,925 [execute] INFO git cat-file --batch-check [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,933 [execute] INFO git cat-file --batch [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T16:14:14.201Z] 2022-07-12 16:14:13,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_edgex-ui-go_PR-539/.semver/PR-539 [2022-07-12T16:14:14.201Z] 0.0.0 [Pipeline] } [2022-07-12T16:14:14.228Z] $ docker exec --env ******** --env ******** 2b399dd59fda772e169912143ed714bf493ec311b6eea90c18b5bbafb3197097 ssh-agent -k [2022-07-12T16:14:14.344Z] unset SSH_AUTH_SOCK; [2022-07-12T16:14:14.345Z] unset SSH_AGENT_PID; [2022-07-12T16:14:14.345Z] echo Agent pid 81 killed; [2022-07-12T16:14:14.565Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T16:14:15.195Z] + git semver [Pipeline] } [2022-07-12T16:14:15.494Z] $ docker stop --time=1 2b399dd59fda772e169912143ed714bf493ec311b6eea90c18b5bbafb3197097 [2022-07-12T16:14:16.812Z] $ docker rm -f 2b399dd59fda772e169912143ed714bf493ec311b6eea90c18b5bbafb3197097 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T16:14:17.240Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T16:14:17.560Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T16:14:17.575Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:14:18.169Z] provisioning config files... [2022-07-12T16:14:18.181Z] copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/config7803423954922814837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:14:18.529Z] ---> docker-login.sh [2022-07-12T16:14:18.529Z] nexus3.edgexfoundry.org:10001 [2022-07-12T16:14:18.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:18.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:18.529Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:18.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:18.529Z] [2022-07-12T16:14:18.529Z] Login Succeeded [2022-07-12T16:14:18.529Z] nexus3.edgexfoundry.org:10002 [2022-07-12T16:14:18.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:18.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:18.789Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:18.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:18.789Z] [2022-07-12T16:14:18.789Z] Login Succeeded [2022-07-12T16:14:18.789Z] nexus3.edgexfoundry.org:10003 [2022-07-12T16:14:18.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:18.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:18.789Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:18.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:18.789Z] [2022-07-12T16:14:18.789Z] Login Succeeded [2022-07-12T16:14:18.789Z] nexus3.edgexfoundry.org:10004 [2022-07-12T16:14:19.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:19.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:19.049Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:19.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:19.049Z] [2022-07-12T16:14:19.049Z] Login Succeeded [2022-07-12T16:14:19.049Z] docker.io [2022-07-12T16:14:19.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:19.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:19.323Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:19.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:19.323Z] [2022-07-12T16:14:19.323Z] Login Succeeded [2022-07-12T16:14:19.323Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T16:14:19.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T16:14:19.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:14:19.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:14:19.598Z] ========================================================= [2022-07-12T16:14:19.598Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T16:14:19.598Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:14:20.037Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T16:14:20.297Z] Sending build context to Docker daemon 44.56MB [2022-07-12T16:14:20.297Z] Step 1/15 : ARG BASE=golang:1.17-alpine3.15 [2022-07-12T16:14:20.297Z] Step 2/15 : FROM ${BASE} AS builder [2022-07-12T16:14:20.297Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T16:14:20.297Z] 2408cc74d12b: Pulling fs layer [2022-07-12T16:14:20.297Z] ea60b727a1ce: Pulling fs layer [2022-07-12T16:14:20.297Z] 30c4a7721957: Pulling fs layer [2022-07-12T16:14:20.297Z] 370296b7ddb6: Pulling fs layer [2022-07-12T16:14:20.297Z] 7c6cee850709: Pulling fs layer [2022-07-12T16:14:20.297Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T16:14:20.297Z] d94ebbe4e438: Pulling fs layer [2022-07-12T16:14:20.297Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T16:14:20.297Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T16:14:20.297Z] 39a5fcdaea64: Waiting [2022-07-12T16:14:20.297Z] d94ebbe4e438: Waiting [2022-07-12T16:14:20.297Z] bcfd1f05c69d: Waiting [2022-07-12T16:14:20.297Z] 59ccb84bbe0f: Waiting [2022-07-12T16:14:20.297Z] 370296b7ddb6: Waiting [2022-07-12T16:14:20.297Z] 7c6cee850709: Waiting [2022-07-12T16:14:20.561Z] 30c4a7721957: Verifying Checksum [2022-07-12T16:14:20.561Z] 30c4a7721957: Download complete [2022-07-12T16:14:20.561Z] ea60b727a1ce: Verifying Checksum [2022-07-12T16:14:20.561Z] ea60b727a1ce: Download complete [2022-07-12T16:14:20.561Z] 7c6cee850709: Verifying Checksum [2022-07-12T16:14:20.561Z] 7c6cee850709: Download complete [2022-07-12T16:14:20.561Z] 39a5fcdaea64: Verifying Checksum [2022-07-12T16:14:20.561Z] 39a5fcdaea64: Download complete [2022-07-12T16:14:20.561Z] 2408cc74d12b: Verifying Checksum [2022-07-12T16:14:20.561Z] d94ebbe4e438: Download complete [2022-07-12T16:14:20.561Z] 2408cc74d12b: Pull complete [2022-07-12T16:14:20.824Z] ea60b727a1ce: Pull complete [2022-07-12T16:14:20.824Z] 30c4a7721957: Pull complete [2022-07-12T16:14:21.085Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T16:14:21.085Z] 59ccb84bbe0f: Download complete [2022-07-12T16:14:21.086Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T16:14:21.086Z] bcfd1f05c69d: Download complete [2022-07-12T16:14:21.348Z] 370296b7ddb6: Download complete [2022-07-12T16:14:25.546Z] 370296b7ddb6: Pull complete [2022-07-12T16:14:25.546Z] 7c6cee850709: Pull complete [2022-07-12T16:14:25.546Z] 39a5fcdaea64: Pull complete [2022-07-12T16:14:25.807Z] d94ebbe4e438: Pull complete [2022-07-12T16:14:27.712Z] bcfd1f05c69d: Pull complete [2022-07-12T16:14:28.654Z] 59ccb84bbe0f: Pull complete [2022-07-12T16:14:28.654Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T16:14:28.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T16:14:28.654Z] ---> a4fb48ad2a94 [2022-07-12T16:14:28.654Z] Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-12T16:14:30.041Z] ---> Running in 202f14901a3b [2022-07-12T16:14:30.308Z] Removing intermediate container 202f14901a3b [2022-07-12T16:14:30.308Z] ---> dd49b8bb8c38 [2022-07-12T16:14:30.308Z] Step 4/15 : ARG ALPINE_PKG_BASE="make git" [2022-07-12T16:14:30.308Z] ---> Running in c52e63432fc8 [2022-07-12T16:14:30.308Z] Removing intermediate container c52e63432fc8 [2022-07-12T16:14:30.308Z] ---> 9a7ab4ce79a8 [2022-07-12T16:14:30.308Z] Step 5/15 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T16:14:30.308Z] ---> Running in bfe37778613f [2022-07-12T16:14:30.574Z] Removing intermediate container bfe37778613f [2022-07-12T16:14:30.574Z] ---> fa8e0f7572a3 [2022-07-12T16:14:30.574Z] Step 6/15 : LABEL Name=edgex-ui-go [2022-07-12T16:14:30.574Z] ---> Running in 3948e60c7bdf [2022-07-12T16:14:30.574Z] Removing intermediate container 3948e60c7bdf [2022-07-12T16:14:30.574Z] ---> c833d31db9e5 [2022-07-12T16:14:30.574Z] Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' [2022-07-12T16:14:30.574Z] ---> Running in 8e7cc1d15051 [2022-07-12T16:14:30.834Z] Removing intermediate container 8e7cc1d15051 [2022-07-12T16:14:30.834Z] ---> 9eed1f65b884 [2022-07-12T16:14:30.834Z] Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T16:14:30.834Z] ---> Running in 1d64bc5300c6 [2022-07-12T16:14:31.404Z] Removing intermediate container 1d64bc5300c6 [2022-07-12T16:14:31.404Z] ---> 8f83a0d9f439 [2022-07-12T16:14:31.404Z] Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T16:14:31.404Z] ---> Running in 2a87c0040c17 [2022-07-12T16:14:31.668Z] fetch https://nl.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:14:32.610Z] fetch https://nl.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T16:14:32.872Z] OK: 211 MiB in 51 packages [2022-07-12T16:14:32.983Z] Still waiting to schedule task [2022-07-12T16:14:32.983Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-12T16:14:33.450Z] Removing intermediate container 2a87c0040c17 [2022-07-12T16:14:33.450Z] ---> e140430ed0df [2022-07-12T16:14:33.450Z] Step 10/15 : ENV GO111MODULE=on [2022-07-12T16:14:33.450Z] ---> Running in 4c2f0c3ccca8 [2022-07-12T16:14:33.450Z] Removing intermediate container 4c2f0c3ccca8 [2022-07-12T16:14:33.450Z] ---> 76a38961b113 [2022-07-12T16:14:33.450Z] Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-12T16:14:33.450Z] ---> Running in 863e0024bb26 [2022-07-12T16:14:33.450Z] Removing intermediate container 863e0024bb26 [2022-07-12T16:14:33.450Z] ---> 995aecdc6dea [2022-07-12T16:14:33.450Z] Step 12/15 : COPY go.mod vendor* ./ [2022-07-12T16:14:33.710Z] ---> 6ab67981d7ef [2022-07-12T16:14:33.710Z] Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T16:14:33.710Z] ---> Running in 83f89a7bfe54 [2022-07-12T16:14:43.716Z] Removing intermediate container 83f89a7bfe54 [2022-07-12T16:14:43.716Z] ---> ffdb076b1c9a [2022-07-12T16:14:43.716Z] Step 14/15 : COPY . . [2022-07-12T16:14:45.101Z] ---> 067db6812b88 [2022-07-12T16:14:45.101Z] Step 15/15 : RUN ${MAKE} [2022-07-12T16:14:45.101Z] ---> Running in 4597dd29c501 [2022-07-12T16:14:45.362Z] noop [2022-07-12T16:14:45.624Z] Removing intermediate container 4597dd29c501 [2022-07-12T16:14:45.624Z] ---> 148d50cc5ef5 [2022-07-12T16:14:45.624Z] Successfully built 148d50cc5ef5 [2022-07-12T16:14:45.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:14:46.071Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T16:14:46.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:14:46.342Z] prd-ubuntu20.04-docker-8c-8g-19579 does not seem to be running inside a container [2022-07-12T16:14:46.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-539 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539:/w/workspace/edgexfoundry_edgex-ui-go_PR-539:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T16:14:46.859Z] $ docker top 071e0f20fef8382373625d4cb6a34324193cdeac84d10e9931d244fe4f256623 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:14:47.300Z] + go version [2022-07-12T16:14:47.300Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T16:14:47.335Z] $ docker stop --time=1 071e0f20fef8382373625d4cb6a34324193cdeac84d10e9931d244fe4f256623 [2022-07-12T16:14:48.659Z] $ docker rm -f 071e0f20fef8382373625d4cb6a34324193cdeac84d10e9931d244fe4f256623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:14:49.400Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T16:14:49.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:14:49.561Z] prd-ubuntu20.04-docker-8c-8g-19579 does not seem to be running inside a container [2022-07-12T16:14:49.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_edgex-ui-go_PR-539 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539:/w/workspace/edgexfoundry_edgex-ui-go_PR-539:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T16:14:50.002Z] $ docker top 13c1859dea2dc875cbd8c38389834889289b6c837d3b6232be7dbe4874a0ceb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:14:50.407Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_edgex-ui-go_PR-539 [Pipeline] fileExists [Pipeline] sh [2022-07-12T16:14:50.765Z] + make test [2022-07-12T16:14:50.765Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-07-12T16:14:51.024Z] ? github.com/edgexfoundry/edgex-ui-go [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] [2022-07-12T16:14:57.590Z] ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] [2022-07-12T16:14:57.590Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-07-12T16:14:58.972Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T16:14:58.972Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-07-12T16:14:59.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T16:14:59.040Z] $ docker stop --time=1 13c1859dea2dc875cbd8c38389834889289b6c837d3b6232be7dbe4874a0ceb5 [2022-07-12T16:15:00.570Z] $ docker rm -f 13c1859dea2dc875cbd8c38389834889289b6c837d3b6232be7dbe4874a0ceb5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T16:15:00.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T16:15:01.069Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T16:15:01.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T16:15:02.039Z] + ls -al . [2022-07-12T16:15:02.039Z] total 160 [2022-07-12T16:15:02.039Z] drwxrwxr-x 14 jenkins jenkins 4096 Jul 12 16:14 . [2022-07-12T16:15:02.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:13 .. [2022-07-12T16:15:02.039Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 16:14 .git [2022-07-12T16:15:02.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:13 .github [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 167 Jul 12 16:13 .gitignore [2022-07-12T16:15:02.039Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 16:14 .semver [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 2022 Jul 12 16:13 Attribution.txt [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 14570 Jul 12 16:13 CHANGELOG.md [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 3959 Jul 12 16:13 CONTRIBUTING.md [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 1549 Jul 12 16:13 Dockerfile [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 652 Jul 12 16:13 Jenkinsfile [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 11357 Jul 12 16:13 LICENSE [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 1212 Jul 12 16:13 Makefile [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 4398 Jul 12 16:13 README.md [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 16:14 VERSION [2022-07-12T16:15:02.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:13 assets [2022-07-12T16:15:02.039Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:13 bin [2022-07-12T16:15:02.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:13 cmd [2022-07-12T16:15:02.039Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 12 16:14 coverage.out [2022-07-12T16:15:02.039Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:13 docs [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 1945 Jul 12 16:13 go.mod [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 26589 Jul 12 16:13 go.sum [2022-07-12T16:15:02.039Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 16:13 internal [2022-07-12T16:15:02.039Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:13 pkg [2022-07-12T16:15:02.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:13 snap [2022-07-12T16:15:02.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:13 testing [2022-07-12T16:15:02.039Z] -rw-rw-r-- 1 jenkins jenkins 155 Jul 12 16:13 version.go [2022-07-12T16:15:02.039Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:13 web [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:15:02.443Z] + docker build -t edgex-ui -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e5a917ff2554435c1a3cf660735787291985b4cf --label arch=amd64 --label version=0.0.0 . [2022-07-12T16:15:02.703Z] Sending build context to Docker daemon 44.56MB [2022-07-12T16:15:02.703Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-12T16:15:02.703Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-12T16:15:02.703Z] ---> 148d50cc5ef5 [2022-07-12T16:15:02.703Z] Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-12T16:15:02.963Z] ---> Running in c2a065c08e7b [2022-07-12T16:15:02.963Z] Removing intermediate container c2a065c08e7b [2022-07-12T16:15:02.963Z] ---> 3220f0bf4c81 [2022-07-12T16:15:02.963Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git" [2022-07-12T16:15:02.963Z] ---> Running in 0a8ec45ccc15 [2022-07-12T16:15:02.963Z] Removing intermediate container 0a8ec45ccc15 [2022-07-12T16:15:02.963Z] ---> 733d2dc6efc5 [2022-07-12T16:15:02.963Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T16:15:02.963Z] ---> Running in ae87ed9ef2fb [2022-07-12T16:15:03.224Z] Removing intermediate container ae87ed9ef2fb [2022-07-12T16:15:03.224Z] ---> e0bfc2c8fc76 [2022-07-12T16:15:03.224Z] Step 6/23 : LABEL Name=edgex-ui-go [2022-07-12T16:15:03.224Z] ---> Running in 03ebbfe58843 [2022-07-12T16:15:03.224Z] Removing intermediate container 03ebbfe58843 [2022-07-12T16:15:03.224Z] ---> 0f25b868468e [2022-07-12T16:15:03.224Z] Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' [2022-07-12T16:15:03.224Z] ---> Running in 6f3dc9e86b25 [2022-07-12T16:15:03.484Z] Removing intermediate container 6f3dc9e86b25 [2022-07-12T16:15:03.484Z] ---> 09de42395892 [2022-07-12T16:15:03.484Z] Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T16:15:03.484Z] ---> Running in 56c6392f02ca [2022-07-12T16:15:04.056Z] Removing intermediate container 56c6392f02ca [2022-07-12T16:15:04.056Z] ---> 2edb48bdb762 [2022-07-12T16:15:04.056Z] Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T16:15:04.056Z] ---> Running in 037acf70a2e2 [2022-07-12T16:15:04.318Z] fetch https://nl.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:05.264Z] fetch https://nl.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:05.525Z] OK: 211 MiB in 51 packages [2022-07-12T16:15:06.096Z] Removing intermediate container 037acf70a2e2 [2022-07-12T16:15:06.096Z] ---> 0ae9581c12ef [2022-07-12T16:15:06.096Z] Step 10/23 : ENV GO111MODULE=on [2022-07-12T16:15:06.096Z] ---> Running in 9fcfcdef5d77 [2022-07-12T16:15:06.096Z] Removing intermediate container 9fcfcdef5d77 [2022-07-12T16:15:06.096Z] ---> 88874ea1e6e8 [2022-07-12T16:15:06.096Z] Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-12T16:15:06.096Z] ---> Running in 334f6cfa10dd [2022-07-12T16:15:06.360Z] Removing intermediate container 334f6cfa10dd [2022-07-12T16:15:06.360Z] ---> e411bb720fef [2022-07-12T16:15:06.360Z] Step 12/23 : COPY go.mod vendor* ./ [2022-07-12T16:15:06.360Z] ---> 82ec5f03aa2b [2022-07-12T16:15:06.360Z] Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T16:15:06.360Z] ---> Running in 44ee1e8268c1 [2022-07-12T16:15:07.298Z] Removing intermediate container 44ee1e8268c1 [2022-07-12T16:15:07.298Z] ---> 35a83c358365 [2022-07-12T16:15:07.298Z] Step 14/23 : COPY . . [2022-07-12T16:15:08.240Z] ---> d538b322cf7e [2022-07-12T16:15:08.240Z] Step 15/23 : RUN ${MAKE} [2022-07-12T16:15:08.240Z] ---> Running in 7b40c56affd4 [2022-07-12T16:15:08.500Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server [2022-07-12T16:15:15.074Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2022-07-12T16:15:16.013Z] Removing intermediate container 7b40c56affd4 [2022-07-12T16:15:16.013Z] ---> 63145430153d [2022-07-12T16:15:16.013Z] Step 16/23 : FROM alpine:3.14 [2022-07-12T16:15:16.585Z] 3.14: Pulling from library/alpine [2022-07-12T16:15:16.585Z] 8663204ce13b: Pulling fs layer [2022-07-12T16:15:16.884Z] 8663204ce13b: Verifying Checksum [2022-07-12T16:15:16.884Z] 8663204ce13b: Download complete [2022-07-12T16:15:16.884Z] 8663204ce13b: Pull complete [2022-07-12T16:15:16.884Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-12T16:15:16.884Z] Status: Downloaded newer image for alpine:3.14 [2022-07-12T16:15:16.884Z] ---> e04c818066af [2022-07-12T16:15:16.884Z] Step 17/23 : EXPOSE 4000 [2022-07-12T16:15:17.153Z] ---> Running in e346e50a803a [2022-07-12T16:15:17.153Z] Removing intermediate container e346e50a803a [2022-07-12T16:15:17.153Z] ---> 9dd1cca41063 [2022-07-12T16:15:17.153Z] Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [2022-07-12T16:15:17.738Z] ---> 40261d898708 [2022-07-12T16:15:17.738Z] Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [2022-07-12T16:15:17.738Z] ---> Running in 1802d7eb5681 [2022-07-12T16:15:17.738Z] Removing intermediate container 1802d7eb5681 [2022-07-12T16:15:17.738Z] ---> 879dab3694d5 [2022-07-12T16:15:17.738Z] Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] [2022-07-12T16:15:17.738Z] ---> Running in 333dab19cc3b [2022-07-12T16:15:18.012Z] Removing intermediate container 333dab19cc3b [2022-07-12T16:15:18.012Z] ---> c9d836d97697 [2022-07-12T16:15:18.012Z] Step 21/23 : LABEL arch=amd64 [2022-07-12T16:15:18.012Z] ---> Running in e112d81dee6b [2022-07-12T16:15:18.012Z] Removing intermediate container e112d81dee6b [2022-07-12T16:15:18.012Z] ---> e9be2aec37cc [2022-07-12T16:15:18.012Z] Step 22/23 : LABEL git_sha=e5a917ff2554435c1a3cf660735787291985b4cf [2022-07-12T16:15:18.012Z] ---> Running in 145c390b8450 [2022-07-12T16:15:18.274Z] Removing intermediate container 145c390b8450 [2022-07-12T16:15:18.274Z] ---> 843bba4613b4 [2022-07-12T16:15:18.274Z] Step 23/23 : LABEL version=0.0.0 [2022-07-12T16:15:18.274Z] ---> Running in 9ca3299e6cca [2022-07-12T16:15:18.274Z] Removing intermediate container 9ca3299e6cca [2022-07-12T16:15:18.274Z] ---> 23d5a40b2686 [2022-07-12T16:15:18.274Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T16:15:18.274Z] Successfully built 23d5a40b2686 [2022-07-12T16:15:18.274Z] Successfully tagged edgex-ui:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:15:19.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:15:19.090Z] [2022-07-12T16:15:19.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:15:19.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:15:19.476Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T16:15:19.476Z] 5eb5b503b376: Pulling fs layer [2022-07-12T16:15:19.476Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T16:15:19.476Z] ec43610c2a17: Pulling fs layer [2022-07-12T16:15:19.476Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T16:15:19.476Z] 33b1e0a273af: Pulling fs layer [2022-07-12T16:15:19.476Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T16:15:19.476Z] 2f39f015ded8: Pulling fs layer [2022-07-12T16:15:19.476Z] 3a2ae6a8a46f: Waiting [2022-07-12T16:15:19.476Z] 33b1e0a273af: Waiting [2022-07-12T16:15:19.476Z] 5d3b04190fa2: Waiting [2022-07-12T16:15:19.476Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T16:15:19.476Z] 5c69ac0246d0: Download complete [2022-07-12T16:15:19.476Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T16:15:19.476Z] 3a2ae6a8a46f: Download complete [2022-07-12T16:15:19.476Z] 33b1e0a273af: Verifying Checksum [2022-07-12T16:15:19.476Z] 33b1e0a273af: Download complete [2022-07-12T16:15:19.736Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T16:15:19.736Z] 5d3b04190fa2: Download complete [2022-07-12T16:15:19.737Z] ec43610c2a17: Verifying Checksum [2022-07-12T16:15:19.737Z] ec43610c2a17: Download complete [2022-07-12T16:15:19.737Z] 5eb5b503b376: Verifying Checksum [2022-07-12T16:15:19.737Z] 5eb5b503b376: Download complete [2022-07-12T16:15:20.308Z] 2f39f015ded8: Download complete [2022-07-12T16:15:20.877Z] 5eb5b503b376: Pull complete [2022-07-12T16:15:21.137Z] 5c69ac0246d0: Pull complete [2022-07-12T16:15:21.705Z] ec43610c2a17: Pull complete [2022-07-12T16:15:21.705Z] 3a2ae6a8a46f: Pull complete [2022-07-12T16:15:21.705Z] 33b1e0a273af: Pull complete [2022-07-12T16:15:21.964Z] 5d3b04190fa2: Pull complete [2022-07-12T16:15:26.152Z] 2f39f015ded8: Pull complete [2022-07-12T16:15:26.153Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T16:15:26.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:15:26.153Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:15:26.364Z] prd-ubuntu20.04-docker-8c-8g-19579 does not seem to be running inside a container [2022-07-12T16:15:26.404Z] $ 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/edgexfoundry_edgex-ui-go_PR-539 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539:/w/workspace/edgexfoundry_edgex-ui-go_PR-539:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T16:15:28.064Z] $ docker top 04e4359352e978a3c9477f7254435dd43669350dc11fd69e481cf17cb0112730 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:15:28.518Z] ---> job-cost.sh [2022-07-12T16:15:28.518Z] lf-activate-venv: SKIPPING [2022-07-12T16:15:28.518Z] INFO: No Stack... [2022-07-12T16:15:28.779Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T16:15:29.347Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T16:15:29.720Z] + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-539/archives/cost.csv [2022-07-12T16:15:29.720Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T16:15:29.757Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] [2022-07-12T16:15:29.762Z] Resource [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] did not exist. Created. [2022-07-12T16:15:29.762Z] Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T16:15:30.184Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T16:15:30.238Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T16:15:30.252Z] Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T16:15:30.328Z] $ docker stop --time=1 04e4359352e978a3c9477f7254435dd43669350dc11fd69e481cf17cb0112730 [2022-07-12T16:15:31.493Z] $ docker rm -f 04e4359352e978a3c9477f7254435dd43669350dc11fd69e481cf17cb0112730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T16:17:01.753Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19583 in /w/workspace/edgexfoundry_edgex-ui-go_PR-539 [Pipeline] { [Pipeline] ws [2022-07-12T16:17:01.802Z] Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout [2022-07-12T16:17:01.889Z] The recommended git tool is: git [2022-07-12T16:17:07.445Z] using credential edgex-jenkins-ssh [2022-07-12T16:17:07.463Z] Cloning the remote Git repository [2022-07-12T16:17:07.523Z] Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git [2022-07-12T16:17:07.598Z] > git init /w/workspace/edgex-ui-go/1 # timeout=10 [2022-07-12T16:17:07.683Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git [2022-07-12T16:17:07.684Z] > git --version # timeout=10 [2022-07-12T16:17:07.706Z] > git --version # 'git version 2.25.1' [2022-07-12T16:17:07.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T16:17:07.783Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T16:17:10.662Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 [2022-07-12T16:17:10.681Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T16:17:10.710Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 [2022-07-12T16:17:10.756Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git [2022-07-12T16:17:10.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T16:17:10.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T16:17:11.465Z] Merging remotes/origin/main commit b529499ada60d8f3399282414b00f575858c0428 into PR head commit e5a917ff2554435c1a3cf660735787291985b4cf [2022-07-12T16:17:12.108Z] Merge succeeded, producing e5a917ff2554435c1a3cf660735787291985b4cf [2022-07-12T16:17:12.109Z] Checking out Revision e5a917ff2554435c1a3cf660735787291985b4cf (PR-539) [2022-07-12T16:17:11.494Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T16:17:11.522Z] > git checkout -f e5a917ff2554435c1a3cf660735787291985b4cf # timeout=10 [2022-07-12T16:17:11.981Z] > git remote # timeout=10 [2022-07-12T16:17:12.006Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T16:17:12.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T16:17:12.048Z] > git merge b529499ada60d8f3399282414b00f575858c0428 # timeout=10 [2022-07-12T16:17:12.081Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T16:17:12.120Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T16:17:12.145Z] > git checkout -f e5a917ff2554435c1a3cf660735787291985b4cf # timeout=10 [2022-07-12T16:17:16.990Z] Commit message: "refactor: spliting big device management component into small components" [2022-07-12T16:17:17.057Z] > git --version # timeout=10 [2022-07-12T16:17:17.069Z] > git --version # 'git version 2.25.1' [2022-07-12T16:17:17.087Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T16:17:18.121Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T16:17:18.121Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T16:17:18.121Z] Dload Upload Total Spent Left Speed [2022-07-12T16:17:18.121Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 64272 0 --:--:-- --:--:-- --:--:-- 64272 100 12276 100 12276 0 0 63937 0 --:--:-- --:--:-- --:--:-- 63606 [Pipeline] sh [2022-07-12T16:17:18.908Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T16:17:19.256Z] + sudo tee /etc/docker/daemon.new [2022-07-12T16:17:19.256Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T16:17:19.256Z] { [2022-07-12T16:17:19.256Z] "registry-mirrors": [ [2022-07-12T16:17:19.256Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T16:17:19.256Z] ], [2022-07-12T16:17:19.256Z] "bip": "10.250.0.254/24", [2022-07-12T16:17:19.256Z] "hosts": [ [2022-07-12T16:17:19.256Z] "tcp://0.0.0.0:5555", [2022-07-12T16:17:19.256Z] "unix:///var/run/docker.sock" [2022-07-12T16:17:19.256Z] ], [2022-07-12T16:17:19.256Z] "mtu": 1458, [2022-07-12T16:17:19.256Z] "selinux-enabled": true, [2022-07-12T16:17:19.256Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T16:17:19.256Z] } [Pipeline] sh [2022-07-12T16:17:19.608Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T16:17:19.972Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:17:38.360Z] provisioning config files... [2022-07-12T16:17:38.571Z] copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config5534075910820281166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:17:39.024Z] ---> docker-login.sh [2022-07-12T16:17:39.024Z] nexus3.edgexfoundry.org:10001 [2022-07-12T16:17:39.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:17:39.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:17:39.904Z] Configure a credential helper to remove this warning. See [2022-07-12T16:17:39.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:17:39.904Z] [2022-07-12T16:17:39.904Z] Login Succeeded [2022-07-12T16:17:39.904Z] nexus3.edgexfoundry.org:10002 [2022-07-12T16:17:40.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:17:40.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:17:40.454Z] Configure a credential helper to remove this warning. See [2022-07-12T16:17:40.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:17:40.455Z] [2022-07-12T16:17:40.455Z] Login Succeeded [2022-07-12T16:17:40.455Z] nexus3.edgexfoundry.org:10003 [2022-07-12T16:17:40.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:17:41.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:17:41.016Z] Configure a credential helper to remove this warning. See [2022-07-12T16:17:41.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:17:41.016Z] [2022-07-12T16:17:41.016Z] Login Succeeded [2022-07-12T16:17:41.016Z] nexus3.edgexfoundry.org:10004 [2022-07-12T16:17:41.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:17:41.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:17:41.294Z] Configure a credential helper to remove this warning. See [2022-07-12T16:17:41.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:17:41.294Z] [2022-07-12T16:17:41.294Z] Login Succeeded [2022-07-12T16:17:41.294Z] docker.io [2022-07-12T16:17:41.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:17:42.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:17:42.170Z] Configure a credential helper to remove this warning. See [2022-07-12T16:17:42.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:17:42.170Z] [2022-07-12T16:17:42.170Z] Login Succeeded [2022-07-12T16:17:42.170Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T16:17:42.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T16:17:42.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:17:42.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:17:42.685Z] ========================================================= [2022-07-12T16:17:42.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T16:17:42.685Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:17:43.214Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-12T16:17:44.228Z] Sending build context to Docker daemon 28.17MB [2022-07-12T16:17:44.228Z] Step 1/15 : ARG BASE=golang:1.17-alpine3.15 [2022-07-12T16:17:44.228Z] Step 2/15 : FROM ${BASE} AS builder [2022-07-12T16:17:44.510Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T16:17:44.510Z] b3c136eddcbf: Pulling fs layer [2022-07-12T16:17:44.510Z] c0a3192eca97: Pulling fs layer [2022-07-12T16:17:44.510Z] a050256f5b6f: Pulling fs layer [2022-07-12T16:17:44.510Z] 656be50a0ddc: Pulling fs layer [2022-07-12T16:17:44.510Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T16:17:44.510Z] 46d945488cbd: Pulling fs layer [2022-07-12T16:17:44.510Z] 8a5474983e97: Pulling fs layer [2022-07-12T16:17:44.510Z] 329c88fbcd65: Pulling fs layer [2022-07-12T16:17:44.510Z] 656be50a0ddc: Waiting [2022-07-12T16:17:44.510Z] 2bbca73fdf42: Waiting [2022-07-12T16:17:44.510Z] 46d945488cbd: Waiting [2022-07-12T16:17:44.510Z] 329c88fbcd65: Waiting [2022-07-12T16:17:44.510Z] 8a5474983e97: Waiting [2022-07-12T16:17:44.510Z] a050256f5b6f: Verifying Checksum [2022-07-12T16:17:44.510Z] a050256f5b6f: Download complete [2022-07-12T16:17:44.510Z] c0a3192eca97: Verifying Checksum [2022-07-12T16:17:44.510Z] c0a3192eca97: Download complete [2022-07-12T16:17:44.510Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T16:17:44.510Z] 2bbca73fdf42: Download complete [2022-07-12T16:17:44.788Z] 46d945488cbd: Download complete [2022-07-12T16:17:44.788Z] b3c136eddcbf: Download complete [2022-07-12T16:17:45.785Z] b3c136eddcbf: Pull complete [2022-07-12T16:17:45.785Z] 329c88fbcd65: Verifying Checksum [2022-07-12T16:17:45.785Z] 329c88fbcd65: Download complete [2022-07-12T16:17:46.387Z] c0a3192eca97: Pull complete [2022-07-12T16:17:46.662Z] a050256f5b6f: Pull complete [2022-07-12T16:17:46.936Z] 8a5474983e97: Verifying Checksum [2022-07-12T16:17:46.936Z] 8a5474983e97: Download complete [2022-07-12T16:17:47.918Z] 656be50a0ddc: Verifying Checksum [2022-07-12T16:17:47.918Z] 656be50a0ddc: Download complete [2022-07-12T16:18:03.030Z] 656be50a0ddc: Pull complete [2022-07-12T16:18:03.030Z] 2bbca73fdf42: Pull complete [2022-07-12T16:18:03.030Z] 46d945488cbd: Pull complete [2022-07-12T16:18:07.351Z] 8a5474983e97: Pull complete [2022-07-12T16:18:09.326Z] 329c88fbcd65: Pull complete [2022-07-12T16:18:09.326Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T16:18:09.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T16:18:09.326Z] ---> ff4287adb874 [2022-07-12T16:18:09.326Z] Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-12T16:18:11.308Z] ---> Running in 6a90c4c2b000 [2022-07-12T16:18:11.585Z] Removing intermediate container 6a90c4c2b000 [2022-07-12T16:18:11.585Z] ---> 3300c7fd9d77 [2022-07-12T16:18:11.585Z] Step 4/15 : ARG ALPINE_PKG_BASE="make git" [2022-07-12T16:18:11.585Z] ---> Running in 74cc696fc954 [2022-07-12T16:18:11.860Z] Removing intermediate container 74cc696fc954 [2022-07-12T16:18:11.860Z] ---> 259dc6ec22ae [2022-07-12T16:18:11.860Z] Step 5/15 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T16:18:11.860Z] ---> Running in 3c5b90f9769d [2022-07-12T16:18:12.134Z] Removing intermediate container 3c5b90f9769d [2022-07-12T16:18:12.134Z] ---> d7f21aef0089 [2022-07-12T16:18:12.134Z] Step 6/15 : LABEL Name=edgex-ui-go [2022-07-12T16:18:12.134Z] ---> Running in 7f094ec7400b [2022-07-12T16:18:12.410Z] Removing intermediate container 7f094ec7400b [2022-07-12T16:18:12.410Z] ---> 339294c1290e [2022-07-12T16:18:12.410Z] Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' [2022-07-12T16:18:12.695Z] ---> Running in dbf72121aa6f [2022-07-12T16:18:12.977Z] Removing intermediate container dbf72121aa6f [2022-07-12T16:18:12.977Z] ---> d1df02e7a7d6 [2022-07-12T16:18:12.977Z] Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T16:18:12.977Z] ---> Running in e683d72a6e17 [2022-07-12T16:18:14.970Z] Removing intermediate container e683d72a6e17 [2022-07-12T16:18:14.970Z] ---> 9fbed9013e79 [2022-07-12T16:18:14.971Z] Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T16:18:14.971Z] ---> Running in 2e02d3d8cc5a [2022-07-12T16:18:15.961Z] fetch https://nl.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:18:16.556Z] fetch https://nl.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T16:18:17.547Z] OK: 221 MiB in 51 packages [2022-07-12T16:18:18.161Z] Removing intermediate container 2e02d3d8cc5a [2022-07-12T16:18:18.161Z] ---> c69b81d9c80d [2022-07-12T16:18:18.161Z] Step 10/15 : ENV GO111MODULE=on [2022-07-12T16:18:18.440Z] ---> Running in ce44836acb58 [2022-07-12T16:18:18.717Z] Removing intermediate container ce44836acb58 [2022-07-12T16:18:18.717Z] ---> 3081fafdce05 [2022-07-12T16:18:18.717Z] Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-12T16:18:18.717Z] ---> Running in d045c3018232 [2022-07-12T16:18:19.001Z] Removing intermediate container d045c3018232 [2022-07-12T16:18:19.001Z] ---> daf492eb880e [2022-07-12T16:18:19.001Z] Step 12/15 : COPY go.mod vendor* ./ [2022-07-12T16:18:19.608Z] ---> 5d50598b306f [2022-07-12T16:18:19.608Z] Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T16:18:19.608Z] ---> Running in 4a086d33b7fb [2022-07-12T16:18:46.424Z] Removing intermediate container 4a086d33b7fb [2022-07-12T16:18:46.424Z] ---> fcce06117286 [2022-07-12T16:18:46.424Z] Step 14/15 : COPY . . [2022-07-12T16:18:49.048Z] ---> 0fc4e093ac86 [2022-07-12T16:18:49.048Z] Step 15/15 : RUN ${MAKE} [2022-07-12T16:18:49.048Z] ---> Running in fedba68ab80f [2022-07-12T16:18:50.033Z] noop [2022-07-12T16:18:50.635Z] Removing intermediate container fedba68ab80f [2022-07-12T16:18:50.635Z] ---> fda68ccc37de [2022-07-12T16:18:50.909Z] Successfully built fda68ccc37de [2022-07-12T16:18:50.909Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:18:51.388Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T16:18:51.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:18:51.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-19583 does not seem to be running inside a container [2022-07-12T16:18:51.801Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T16:18:53.103Z] $ docker top 4a6a05553d65ec5af9510700090a33e6f67f50cb857ab223510b448b6fbb523c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:18:54.071Z] + go version [2022-07-12T16:18:54.071Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T16:18:54.110Z] $ docker stop --time=1 4a6a05553d65ec5af9510700090a33e6f67f50cb857ab223510b448b6fbb523c [2022-07-12T16:18:55.759Z] $ docker rm -f 4a6a05553d65ec5af9510700090a33e6f67f50cb857ab223510b448b6fbb523c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:18:56.661Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T16:18:56.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:18:56.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-19583 does not seem to be running inside a container [2022-07-12T16:18:57.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T16:18:58.429Z] $ docker top 6bb9f38a53aa2726a0eba7660a33881db796aab714dc4a1d32df67106aa861bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:18:59.403Z] + git config --global --add safe.directory /w/workspace/edgex-ui-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-12T16:19:00.125Z] + make test [2022-07-12T16:19:00.126Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-07-12T16:19:01.576Z] ? github.com/edgexfoundry/edgex-ui-go [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] [2022-07-12T16:19:40.637Z] ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] [2022-07-12T16:19:40.637Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-07-12T16:19:53.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T16:19:53.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-07-12T16:19:53.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T16:19:53.141Z] $ docker stop --time=1 6bb9f38a53aa2726a0eba7660a33881db796aab714dc4a1d32df67106aa861bb [2022-07-12T16:19:54.914Z] $ docker rm -f 6bb9f38a53aa2726a0eba7660a33881db796aab714dc4a1d32df67106aa861bb [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T16:19:55.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T16:19:55.799Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T16:19:56.471Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T16:19:57.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T16:19:57.407Z] + ls -al . [2022-07-12T16:19:57.407Z] total 156 [2022-07-12T16:19:57.407Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 12 16:19 . [2022-07-12T16:19:57.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:17 .. [2022-07-12T16:19:57.407Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 16:17 .git [2022-07-12T16:19:57.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:17 .github [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 167 Jul 12 16:17 .gitignore [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 2022 Jul 12 16:17 Attribution.txt [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 14570 Jul 12 16:17 CHANGELOG.md [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 3959 Jul 12 16:17 CONTRIBUTING.md [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 1549 Jul 12 16:17 Dockerfile [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 652 Jul 12 16:17 Jenkinsfile [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 11357 Jul 12 16:17 LICENSE [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 1212 Jul 12 16:17 Makefile [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 4398 Jul 12 16:17 README.md [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 16:14 VERSION [2022-07-12T16:19:57.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:17 assets [2022-07-12T16:19:57.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:17 bin [2022-07-12T16:19:57.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:17 cmd [2022-07-12T16:19:57.407Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 12 16:19 coverage.out [2022-07-12T16:19:57.407Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:17 docs [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 1945 Jul 12 16:17 go.mod [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 26589 Jul 12 16:17 go.sum [2022-07-12T16:19:57.407Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 16:17 internal [2022-07-12T16:19:57.407Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 16:17 pkg [2022-07-12T16:19:57.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:17 snap [2022-07-12T16:19:57.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:17 testing [2022-07-12T16:19:57.407Z] -rw-rw-r-- 1 jenkins jenkins 155 Jul 12 16:17 version.go [2022-07-12T16:19:57.407Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:17 web [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:19:57.842Z] + docker build -t edgex-ui-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e5a917ff2554435c1a3cf660735787291985b4cf --label arch=arm64 --label version=0.0.0 . [2022-07-12T16:19:58.848Z] Sending build context to Docker daemon 28.17MB [2022-07-12T16:19:58.848Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-07-12T16:19:58.848Z] Step 2/23 : FROM ${BASE} AS builder [2022-07-12T16:19:58.848Z] ---> fda68ccc37de [2022-07-12T16:19:58.848Z] Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-12T16:19:59.121Z] ---> Running in 06326e9f4cb1 [2022-07-12T16:19:59.395Z] Removing intermediate container 06326e9f4cb1 [2022-07-12T16:19:59.395Z] ---> 026d81e98f92 [2022-07-12T16:19:59.395Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git" [2022-07-12T16:19:59.676Z] ---> Running in bad8b3f8e469 [2022-07-12T16:19:59.950Z] Removing intermediate container bad8b3f8e469 [2022-07-12T16:19:59.950Z] ---> 67e63f56eeee [2022-07-12T16:19:59.950Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T16:19:59.950Z] ---> Running in 7b39f69d414d [2022-07-12T16:20:00.224Z] Removing intermediate container 7b39f69d414d [2022-07-12T16:20:00.224Z] ---> 189279aa8c85 [2022-07-12T16:20:00.224Z] Step 6/23 : LABEL Name=edgex-ui-go [2022-07-12T16:20:00.224Z] ---> Running in a50313a346a2 [2022-07-12T16:20:00.499Z] Removing intermediate container a50313a346a2 [2022-07-12T16:20:00.499Z] ---> 3c1e9fdadc5e [2022-07-12T16:20:00.499Z] Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' [2022-07-12T16:20:00.783Z] ---> Running in 3c4af343b9b2 [2022-07-12T16:20:01.058Z] Removing intermediate container 3c4af343b9b2 [2022-07-12T16:20:01.058Z] ---> d88746268fea [2022-07-12T16:20:01.058Z] Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T16:20:01.058Z] ---> Running in 56cfe12dfc41 [2022-07-12T16:20:03.052Z] Removing intermediate container 56cfe12dfc41 [2022-07-12T16:20:03.052Z] ---> 40555ed666d8 [2022-07-12T16:20:03.052Z] Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T16:20:03.052Z] ---> Running in 81092eb1aedb [2022-07-12T16:20:04.036Z] fetch https://nl.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:20:05.010Z] fetch https://nl.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T16:20:05.993Z] OK: 221 MiB in 51 packages [2022-07-12T16:20:06.593Z] Removing intermediate container 81092eb1aedb [2022-07-12T16:20:06.594Z] ---> 115867039c2b [2022-07-12T16:20:06.594Z] Step 10/23 : ENV GO111MODULE=on [2022-07-12T16:20:06.594Z] ---> Running in de66b7a476ca [2022-07-12T16:20:07.200Z] Removing intermediate container de66b7a476ca [2022-07-12T16:20:07.200Z] ---> 8437222b4480 [2022-07-12T16:20:07.200Z] Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-12T16:20:07.200Z] ---> Running in 51847c7408a2 [2022-07-12T16:20:07.476Z] Removing intermediate container 51847c7408a2 [2022-07-12T16:20:07.476Z] ---> 0b7a2626734e [2022-07-12T16:20:07.476Z] Step 12/23 : COPY go.mod vendor* ./ [2022-07-12T16:20:08.076Z] ---> 1570b28e023c [2022-07-12T16:20:08.076Z] Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T16:20:08.076Z] ---> Running in 2dba8a4751ee [2022-07-12T16:20:10.068Z] Removing intermediate container 2dba8a4751ee [2022-07-12T16:20:10.068Z] ---> 5a6e63890cb9 [2022-07-12T16:20:10.068Z] Step 14/23 : COPY . . [2022-07-12T16:20:13.463Z] ---> 74b8e83172c5 [2022-07-12T16:20:13.463Z] Step 15/23 : RUN ${MAKE} [2022-07-12T16:20:13.463Z] ---> Running in ff05fb4f968e [2022-07-12T16:20:14.452Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/edgex-ui-go.Version=0.0.0" -o cmd/edgex-ui-server/edgex-ui-server ./cmd/edgex-ui-server [2022-07-12T16:20:53.543Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2022-07-12T16:20:54.141Z] Removing intermediate container ff05fb4f968e [2022-07-12T16:20:54.141Z] ---> 5324d26db40f [2022-07-12T16:20:54.141Z] Step 16/23 : FROM alpine:3.14 [2022-07-12T16:20:54.740Z] 3.14: Pulling from library/alpine [2022-07-12T16:20:54.740Z] 455c02918c45: Pulling fs layer [2022-07-12T16:20:55.339Z] 455c02918c45: Verifying Checksum [2022-07-12T16:20:55.339Z] 455c02918c45: Download complete [2022-07-12T16:20:55.617Z] 455c02918c45: Pull complete [2022-07-12T16:20:55.617Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-12T16:20:55.617Z] Status: Downloaded newer image for alpine:3.14 [2022-07-12T16:20:55.890Z] ---> ac73e934f311 [2022-07-12T16:20:55.890Z] Step 17/23 : EXPOSE 4000 [2022-07-12T16:20:55.890Z] ---> Running in 73715a5dd358 [2022-07-12T16:20:56.164Z] Removing intermediate container 73715a5dd358 [2022-07-12T16:20:56.164Z] ---> eb61713c06a6 [2022-07-12T16:20:56.164Z] Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [2022-07-12T16:20:57.603Z] ---> 1e3b2ba85960 [2022-07-12T16:20:57.603Z] Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [2022-07-12T16:20:57.603Z] ---> Running in 4851f5c7e20b [2022-07-12T16:20:57.878Z] Removing intermediate container 4851f5c7e20b [2022-07-12T16:20:57.878Z] ---> dd9ea3b5930b [2022-07-12T16:20:57.878Z] Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] [2022-07-12T16:20:57.878Z] ---> Running in da08cae594b7 [2022-07-12T16:20:58.482Z] Removing intermediate container da08cae594b7 [2022-07-12T16:20:58.482Z] ---> 0053f6d9e8d4 [2022-07-12T16:20:58.482Z] Step 21/23 : LABEL arch=arm64 [2022-07-12T16:20:58.482Z] ---> Running in ccb6713251a6 [2022-07-12T16:20:58.756Z] Removing intermediate container ccb6713251a6 [2022-07-12T16:20:58.756Z] ---> 4bce84ca8e0a [2022-07-12T16:20:58.756Z] Step 22/23 : LABEL git_sha=e5a917ff2554435c1a3cf660735787291985b4cf [2022-07-12T16:20:58.756Z] ---> Running in 30a264b1a7fb [2022-07-12T16:20:59.029Z] Removing intermediate container 30a264b1a7fb [2022-07-12T16:20:59.029Z] ---> 2525ef4a5d2c [2022-07-12T16:20:59.029Z] Step 23/23 : LABEL version=0.0.0 [2022-07-12T16:20:59.308Z] ---> Running in 77422dfb4466 [2022-07-12T16:20:59.583Z] Removing intermediate container 77422dfb4466 [2022-07-12T16:20:59.583Z] ---> 515be1373fd2 [2022-07-12T16:20:59.583Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T16:20:59.583Z] Successfully built 515be1373fd2 [2022-07-12T16:20:59.583Z] Successfully tagged edgex-ui-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:21:00.409Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T16:21:00.409Z] [2022-07-12T16:21:00.409Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:21:00.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T16:21:01.117Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T16:21:01.117Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T16:21:01.117Z] 04944245beec: Pulling fs layer [2022-07-12T16:21:01.117Z] 699f458cf7ca: Pulling fs layer [2022-07-12T16:21:01.117Z] 765212b225bb: Pulling fs layer [2022-07-12T16:21:01.117Z] f23df028b6ca: Pulling fs layer [2022-07-12T16:21:01.117Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T16:21:01.117Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T16:21:01.117Z] 765212b225bb: Waiting [2022-07-12T16:21:01.117Z] f23df028b6ca: Waiting [2022-07-12T16:21:01.117Z] d65c8cfc05b1: Waiting [2022-07-12T16:21:01.117Z] 2437ff75d9bd: Waiting [2022-07-12T16:21:01.117Z] 04944245beec: Verifying Checksum [2022-07-12T16:21:01.117Z] 04944245beec: Download complete [2022-07-12T16:21:01.117Z] 765212b225bb: Verifying Checksum [2022-07-12T16:21:01.117Z] 765212b225bb: Download complete [2022-07-12T16:21:01.117Z] f23df028b6ca: Verifying Checksum [2022-07-12T16:21:01.117Z] f23df028b6ca: Download complete [2022-07-12T16:21:01.117Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T16:21:01.117Z] d65c8cfc05b1: Download complete [2022-07-12T16:21:01.396Z] 699f458cf7ca: Verifying Checksum [2022-07-12T16:21:01.396Z] 699f458cf7ca: Download complete [2022-07-12T16:21:01.675Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T16:21:01.675Z] 8998bd30e6a1: Download complete [2022-07-12T16:21:04.317Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T16:21:04.317Z] 2437ff75d9bd: Download complete [2022-07-12T16:21:06.309Z] 8998bd30e6a1: Pull complete [2022-07-12T16:21:06.909Z] 04944245beec: Pull complete [2022-07-12T16:21:08.366Z] 699f458cf7ca: Pull complete [2022-07-12T16:21:08.643Z] 765212b225bb: Pull complete [2022-07-12T16:21:09.245Z] f23df028b6ca: Pull complete [2022-07-12T16:21:09.518Z] d65c8cfc05b1: Pull complete [2022-07-12T16:21:24.659Z] 2437ff75d9bd: Pull complete [2022-07-12T16:21:24.659Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T16:21:24.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T16:21:24.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:21:25.058Z] prd-ubuntu20.04-docker-arm64-4c-16g-19583 does not seem to be running inside a container [2022-07-12T16:21:25.153Z] $ 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/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T16:21:27.743Z] $ docker top 9ab38e1e47c077515a734c9b6d5378ee6130671c1eb17ba1e6814df7b293594e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:28.750Z] ---> job-cost.sh [2022-07-12T16:21:28.750Z] lf-activate-venv: SKIPPING [2022-07-12T16:21:28.750Z] INFO: No Stack... [2022-07-12T16:21:29.024Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T16:21:30.005Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T16:21:30.689Z] + cat /w/workspace/edgex-ui-go/1/archives/cost.csv [2022-07-12T16:21:30.689Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T16:21:30.779Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] [2022-07-12T16:21:30.784Z] Resource [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] did not exist. Created. [2022-07-12T16:21:30.784Z] Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T16:21:31.528Z] /w/workspace/edgex-ui-go/1@tmp/durable-1c5944a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T16:21:32.232Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T16:21:32.268Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T16:21:32.441Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T16:21:32.457Z] Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-539-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T16:21:32.540Z] $ docker stop --time=1 9ab38e1e47c077515a734c9b6d5378ee6130671c1eb17ba1e6814df7b293594e [2022-07-12T16:21:34.076Z] $ docker rm -f 9ab38e1e47c077515a734c9b6d5378ee6130671c1eb17ba1e6814df7b293594e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-12T16:21:35.158Z] provisioning config files... [2022-07-12T16:21:35.169Z] copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/config6184766872109244159tmp [Pipeline] { [Pipeline] sh [2022-07-12T16:21:35.501Z] + set +x [2022-07-12T16:21:35.501Z] + curl -s https://codecov.io/bash [2022-07-12T16:21:35.501Z] + bash -s -- [2022-07-12T16:21:35.501Z] [2022-07-12T16:21:35.501Z] _____ _ [2022-07-12T16:21:35.501Z] / ____| | | [2022-07-12T16:21:35.501Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T16:21:35.501Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T16:21:35.501Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T16:21:35.501Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T16:21:35.501Z] Bash-1.0.6 [2022-07-12T16:21:35.501Z] [2022-07-12T16:21:35.501Z] [2022-07-12T16:21:35.501Z] ==> git version 2.25.1 found [2022-07-12T16:21:35.501Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-12T16:21:35.501Z] Release-Date: 2020-01-08 [2022-07-12T16:21:35.501Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-12T16:21:35.501Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T16:21:35.501Z] ==> Jenkins CI detected. [2022-07-12T16:21:35.501Z] current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-539 [2022-07-12T16:21:35.501Z] project root: . [2022-07-12T16:21:35.501Z] --> token set from env [2022-07-12T16:21:35.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T16:21:35.501Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T16:21:35.501Z] ==> Python coveragepy not found [2022-07-12T16:21:35.501Z] ==> Searching for coverage reports in: [2022-07-12T16:21:35.501Z] + . [2022-07-12T16:21:35.501Z] -> Found 1 reports [2022-07-12T16:21:35.501Z] ==> Detecting git/mercurial file structure [2022-07-12T16:21:35.762Z] ==> Reading reports [2022-07-12T16:21:35.762Z] + ./coverage.out bytes=10 [2022-07-12T16:21:35.762Z] ==> Appending adjustments [2022-07-12T16:21:35.762Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T16:21:35.762Z] + Found adjustments [2022-07-12T16:21:35.762Z] ==> Gzipping contents [2022-07-12T16:21:35.762Z] 8.0K /tmp/codecov.ZHRH59.gz [2022-07-12T16:21:35.762Z] ==> Uploading reports [2022-07-12T16:21:35.762Z] url: https://codecov.io [2022-07-12T16:21:35.762Z] query: branch=PR-539&commit=e5a917ff2554435c1a3cf660735787291985b4cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=539&job=&cmd_args= [2022-07-12T16:21:35.762Z] -> Pinging Codecov [2022-07-12T16:21:35.762Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-539&commit=e5a917ff2554435c1a3cf660735787291985b4cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=539&job=&cmd_args= [2022-07-12T16:21:36.333Z] -> Uploading to [2022-07-12T16:21:36.333Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/FB506323287CE973F263BFD2A0EB1F37/e5a917ff2554435c1a3cf660735787291985b4cf/f87afb28-d5d1-40b1-9622-0eb14a78c15b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T162136Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63d0caa37ee2d194ea4f301827b372c8a02d39e0737055746546e0c025137f27 [2022-07-12T16:21:36.333Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T16:21:36.333Z] Dload Upload Total Spent Left Speed [2022-07-12T16:21:36.595Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4446 0 0 100 4446 0 19585 --:--:-- --:--:-- --:--:-- 19585 [2022-07-12T16:21:36.595Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/e5a917ff2554435c1a3cf660735787291985b4cf [Pipeline] } [2022-07-12T16:21:36.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-12T16:21:38.386Z] + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-539/archives ] [2022-07-12T16:21:38.386Z] + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-539/archives [2022-07-12T16:21:38.386Z] total 16 [2022-07-12T16:21:38.386Z] drwxr-xr-x 3 root root 4096 Jul 12 16:15 . [2022-07-12T16:21:38.386Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 12 16:15 .. [2022-07-12T16:21:38.386Z] drwxr-xr-x 2 root root 4096 Jul 12 16:15 cost [2022-07-12T16:21:38.386Z] -rw-r--r-- 1 root root 82 Jul 12 16:15 cost.csv [2022-07-12T16:21:38.386Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-539/archives [2022-07-12T16:21:38.386Z] + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-539/archives [2022-07-12T16:21:38.386Z] total 16 [2022-07-12T16:21:38.386Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 16:15 . [2022-07-12T16:21:38.386Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 12 16:15 .. [2022-07-12T16:21:38.386Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 16:15 cost [2022-07-12T16:21:38.386Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 12 16:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:38.715Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:39.613Z] ---> package-listing.sh [2022-07-12T16:21:39.613Z] ++ facter osfamily [2022-07-12T16:21:39.613Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T16:21:39.874Z] + OS_FAMILY=debian [2022-07-12T16:21:39.874Z] + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-539 [2022-07-12T16:21:39.874Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T16:21:39.874Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T16:21:39.874Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T16:21:39.874Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T16:21:39.874Z] + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-539 ']' [2022-07-12T16:21:39.874Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T16:21:39.875Z] + case "${OS_FAMILY}" in [2022-07-12T16:21:39.875Z] + dpkg -l [2022-07-12T16:21:39.875Z] + grep '^ii' [2022-07-12T16:21:39.875Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T16:21:39.875Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T16:21:39.875Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T16:21:39.875Z] + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-539 ']' [2022-07-12T16:21:39.875Z] + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-539/archives/ [2022-07-12T16:21:39.875Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-539/archives/ [Pipeline] echo [2022-07-12T16:21:39.907Z] 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/edgexfoundry_edgex-ui-go_PR-539/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T16:21:40.205Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:21:40.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:21:40.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:21:40.992Z] prd-ubuntu20.04-docker-8c-8g-19579 does not seem to be running inside a container [2022-07-12T16:21:41.029Z] $ 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/edgexfoundry_edgex-ui-go_PR-539/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-539 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539:/w/workspace/edgexfoundry_edgex-ui-go_PR-539:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T16:21:41.264Z] $ docker top 990dc5db4b2f8c9808cf54730bf2a00300a549a51b098ab07283a63e5dfb5682 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:21:41.664Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T16:21:41.978Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T16:21:42.288Z] + ls /var/log/sa-host [2022-07-12T16:21:42.288Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:21:42.425Z] provisioning config files... [2022-07-12T16:21:42.436Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-539@tmp/config4942614735048917329tmp [Pipeline] { [Pipeline] echo [2022-07-12T16:21:42.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:42.795Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T16:21:42.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:43.231Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T16:21:43.262Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:43.568Z] ---> sudo-logs.sh [2022-07-12T16:21:43.568Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T16:21:43.647Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:43.959Z] ---> job-cost.sh [2022-07-12T16:21:43.959Z] lf-activate-venv: SKIPPING [2022-07-12T16:21:43.959Z] DEBUG: total: 0.2199999988079071 [2022-07-12T16:21:43.959Z] INFO: Retrieving Stack Cost... [2022-07-12T16:21:44.530Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T16:21:44.790Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T16:21:44.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:21:45.139Z] ---> logs-deploy.sh [2022-07-12T16:21:45.139Z] lf-activate-venv: SKIPPING [2022-07-12T16:21:45.139Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-539/1 [2022-07-12T16:21:45.139Z] INFO: archiving workspace using pattern(s): [2022-07-12T16:21:46.083Z] Archives upload complete. [2022-07-12T16:21:46.083Z] INFO: archiving logs to Nexus