Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 894c3e7ad930fb1b408abbce501bdc859c6bf94e+d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a (08e7630a0d708a87cf47cfbba67a38da5cae2965) 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-ssh10139169878104717321.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh16269862620793131799.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-498/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-498/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11744359871089732025.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh2779988596384127466.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-498/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-498/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4045331945283031422.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5372 in /w/workspace/edgexfoundry_edgex-ui-go_PR-498 [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-498 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/jenkins-gitclient-ssh5818462660441762178.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/jenkins-gitclient-ssh4593852100581434447.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a into PR head commit 894c3e7ad930fb1b408abbce501bdc859c6bf94e Merge succeeded, producing 39db2da566587b9c7619ddc8244d10d1e21706a1 Checking out Revision 39db2da566587b9c7619ddc8244d10d1e21706a1 (PR-498) > git config core.sparsecheckout # timeout=10 > git checkout -f 894c3e7ad930fb1b408abbce501bdc859c6bf94e # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/jenkins-gitclient-ssh1851820300849514384.key > git merge d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39db2da566587b9c7619ddc8244d10d1e21706a1 # timeout=10 Commit message: "Merge commit 'd88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a' into HEAD" > git rev-list --no-walk 894c3e7ad930fb1b408abbce501bdc859c6bf94e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:06:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:06:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:06:11 ========================================================= 18:06:11 EdgeX Global Pipelines Version Info 18:06:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:06:12 ------------------- 18:06:12 stable info: 18:06:12 ------------------- 18:06:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:06:12 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 18:06:12 Message: update stable to v1.0.220 18:06:13 ------------------- 18:06:13 experimental info: 18:06:13 ------------------- 18:06:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:06:13 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 18:06:13 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39db2da566587b9c7619ddc8244d10d1e21706a1 [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39db2da [Pipeline] echo 18:06:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:13 provisioning config files... 18:06:13 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config6129510218758804445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:14 ---> docker-login.sh 18:06:14 nexus3.edgexfoundry.org:10001 18:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:14 Configure a credential helper to remove this warning. See 18:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:14 18:06:14 Login Succeeded 18:06:14 nexus3.edgexfoundry.org:10002 18:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:14 Configure a credential helper to remove this warning. See 18:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:14 18:06:14 Login Succeeded 18:06:14 nexus3.edgexfoundry.org:10003 18:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:14 Configure a credential helper to remove this warning. See 18:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:14 18:06:14 Login Succeeded 18:06:14 nexus3.edgexfoundry.org:10004 18:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:14 Configure a credential helper to remove this warning. See 18:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:14 18:06:14 Login Succeeded 18:06:14 docker.io 18:06:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:15 Configure a credential helper to remove this warning. See 18:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:15 18:06:15 Login Succeeded 18:06:15 ---> docker-login.sh ends [Pipeline] } 18:06:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:06:15 + git rev-list -1 --merges 39db2da566587b9c7619ddc8244d10d1e21706a1~1..39db2da566587b9c7619ddc8244d10d1e21706a1 [Pipeline] echo 18:06:15 -----------> git rev-list -1 --merges 39db2da566587b9c7619ddc8244d10d1e21706a1~1..39db2da566587b9c7619ddc8244d10d1e21706a1 39db2da566587b9c7619ddc8244d10d1e21706a1 18:06:15 39db2da566587b9c7619ddc8244d10d1e21706a1 [false] [Pipeline] sh 18:06:16 + git log --format=format:%s -1 39db2da566587b9c7619ddc8244d10d1e21706a1 [Pipeline] echo 18:06:16 ========================================================= 18:06:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:06:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:06:16 + git log --format=format:%s -1 39db2da566587b9c7619ddc8244d10d1e21706a1 [Pipeline] echo 18:06:16 [semverPrep] GIT_COMMIT: 39db2da566587b9c7619ddc8244d10d1e21706a1, Commit Message: Merge commit 'd88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a' into HEAD [Pipeline] echo 18:06:16 [semverPrep] This is not a build commit. [Pipeline] sh 18:06:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:06:16 + grep -v github /etc/ssh/ssh_known_hosts 18:06:16 + '[' -e /tmp/ssh_known_hosts ']' 18:06:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:06:16 + sudo tee -a /etc/ssh/ssh_known_hosts 18:06:16 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:06:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:06:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:17 18:06:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:06:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:17 latest: Pulling from edgex-devops/git-semver 18:06:17 a0d0a0d46f8b: Pulling fs layer 18:06:17 3e5f54012d9b: Pulling fs layer 18:06:17 4c7163046ea9: Pulling fs layer 18:06:17 0c2d73faf560: Pulling fs layer 18:06:17 0c2d73faf560: Waiting 18:06:17 3e5f54012d9b: Download complete 18:06:17 a0d0a0d46f8b: Verifying Checksum 18:06:17 a0d0a0d46f8b: Download complete 18:06:17 4c7163046ea9: Verifying Checksum 18:06:17 4c7163046ea9: Download complete 18:06:17 0c2d73faf560: Verifying Checksum 18:06:17 0c2d73faf560: Download complete 18:06:17 a0d0a0d46f8b: Pull complete 18:06:17 3e5f54012d9b: Pull complete 18:06:18 4c7163046ea9: Pull complete 18:06:18 0c2d73faf560: Pull complete 18:06:18 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:06:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:06:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:06:18 prd-centos7-docker-4c-2g-5372 does not seem to be running inside a container 18:06:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:06:19 $ docker top 786c5135b208f56540fd4277e403fb4ba983ec5f912263221def20f16a10d757 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:19 [ssh-agent] Looking for ssh-agent implementation... 18:06:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:19 $ docker exec 786c5135b208f56540fd4277e403fb4ba983ec5f912263221def20f16a10d757 ssh-agent 18:06:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpIbEcj/agent.13 18:06:19 SSH_AGENT_PID=19 18:06:19 Running ssh-add (command line suppressed) 18:06:19 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_232802184764907743.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_232802184764907743.key) 18:06:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:19 + git tag --points-at HEAD [Pipeline] } 18:06:19 $ docker exec --env ******** --env ******** 786c5135b208f56540fd4277e403fb4ba983ec5f912263221def20f16a10d757 ssh-agent -k 18:06:19 unset SSH_AUTH_SOCK; 18:06:19 unset SSH_AGENT_PID; 18:06:19 echo Agent pid 19 killed; 18:06:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:06:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:19 [ssh-agent] Looking for ssh-agent implementation... 18:06:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:20 $ docker exec 786c5135b208f56540fd4277e403fb4ba983ec5f912263221def20f16a10d757 ssh-agent 18:06:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMNNBac/agent.53 18:06:20 SSH_AGENT_PID=59 18:06:20 Running ssh-add (command line suppressed) 18:06:20 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_8211885724208957435.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_8211885724208957435.key) 18:06:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:20 + git semver init 18:06:20 # -> Open(): unable to determine branch for HEAD 18:06:20 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-498/.git 18:06:20 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-498 18:06:20 # $SEMVER_REMOTE_NAME = origin 18:06:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:06:20 # $SEMVER_USER_NAME = edgex-jenkins 18:06:20 # $SEMVER_BRANCH = PR-498 18:06:20 # $SEMVER_TEMP = /tmp/semver-482468790 18:06:20 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 18:06:22 # '/tmp/semver-482468790' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-498/.semver' 18:06:22 # -> Force: false 18:06:22 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-498/.semver [Pipeline] } 18:06:22 $ docker exec --env ******** --env ******** 786c5135b208f56540fd4277e403fb4ba983ec5f912263221def20f16a10d757 ssh-agent -k 18:06:22 unset SSH_AUTH_SOCK; 18:06:22 unset SSH_AGENT_PID; 18:06:22 echo Agent pid 59 killed; 18:06:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:22 + git semver [Pipeline] } 18:06:22 $ docker stop --time=1 786c5135b208f56540fd4277e403fb4ba983ec5f912263221def20f16a10d757 18:06:24 $ docker rm -f 786c5135b208f56540fd4277e403fb4ba983ec5f912263221def20f16a10d757 [Pipeline] // withDockerContainer [Pipeline] sh 18:06:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:06:24 Stashed 1 file(s) [Pipeline] echo 18:06:24 [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 18:06:24 provisioning config files... 18:06:24 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config4450265748488367607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:25 ---> docker-login.sh 18:06:25 nexus3.edgexfoundry.org:10001 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 nexus3.edgexfoundry.org:10002 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 nexus3.edgexfoundry.org:10003 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 nexus3.edgexfoundry.org:10004 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 docker.io 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:26 Configure a credential helper to remove this warning. See 18:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:26 18:06:26 Login Succeeded 18:06:26 ---> docker-login.sh ends [Pipeline] } 18:06:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:26 ========================================================= 18:06:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:06:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:06:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 18:06:26 Sending build context to Docker daemon 41.01MB 18:06:26 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 18:06:26 Step 2/15 : FROM ${BASE} AS builder 18:06:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:06:26 59bf1c3509f3: Pulling fs layer 18:06:26 666ba61612fd: Pulling fs layer 18:06:26 8ed8ca486205: Pulling fs layer 18:06:26 4fe6c5a15a65: Pulling fs layer 18:06:26 22a0e8bec74d: Pulling fs layer 18:06:26 640e595b4fbd: Pulling fs layer 18:06:26 763cafe07f6e: Pulling fs layer 18:06:26 0c0b528cf693: Pulling fs layer 18:06:26 10935f4eaf8b: Pulling fs layer 18:06:26 4fe6c5a15a65: Waiting 18:06:26 22a0e8bec74d: Waiting 18:06:26 640e595b4fbd: Waiting 18:06:26 763cafe07f6e: Waiting 18:06:26 0c0b528cf693: Waiting 18:06:26 10935f4eaf8b: Waiting 18:06:26 8ed8ca486205: Verifying Checksum 18:06:26 8ed8ca486205: Download complete 18:06:26 666ba61612fd: Verifying Checksum 18:06:26 666ba61612fd: Download complete 18:06:26 22a0e8bec74d: Verifying Checksum 18:06:26 22a0e8bec74d: Download complete 18:06:26 59bf1c3509f3: Verifying Checksum 18:06:26 59bf1c3509f3: Download complete 18:06:26 640e595b4fbd: Verifying Checksum 18:06:26 640e595b4fbd: Download complete 18:06:26 763cafe07f6e: Verifying Checksum 18:06:26 763cafe07f6e: Download complete 18:06:26 0c0b528cf693: Verifying Checksum 18:06:26 0c0b528cf693: Download complete 18:06:27 59bf1c3509f3: Pull complete 18:06:27 4fe6c5a15a65: Verifying Checksum 18:06:27 4fe6c5a15a65: Download complete 18:06:27 10935f4eaf8b: Verifying Checksum 18:06:27 10935f4eaf8b: Download complete 18:06:27 666ba61612fd: Pull complete 18:06:27 8ed8ca486205: Pull complete 18:06:31 4fe6c5a15a65: Pull complete 18:06:31 22a0e8bec74d: Pull complete 18:06:31 640e595b4fbd: Pull complete 18:06:31 763cafe07f6e: Pull complete 18:06:31 0c0b528cf693: Pull complete 18:06:33 10935f4eaf8b: Pull complete 18:06:33 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 18:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:06:33 ---> 99d49a6021b9 18:06:33 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:06:35 ---> Running in 086e5ca6edd6 18:06:35 Removing intermediate container 086e5ca6edd6 18:06:35 ---> b86117cfb79c 18:06:35 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 18:06:35 ---> Running in edec831f2695 18:06:35 Removing intermediate container edec831f2695 18:06:35 ---> c796bd426607 18:06:35 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 18:06:35 ---> Running in e78b732c9ae9 18:06:35 Removing intermediate container e78b732c9ae9 18:06:35 ---> 52c09aab674d 18:06:35 Step 6/15 : LABEL Name=edgex-ui-go 18:06:35 ---> Running in 083010a2ec56 18:06:35 Removing intermediate container 083010a2ec56 18:06:35 ---> 704bd86718ae 18:06:35 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:06:35 ---> Running in b119e3465da3 18:06:35 Removing intermediate container b119e3465da3 18:06:35 ---> 81be45550cd6 18:06:35 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:35 ---> Running in 676caefabbb4 18:06:36 Removing intermediate container 676caefabbb4 18:06:36 ---> 13e69b0bb6c0 18:06:36 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:36 ---> Running in 39311c9d6bbb 18:06:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:06:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:06:37 OK: 221 MiB in 52 packages 18:06:38 Removing intermediate container 39311c9d6bbb 18:06:38 ---> 6f83119b36a9 18:06:38 Step 10/15 : ENV GO111MODULE=on 18:06:38 ---> Running in 778d8b87c793 18:06:38 Removing intermediate container 778d8b87c793 18:06:38 ---> f80b96d422b6 18:06:38 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:06:38 ---> Running in ce33a81598af 18:06:38 Removing intermediate container ce33a81598af 18:06:38 ---> 7c4cf1f5024d 18:06:38 Step 12/15 : COPY go.mod vendor* ./ 18:06:38 ---> 41fd3873028e 18:06:38 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:38 ---> Running in 05c33d50fe75 18:06:39 Still waiting to schedule task 18:06:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:07:17 Removing intermediate container 05c33d50fe75 18:07:17 ---> 6775a75a17bc 18:07:17 Step 14/15 : COPY . . 18:07:17 ---> e1e5375517a1 18:07:17 Step 15/15 : RUN ${MAKE} 18:07:17 ---> Running in 0c177d24d666 18:07:17 noop 18:07:17 Removing intermediate container 0c177d24d666 18:07:17 ---> 3e3717cb5e86 18:07:17 Successfully built 3e3717cb5e86 18:07:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:07:17 + docker inspect -f . ci-base-image-x86_64 18:07:17 . [Pipeline] withDockerContainer 18:07:17 prd-centos7-docker-4c-2g-5372 does not seem to be running inside a container 18:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:07:18 $ docker top 23a9da4d7d64f2bd75db46f8ef4775fcdbc4ef2fd7abef523fe9e750c4bf2a1e -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:18 + go version 18:07:18 go version go1.17.6 linux/amd64 [Pipeline] } 18:07:18 $ docker stop --time=1 23a9da4d7d64f2bd75db46f8ef4775fcdbc4ef2fd7abef523fe9e750c4bf2a1e 18:07:19 $ docker rm -f 23a9da4d7d64f2bd75db46f8ef4775fcdbc4ef2fd7abef523fe9e750c4bf2a1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:07:20 + docker inspect -f . ci-base-image-x86_64 18:07:20 . [Pipeline] withDockerContainer 18:07:20 prd-centos7-docker-4c-2g-5372 does not seem to be running inside a container 18:07:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:07:20 $ docker top 093a8839abb319091325b1c4e610b93c0a000349c046894ebf8cec81e0390b65 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:07:20 + make test 18:07:20 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:07:21 ? github.com/edgexfoundry/edgex-ui-go [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 18:07:33 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 18:07:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:07:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:07:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 18:07:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:07:37 $ docker stop --time=1 093a8839abb319091325b1c4e610b93c0a000349c046894ebf8cec81e0390b65 18:07:39 $ docker rm -f 093a8839abb319091325b1c4e610b93c0a000349c046894ebf8cec81e0390b65 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:41 + ls -al . 18:07:41 total 112 18:07:41 drwxrwxr-x. 13 jenkins jenkins 4096 Feb 16 18:07 . 18:07:41 drwxrwxr-x. 4 jenkins jenkins 110 Feb 16 18:06 .. 18:07:41 drwxrwxr-x. 3 jenkins jenkins 20 Feb 16 18:06 assets 18:07:41 drwxrwxr-x. 2 jenkins jenkins 66 Feb 16 18:06 bin 18:07:41 drwxrwxr-x. 3 jenkins jenkins 29 Feb 16 18:06 cmd 18:07:41 -rw-rw-r--. 1 jenkins jenkins 3959 Feb 16 18:06 CONTRIBUTING.md 18:07:41 -rw-r--r--. 1 jenkins jenkins 10 Feb 16 18:07 coverage.out 18:07:41 -rw-rw-r--. 1 jenkins jenkins 1549 Feb 16 18:06 Dockerfile 18:07:41 drwxrwxr-x. 2 jenkins jenkins 23 Feb 16 18:06 docs 18:07:41 drwxrwxr-x. 8 jenkins jenkins 179 Feb 16 18:06 .git 18:07:41 drwxrwxr-x. 2 jenkins jenkins 103 Feb 16 18:06 .github 18:07:41 -rw-rw-r--. 1 jenkins jenkins 155 Feb 16 18:06 .gitignore 18:07:41 -rw-rw-r--. 1 jenkins jenkins 1944 Feb 16 18:06 go.mod 18:07:41 -rw-rw-r--. 1 jenkins jenkins 48565 Feb 16 18:06 go.sum 18:07:41 drwxrwxr-x. 9 jenkins jenkins 125 Feb 16 18:06 internal 18:07:41 -rw-rw-r--. 1 jenkins jenkins 652 Feb 16 18:06 Jenkinsfile 18:07:41 -rw-rw-r--. 1 jenkins jenkins 11357 Feb 16 18:06 LICENSE 18:07:41 -rw-rw-r--. 1 jenkins jenkins 1212 Feb 16 18:06 Makefile 18:07:41 drwxrwxr-x. 3 jenkins jenkins 19 Feb 16 18:06 pkg 18:07:41 -rw-rw-r--. 1 jenkins jenkins 4450 Feb 16 18:06 README.md 18:07:41 drwx------. 3 jenkins jenkins 56 Feb 16 18:06 .semver 18:07:41 drwxrwxr-x. 4 jenkins jenkins 71 Feb 16 18:06 snap 18:07:41 -rw-rw-r--. 1 jenkins jenkins 5 Feb 16 18:06 VERSION 18:07:41 -rw-rw-r--. 1 jenkins jenkins 155 Feb 16 18:06 version.go 18:07:41 drwxrwxr-x. 4 jenkins jenkins 4096 Feb 16 18:06 web [Pipeline] isUnix [Pipeline] sh 18:07:41 + 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=39db2da566587b9c7619ddc8244d10d1e21706a1 --label arch=amd64 --label version=0.0.0 . 18:07:41 Sending build context to Docker daemon 41.01MB 18:07:41 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 18:07:41 Step 2/23 : FROM ${BASE} AS builder 18:07:41 ---> 3e3717cb5e86 18:07:41 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:07:41 ---> Running in 6e9ee147c212 18:07:42 Removing intermediate container 6e9ee147c212 18:07:42 ---> f6979d52586b 18:07:42 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 18:07:42 ---> Running in 5128fdbc6e2f 18:07:42 Removing intermediate container 5128fdbc6e2f 18:07:42 ---> 5a97d54cd177 18:07:42 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 18:07:42 ---> Running in bcefbd6fe4d5 18:07:42 Removing intermediate container bcefbd6fe4d5 18:07:42 ---> 385b1a2abf3c 18:07:42 Step 6/23 : LABEL Name=edgex-ui-go 18:07:42 ---> Running in 33f1336b1762 18:07:42 Removing intermediate container 33f1336b1762 18:07:42 ---> d5858704e45b 18:07:42 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:07:42 ---> Running in 78884f4567b0 18:07:42 Removing intermediate container 78884f4567b0 18:07:42 ---> 10712789dbaa 18:07:42 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:42 ---> Running in fa063fbb5779 18:07:42 Removing intermediate container fa063fbb5779 18:07:42 ---> e5d280fb5b83 18:07:42 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:42 ---> Running in fd98bfaedd3f 18:07:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:07:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:07:44 OK: 221 MiB in 52 packages 18:07:44 Removing intermediate container fd98bfaedd3f 18:07:44 ---> a8fafd3a461e 18:07:44 Step 10/23 : ENV GO111MODULE=on 18:07:44 ---> Running in 7d606627f96a 18:07:44 Removing intermediate container 7d606627f96a 18:07:44 ---> f8a19fb17882 18:07:44 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:07:44 ---> Running in 1bc30ab6f404 18:07:44 Removing intermediate container 1bc30ab6f404 18:07:44 ---> 3000cfb2c023 18:07:44 Step 12/23 : COPY go.mod vendor* ./ 18:07:45 ---> e73141a9ad75 18:07:45 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:45 ---> Running in ba164101d6e0 18:07:45 Removing intermediate container ba164101d6e0 18:07:45 ---> 015cacfcaa4b 18:07:45 Step 14/23 : COPY . . 18:07:46 ---> ce51eb936505 18:07:46 Step 15/23 : RUN ${MAKE} 18:07:46 ---> Running in 2a56659ea0b0 18:07:46 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 18:07:57 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:07:57 Removing intermediate container 2a56659ea0b0 18:07:57 ---> 79b0fa654e5f 18:07:57 Step 16/23 : FROM alpine:3.14 18:07:57 3.14: Pulling from library/alpine 18:07:57 97518928ae5f: Pulling fs layer 18:07:57 97518928ae5f: Verifying Checksum 18:07:57 97518928ae5f: Download complete 18:07:58 97518928ae5f: Pull complete 18:07:58 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:07:58 Status: Downloaded newer image for alpine:3.14 18:07:58 ---> 0a97eee8041e 18:07:58 Step 17/23 : EXPOSE 4000 18:07:58 ---> Running in c1465f30d154 18:07:58 Removing intermediate container c1465f30d154 18:07:58 ---> e5a188f04591 18:07:58 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 18:07:58 ---> 47fffab7f6b9 18:07:58 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 18:07:58 ---> Running in 515fc02ac460 18:07:58 Removing intermediate container 515fc02ac460 18:07:58 ---> b6a9978197ae 18:07:58 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 18:07:58 ---> Running in 5872b1f6779c 18:07:58 Removing intermediate container 5872b1f6779c 18:07:58 ---> 1dc457d69f27 18:07:58 Step 21/23 : LABEL arch=amd64 18:07:58 ---> Running in 6d09bc1f585c 18:07:58 Removing intermediate container 6d09bc1f585c 18:07:58 ---> a37f66b9fe89 18:07:58 Step 22/23 : LABEL git_sha=39db2da566587b9c7619ddc8244d10d1e21706a1 18:07:58 ---> Running in e4c7b2c400d6 18:07:59 Removing intermediate container e4c7b2c400d6 18:07:59 ---> 0ad43cf52fe0 18:07:59 Step 23/23 : LABEL version=0.0.0 18:07:59 ---> Running in 1ec1db2109b3 18:07:59 Removing intermediate container 1ec1db2109b3 18:07:59 ---> 7e2d2827101f 18:07:59 [Warning] One or more build-args [ARCH] were not consumed 18:07:59 Successfully built 7e2d2827101f 18:07:59 Successfully tagged edgex-ui:latest [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] sh 18:07:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:59 18:07:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:07:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:07:59 latest: Pulling from edgex-lftools-log-publisher 18:07:59 b4d181a07f80: Pulling fs layer 18:07:59 a1111a8f2ec3: Pulling fs layer 18:07:59 ed53099fbce6: Pulling fs layer 18:07:59 dc539afda2c1: Pulling fs layer 18:07:59 77bc0d833cb6: Pulling fs layer 18:07:59 9065ff56babe: Pulling fs layer 18:07:59 d287ab97295c: Pulling fs layer 18:07:59 dc539afda2c1: Waiting 18:07:59 77bc0d833cb6: Waiting 18:07:59 9065ff56babe: Waiting 18:07:59 d287ab97295c: Waiting 18:07:59 a1111a8f2ec3: Verifying Checksum 18:07:59 a1111a8f2ec3: Download complete 18:07:59 dc539afda2c1: Verifying Checksum 18:07:59 dc539afda2c1: Download complete 18:07:59 ed53099fbce6: Verifying Checksum 18:07:59 ed53099fbce6: Download complete 18:07:59 77bc0d833cb6: Verifying Checksum 18:07:59 77bc0d833cb6: Download complete 18:08:00 9065ff56babe: Verifying Checksum 18:08:00 9065ff56babe: Download complete 18:08:00 b4d181a07f80: Verifying Checksum 18:08:00 b4d181a07f80: Download complete 18:08:00 d287ab97295c: Verifying Checksum 18:08:00 d287ab97295c: Download complete 18:08:01 b4d181a07f80: Pull complete 18:08:01 a1111a8f2ec3: Pull complete 18:08:02 ed53099fbce6: Pull complete 18:08:02 dc539afda2c1: Pull complete 18:08:02 77bc0d833cb6: Pull complete 18:08:02 9065ff56babe: Pull complete 18:08:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5373 in /w/workspace/edgexfoundry_edgex-ui-go_PR-498 [Pipeline] { [Pipeline] ws 18:08:06 Running in /w/workspace/edgex-ui-go/2 [Pipeline] { [Pipeline] checkout 18:08:06 The recommended git tool is: git 18:08:08 d287ab97295c: Pull complete 18:08:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:08:08 prd-centos7-docker-4c-2g-5372 does not seem to be running inside a container 18:08:08 $ 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-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@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 18:08:10 $ docker top e6d9dda0a00bd9976843c5e7a336f1dc5aa7fc335235b16309df35978e859a65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:11 using credential edgex-jenkins-ssh 18:08:11 Cloning the remote Git repository 18:08:11 ---> job-cost.sh 18:08:11 lf-activate-venv: SKIPPING 18:08:11 INFO: No Stack... 18:08:11 INFO: Retrieving Pricing Info for: v3-standard-2 18:08:11 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 18:08:11 > git init /w/workspace/edgex-ui-go/2 # timeout=10 18:08:11 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 18:08:11 > git --version # timeout=10 18:08:11 > git --version # 'git version 2.17.1' 18:08:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:08:11 INFO: Archiving Costs [Pipeline] sh 18:08:12 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives/cost.csv 18:08:12 + cut -d, -f6 [Pipeline] lock 18:08:12 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] 18:08:12 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] did not exist. Created. 18:08:12 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:08:12 + echo total: 0.05999999865889549 [Pipeline] stash 18:08:12 Stashed 1 file(s) [Pipeline] } 18:08:12 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:08:12 $ docker stop --time=1 e6d9dda0a00bd9976843c5e7a336f1dc5aa7fc335235b16309df35978e859a65 18:08:13 $ docker rm -f e6d9dda0a00bd9976843c5e7a336f1dc5aa7fc335235b16309df35978e859a65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:08:14 Merging remotes/origin/main commit d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a into PR head commit 894c3e7ad930fb1b408abbce501bdc859c6bf94e 18:08:14 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 18:08:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:08:14 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 18:08:14 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 18:08:14 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:08:15 > git config core.sparsecheckout # timeout=10 18:08:15 > git checkout -f 894c3e7ad930fb1b408abbce501bdc859c6bf94e # timeout=10 18:08:15 > git remote # timeout=10 18:08:15 > git config --get remote.origin.url # timeout=10 18:08:15 using GIT_SSH to set credentials SSH Credentials for GitHub 18:08:15 > git merge d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a # timeout=10 18:08:16 Merge succeeded, producing a5c2af310d2cd7f602d851bcb8c05fd11e665325 18:08:16 Checking out Revision a5c2af310d2cd7f602d851bcb8c05fd11e665325 (PR-498) 18:08:16 > git rev-parse HEAD^{commit} # timeout=10 18:08:16 > git config core.sparsecheckout # timeout=10 18:08:16 > git checkout -f a5c2af310d2cd7f602d851bcb8c05fd11e665325 # timeout=10 18:08:20 Commit message: "Merge commit 'd88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a' into HEAD" 18:08:20 > git rev-list --no-walk 894c3e7ad930fb1b408abbce501bdc859c6bf94e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:08:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:08:21 % Total % Received % Xferd Average Speed Time Time Time Current 18:08:21 Dload Upload Total Spent Left Speed 18:08:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh 18:08:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:08:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 18:08:22 sudo tee /etc/docker/daemon.new 18:08:22 { 18:08:22 "registry-mirrors": [ 18:08:22 "https://nexus3.edgexfoundry.org:10001" 18:08:22 ], 18:08:22 "bip": "10.250.0.254/24", 18:08:22 "hosts": [ 18:08:22 "tcp://0.0.0.0:5555", 18:08:22 "unix:///var/run/docker.sock" 18:08:22 ], 18:08:22 "mtu": 1458, 18:08:22 "selinux-enabled": true, 18:08:22 "seccomp-profile": "/etc/docker/seccomp.json" 18:08:22 } [Pipeline] sh 18:08:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:08:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:41 provisioning config files... 18:08:41 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/2@tmp/config6176691175977977763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:41 ---> docker-login.sh 18:08:41 nexus3.edgexfoundry.org:10001 18:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:42 Configure a credential helper to remove this warning. See 18:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:42 18:08:42 Login Succeeded 18:08:42 nexus3.edgexfoundry.org:10002 18:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:42 Configure a credential helper to remove this warning. See 18:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:42 18:08:42 Login Succeeded 18:08:42 nexus3.edgexfoundry.org:10003 18:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:43 Configure a credential helper to remove this warning. See 18:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:43 18:08:43 Login Succeeded 18:08:43 nexus3.edgexfoundry.org:10004 18:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:44 Configure a credential helper to remove this warning. See 18:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:44 18:08:44 Login Succeeded 18:08:44 docker.io 18:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:44 Configure a credential helper to remove this warning. See 18:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:44 18:08:44 Login Succeeded 18:08:44 ---> docker-login.sh ends [Pipeline] } 18:08:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:45 ========================================================= 18:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:08:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:08:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 18:08:46 Sending build context to Docker daemon 25.78MB 18:08:46 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 18:08:46 Step 2/15 : FROM ${BASE} AS builder 18:08:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:08:46 9b3977197b4f: Pulling fs layer 18:08:46 1a89e8eeedd5: Pulling fs layer 18:08:46 94645a83ff95: Pulling fs layer 18:08:46 3f3a8bcf1eab: Pulling fs layer 18:08:46 0c92f367c5e7: Pulling fs layer 18:08:46 f7c0051592d6: Pulling fs layer 18:08:46 a227ed2f7395: Pulling fs layer 18:08:46 7b1c46037f91: Pulling fs layer 18:08:46 f7c0051592d6: Waiting 18:08:46 a227ed2f7395: Waiting 18:08:46 3f3a8bcf1eab: Waiting 18:08:46 7b1c46037f91: Waiting 18:08:46 0c92f367c5e7: Waiting 18:08:46 94645a83ff95: Download complete 18:08:46 1a89e8eeedd5: Verifying Checksum 18:08:46 1a89e8eeedd5: Download complete 18:08:46 0c92f367c5e7: Verifying Checksum 18:08:46 0c92f367c5e7: Download complete 18:08:46 f7c0051592d6: Download complete 18:08:46 9b3977197b4f: Verifying Checksum 18:08:46 9b3977197b4f: Download complete 18:08:46 a227ed2f7395: Verifying Checksum 18:08:46 a227ed2f7395: Download complete 18:08:47 9b3977197b4f: Pull complete 18:08:47 1a89e8eeedd5: Pull complete 18:08:48 94645a83ff95: Pull complete 18:08:48 7b1c46037f91: Verifying Checksum 18:08:48 7b1c46037f91: Download complete 18:08:49 3f3a8bcf1eab: Verifying Checksum 18:08:49 3f3a8bcf1eab: Download complete 18:09:01 3f3a8bcf1eab: Pull complete 18:09:01 0c92f367c5e7: Pull complete 18:09:01 f7c0051592d6: Pull complete 18:09:01 a227ed2f7395: Pull complete 18:09:06 7b1c46037f91: Pull complete 18:09:06 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 18:09:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:09:06 ---> f79e39bc4007 18:09:06 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:09:08 ---> Running in bfc5057cd42b 18:09:08 Removing intermediate container bfc5057cd42b 18:09:08 ---> 5bebd423bb25 18:09:08 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 18:09:08 ---> Running in d1e688ae0114 18:09:09 Removing intermediate container d1e688ae0114 18:09:09 ---> 091068adcaf0 18:09:09 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 18:09:09 ---> Running in 682a297f70ca 18:09:09 Removing intermediate container 682a297f70ca 18:09:09 ---> 699a54b2b61b 18:09:09 Step 6/15 : LABEL Name=edgex-ui-go 18:09:09 ---> Running in 0d0cf28f7a1a 18:09:10 Removing intermediate container 0d0cf28f7a1a 18:09:10 ---> e6fb95c67b7b 18:09:10 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:09:10 ---> Running in e90ebcaf62dc 18:09:10 Removing intermediate container e90ebcaf62dc 18:09:10 ---> 012e7833cd81 18:09:10 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:10 ---> Running in 39cc12d5e0e9 18:09:12 Removing intermediate container 39cc12d5e0e9 18:09:12 ---> cdab113a3c49 18:09:12 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:12 ---> Running in 4f82a6649a8c 18:09:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:09:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:09:16 OK: 220 MiB in 52 packages 18:09:17 Removing intermediate container 4f82a6649a8c 18:09:17 ---> cfba99401dc5 18:09:17 Step 10/15 : ENV GO111MODULE=on 18:09:17 ---> Running in aed172d116eb 18:09:18 Removing intermediate container aed172d116eb 18:09:18 ---> 366ca7545c32 18:09:18 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:09:18 ---> Running in 90b74f540568 18:09:18 Removing intermediate container 90b74f540568 18:09:18 ---> ea1e66274056 18:09:18 Step 12/15 : COPY go.mod vendor* ./ 18:09:19 ---> d3414f8610bb 18:09:19 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:19 ---> Running in ecd8ae335fa6 18:10:27 Removing intermediate container ecd8ae335fa6 18:10:27 ---> 1e21b6d80a3b 18:10:27 Step 14/15 : COPY . . 18:10:29 ---> 7516aca6e935 18:10:29 Step 15/15 : RUN ${MAKE} 18:10:29 ---> Running in 66c06a63cbd4 18:10:30 noop 18:10:31 Removing intermediate container 66c06a63cbd4 18:10:31 ---> 74891a7d6911 18:10:31 Successfully built 74891a7d6911 18:10:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:10:31 + docker inspect -f . ci-base-image-arm64 18:10:31 . [Pipeline] withDockerContainer 18:10:32 prd-ubuntu18.04-docker-arm64-4c-16g-5373 does not seem to be running inside a container 18:10:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 ******** ci-base-image-arm64 cat 18:10:33 $ docker top fc0dae2e7de3d7b051f743f6c95aeb089ef147653ea8f07e932685dc6272cc38 -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:34 + go version 18:10:34 go version go1.17.6 linux/arm64 [Pipeline] } 18:10:34 $ docker stop --time=1 fc0dae2e7de3d7b051f743f6c95aeb089ef147653ea8f07e932685dc6272cc38 18:10:35 $ docker rm -f fc0dae2e7de3d7b051f743f6c95aeb089ef147653ea8f07e932685dc6272cc38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:10:36 + docker inspect -f . ci-base-image-arm64 18:10:36 . [Pipeline] withDockerContainer 18:10:36 prd-ubuntu18.04-docker-arm64-4c-16g-5373 does not seem to be running inside a container 18:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@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 ******** ci-base-image-arm64 cat 18:10:38 $ docker top 7e187f5f65ab78806b93863960c0f6823fcdaf29557bff5dc635313ac13c974e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:10:38 + make test 18:10:38 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:10:39 ? github.com/edgexfoundry/edgex-ui-go [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 18:11:18 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 18:11:18 CGO_ENABLED=0 GO111MODULE=on go vet ./... 18:11:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:11:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 18:11:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:11:31 $ docker stop --time=1 7e187f5f65ab78806b93863960c0f6823fcdaf29557bff5dc635313ac13c974e 18:11:33 $ docker rm -f 7e187f5f65ab78806b93863960c0f6823fcdaf29557bff5dc635313ac13c974e [Pipeline] // withDockerContainer [Pipeline] sh 18:11:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:11:33 Warning: overwriting stash ‘coverage-report’ 18:11:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:11:35 + ls -al . 18:11:35 total 152 18:11:35 drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 18:10 . 18:11:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:08 .. 18:11:35 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 18:08 .git 18:11:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:08 .github 18:11:35 -rw-rw-r-- 1 jenkins jenkins 155 Feb 16 18:08 .gitignore 18:11:35 -rw-rw-r-- 1 jenkins jenkins 3959 Feb 16 18:08 CONTRIBUTING.md 18:11:35 -rw-rw-r-- 1 jenkins jenkins 1549 Feb 16 18:08 Dockerfile 18:11:35 -rw-rw-r-- 1 jenkins jenkins 652 Feb 16 18:08 Jenkinsfile 18:11:35 -rw-rw-r-- 1 jenkins jenkins 11357 Feb 16 18:08 LICENSE 18:11:35 -rw-rw-r-- 1 jenkins jenkins 1212 Feb 16 18:08 Makefile 18:11:35 -rw-rw-r-- 1 jenkins jenkins 4450 Feb 16 18:08 README.md 18:11:35 -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 18:06 VERSION 18:11:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:08 assets 18:11:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:08 bin 18:11:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:08 cmd 18:11:35 -rw-r--r-- 1 jenkins jenkins 10 Feb 16 18:10 coverage.out 18:11:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 18:08 docs 18:11:35 -rw-rw-r-- 1 jenkins jenkins 1944 Feb 16 18:08 go.mod 18:11:35 -rw-rw-r-- 1 jenkins jenkins 48565 Feb 16 18:08 go.sum 18:11:35 drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 18:08 internal 18:11:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 18:08 pkg 18:11:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:08 snap 18:11:35 -rw-rw-r-- 1 jenkins jenkins 155 Feb 16 18:08 version.go 18:11:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 18:08 web [Pipeline] isUnix [Pipeline] sh 18:11:35 + 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=a5c2af310d2cd7f602d851bcb8c05fd11e665325 --label arch=arm64 --label version=0.0.0 . 18:11:36 Sending build context to Docker daemon 25.78MB 18:11:36 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 18:11:36 Step 2/23 : FROM ${BASE} AS builder 18:11:36 ---> 74891a7d6911 18:11:36 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 18:11:36 ---> Running in ec528e4a8470 18:11:36 Removing intermediate container ec528e4a8470 18:11:36 ---> 5a56703d0430 18:11:36 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 18:11:36 ---> Running in 1cc9eeb63d21 18:11:37 Removing intermediate container 1cc9eeb63d21 18:11:37 ---> e0f98f95da06 18:11:37 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 18:11:37 ---> Running in d9802a5df88b 18:11:37 Removing intermediate container d9802a5df88b 18:11:37 ---> a57da3dcfd79 18:11:37 Step 6/23 : LABEL Name=edgex-ui-go 18:11:37 ---> Running in 9e56269f7e38 18:11:38 Removing intermediate container 9e56269f7e38 18:11:38 ---> 3ab2a4de618d 18:11:38 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 18:11:38 ---> Running in bffe6a4f67be 18:11:38 Removing intermediate container bffe6a4f67be 18:11:38 ---> 19d44802e4af 18:11:38 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:38 ---> Running in 5f726c0f9640 18:11:40 Removing intermediate container 5f726c0f9640 18:11:40 ---> d61ce70bfc56 18:11:40 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:40 ---> Running in 087053f6d9f4 18:11:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:11:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:11:42 OK: 220 MiB in 52 packages 18:11:43 Removing intermediate container 087053f6d9f4 18:11:43 ---> ec81718b1289 18:11:43 Step 10/23 : ENV GO111MODULE=on 18:11:43 ---> Running in 8b3c898917b6 18:11:44 Removing intermediate container 8b3c898917b6 18:11:44 ---> d8ffed3ca736 18:11:44 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 18:11:44 ---> Running in 08dba7e86e84 18:11:44 Removing intermediate container 08dba7e86e84 18:11:44 ---> 08a5310d256e 18:11:44 Step 12/23 : COPY go.mod vendor* ./ 18:11:45 ---> cd40b1c37abd 18:11:45 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:45 ---> Running in e7bf0a6ff070 18:11:47 Removing intermediate container e7bf0a6ff070 18:11:47 ---> 5eda7faced2b 18:11:47 Step 14/23 : COPY . . 18:11:50 ---> ad26c2ba64a9 18:11:50 Step 15/23 : RUN ${MAKE} 18:11:50 ---> Running in 39b2f48fd808 18:11:51 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 18:12:23 CGO_ENABLED=0 GO111MODULE=on go build ./... 18:12:25 Removing intermediate container 39b2f48fd808 18:12:25 ---> a4885a854e60 18:12:25 Step 16/23 : FROM alpine:3.14 18:12:25 3.14: Pulling from library/alpine 18:12:25 be307f383ecc: Pulling fs layer 18:12:26 be307f383ecc: Verifying Checksum 18:12:26 be307f383ecc: Download complete 18:12:26 be307f383ecc: Pull complete 18:12:26 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:12:26 Status: Downloaded newer image for alpine:3.14 18:12:26 ---> 5b8b7b635229 18:12:26 Step 17/23 : EXPOSE 4000 18:12:26 ---> Running in 99c0d97de8b7 18:12:27 Removing intermediate container 99c0d97de8b7 18:12:27 ---> ee5dd57d4826 18:12:27 Step 18/23 : COPY --from=builder /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 18:12:28 ---> 6af3cd602136 18:12:28 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 18:12:28 ---> Running in 4f3453c79618 18:12:28 Removing intermediate container 4f3453c79618 18:12:28 ---> 9fc712ef4ab6 18:12:28 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 18:12:29 ---> Running in a2aeb35ebedd 18:12:29 Removing intermediate container a2aeb35ebedd 18:12:29 ---> 0824580095f3 18:12:29 Step 21/23 : LABEL arch=arm64 18:12:29 ---> Running in 656d72e36f07 18:12:29 Removing intermediate container 656d72e36f07 18:12:29 ---> 1793e06f7c12 18:12:29 Step 22/23 : LABEL git_sha=a5c2af310d2cd7f602d851bcb8c05fd11e665325 18:12:29 ---> Running in 28b8895af52c 18:12:30 Removing intermediate container 28b8895af52c 18:12:30 ---> 1de6148af4bb 18:12:30 Step 23/23 : LABEL version=0.0.0 18:12:30 ---> Running in b1d1567ac2b3 18:12:30 Removing intermediate container b1d1567ac2b3 18:12:30 ---> c2a53ae4f919 18:12:30 [Warning] One or more build-args [ARCH] were not consumed 18:12:30 Successfully built c2a53ae4f919 18:12:30 Successfully tagged edgex-ui-arm64:latest [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] sh 18:12:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:31 18:12:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:12:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:31 arm64: Pulling from edgex-lftools-log-publisher 18:12:31 448f6bf000e3: Pulling fs layer 18:12:31 f757da607395: Pulling fs layer 18:12:31 05883995daec: Pulling fs layer 18:12:31 8603b9c90790: Pulling fs layer 18:12:31 1560dd03e051: Pulling fs layer 18:12:31 27f5ce0e4adf: Pulling fs layer 18:12:31 c2d8d7efcc4b: Pulling fs layer 18:12:31 1560dd03e051: Waiting 18:12:31 27f5ce0e4adf: Waiting 18:12:31 c2d8d7efcc4b: Waiting 18:12:31 8603b9c90790: Waiting 18:12:31 f757da607395: Verifying Checksum 18:12:31 f757da607395: Download complete 18:12:31 8603b9c90790: Verifying Checksum 18:12:31 8603b9c90790: Download complete 18:12:31 1560dd03e051: Verifying Checksum 18:12:31 1560dd03e051: Download complete 18:12:31 27f5ce0e4adf: Verifying Checksum 18:12:31 27f5ce0e4adf: Download complete 18:12:31 05883995daec: Download complete 18:12:32 448f6bf000e3: Verifying Checksum 18:12:32 448f6bf000e3: Download complete 18:12:35 c2d8d7efcc4b: Verifying Checksum 18:12:35 c2d8d7efcc4b: Download complete 18:12:36 448f6bf000e3: Pull complete 18:12:36 f757da607395: Pull complete 18:12:38 05883995daec: Pull complete 18:12:38 8603b9c90790: Pull complete 18:12:38 1560dd03e051: Pull complete 18:12:39 27f5ce0e4adf: Pull complete 18:12:54 c2d8d7efcc4b: Pull complete 18:12:54 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:12:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:12:54 prd-ubuntu18.04-docker-arm64-4c-16g-5373 does not seem to be running inside a container 18:12:54 $ 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/2 -v /w/workspace/edgex-ui-go/2:/w/workspace/edgex-ui-go/2:rw,z -v /w/workspace/edgex-ui-go/2@tmp:/w/workspace/edgex-ui-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:12:57 $ docker top cb0c4d1fecb7258c4f070badf051ff21f750c13ec44158efc9875ebc7a6bcbc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:58 ---> job-cost.sh 18:12:58 lf-activate-venv: SKIPPING 18:12:58 INFO: No Stack... 18:12:58 INFO: Retrieving Pricing Info for: v3-standard-4 18:12:58 INFO: Archiving Costs [Pipeline] sh 18:12:59 + cat /w/workspace/edgex-ui-go/2/archives/cost.csv 18:12:59 + cut -d, -f6 [Pipeline] lock 18:12:59 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] 18:12:59 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] did not exist. Created. 18:12:59 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:12:59 /w/workspace/edgex-ui-go/2@tmp/durable-63a05da6/script.sh: 1: /w/workspace/edgex-ui-go/2@tmp/durable-63a05da6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:13:00 + echo total: 0.10999999940395355 [Pipeline] stash 18:13:00 Warning: overwriting stash ‘stack-cost’ 18:13:00 Stashed 1 file(s) [Pipeline] } 18:13:00 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:13:00 $ docker stop --time=1 cb0c4d1fecb7258c4f070badf051ff21f750c13ec44158efc9875ebc7a6bcbc5 18:13:02 $ docker rm -f cb0c4d1fecb7258c4f070badf051ff21f750c13ec44158efc9875ebc7a6bcbc5 [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 18:13:02 provisioning config files... 18:13:02 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config3613235937422198818tmp [Pipeline] { [Pipeline] sh 18:13:03 + set +x 18:13:03 + curl -s https://codecov.io/bash 18:13:03 + bash -s -- 18:13:03 18:13:03 _____ _ 18:13:03 / ____| | | 18:13:03 | | ___ __| | ___ ___ _____ __ 18:13:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:13:03 | |___| (_) | (_| | __/ (_| (_) \ V / 18:13:03 \_____\___/ \__,_|\___|\___\___/ \_/ 18:13:03 Bash-1.0.6 18:13:03 18:13:03 18:13:03 ==> git version 2.24.4 found 18:13:03 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 18:13:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:13:03 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:13:03 ==> Jenkins CI detected. 18:13:03 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-498 18:13:03 project root: . 18:13:03 --> token set from env 18:13:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:13:03 ==> Running gcov in . (disable via -X gcov) 18:13:03 ==> Python coveragepy not found 18:13:03 ==> Searching for coverage reports in: 18:13:03 + . 18:13:03 -> Found 1 reports 18:13:03 ==> Detecting git/mercurial file structure 18:13:03 ==> Reading reports 18:13:03 + ./coverage.out bytes=10 18:13:03 ==> Appending adjustments 18:13:03 https://docs.codecov.io/docs/fixing-reports 18:13:03 + Found adjustments 18:13:03 ==> Gzipping contents 18:13:03 4.0K /tmp/codecov.D752GE.gz 18:13:03 ==> Uploading reports 18:13:03 url: https://codecov.io 18:13:03 query: branch=PR-498&commit=39db2da566587b9c7619ddc8244d10d1e21706a1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-498%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=498&job=&cmd_args= 18:13:03 -> Pinging Codecov 18:13:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-498&commit=39db2da566587b9c7619ddc8244d10d1e21706a1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-498%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=498&job=&cmd_args= 18:13:03 -> Uploading to 18:13:03 https://storage.googleapis.com/codecov/v4/raw/2022-02-16/FB506323287CE973F263BFD2A0EB1F37/39db2da566587b9c7619ddc8244d10d1e21706a1/5a12a336-2c4e-4b37-a533-42f991149152.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220216T181303Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5511d4f11793cf9043307f11b837c9c053efa0bd85119ceed9f7e770b7a23cae 18:13:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:03 Dload Upload Total Spent Left Speed 18:13:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3730 0 0 100 3730 0 12157 --:--:-- --:--:-- --:--:-- 12189 18:13:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/39db2da566587b9c7619ddc8244d10d1e21706a1 [Pipeline] } 18:13:04 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 18:13:05 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives ']' 18:13:05 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives 18:13:05 total 8 18:13:05 drwxr-xr-x. 3 root root 34 Feb 16 18:08 . 18:13:05 drwxrwxr-x. 14 jenkins jenkins 4096 Feb 16 18:08 .. 18:13:05 drwxr-xr-x. 2 root root 6 Feb 16 18:08 cost 18:13:05 -rw-r--r--. 1 root root 82 Feb 16 18:08 cost.csv 18:13:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives 18:13:05 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives 18:13:05 total 8 18:13:05 drwxr-xr-x. 3 jenkins jenkins 34 Feb 16 18:08 . 18:13:05 drwxrwxr-x. 14 jenkins jenkins 4096 Feb 16 18:08 .. 18:13:05 drwxr-xr-x. 2 jenkins jenkins 6 Feb 16 18:08 cost 18:13:05 -rw-r--r--. 1 jenkins jenkins 82 Feb 16 18:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:13:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:13:05 ---> package-listing.sh 18:13:05 ++ facter osfamily 18:13:05 ++ tr '[:upper:]' '[:lower:]' 18:13:06 + OS_FAMILY=redhat 18:13:06 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-498 18:13:06 + START_PACKAGES=/tmp/packages_start.txt 18:13:06 + END_PACKAGES=/tmp/packages_end.txt 18:13:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:13:06 + PACKAGES=/tmp/packages_start.txt 18:13:06 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-498 ']' 18:13:06 + PACKAGES=/tmp/packages_end.txt 18:13:06 + case "${OS_FAMILY}" in 18:13:06 + rpm -qa 18:13:06 + sort 18:13:06 + '[' -f /tmp/packages_start.txt ']' 18:13:06 + '[' -f /tmp/packages_end.txt ']' 18:13:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:13:06 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-498 ']' 18:13:06 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives/ 18:13:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives/ [Pipeline] echo 18:13:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:13:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:07 . [Pipeline] withDockerContainer 18:13:07 prd-centos7-docker-4c-2g-5372 does not seem to be running inside a container 18:13:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498/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-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:13:07 $ docker top ef34dc881046918004feef35a94dd8be3ba15d4df5853b13f10e465752021400 -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:08 + touch /tmp/pre-build-complete [Pipeline] sh 18:13:08 + mkdir -p /var/log/sysstat [Pipeline] sh 18:13:08 + ls /var/log/sa-host 18:13:08 + sadf -c /var/log/sa-host/sa16 18:13:08 file_magic: OK 18:13:08 HZ: Using current value: 100 18:13:08 file_header: OK 18:13:08 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:13:08 Statistics: 18:13:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:13:08 File successfully converted to sysstat format version 12.0.3 18:13:08 + sadf -c /var/log/sa-host/sa17 18:13:08 file_magic: OK 18:13:08 HZ: Using current value: 100 18:13:08 file_header: OK 18:13:08 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:13:08 Statistics: 18:13:08 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:13:08 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:09 provisioning config files... 18:13:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config8719957009996674300tmp [Pipeline] { [Pipeline] echo 18:13:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:13:09 ---> create-netrc.sh [Pipeline] } 18:13:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:13:09 ---> python-tools-install.sh [Pipeline] echo 18:13:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:13:09 ---> sudo-logs.sh 18:13:09 Archiving 'sudo' log.. 18:13:09 sudo: unable to resolve host prd-centos7-docker-4c-2g-5372.novalocal: Name or service not known 18:13:09 sudo: unable to resolve host prd-centos7-docker-4c-2g-5372.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:13:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:13:10 ---> job-cost.sh 18:13:10 lf-activate-venv: SKIPPING 18:13:10 DEBUG: total: 0.05999999865889549 18:13:10 INFO: Retrieving Stack Cost... 18:13:10 INFO: Retrieving Pricing Info for: v3-standard-2 18:13:11 INFO: Archiving Costs [Pipeline] echo 18:13:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:13:11 ---> logs-deploy.sh 18:13:11 lf-activate-venv: SKIPPING 18:13:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-498/2 18:13:11 INFO: archiving workspace using pattern(s): 18:13:12 Archives upload complete. 18:13:12 INFO: archiving logs to Nexus