Pull request #542 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/edgex-ui-go Obtained Jenkinsfile from 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c+b529499ada60d8f3399282414b00f575858c0428 (40e2b267d87505ef8d81c21acb0f6e51e7ff5673) 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-ssh16074996928369008454.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-ssh7703711477481169983.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-542/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-542/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11458009947900510315.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-542/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9275169626658759178.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-ssh6122336384913453261.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-542/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-542/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10390034369145722041.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19862 in /w/workspace/edgexfoundry_edgex-ui-go_PR-542 [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-542 # 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 > 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/542/head:refs/remotes/origin/PR-542 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b529499ada60d8f3399282414b00f575858c0428 into PR head commit 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c Merge succeeded, producing 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c Checking out Revision 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c (PR-542) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b529499ada60d8f3399282414b00f575858c0428 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c # timeout=10 Commit message: "build: Upgrade to go 1.18 and optimize attribution script" 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-13T18:27:40.562Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-13T18:27:40.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-13T18:27:40.828Z] ========================================================= [2022-07-13T18:27:40.828Z] EdgeX Global Pipelines Version Info [2022-07-13T18:27:40.828Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:27:41.991Z] ------------------- [2022-07-13T18:27:41.991Z] stable info: [2022-07-13T18:27:41.991Z] ------------------- [2022-07-13T18:27:41.991Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-13T18:27:41.991Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-13T18:27:41.991Z] Message: update stable to v1.0.237 [2022-07-13T18:27:42.565Z] ------------------- [2022-07-13T18:27:42.565Z] experimental info: [2022-07-13T18:27:42.565Z] ------------------- [2022-07-13T18:27:42.565Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-13T18:27:42.565Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-13T18:27:42.565Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-13T18:27:42.946Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo [2022-07-13T18:27:42.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo [2022-07-13T18:27:43.028Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-13T18:27:43.070Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-13T18:27:43.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-13T18:27:43.158Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-13T18:27:43.198Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-13T18:27:43.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-13T18:27:43.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-13T18:27:43.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-13T18:27:43.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-13T18:27:43.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo [2022-07-13T18:27:43.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-13T18:27:43.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-13T18:27:43.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-13T18:27:43.547Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-13T18:27:43.591Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-13T18:27:43.630Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-13T18:27:43.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-13T18:27:43.705Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-13T18:27:43.744Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-13T18:27:43.787Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-13T18:27:43.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-13T18:27:43.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-13T18:27:43.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-13T18:27:43.937Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-13T18:27:43.979Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-13T18:27:44.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-542 [Pipeline] echo [2022-07-13T18:27:44.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-542 [Pipeline] echo [2022-07-13T18:27:44.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-542 [Pipeline] echo [2022-07-13T18:27:44.139Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [Pipeline] echo [2022-07-13T18:27:44.178Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e413f6 [Pipeline] echo [2022-07-13T18:27:44.220Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T18:27:44.329Z] provisioning config files... [2022-07-13T18:27:44.346Z] copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/config5465809934820462988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:27:44.713Z] ---> docker-login.sh [2022-07-13T18:27:44.713Z] nexus3.edgexfoundry.org:10001 [2022-07-13T18:27:44.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:27:45.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:27:45.242Z] Configure a credential helper to remove this warning. See [2022-07-13T18:27:45.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:27:45.242Z] [2022-07-13T18:27:45.242Z] Login Succeeded [2022-07-13T18:27:45.242Z] nexus3.edgexfoundry.org:10002 [2022-07-13T18:27:45.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:27:45.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:27:45.506Z] Configure a credential helper to remove this warning. See [2022-07-13T18:27:45.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:27:45.506Z] [2022-07-13T18:27:45.506Z] Login Succeeded [2022-07-13T18:27:45.506Z] nexus3.edgexfoundry.org:10003 [2022-07-13T18:27:45.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:27:45.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:27:45.506Z] Configure a credential helper to remove this warning. See [2022-07-13T18:27:45.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:27:45.506Z] [2022-07-13T18:27:45.506Z] Login Succeeded [2022-07-13T18:27:45.506Z] nexus3.edgexfoundry.org:10004 [2022-07-13T18:27:45.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:27:45.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:27:45.768Z] Configure a credential helper to remove this warning. See [2022-07-13T18:27:45.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:27:45.768Z] [2022-07-13T18:27:45.768Z] Login Succeeded [2022-07-13T18:27:45.768Z] docker.io [2022-07-13T18:27:45.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:27:46.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:27:46.031Z] Configure a credential helper to remove this warning. See [2022-07-13T18:27:46.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:27:46.031Z] [2022-07-13T18:27:46.031Z] Login Succeeded [2022-07-13T18:27:46.031Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T18:27:46.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-13T18:27:46.679Z] + git rev-list -1 --merges 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c~1..2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [Pipeline] echo [2022-07-13T18:27:46.731Z] -----------> git rev-list -1 --merges 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c~1..2e413f6bbbf8f470390ed33dff6f9c0246fdd18c 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [false] [Pipeline] sh [2022-07-13T18:27:47.052Z] + git log --format=format:%s -1 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [Pipeline] echo [2022-07-13T18:27:47.091Z] ========================================================= [2022-07-13T18:27:47.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-13T18:27:47.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T18:27:47.527Z] + git log --format=format:%s -1 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [Pipeline] echo [2022-07-13T18:27:47.560Z] [semverPrep] GIT_COMMIT: 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c, Commit Message: build: Upgrade to go 1.18 and optimize attribution script [Pipeline] echo [2022-07-13T18:27:47.589Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-13T18:27:47.985Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-13T18:27:47.986Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-13T18:27:47.986Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-13T18:27:47.986Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-13T18:27:47.986Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-13T18:27:47.986Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-13T18:27:47.986Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:27:48.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T18:27:48.486Z] [2022-07-13T18:27:48.486Z] 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-13T18:27:48.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T18:27:48.865Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-13T18:27:48.865Z] b85a868b505f: Pulling fs layer [2022-07-13T18:27:48.865Z] e2be974225ed: Pulling fs layer [2022-07-13T18:27:48.865Z] 339a4e72a1f5: Pulling fs layer [2022-07-13T18:27:48.865Z] 988bab9f4d93: Pulling fs layer [2022-07-13T18:27:48.865Z] 1469e6f7b9e6: Pulling fs layer [2022-07-13T18:27:48.865Z] eaf3925da568: Pulling fs layer [2022-07-13T18:27:48.865Z] 988bab9f4d93: Waiting [2022-07-13T18:27:48.865Z] 1469e6f7b9e6: Waiting [2022-07-13T18:27:48.865Z] bab4dde63d76: Pulling fs layer [2022-07-13T18:27:48.865Z] eaf3925da568: Waiting [2022-07-13T18:27:48.865Z] bde34c3a00c8: Pulling fs layer [2022-07-13T18:27:48.865Z] b352a97aabf1: Pulling fs layer [2022-07-13T18:27:48.865Z] bde34c3a00c8: Waiting [2022-07-13T18:27:48.865Z] 4872d77fe225: Pulling fs layer [2022-07-13T18:27:48.865Z] 5851b861e8e6: Pulling fs layer [2022-07-13T18:27:48.865Z] b352a97aabf1: Waiting [2022-07-13T18:27:48.865Z] 4872d77fe225: Waiting [2022-07-13T18:27:48.865Z] e2be974225ed: Verifying Checksum [2022-07-13T18:27:48.865Z] e2be974225ed: Download complete [2022-07-13T18:27:48.865Z] 988bab9f4d93: Download complete [2022-07-13T18:27:49.135Z] 1469e6f7b9e6: Verifying Checksum [2022-07-13T18:27:49.135Z] 1469e6f7b9e6: Download complete [2022-07-13T18:27:49.135Z] 339a4e72a1f5: Verifying Checksum [2022-07-13T18:27:49.135Z] 339a4e72a1f5: Download complete [2022-07-13T18:27:49.135Z] eaf3925da568: Verifying Checksum [2022-07-13T18:27:49.135Z] eaf3925da568: Download complete [2022-07-13T18:27:49.135Z] bde34c3a00c8: Download complete [2022-07-13T18:27:49.135Z] b352a97aabf1: Verifying Checksum [2022-07-13T18:27:49.135Z] b352a97aabf1: Download complete [2022-07-13T18:27:49.135Z] 4872d77fe225: Download complete [2022-07-13T18:27:49.135Z] 5851b861e8e6: Verifying Checksum [2022-07-13T18:27:49.135Z] 5851b861e8e6: Download complete [2022-07-13T18:27:49.135Z] b85a868b505f: Verifying Checksum [2022-07-13T18:27:49.135Z] b85a868b505f: Download complete [2022-07-13T18:27:49.398Z] bab4dde63d76: Verifying Checksum [2022-07-13T18:27:49.398Z] bab4dde63d76: Download complete [2022-07-13T18:27:50.792Z] b85a868b505f: Pull complete [2022-07-13T18:27:50.792Z] e2be974225ed: Pull complete [2022-07-13T18:27:51.055Z] 339a4e72a1f5: Pull complete [2022-07-13T18:27:51.315Z] 988bab9f4d93: Pull complete [2022-07-13T18:27:51.574Z] 1469e6f7b9e6: Pull complete [2022-07-13T18:27:51.575Z] eaf3925da568: Pull complete [2022-07-13T18:27:53.485Z] bab4dde63d76: Pull complete [2022-07-13T18:27:53.485Z] bde34c3a00c8: Pull complete [2022-07-13T18:27:53.749Z] b352a97aabf1: Pull complete [2022-07-13T18:27:53.749Z] 4872d77fe225: Pull complete [2022-07-13T18:27:54.010Z] 5851b861e8e6: Pull complete [2022-07-13T18:27:54.010Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-13T18:27:54.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T18:27:54.010Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:27:54.244Z] prd-ubuntu20.04-docker-8c-8g-19862 does not seem to be running inside a container [2022-07-13T18:27:54.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-542 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542:/w/workspace/edgexfoundry_edgex-ui-go_PR-542:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-13T18:27:55.895Z] $ docker top 989b8a23e80cbdf9d756b5148e241590a257555efcf57877964774f25bbea57b -eo pid,comm [2022-07-13T18:27:55.967Z] 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-13T18:27:55.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-13T18:27:56.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-13T18:27:56.092Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-13T18:27:56.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-13T18:27:56.247Z] $ docker exec 989b8a23e80cbdf9d756b5148e241590a257555efcf57877964774f25bbea57b ssh-agent [2022-07-13T18:27:56.375Z] SSH_AUTH_SOCK=/tmp/ssh-dBp5GEYyikVT/agent.32 [2022-07-13T18:27:56.375Z] SSH_AGENT_PID=38 [2022-07-13T18:27:56.381Z] Running ssh-add (command line suppressed) [2022-07-13T18:27:56.505Z] Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/private_key_552280463541442789.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/private_key_552280463541442789.key) [2022-07-13T18:27:56.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-13T18:27:56.856Z] + git tag --points-at HEAD [Pipeline] } [2022-07-13T18:27:56.883Z] $ docker exec --env ******** --env ******** 989b8a23e80cbdf9d756b5148e241590a257555efcf57877964774f25bbea57b ssh-agent -k [2022-07-13T18:27:57.017Z] unset SSH_AUTH_SOCK; [2022-07-13T18:27:57.017Z] unset SSH_AGENT_PID; [2022-07-13T18:27:57.017Z] echo Agent pid 38 killed; [2022-07-13T18:27:57.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-13T18:27:57.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-13T18:27:57.114Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-13T18:27:57.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-13T18:27:57.248Z] $ docker exec 989b8a23e80cbdf9d756b5148e241590a257555efcf57877964774f25bbea57b ssh-agent [2022-07-13T18:27:57.364Z] SSH_AUTH_SOCK=/tmp/ssh-dPZglQu4mf7D/agent.70 [2022-07-13T18:27:57.364Z] SSH_AGENT_PID=76 [2022-07-13T18:27:57.370Z] Running ssh-add (command line suppressed) [2022-07-13T18:27:57.486Z] Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/private_key_3782344792293877757.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/private_key_3782344792293877757.key) [2022-07-13T18:27:57.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-13T18:27:57.832Z] + git semver init [2022-07-13T18:27:58.093Z] 2022-07-13 18:27:58,023 [run_init] DEBUG init version:0.0.0 force:False [2022-07-13T18:27:58.093Z] 2022-07-13 18:27:58,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver [2022-07-13T18:27:58.093Z] 2022-07-13 18:27:58,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-ui-go.git /w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver [2022-07-13T18:27:58.093Z] 2022-07-13 18:27:58,024 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-ui-go.git', '/w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-542, universal_newlines=False, shell=None, istream=None) [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,136 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-542/.git/info/exclude [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,137 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver/PR-542 with force:False [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,137 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver/PR-542 [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,141 [execute] INFO git cat-file --batch-check [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver, universal_newlines=False, shell=None, istream=) [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,148 [execute] INFO git cat-file --batch [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver, universal_newlines=False, shell=None, istream=) [2022-07-13T18:27:59.483Z] 2022-07-13 18:27:59,154 [read_version] DEBUG read version from /w/workspace/edgexfoundry_edgex-ui-go_PR-542/.semver/PR-542 [2022-07-13T18:27:59.483Z] 0.0.0 [Pipeline] } [2022-07-13T18:27:59.508Z] $ docker exec --env ******** --env ******** 989b8a23e80cbdf9d756b5148e241590a257555efcf57877964774f25bbea57b ssh-agent -k [2022-07-13T18:27:59.632Z] unset SSH_AUTH_SOCK; [2022-07-13T18:27:59.633Z] unset SSH_AGENT_PID; [2022-07-13T18:27:59.633Z] echo Agent pid 76 killed; [2022-07-13T18:27:59.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-13T18:28:00.072Z] + git semver [Pipeline] } [2022-07-13T18:28:00.369Z] $ docker stop --time=1 989b8a23e80cbdf9d756b5148e241590a257555efcf57877964774f25bbea57b [2022-07-13T18:28:01.713Z] $ docker rm -f 989b8a23e80cbdf9d756b5148e241590a257555efcf57877964774f25bbea57b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T18:28:02.129Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-13T18:28:02.451Z] Stashed 1 file(s) [Pipeline] echo [2022-07-13T18:28:02.469Z] [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-13T18:28:03.032Z] provisioning config files... [2022-07-13T18:28:03.044Z] copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/config3337591153046532165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:28:03.390Z] ---> docker-login.sh [2022-07-13T18:28:03.391Z] nexus3.edgexfoundry.org:10001 [2022-07-13T18:28:03.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:28:03.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:28:03.391Z] Configure a credential helper to remove this warning. See [2022-07-13T18:28:03.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:28:03.391Z] [2022-07-13T18:28:03.391Z] Login Succeeded [2022-07-13T18:28:03.391Z] nexus3.edgexfoundry.org:10002 [2022-07-13T18:28:03.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:28:03.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:28:03.654Z] Configure a credential helper to remove this warning. See [2022-07-13T18:28:03.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:28:03.654Z] [2022-07-13T18:28:03.654Z] Login Succeeded [2022-07-13T18:28:03.654Z] nexus3.edgexfoundry.org:10003 [2022-07-13T18:28:03.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:28:03.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:28:03.654Z] Configure a credential helper to remove this warning. See [2022-07-13T18:28:03.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:28:03.654Z] [2022-07-13T18:28:03.654Z] Login Succeeded [2022-07-13T18:28:03.654Z] nexus3.edgexfoundry.org:10004 [2022-07-13T18:28:03.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:28:03.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:28:03.919Z] Configure a credential helper to remove this warning. See [2022-07-13T18:28:03.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:28:03.919Z] [2022-07-13T18:28:03.919Z] Login Succeeded [2022-07-13T18:28:03.919Z] docker.io [2022-07-13T18:28:03.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:28:04.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:28:04.180Z] Configure a credential helper to remove this warning. See [2022-07-13T18:28:04.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:28:04.180Z] [2022-07-13T18:28:04.180Z] Login Succeeded [2022-07-13T18:28:04.180Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T18:28:04.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-13T18:28:04.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T18:28:04.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T18:28:04.469Z] ========================================================= [2022-07-13T18:28:04.469Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-13T18:28:04.469Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:28:04.934Z] + 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-13T18:28:05.194Z] Sending build context to Docker daemon 44.03MB [2022-07-13T18:28:05.194Z] Step 1/15 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T18:28:05.194Z] Step 2/15 : FROM ${BASE} AS builder [2022-07-13T18:28:05.194Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-13T18:28:05.194Z] 2408cc74d12b: Pulling fs layer [2022-07-13T18:28:05.194Z] ea60b727a1ce: Pulling fs layer [2022-07-13T18:28:05.194Z] 30c4a7721957: Pulling fs layer [2022-07-13T18:28:05.194Z] 370296b7ddb6: Pulling fs layer [2022-07-13T18:28:05.194Z] 7c6cee850709: Pulling fs layer [2022-07-13T18:28:05.194Z] 39a5fcdaea64: Pulling fs layer [2022-07-13T18:28:05.194Z] d94ebbe4e438: Pulling fs layer [2022-07-13T18:28:05.194Z] bcfd1f05c69d: Pulling fs layer [2022-07-13T18:28:05.194Z] 59ccb84bbe0f: Pulling fs layer [2022-07-13T18:28:05.194Z] 39a5fcdaea64: Waiting [2022-07-13T18:28:05.194Z] bcfd1f05c69d: Waiting [2022-07-13T18:28:05.194Z] 370296b7ddb6: Waiting [2022-07-13T18:28:05.194Z] 7c6cee850709: Waiting [2022-07-13T18:28:05.194Z] 59ccb84bbe0f: Waiting [2022-07-13T18:28:05.194Z] d94ebbe4e438: Waiting [2022-07-13T18:28:05.194Z] 30c4a7721957: Verifying Checksum [2022-07-13T18:28:05.194Z] 30c4a7721957: Download complete [2022-07-13T18:28:05.194Z] ea60b727a1ce: Download complete [2022-07-13T18:28:05.194Z] 7c6cee850709: Verifying Checksum [2022-07-13T18:28:05.194Z] 7c6cee850709: Download complete [2022-07-13T18:28:05.194Z] 39a5fcdaea64: Verifying Checksum [2022-07-13T18:28:05.194Z] 39a5fcdaea64: Download complete [2022-07-13T18:28:05.194Z] 2408cc74d12b: Verifying Checksum [2022-07-13T18:28:05.194Z] 2408cc74d12b: Download complete [2022-07-13T18:28:05.454Z] d94ebbe4e438: Download complete [2022-07-13T18:28:05.454Z] 2408cc74d12b: Pull complete [2022-07-13T18:28:05.454Z] ea60b727a1ce: Pull complete [2022-07-13T18:28:05.714Z] 30c4a7721957: Pull complete [2022-07-13T18:28:05.714Z] 59ccb84bbe0f: Verifying Checksum [2022-07-13T18:28:05.714Z] 59ccb84bbe0f: Download complete [2022-07-13T18:28:05.974Z] 370296b7ddb6: Download complete [2022-07-13T18:28:06.233Z] bcfd1f05c69d: Verifying Checksum [2022-07-13T18:28:06.233Z] bcfd1f05c69d: Download complete [2022-07-13T18:28:10.432Z] 370296b7ddb6: Pull complete [2022-07-13T18:28:10.432Z] 7c6cee850709: Pull complete [2022-07-13T18:28:10.432Z] 39a5fcdaea64: Pull complete [2022-07-13T18:28:10.432Z] d94ebbe4e438: Pull complete [2022-07-13T18:28:12.342Z] bcfd1f05c69d: Pull complete [2022-07-13T18:28:12.915Z] 59ccb84bbe0f: Pull complete [2022-07-13T18:28:12.915Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-13T18:28:12.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-13T18:28:12.915Z] ---> a4fb48ad2a94 [2022-07-13T18:28:12.915Z] Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-13T18:28:15.467Z] ---> Running in 2a66c2934b65 [2022-07-13T18:28:15.467Z] Removing intermediate container 2a66c2934b65 [2022-07-13T18:28:15.467Z] ---> 7c9f6704eb9d [2022-07-13T18:28:15.467Z] Step 4/15 : ARG ALPINE_PKG_BASE="make git" [2022-07-13T18:28:15.467Z] ---> Running in 2eac6260844c [2022-07-13T18:28:15.467Z] Removing intermediate container 2eac6260844c [2022-07-13T18:28:15.467Z] ---> 0d50cf6a7170 [2022-07-13T18:28:15.467Z] Step 5/15 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T18:28:15.467Z] ---> Running in 2ac6d8d4c44a [2022-07-13T18:28:15.467Z] Removing intermediate container 2ac6d8d4c44a [2022-07-13T18:28:15.467Z] ---> 25102e1e48b6 [2022-07-13T18:28:15.467Z] Step 6/15 : LABEL Name=edgex-ui-go [2022-07-13T18:28:15.467Z] ---> Running in 4afe81db238e [2022-07-13T18:28:15.467Z] Removing intermediate container 4afe81db238e [2022-07-13T18:28:15.467Z] ---> 1c9e18c10be8 [2022-07-13T18:28:15.467Z] Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2022: Intel' [2022-07-13T18:28:15.467Z] ---> Running in de23df818542 [2022-07-13T18:28:15.727Z] Removing intermediate container de23df818542 [2022-07-13T18:28:15.727Z] ---> 36829f62bc33 [2022-07-13T18:28:15.727Z] Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T18:28:15.727Z] ---> Running in f04c755e9024 [2022-07-13T18:28:16.298Z] Removing intermediate container f04c755e9024 [2022-07-13T18:28:16.298Z] ---> a28e1a3e9571 [2022-07-13T18:28:16.298Z] Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T18:28:16.298Z] ---> Running in 2a792bac6e2f [2022-07-13T18:28:16.559Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-13T18:28:17.502Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-13T18:28:17.860Z] Still waiting to schedule task [2022-07-13T18:28:17.861Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-13T18:28:18.072Z] OK: 211 MiB in 51 packages [2022-07-13T18:28:18.334Z] Removing intermediate container 2a792bac6e2f [2022-07-13T18:28:18.334Z] ---> ebd094ab2a2f [2022-07-13T18:28:18.334Z] Step 10/15 : ENV GO111MODULE=on [2022-07-13T18:28:18.334Z] ---> Running in dffc48d762fa [2022-07-13T18:28:18.334Z] Removing intermediate container dffc48d762fa [2022-07-13T18:28:18.334Z] ---> 2f75bc1832f6 [2022-07-13T18:28:18.334Z] Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-13T18:28:18.334Z] ---> Running in e0a6b4df22c8 [2022-07-13T18:28:18.597Z] Removing intermediate container e0a6b4df22c8 [2022-07-13T18:28:18.597Z] ---> 7017d2a43754 [2022-07-13T18:28:18.597Z] Step 12/15 : COPY go.mod vendor* ./ [2022-07-13T18:28:18.597Z] ---> bda25c02cf35 [2022-07-13T18:28:18.597Z] Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T18:28:18.858Z] ---> Running in 4cbd93469c65 [2022-07-13T18:28:31.100Z] Removing intermediate container 4cbd93469c65 [2022-07-13T18:28:31.100Z] ---> 788dc003dbf8 [2022-07-13T18:28:31.100Z] Step 14/15 : COPY . . [2022-07-13T18:28:31.100Z] ---> 02cfb6436cff [2022-07-13T18:28:31.100Z] Step 15/15 : RUN ${MAKE} [2022-07-13T18:28:31.364Z] ---> Running in 4db8dc90e91b [2022-07-13T18:28:31.625Z] noop [2022-07-13T18:28:31.888Z] Removing intermediate container 4db8dc90e91b [2022-07-13T18:28:31.888Z] ---> c38a9fd2c01b [2022-07-13T18:28:31.888Z] Successfully built c38a9fd2c01b [2022-07-13T18:28:31.888Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:28:32.337Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-13T18:28:32.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:28:32.503Z] prd-ubuntu20.04-docker-8c-8g-19862 does not seem to be running inside a container [2022-07-13T18:28:32.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-542 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542:/w/workspace/edgexfoundry_edgex-ui-go_PR-542:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-13T18:28:32.959Z] $ docker top da692a4d5852cc6503276c4b8553ad005caaac7aba3c7a10e2063fecc660e36d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T18:28:33.371Z] + go version [2022-07-13T18:28:33.371Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-13T18:28:33.405Z] $ docker stop --time=1 da692a4d5852cc6503276c4b8553ad005caaac7aba3c7a10e2063fecc660e36d [2022-07-13T18:28:34.787Z] $ docker rm -f da692a4d5852cc6503276c4b8553ad005caaac7aba3c7a10e2063fecc660e36d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:28:35.524Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-13T18:28:35.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:28:35.716Z] prd-ubuntu20.04-docker-8c-8g-19862 does not seem to be running inside a container [2022-07-13T18:28:35.822Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_edgex-ui-go_PR-542 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542:/w/workspace/edgexfoundry_edgex-ui-go_PR-542:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-13T18:28:36.205Z] $ docker top 956dddfada12a5cfe1a5119e68915e1925a04e54e21ecfe5e95d489a994a905c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T18:28:36.616Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_edgex-ui-go_PR-542 [Pipeline] fileExists [Pipeline] sh [2022-07-13T18:28:36.977Z] + make test [2022-07-13T18:28:36.977Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-07-13T18:28:37.237Z] ? github.com/edgexfoundry/edgex-ui-go [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] [2022-07-13T18:28:42.506Z] ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] [2022-07-13T18:28:42.506Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-07-13T18:28:44.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-13T18:28:44.416Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-13T18:28:44.416Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-13T18:28:44.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-13T18:28:44.484Z] $ docker stop --time=1 956dddfada12a5cfe1a5119e68915e1925a04e54e21ecfe5e95d489a994a905c [2022-07-13T18:28:46.085Z] $ docker rm -f 956dddfada12a5cfe1a5119e68915e1925a04e54e21ecfe5e95d489a994a905c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T18:28:46.532Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-13T18:28:46.621Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-13T18:28:47.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-13T18:28:47.606Z] + ls -al . [2022-07-13T18:28:47.606Z] total 164 [2022-07-13T18:28:47.606Z] drwxrwxr-x 14 jenkins jenkins 4096 Jul 13 18:28 . [2022-07-13T18:28:47.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:27 .. [2022-07-13T18:28:47.606Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 18:28 .git [2022-07-13T18:28:47.606Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:27 .github [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 167 Jul 13 18:27 .gitignore [2022-07-13T18:28:47.606Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 18:27 .semver [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 4869 Jul 13 18:27 Attribution.txt [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 14570 Jul 13 18:27 CHANGELOG.md [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 3959 Jul 13 18:27 CONTRIBUTING.md [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 1815 Jul 13 18:27 Dockerfile [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 652 Jul 13 18:27 Jenkinsfile [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 11357 Jul 13 18:27 LICENSE [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 1181 Jul 13 18:27 Makefile [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 4398 Jul 13 18:27 README.md [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 18:28 VERSION [2022-07-13T18:28:47.606Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:27 assets [2022-07-13T18:28:47.606Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:27 bin [2022-07-13T18:28:47.606Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:27 cmd [2022-07-13T18:28:47.606Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 13 18:28 coverage.out [2022-07-13T18:28:47.606Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:27 docs [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 1945 Jul 13 18:27 go.mod [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 25578 Jul 13 18:27 go.sum [2022-07-13T18:28:47.606Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 18:27 internal [2022-07-13T18:28:47.606Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:27 pkg [2022-07-13T18:28:47.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:27 snap [2022-07-13T18:28:47.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:27 testing [2022-07-13T18:28:47.606Z] -rw-rw-r-- 1 jenkins jenkins 155 Jul 13 18:27 version.go [2022-07-13T18:28:47.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:27 web [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:28:48.001Z] + 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=2e413f6bbbf8f470390ed33dff6f9c0246fdd18c --label arch=amd64 --label version=0.0.0 . [2022-07-13T18:28:48.262Z] Sending build context to Docker daemon 44.03MB [2022-07-13T18:28:48.262Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T18:28:48.262Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-13T18:28:48.262Z] ---> c38a9fd2c01b [2022-07-13T18:28:48.262Z] Step 3/25 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-13T18:28:48.262Z] ---> Running in 3109fb540522 [2022-07-13T18:28:48.522Z] Removing intermediate container 3109fb540522 [2022-07-13T18:28:48.522Z] ---> bb79dfdf2623 [2022-07-13T18:28:48.522Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2022-07-13T18:28:48.522Z] ---> Running in 4de3a9412247 [2022-07-13T18:28:48.522Z] Removing intermediate container 4de3a9412247 [2022-07-13T18:28:48.522Z] ---> e783317ef0ae [2022-07-13T18:28:48.522Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T18:28:48.522Z] ---> Running in ef69aa6d8dfb [2022-07-13T18:28:48.781Z] Removing intermediate container ef69aa6d8dfb [2022-07-13T18:28:48.781Z] ---> 6e8dbf801213 [2022-07-13T18:28:48.781Z] Step 6/25 : LABEL Name=edgex-ui-go [2022-07-13T18:28:48.781Z] ---> Running in 04f30e42390c [2022-07-13T18:28:48.781Z] Removing intermediate container 04f30e42390c [2022-07-13T18:28:48.781Z] ---> b827efdf53ec [2022-07-13T18:28:48.781Z] Step 7/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2022: Intel' [2022-07-13T18:28:48.781Z] ---> Running in bc88b5e63e3c [2022-07-13T18:28:49.041Z] Removing intermediate container bc88b5e63e3c [2022-07-13T18:28:49.041Z] ---> 5ffc5d667fb8 [2022-07-13T18:28:49.041Z] Step 8/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T18:28:49.041Z] ---> Running in edfff41353c5 [2022-07-13T18:28:49.612Z] Removing intermediate container edfff41353c5 [2022-07-13T18:28:49.612Z] ---> eb093b50ec7d [2022-07-13T18:28:49.612Z] Step 9/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T18:28:49.612Z] ---> Running in 1a4c16e2313e [2022-07-13T18:28:49.874Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-13T18:28:50.816Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-13T18:28:51.082Z] OK: 211 MiB in 51 packages [2022-07-13T18:28:51.343Z] Removing intermediate container 1a4c16e2313e [2022-07-13T18:28:51.343Z] ---> 66da92966bea [2022-07-13T18:28:51.343Z] Step 10/25 : ENV GO111MODULE=on [2022-07-13T18:28:51.602Z] ---> Running in 7ff8e854d359 [2022-07-13T18:28:51.602Z] Removing intermediate container 7ff8e854d359 [2022-07-13T18:28:51.602Z] ---> f49a20e206f2 [2022-07-13T18:28:51.602Z] Step 11/25 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-13T18:28:51.602Z] ---> Running in f29fa12e105c [2022-07-13T18:28:51.602Z] Removing intermediate container f29fa12e105c [2022-07-13T18:28:51.602Z] ---> 6013db5807a9 [2022-07-13T18:28:51.602Z] Step 12/25 : COPY go.mod vendor* ./ [2022-07-13T18:28:51.864Z] ---> 43d321f81a6e [2022-07-13T18:28:51.864Z] Step 13/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T18:28:51.864Z] ---> Running in fbc61662482b [2022-07-13T18:28:52.434Z] Removing intermediate container fbc61662482b [2022-07-13T18:28:52.434Z] ---> bdba696da29f [2022-07-13T18:28:52.434Z] Step 14/25 : COPY . . [2022-07-13T18:28:53.817Z] ---> 050ab3fa3471 [2022-07-13T18:28:53.817Z] Step 15/25 : RUN ${MAKE} [2022-07-13T18:28:53.817Z] ---> Running in 604e33b27fab [2022-07-13T18:28:53.817Z] 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-13T18:28:59.094Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2022-07-13T18:29:01.634Z] Removing intermediate container 604e33b27fab [2022-07-13T18:29:01.634Z] ---> 74ef164cbca9 [2022-07-13T18:29:01.634Z] Step 16/25 : FROM alpine:3.14 [2022-07-13T18:29:01.634Z] 3.14: Pulling from library/alpine [2022-07-13T18:29:01.895Z] 8663204ce13b: Pulling fs layer [2022-07-13T18:29:02.216Z] 8663204ce13b: Verifying Checksum [2022-07-13T18:29:02.216Z] 8663204ce13b: Pull complete [2022-07-13T18:29:02.216Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-13T18:29:02.216Z] Status: Downloaded newer image for alpine:3.14 [2022-07-13T18:29:02.216Z] ---> e04c818066af [2022-07-13T18:29:02.216Z] Step 17/25 : EXPOSE 4000 [2022-07-13T18:29:02.476Z] ---> Running in e20c67a4a9ec [2022-07-13T18:29:02.476Z] Removing intermediate container e20c67a4a9ec [2022-07-13T18:29:02.476Z] ---> 3b7e3ee1958c [2022-07-13T18:29:02.476Z] Step 18/25 : 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-13T18:29:03.047Z] ---> 5d51419f225c [2022-07-13T18:29:03.047Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/Attribution.txt /go/src/github.com/edgexfoundry/edgex-ui-go/Attribution.txt [2022-07-13T18:29:03.047Z] ---> 1a28280948ab [2022-07-13T18:29:03.047Z] Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/LICENSE /go/src/github.com/edgexfoundry/edgex-ui-go/LICENSE [2022-07-13T18:29:03.306Z] ---> 59fd0c93dd58 [2022-07-13T18:29:03.306Z] Step 21/25 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [2022-07-13T18:29:03.306Z] ---> Running in 551a729dcd35 [2022-07-13T18:29:03.567Z] Removing intermediate container 551a729dcd35 [2022-07-13T18:29:03.567Z] ---> fd37b996ef3b [2022-07-13T18:29:03.567Z] Step 22/25 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] [2022-07-13T18:29:03.567Z] ---> Running in b0ad5b5a4c28 [2022-07-13T18:29:03.567Z] Removing intermediate container b0ad5b5a4c28 [2022-07-13T18:29:03.567Z] ---> 8a27d0e4b034 [2022-07-13T18:29:03.567Z] Step 23/25 : LABEL arch=amd64 [2022-07-13T18:29:03.567Z] ---> Running in b1a2d3ae842d [2022-07-13T18:29:03.827Z] Removing intermediate container b1a2d3ae842d [2022-07-13T18:29:03.827Z] ---> a8e4431eda2b [2022-07-13T18:29:03.827Z] Step 24/25 : LABEL git_sha=2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [2022-07-13T18:29:03.827Z] ---> Running in b4fc23b1ef83 [2022-07-13T18:29:03.827Z] Removing intermediate container b4fc23b1ef83 [2022-07-13T18:29:03.827Z] ---> 201ef0459310 [2022-07-13T18:29:03.827Z] Step 25/25 : LABEL version=0.0.0 [2022-07-13T18:29:03.827Z] ---> Running in aaa4cf29ce65 [2022-07-13T18:29:04.088Z] Removing intermediate container aaa4cf29ce65 [2022-07-13T18:29:04.088Z] ---> 8796d23ac1ca [2022-07-13T18:29:04.088Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-13T18:29:04.088Z] Successfully built 8796d23ac1ca [2022-07-13T18:29:04.088Z] 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-13T18:29:04.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T18:29:04.933Z] [2022-07-13T18:29:04.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:29:05.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T18:29:05.304Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-13T18:29:05.304Z] 5eb5b503b376: Pulling fs layer [2022-07-13T18:29:05.304Z] 5c69ac0246d0: Pulling fs layer [2022-07-13T18:29:05.304Z] ec43610c2a17: Pulling fs layer [2022-07-13T18:29:05.304Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-13T18:29:05.304Z] 33b1e0a273af: Pulling fs layer [2022-07-13T18:29:05.304Z] 5d3b04190fa2: Pulling fs layer [2022-07-13T18:29:05.304Z] 2f39f015ded8: Pulling fs layer [2022-07-13T18:29:05.304Z] 3a2ae6a8a46f: Waiting [2022-07-13T18:29:05.304Z] 33b1e0a273af: Waiting [2022-07-13T18:29:05.304Z] 5d3b04190fa2: Waiting [2022-07-13T18:29:05.304Z] 2f39f015ded8: Waiting [2022-07-13T18:29:05.304Z] 5c69ac0246d0: Verifying Checksum [2022-07-13T18:29:05.304Z] 5c69ac0246d0: Download complete [2022-07-13T18:29:05.304Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-13T18:29:05.304Z] 3a2ae6a8a46f: Download complete [2022-07-13T18:29:05.304Z] 33b1e0a273af: Verifying Checksum [2022-07-13T18:29:05.304Z] 33b1e0a273af: Download complete [2022-07-13T18:29:05.304Z] 5d3b04190fa2: Verifying Checksum [2022-07-13T18:29:05.304Z] 5d3b04190fa2: Download complete [2022-07-13T18:29:05.304Z] ec43610c2a17: Verifying Checksum [2022-07-13T18:29:05.304Z] ec43610c2a17: Download complete [2022-07-13T18:29:05.564Z] 5eb5b503b376: Verifying Checksum [2022-07-13T18:29:05.564Z] 5eb5b503b376: Download complete [2022-07-13T18:29:06.132Z] 2f39f015ded8: Download complete [2022-07-13T18:29:06.703Z] 5eb5b503b376: Pull complete [2022-07-13T18:29:06.963Z] 5c69ac0246d0: Pull complete [2022-07-13T18:29:07.223Z] ec43610c2a17: Pull complete [2022-07-13T18:29:07.483Z] 3a2ae6a8a46f: Pull complete [2022-07-13T18:29:07.483Z] 33b1e0a273af: Pull complete [2022-07-13T18:29:07.742Z] 5d3b04190fa2: Pull complete [2022-07-13T18:29:11.934Z] 2f39f015ded8: Pull complete [2022-07-13T18:29:11.934Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-13T18:29:11.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T18:29:11.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:29:12.160Z] prd-ubuntu20.04-docker-8c-8g-19862 does not seem to be running inside a container [2022-07-13T18:29:12.197Z] $ 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-542 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542:/w/workspace/edgexfoundry_edgex-ui-go_PR-542:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-13T18:29:14.035Z] $ docker top a9cb8f20fccb952fde63002e1a5d668dc5d738526c662d03716c8333e7d93f5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:29:14.493Z] ---> job-cost.sh [2022-07-13T18:29:14.493Z] lf-activate-venv: SKIPPING [2022-07-13T18:29:14.493Z] INFO: No Stack... [2022-07-13T18:29:14.757Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-13T18:29:15.326Z] INFO: Archiving Costs [Pipeline] sh [2022-07-13T18:29:15.649Z] + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-542/archives/cost.csv [2022-07-13T18:29:15.649Z] + cut -d, -f6 [Pipeline] lock [2022-07-13T18:29:15.689Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] [2022-07-13T18:29:15.695Z] Resource [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] did not exist. Created. [2022-07-13T18:29:15.695Z] Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-13T18:29:16.087Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-13T18:29:16.145Z] Stashed 1 file(s) [Pipeline] } [2022-07-13T18:29:16.163Z] Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-13T18:29:16.244Z] $ docker stop --time=1 a9cb8f20fccb952fde63002e1a5d668dc5d738526c662d03716c8333e7d93f5b [2022-07-13T18:29:17.423Z] $ docker rm -f a9cb8f20fccb952fde63002e1a5d668dc5d738526c662d03716c8333e7d93f5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-13T18:29:57.630Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19863 in /w/workspace/edgexfoundry_edgex-ui-go_PR-542 [Pipeline] { [Pipeline] ws [2022-07-13T18:29:57.673Z] Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout [2022-07-13T18:29:57.770Z] The recommended git tool is: git [2022-07-13T18:30:05.164Z] using credential edgex-jenkins-ssh [2022-07-13T18:30:05.181Z] Cloning the remote Git repository [2022-07-13T18:30:05.307Z] Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git [2022-07-13T18:30:05.409Z] > git init /w/workspace/edgex-ui-go/1 # timeout=10 [2022-07-13T18:30:05.554Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git [2022-07-13T18:30:05.554Z] > git --version # timeout=10 [2022-07-13T18:30:05.617Z] > git --version # 'git version 2.25.1' [2022-07-13T18:30:05.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T18:30:05.788Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-13T18:30:08.559Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 [2022-07-13T18:30:08.577Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-13T18:30:08.611Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 [2022-07-13T18:30:08.641Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git [2022-07-13T18:30:08.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T18:30:08.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/542/head:refs/remotes/origin/PR-542 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-13T18:30:09.172Z] Merging remotes/origin/main commit b529499ada60d8f3399282414b00f575858c0428 into PR head commit 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [2022-07-13T18:30:09.706Z] Merge succeeded, producing 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [2022-07-13T18:30:09.706Z] Checking out Revision 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c (PR-542) [2022-07-13T18:30:09.193Z] > git config core.sparsecheckout # timeout=10 [2022-07-13T18:30:09.217Z] > git checkout -f 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c # timeout=10 [2022-07-13T18:30:09.595Z] > git remote # timeout=10 [2022-07-13T18:30:09.613Z] > git config --get remote.origin.url # timeout=10 [2022-07-13T18:30:09.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T18:30:09.660Z] > git merge b529499ada60d8f3399282414b00f575858c0428 # timeout=10 [2022-07-13T18:30:09.689Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-13T18:30:09.717Z] > git config core.sparsecheckout # timeout=10 [2022-07-13T18:30:09.738Z] > git checkout -f 2e413f6bbbf8f470390ed33dff6f9c0246fdd18c # timeout=10 [2022-07-13T18:30:14.288Z] Commit message: "build: Upgrade to go 1.18 and optimize attribution script" [2022-07-13T18:30:14.348Z] > git --version # timeout=10 [2022-07-13T18:30:14.359Z] > git --version # 'git version 2.25.1' [2022-07-13T18:30:14.375Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T18:30:15.509Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-13T18:30:15.509Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-13T18:30:15.509Z] Dload Upload Total Spent Left Speed [2022-07-13T18:30:15.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 88956 0 --:--:-- --:--:-- --:--:-- 89605 [Pipeline] sh [2022-07-13T18:30:16.318Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-13T18:30:16.675Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-13T18:30:16.675Z] + sudo tee /etc/docker/daemon.new [2022-07-13T18:30:16.675Z] { [2022-07-13T18:30:16.675Z] "registry-mirrors": [ [2022-07-13T18:30:16.675Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-13T18:30:16.675Z] ], [2022-07-13T18:30:16.675Z] "bip": "10.250.0.254/24", [2022-07-13T18:30:16.675Z] "hosts": [ [2022-07-13T18:30:16.675Z] "tcp://0.0.0.0:5555", [2022-07-13T18:30:16.675Z] "unix:///var/run/docker.sock" [2022-07-13T18:30:16.675Z] ], [2022-07-13T18:30:16.675Z] "mtu": 1458, [2022-07-13T18:30:16.675Z] "selinux-enabled": true, [2022-07-13T18:30:16.675Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-13T18:30:16.675Z] } [Pipeline] sh [2022-07-13T18:30:17.031Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-13T18:30:17.386Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T18:30:35.802Z] provisioning config files... [2022-07-13T18:30:36.006Z] copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config865341165114606424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:30:36.476Z] ---> docker-login.sh [2022-07-13T18:30:36.476Z] nexus3.edgexfoundry.org:10001 [2022-07-13T18:30:37.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:30:37.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:30:37.355Z] Configure a credential helper to remove this warning. See [2022-07-13T18:30:37.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:30:37.355Z] [2022-07-13T18:30:37.355Z] Login Succeeded [2022-07-13T18:30:37.355Z] nexus3.edgexfoundry.org:10002 [2022-07-13T18:30:37.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:30:37.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:30:37.905Z] Configure a credential helper to remove this warning. See [2022-07-13T18:30:37.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:30:37.905Z] [2022-07-13T18:30:37.905Z] Login Succeeded [2022-07-13T18:30:37.905Z] nexus3.edgexfoundry.org:10003 [2022-07-13T18:30:38.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:30:38.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:30:38.183Z] Configure a credential helper to remove this warning. See [2022-07-13T18:30:38.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:30:38.183Z] [2022-07-13T18:30:38.183Z] Login Succeeded [2022-07-13T18:30:38.183Z] nexus3.edgexfoundry.org:10004 [2022-07-13T18:30:38.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:30:38.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:30:38.782Z] Configure a credential helper to remove this warning. See [2022-07-13T18:30:38.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:30:38.782Z] [2022-07-13T18:30:38.782Z] Login Succeeded [2022-07-13T18:30:38.782Z] docker.io [2022-07-13T18:30:39.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T18:30:39.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T18:30:39.649Z] Configure a credential helper to remove this warning. See [2022-07-13T18:30:39.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T18:30:39.649Z] [2022-07-13T18:30:39.649Z] Login Succeeded [2022-07-13T18:30:39.649Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T18:30:39.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-13T18:30:40.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T18:30:40.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T18:30:40.148Z] ========================================================= [2022-07-13T18:30:40.148Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-13T18:30:40.148Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:30:40.676Z] + 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-13T18:30:41.673Z] Sending build context to Docker daemon 27.64MB [2022-07-13T18:30:41.673Z] Step 1/15 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T18:30:41.673Z] Step 2/15 : FROM ${BASE} AS builder [2022-07-13T18:30:41.949Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-13T18:30:41.949Z] b3c136eddcbf: Pulling fs layer [2022-07-13T18:30:41.949Z] c0a3192eca97: Pulling fs layer [2022-07-13T18:30:41.949Z] a050256f5b6f: Pulling fs layer [2022-07-13T18:30:41.949Z] 656be50a0ddc: Pulling fs layer [2022-07-13T18:30:41.949Z] 2bbca73fdf42: Pulling fs layer [2022-07-13T18:30:41.949Z] 46d945488cbd: Pulling fs layer [2022-07-13T18:30:41.949Z] 8a5474983e97: Pulling fs layer [2022-07-13T18:30:41.949Z] 329c88fbcd65: Pulling fs layer [2022-07-13T18:30:41.949Z] 656be50a0ddc: Waiting [2022-07-13T18:30:41.949Z] 2bbca73fdf42: Waiting [2022-07-13T18:30:41.949Z] 46d945488cbd: Waiting [2022-07-13T18:30:41.949Z] 8a5474983e97: Waiting [2022-07-13T18:30:41.949Z] 329c88fbcd65: Waiting [2022-07-13T18:30:41.949Z] a050256f5b6f: Verifying Checksum [2022-07-13T18:30:41.949Z] a050256f5b6f: Download complete [2022-07-13T18:30:41.949Z] c0a3192eca97: Verifying Checksum [2022-07-13T18:30:41.949Z] c0a3192eca97: Download complete [2022-07-13T18:30:41.949Z] 2bbca73fdf42: Verifying Checksum [2022-07-13T18:30:41.949Z] 2bbca73fdf42: Download complete [2022-07-13T18:30:41.949Z] 46d945488cbd: Verifying Checksum [2022-07-13T18:30:41.949Z] 46d945488cbd: Download complete [2022-07-13T18:30:41.949Z] b3c136eddcbf: Verifying Checksum [2022-07-13T18:30:42.947Z] b3c136eddcbf: Pull complete [2022-07-13T18:30:42.947Z] 329c88fbcd65: Verifying Checksum [2022-07-13T18:30:42.947Z] 329c88fbcd65: Download complete [2022-07-13T18:30:43.554Z] c0a3192eca97: Pull complete [2022-07-13T18:30:43.836Z] a050256f5b6f: Pull complete [2022-07-13T18:30:44.434Z] 8a5474983e97: Download complete [2022-07-13T18:30:45.037Z] 656be50a0ddc: Verifying Checksum [2022-07-13T18:30:45.037Z] 656be50a0ddc: Download complete [2022-07-13T18:30:57.453Z] 656be50a0ddc: Pull complete [2022-07-13T18:30:57.726Z] 2bbca73fdf42: Pull complete [2022-07-13T18:30:58.001Z] 46d945488cbd: Pull complete [2022-07-13T18:31:04.727Z] 8a5474983e97: Pull complete [2022-07-13T18:31:06.166Z] 329c88fbcd65: Pull complete [2022-07-13T18:31:06.166Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-13T18:31:06.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-13T18:31:06.166Z] ---> ff4287adb874 [2022-07-13T18:31:06.166Z] Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-13T18:31:07.602Z] ---> Running in ddbe42bb77d3 [2022-07-13T18:31:07.881Z] Removing intermediate container ddbe42bb77d3 [2022-07-13T18:31:07.881Z] ---> 7d0dddff035f [2022-07-13T18:31:07.881Z] Step 4/15 : ARG ALPINE_PKG_BASE="make git" [2022-07-13T18:31:07.881Z] ---> Running in d8c4a5a49e00 [2022-07-13T18:31:08.480Z] Removing intermediate container d8c4a5a49e00 [2022-07-13T18:31:08.480Z] ---> 6e78569fc163 [2022-07-13T18:31:08.480Z] Step 5/15 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T18:31:08.480Z] ---> Running in 927bf6ed3625 [2022-07-13T18:31:08.759Z] Removing intermediate container 927bf6ed3625 [2022-07-13T18:31:08.759Z] ---> badc8b168620 [2022-07-13T18:31:08.759Z] Step 6/15 : LABEL Name=edgex-ui-go [2022-07-13T18:31:09.033Z] ---> Running in 4684fc5967b1 [2022-07-13T18:31:10.015Z] Removing intermediate container 4684fc5967b1 [2022-07-13T18:31:10.015Z] ---> a58678682d11 [2022-07-13T18:31:10.015Z] Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2022: Intel' [2022-07-13T18:31:10.290Z] ---> Running in 13b8c55ce049 [2022-07-13T18:31:10.571Z] Removing intermediate container 13b8c55ce049 [2022-07-13T18:31:10.571Z] ---> 38b42b8cf751 [2022-07-13T18:31:10.571Z] Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T18:31:10.571Z] ---> Running in afe5e6a629f9 [2022-07-13T18:31:12.539Z] Removing intermediate container afe5e6a629f9 [2022-07-13T18:31:12.539Z] ---> dc80cb4a5816 [2022-07-13T18:31:12.539Z] Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T18:31:12.539Z] ---> Running in 223c3c8fd40f [2022-07-13T18:31:13.132Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-13T18:31:14.109Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-13T18:31:15.102Z] OK: 221 MiB in 51 packages [2022-07-13T18:31:15.702Z] Removing intermediate container 223c3c8fd40f [2022-07-13T18:31:15.702Z] ---> 9b1a89b7ab4c [2022-07-13T18:31:15.702Z] Step 10/15 : ENV GO111MODULE=on [2022-07-13T18:31:15.974Z] ---> Running in ec212d83886d [2022-07-13T18:31:16.246Z] Removing intermediate container ec212d83886d [2022-07-13T18:31:16.246Z] ---> 522217d6a461 [2022-07-13T18:31:16.246Z] Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-13T18:31:16.246Z] ---> Running in f3de78079ffd [2022-07-13T18:31:16.521Z] Removing intermediate container f3de78079ffd [2022-07-13T18:31:16.521Z] ---> fcdaee540c0a [2022-07-13T18:31:16.521Z] Step 12/15 : COPY go.mod vendor* ./ [2022-07-13T18:31:17.119Z] ---> 4382a2b6f4fc [2022-07-13T18:31:17.119Z] Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T18:31:17.119Z] ---> Running in ebcc9f24a8a6 [2022-07-13T18:31:43.956Z] Removing intermediate container ebcc9f24a8a6 [2022-07-13T18:31:43.956Z] ---> b6fcb28438b7 [2022-07-13T18:31:43.956Z] Step 14/15 : COPY . . [2022-07-13T18:31:45.938Z] ---> f94fbcf3a8d5 [2022-07-13T18:31:45.938Z] Step 15/15 : RUN ${MAKE} [2022-07-13T18:31:45.938Z] ---> Running in 75174e4104ed [2022-07-13T18:31:46.924Z] noop [2022-07-13T18:31:47.908Z] Removing intermediate container 75174e4104ed [2022-07-13T18:31:47.908Z] ---> 1eb569f5b370 [2022-07-13T18:31:47.908Z] Successfully built 1eb569f5b370 [2022-07-13T18:31:47.908Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:31:48.401Z] + docker inspect -f . ci-base-image-arm64 [2022-07-13T18:31:48.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:31:48.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-19863 does not seem to be running inside a container [2022-07-13T18:31:48.781Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-07-13T18:31:49.986Z] $ docker top e3424e93b7ea51e95b990e635506922f1ac688c3f8190428f6fc4bc6ca917ec3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T18:31:50.957Z] + go version [2022-07-13T18:31:50.957Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-13T18:31:50.995Z] $ docker stop --time=1 e3424e93b7ea51e95b990e635506922f1ac688c3f8190428f6fc4bc6ca917ec3 [2022-07-13T18:31:52.631Z] $ docker rm -f e3424e93b7ea51e95b990e635506922f1ac688c3f8190428f6fc4bc6ca917ec3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:31:53.511Z] + docker inspect -f . ci-base-image-arm64 [2022-07-13T18:31:53.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:31:53.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-19863 does not seem to be running inside a container [2022-07-13T18:31:53.879Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-07-13T18:31:55.083Z] $ docker top 4269ed6f3bdcbd2f63fa9954fb46b757d75f4e0cf73f9086558cbcfe5d41c97e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T18:31:56.049Z] + git config --global --add safe.directory /w/workspace/edgex-ui-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-13T18:31:56.783Z] + make test [2022-07-13T18:31:56.783Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-07-13T18:31:57.766Z] ? github.com/edgexfoundry/edgex-ui-go [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] [2022-07-13T18:32:36.799Z] ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] [2022-07-13T18:32:36.799Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-07-13T18:32:45.109Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-13T18:32:45.109Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-13T18:32:45.109Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-13T18:32:45.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-13T18:32:45.180Z] $ docker stop --time=1 4269ed6f3bdcbd2f63fa9954fb46b757d75f4e0cf73f9086558cbcfe5d41c97e [2022-07-13T18:32:46.941Z] $ docker rm -f 4269ed6f3bdcbd2f63fa9954fb46b757d75f4e0cf73f9086558cbcfe5d41c97e [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T18:32:47.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-13T18:32:47.792Z] Warning: overwriting stash ‘coverage-report’ [2022-07-13T18:32:48.347Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T18:32:48.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-13T18:32:49.307Z] + ls -al . [2022-07-13T18:32:49.307Z] total 160 [2022-07-13T18:32:49.307Z] drwxrwxr-x 13 jenkins jenkins 4096 Jul 13 18:31 . [2022-07-13T18:32:49.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:30 .. [2022-07-13T18:32:49.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 18:30 .git [2022-07-13T18:32:49.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:30 .github [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 167 Jul 13 18:30 .gitignore [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 4869 Jul 13 18:30 Attribution.txt [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 14570 Jul 13 18:30 CHANGELOG.md [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 3959 Jul 13 18:30 CONTRIBUTING.md [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 1815 Jul 13 18:30 Dockerfile [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 652 Jul 13 18:30 Jenkinsfile [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 11357 Jul 13 18:30 LICENSE [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 1181 Jul 13 18:30 Makefile [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 4398 Jul 13 18:30 README.md [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 18:28 VERSION [2022-07-13T18:32:49.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:30 assets [2022-07-13T18:32:49.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:30 bin [2022-07-13T18:32:49.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:30 cmd [2022-07-13T18:32:49.307Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 13 18:31 coverage.out [2022-07-13T18:32:49.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:30 docs [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 1945 Jul 13 18:30 go.mod [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 25578 Jul 13 18:30 go.sum [2022-07-13T18:32:49.307Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 18:30 internal [2022-07-13T18:32:49.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 18:30 pkg [2022-07-13T18:32:49.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:30 snap [2022-07-13T18:32:49.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:30 testing [2022-07-13T18:32:49.307Z] -rw-rw-r-- 1 jenkins jenkins 155 Jul 13 18:30 version.go [2022-07-13T18:32:49.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:30 web [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:32:49.740Z] + 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=2e413f6bbbf8f470390ed33dff6f9c0246fdd18c --label arch=arm64 --label version=0.0.0 . [2022-07-13T18:32:50.730Z] Sending build context to Docker daemon 27.64MB [2022-07-13T18:32:50.730Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-13T18:32:50.730Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-13T18:32:50.730Z] ---> 1eb569f5b370 [2022-07-13T18:32:50.730Z] Step 3/25 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" [2022-07-13T18:32:51.005Z] ---> Running in 1b765536d20b [2022-07-13T18:32:51.279Z] Removing intermediate container 1b765536d20b [2022-07-13T18:32:51.279Z] ---> 8c34998121fa [2022-07-13T18:32:51.279Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git" [2022-07-13T18:32:51.279Z] ---> Running in 1b52cb2bcd47 [2022-07-13T18:32:51.552Z] Removing intermediate container 1b52cb2bcd47 [2022-07-13T18:32:51.552Z] ---> 806b9f6c27be [2022-07-13T18:32:51.552Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T18:32:51.831Z] ---> Running in 38346771bf57 [2022-07-13T18:32:52.104Z] Removing intermediate container 38346771bf57 [2022-07-13T18:32:52.104Z] ---> b4b1952dd748 [2022-07-13T18:32:52.104Z] Step 6/25 : LABEL Name=edgex-ui-go [2022-07-13T18:32:52.104Z] ---> Running in 8b35183dfb60 [2022-07-13T18:32:52.380Z] Removing intermediate container 8b35183dfb60 [2022-07-13T18:32:52.380Z] ---> 7ac52212281b [2022-07-13T18:32:52.380Z] Step 7/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2022: Intel' [2022-07-13T18:32:52.380Z] ---> Running in a7de1fb03e2e [2022-07-13T18:32:52.983Z] Removing intermediate container a7de1fb03e2e [2022-07-13T18:32:52.983Z] ---> a322ff6d60f5 [2022-07-13T18:32:52.983Z] Step 8/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T18:32:52.983Z] ---> Running in d90b9887d7a1 [2022-07-13T18:32:54.421Z] Removing intermediate container d90b9887d7a1 [2022-07-13T18:32:54.421Z] ---> 0f99ec937577 [2022-07-13T18:32:54.421Z] Step 9/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T18:32:54.421Z] ---> Running in 4a2472cf70f6 [2022-07-13T18:32:55.407Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-13T18:32:56.383Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-13T18:32:57.372Z] OK: 221 MiB in 51 packages [2022-07-13T18:32:57.971Z] Removing intermediate container 4a2472cf70f6 [2022-07-13T18:32:57.971Z] ---> 319d65633db4 [2022-07-13T18:32:57.971Z] Step 10/25 : ENV GO111MODULE=on [2022-07-13T18:32:57.971Z] ---> Running in dac3354f70e6 [2022-07-13T18:32:58.575Z] Removing intermediate container dac3354f70e6 [2022-07-13T18:32:58.575Z] ---> 20dc1636bf30 [2022-07-13T18:32:58.575Z] Step 11/25 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go [2022-07-13T18:32:58.575Z] ---> Running in 708a73707843 [2022-07-13T18:32:58.848Z] Removing intermediate container 708a73707843 [2022-07-13T18:32:58.848Z] ---> 8ac6c01dd5b5 [2022-07-13T18:32:58.848Z] Step 12/25 : COPY go.mod vendor* ./ [2022-07-13T18:32:59.451Z] ---> 8fff745ee3c1 [2022-07-13T18:32:59.451Z] Step 13/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T18:32:59.451Z] ---> Running in 12e0d659b8a6 [2022-07-13T18:33:01.445Z] Removing intermediate container 12e0d659b8a6 [2022-07-13T18:33:01.445Z] ---> 43e498eb3994 [2022-07-13T18:33:01.445Z] Step 14/25 : COPY . . [2022-07-13T18:33:04.848Z] ---> 1261ceef407c [2022-07-13T18:33:04.848Z] Step 15/25 : RUN ${MAKE} [2022-07-13T18:33:04.848Z] ---> Running in f72512507bb8 [2022-07-13T18:33:05.448Z] 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-13T18:33:37.862Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2022-07-13T18:33:43.274Z] Removing intermediate container f72512507bb8 [2022-07-13T18:33:43.274Z] ---> 3ba725886be0 [2022-07-13T18:33:43.274Z] Step 16/25 : FROM alpine:3.14 [2022-07-13T18:33:44.258Z] 3.14: Pulling from library/alpine [2022-07-13T18:33:44.258Z] 455c02918c45: Pulling fs layer [2022-07-13T18:33:44.533Z] 455c02918c45: Verifying Checksum [2022-07-13T18:33:44.533Z] 455c02918c45: Download complete [2022-07-13T18:33:45.132Z] 455c02918c45: Pull complete [2022-07-13T18:33:45.132Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-13T18:33:45.132Z] Status: Downloaded newer image for alpine:3.14 [2022-07-13T18:33:45.132Z] ---> ac73e934f311 [2022-07-13T18:33:45.132Z] Step 17/25 : EXPOSE 4000 [2022-07-13T18:33:45.132Z] ---> Running in b6f347a39835 [2022-07-13T18:33:45.404Z] Removing intermediate container b6f347a39835 [2022-07-13T18:33:45.404Z] ---> b2c98993bfb0 [2022-07-13T18:33:45.404Z] Step 18/25 : 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-13T18:33:46.839Z] ---> 460a81e1b574 [2022-07-13T18:33:46.839Z] Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/Attribution.txt /go/src/github.com/edgexfoundry/edgex-ui-go/Attribution.txt [2022-07-13T18:33:47.435Z] ---> cfea6ba23912 [2022-07-13T18:33:47.435Z] Step 20/25 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/LICENSE /go/src/github.com/edgexfoundry/edgex-ui-go/LICENSE [2022-07-13T18:33:48.041Z] ---> 634f16b21871 [2022-07-13T18:33:48.041Z] Step 21/25 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [2022-07-13T18:33:48.041Z] ---> Running in 67d7679ea29f [2022-07-13T18:33:48.315Z] Removing intermediate container 67d7679ea29f [2022-07-13T18:33:48.315Z] ---> 635e1a841033 [2022-07-13T18:33:48.315Z] Step 22/25 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] [2022-07-13T18:33:48.315Z] ---> Running in 58c80c44803d [2022-07-13T18:33:48.590Z] Removing intermediate container 58c80c44803d [2022-07-13T18:33:48.590Z] ---> a6a4f3defe39 [2022-07-13T18:33:48.590Z] Step 23/25 : LABEL arch=arm64 [2022-07-13T18:33:48.590Z] ---> Running in 3068339c3543 [2022-07-13T18:33:48.863Z] Removing intermediate container 3068339c3543 [2022-07-13T18:33:48.863Z] ---> eecdbc10b0b9 [2022-07-13T18:33:48.863Z] Step 24/25 : LABEL git_sha=2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [2022-07-13T18:33:49.142Z] ---> Running in a23764032548 [2022-07-13T18:33:49.416Z] Removing intermediate container a23764032548 [2022-07-13T18:33:49.416Z] ---> 49c55eac111f [2022-07-13T18:33:49.416Z] Step 25/25 : LABEL version=0.0.0 [2022-07-13T18:33:49.416Z] ---> Running in 970d10867d26 [2022-07-13T18:33:49.689Z] Removing intermediate container 970d10867d26 [2022-07-13T18:33:49.689Z] ---> 799d0e671c8e [2022-07-13T18:33:49.689Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-13T18:33:49.966Z] Successfully built 799d0e671c8e [2022-07-13T18:33:49.966Z] 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-13T18:33:50.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T18:33:50.772Z] [2022-07-13T18:33:50.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:33:51.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T18:33:51.196Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-13T18:33:51.196Z] 8998bd30e6a1: Pulling fs layer [2022-07-13T18:33:51.196Z] 04944245beec: Pulling fs layer [2022-07-13T18:33:51.470Z] 699f458cf7ca: Pulling fs layer [2022-07-13T18:33:51.470Z] 765212b225bb: Pulling fs layer [2022-07-13T18:33:51.470Z] f23df028b6ca: Pulling fs layer [2022-07-13T18:33:51.470Z] d65c8cfc05b1: Pulling fs layer [2022-07-13T18:33:51.470Z] 2437ff75d9bd: Pulling fs layer [2022-07-13T18:33:51.470Z] 765212b225bb: Waiting [2022-07-13T18:33:51.470Z] f23df028b6ca: Waiting [2022-07-13T18:33:51.470Z] d65c8cfc05b1: Waiting [2022-07-13T18:33:51.470Z] 2437ff75d9bd: Waiting [2022-07-13T18:33:51.470Z] 04944245beec: Verifying Checksum [2022-07-13T18:33:51.470Z] 04944245beec: Download complete [2022-07-13T18:33:51.470Z] 765212b225bb: Verifying Checksum [2022-07-13T18:33:51.470Z] 765212b225bb: Download complete [2022-07-13T18:33:51.470Z] f23df028b6ca: Verifying Checksum [2022-07-13T18:33:51.470Z] f23df028b6ca: Download complete [2022-07-13T18:33:51.470Z] d65c8cfc05b1: Verifying Checksum [2022-07-13T18:33:51.470Z] d65c8cfc05b1: Download complete [2022-07-13T18:33:51.745Z] 699f458cf7ca: Verifying Checksum [2022-07-13T18:33:51.745Z] 699f458cf7ca: Download complete [2022-07-13T18:33:52.020Z] 8998bd30e6a1: Verifying Checksum [2022-07-13T18:33:52.020Z] 8998bd30e6a1: Download complete [2022-07-13T18:33:54.004Z] 2437ff75d9bd: Verifying Checksum [2022-07-13T18:33:54.004Z] 2437ff75d9bd: Download complete [2022-07-13T18:33:56.628Z] 8998bd30e6a1: Pull complete [2022-07-13T18:33:56.628Z] 04944245beec: Pull complete [2022-07-13T18:33:58.068Z] 699f458cf7ca: Pull complete [2022-07-13T18:33:58.343Z] 765212b225bb: Pull complete [2022-07-13T18:33:59.326Z] f23df028b6ca: Pull complete [2022-07-13T18:33:59.326Z] d65c8cfc05b1: Pull complete [2022-07-13T18:34:14.828Z] 2437ff75d9bd: Pull complete [2022-07-13T18:34:14.828Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-13T18:34:14.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T18:34:14.828Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:34:15.198Z] prd-ubuntu20.04-docker-arm64-4c-16g-19863 does not seem to be running inside a container [2022-07-13T18:34:15.293Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-13T18:34:17.741Z] $ docker top 2b96d5c1c99c4c85689bfee533f74120bb0a4fc33a9a6958550b8591da2bc2f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:18.753Z] ---> job-cost.sh [2022-07-13T18:34:18.753Z] lf-activate-venv: SKIPPING [2022-07-13T18:34:18.753Z] INFO: No Stack... [2022-07-13T18:34:19.350Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-13T18:34:20.327Z] INFO: Archiving Costs [Pipeline] sh [2022-07-13T18:34:21.030Z] + cat /w/workspace/edgex-ui-go/1/archives/cost.csv [2022-07-13T18:34:21.030Z] + cut -d, -f6 [Pipeline] lock [2022-07-13T18:34:21.119Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] [2022-07-13T18:34:21.124Z] Resource [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] did not exist. Created. [2022-07-13T18:34:21.124Z] Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-13T18:34:21.871Z] /w/workspace/edgex-ui-go/1@tmp/durable-ba564c7f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-13T18:34:22.574Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-13T18:34:22.610Z] Warning: overwriting stash ‘stack-cost’ [2022-07-13T18:34:22.775Z] Stashed 1 file(s) [Pipeline] } [2022-07-13T18:34:22.792Z] Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-542-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-13T18:34:22.877Z] $ docker stop --time=1 2b96d5c1c99c4c85689bfee533f74120bb0a4fc33a9a6958550b8591da2bc2f9 [2022-07-13T18:34:24.358Z] $ docker rm -f 2b96d5c1c99c4c85689bfee533f74120bb0a4fc33a9a6958550b8591da2bc2f9 [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-13T18:34:25.368Z] provisioning config files... [2022-07-13T18:34:25.418Z] copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/config5372484605928563662tmp [Pipeline] { [Pipeline] sh [2022-07-13T18:34:25.769Z] + set +x [2022-07-13T18:34:25.769Z] + bash -s -- [2022-07-13T18:34:25.769Z] + curl -s https://codecov.io/bash [2022-07-13T18:34:26.029Z] [2022-07-13T18:34:26.029Z] _____ _ [2022-07-13T18:34:26.029Z] / ____| | | [2022-07-13T18:34:26.029Z] | | ___ __| | ___ ___ _____ __ [2022-07-13T18:34:26.029Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-13T18:34:26.029Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-13T18:34:26.029Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-13T18:34:26.029Z] Bash-1.0.6 [2022-07-13T18:34:26.029Z] [2022-07-13T18:34:26.029Z] [2022-07-13T18:34:26.029Z] ==> git version 2.25.1 found [2022-07-13T18:34:26.029Z] ==> 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-13T18:34:26.029Z] Release-Date: 2020-01-08 [2022-07-13T18:34:26.029Z] 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-13T18:34:26.029Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-13T18:34:26.029Z] ==> Jenkins CI detected. [2022-07-13T18:34:26.029Z] current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-542 [2022-07-13T18:34:26.029Z] project root: . [2022-07-13T18:34:26.029Z] --> token set from env [2022-07-13T18:34:26.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-13T18:34:26.029Z] ==> Running gcov in . (disable via -X gcov) [2022-07-13T18:34:26.029Z] ==> Python coveragepy not found [2022-07-13T18:34:26.029Z] ==> Searching for coverage reports in: [2022-07-13T18:34:26.029Z] + . [2022-07-13T18:34:26.029Z] -> Found 1 reports [2022-07-13T18:34:26.029Z] ==> Detecting git/mercurial file structure [2022-07-13T18:34:26.029Z] ==> Reading reports [2022-07-13T18:34:26.029Z] + ./coverage.out bytes=10 [2022-07-13T18:34:26.029Z] ==> Appending adjustments [2022-07-13T18:34:26.029Z] https://docs.codecov.io/docs/fixing-reports [2022-07-13T18:34:26.290Z] + Found adjustments [2022-07-13T18:34:26.290Z] ==> Gzipping contents [2022-07-13T18:34:26.290Z] 8.0K /tmp/codecov.qL20sC.gz [2022-07-13T18:34:26.290Z] ==> Uploading reports [2022-07-13T18:34:26.290Z] url: https://codecov.io [2022-07-13T18:34:26.290Z] query: branch=PR-542&commit=2e413f6bbbf8f470390ed33dff6f9c0246fdd18c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-542%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=542&job=&cmd_args= [2022-07-13T18:34:26.290Z] -> Pinging Codecov [2022-07-13T18:34:26.290Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-542&commit=2e413f6bbbf8f470390ed33dff6f9c0246fdd18c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-542%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=542&job=&cmd_args= [2022-07-13T18:34:26.551Z] -> Uploading to [2022-07-13T18:34:26.551Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-13/FB506323287CE973F263BFD2A0EB1F37/2e413f6bbbf8f470390ed33dff6f9c0246fdd18c/5dfa9ab2-7193-48ac-9bf1-6bf3346ff087.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220713T183426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2076c204bf6e85fdce5a893a4963fbaff1341fb11858e3e395a32b3a44d397c8 [2022-07-13T18:34:26.551Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-13T18:34:26.551Z] Dload Upload Total Spent Left Speed [2022-07-13T18:34:26.812Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4367 0 0 100 4367 0 19671 --:--:-- --:--:-- --:--:-- 19582 100 4367 0 0 100 4367 0 18426 --:--:-- --:--:-- --:--:-- 18426 [2022-07-13T18:34:26.812Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/2e413f6bbbf8f470390ed33dff6f9c0246fdd18c [Pipeline] } [2022-07-13T18:34:26.839Z] 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-13T18:34:28.502Z] + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-542/archives ] [2022-07-13T18:34:28.502Z] + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-542/archives [2022-07-13T18:34:28.502Z] total 16 [2022-07-13T18:34:28.502Z] drwxr-xr-x 3 root root 4096 Jul 13 18:29 . [2022-07-13T18:34:28.502Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 13 18:29 .. [2022-07-13T18:34:28.502Z] drwxr-xr-x 2 root root 4096 Jul 13 18:29 cost [2022-07-13T18:34:28.502Z] -rw-r--r-- 1 root root 82 Jul 13 18:29 cost.csv [2022-07-13T18:34:28.502Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-542/archives [2022-07-13T18:34:28.502Z] + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-542/archives [2022-07-13T18:34:28.502Z] total 16 [2022-07-13T18:34:28.502Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 18:29 . [2022-07-13T18:34:28.502Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 13 18:29 .. [2022-07-13T18:34:28.502Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 18:29 cost [2022-07-13T18:34:28.502Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 13 18:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:28.835Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:29.733Z] ---> package-listing.sh [2022-07-13T18:34:29.733Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-13T18:34:29.733Z] ++ facter osfamily [2022-07-13T18:34:29.733Z] + OS_FAMILY=debian [2022-07-13T18:34:29.733Z] + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-542 [2022-07-13T18:34:29.733Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-13T18:34:29.733Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-13T18:34:29.733Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-13T18:34:29.733Z] + PACKAGES=/tmp/packages_start.txt [2022-07-13T18:34:29.733Z] + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-542 ']' [2022-07-13T18:34:29.733Z] + PACKAGES=/tmp/packages_end.txt [2022-07-13T18:34:29.733Z] + case "${OS_FAMILY}" in [2022-07-13T18:34:29.995Z] + dpkg -l [2022-07-13T18:34:29.995Z] + grep '^ii' [2022-07-13T18:34:29.995Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-13T18:34:29.995Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-13T18:34:29.995Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-13T18:34:29.995Z] + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-542 ']' [2022-07-13T18:34:29.995Z] + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-542/archives/ [2022-07-13T18:34:29.995Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-542/archives/ [Pipeline] echo [2022-07-13T18:34:30.028Z] 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-542/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-13T18:34:30.325Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T18:34:30.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T18:34:30.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T18:34:30.840Z] prd-ubuntu20.04-docker-8c-8g-19862 does not seem to be running inside a container [2022-07-13T18:34:30.879Z] $ 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-542/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-542 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542:/w/workspace/edgexfoundry_edgex-ui-go_PR-542:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@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-13T18:34:31.139Z] $ docker top 8bd9b49d2d19af5dfd441a00cc1dc44b7aea0676be9cba9e6a7060e7719129e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T18:34:31.537Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-13T18:34:31.850Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-13T18:34:32.158Z] + ls /var/log/sa-host [2022-07-13T18:34:32.158Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T18:34:32.371Z] provisioning config files... [2022-07-13T18:34:32.385Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-542@tmp/config6083557310707481518tmp [Pipeline] { [Pipeline] echo [2022-07-13T18:34:32.436Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:32.762Z] ---> create-netrc.sh [Pipeline] } [2022-07-13T18:34:32.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:33.213Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-13T18:34:33.248Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:33.564Z] ---> sudo-logs.sh [2022-07-13T18:34:33.564Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-13T18:34:33.655Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:33.974Z] ---> job-cost.sh [2022-07-13T18:34:33.974Z] lf-activate-venv: SKIPPING [2022-07-13T18:34:33.974Z] DEBUG: total: 0.2199999988079071 [2022-07-13T18:34:33.974Z] INFO: Retrieving Stack Cost... [2022-07-13T18:34:34.235Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-13T18:34:34.803Z] INFO: Archiving Costs [Pipeline] echo [2022-07-13T18:34:34.835Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T18:34:35.152Z] ---> logs-deploy.sh [2022-07-13T18:34:35.152Z] lf-activate-venv: SKIPPING [2022-07-13T18:34:35.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-542/1 [2022-07-13T18:34:35.152Z] INFO: archiving workspace using pattern(s): [2022-07-13T18:34:36.089Z] Archives upload complete. [2022-07-13T18:34:36.349Z] INFO: archiving logs to Nexus