Pull request #497 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b96b174f0d06adf081513f38febf47e7583c5c5+d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a (e54e5781c206fb4d8ea7b5f8a210666ef6a887ce) 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-ssh1860444675227157996.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-ssh14191641913099720628.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-497/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-497/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11932156076749167438.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-ssh9303084254697639694.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-497/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-497/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16686544365535388906.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-5336 in /w/workspace/edgexfoundry_edgex-ui-go_PR-497 [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-497 # 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-497@tmp/jenkins-gitclient-ssh1110603338343577351.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-497@tmp/jenkins-gitclient-ssh7776900250751574900.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a into PR head commit 9b96b174f0d06adf081513f38febf47e7583c5c5 Merge succeeded, producing 9b96b174f0d06adf081513f38febf47e7583c5c5 Checking out Revision 9b96b174f0d06adf081513f38febf47e7583c5c5 (PR-497) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b96b174f0d06adf081513f38febf47e7583c5c5 # 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-497@tmp/jenkins-gitclient-ssh8348397927585127169.key > git merge d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b96b174f0d06adf081513f38febf47e7583c5c5 # timeout=10 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/karma-6.3.14" > git rev-list --no-walk 18f1ff51121d9dc9575c012f4679d6b3edb63a31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:54:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:54:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:54:51 ========================================================= 11:54:51 EdgeX Global Pipelines Version Info 11:54:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:54:52 ------------------- 11:54:52 stable info: 11:54:52 ------------------- 11:54:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:54:52 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 11:54:52 Message: update stable to v1.0.220 11:54:52 ------------------- 11:54:52 experimental info: 11:54:52 ------------------- 11:54:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:54:52 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 11:54:52 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:54:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-497 [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-497 [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-497 [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b96b174f0d06adf081513f38febf47e7583c5c5 [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b96b17 [Pipeline] echo 11:54:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:54:53 provisioning config files... 11:54:53 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/config7396091602673034281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:54:53 ---> docker-login.sh 11:54:53 nexus3.edgexfoundry.org:10001 11:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:54 Configure a credential helper to remove this warning. See 11:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:54 11:54:54 Login Succeeded 11:54:54 nexus3.edgexfoundry.org:10002 11:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:54 Configure a credential helper to remove this warning. See 11:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:54 11:54:54 Login Succeeded 11:54:54 nexus3.edgexfoundry.org:10003 11:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:54 Configure a credential helper to remove this warning. See 11:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:54 11:54:54 Login Succeeded 11:54:54 nexus3.edgexfoundry.org:10004 11:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:54 Configure a credential helper to remove this warning. See 11:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:54 11:54:54 Login Succeeded 11:54:54 docker.io 11:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:54 Configure a credential helper to remove this warning. See 11:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:54 11:54:54 Login Succeeded 11:54:54 ---> docker-login.sh ends [Pipeline] } 11:54:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:54:55 + git rev-list -1 --merges 9b96b174f0d06adf081513f38febf47e7583c5c5~1..9b96b174f0d06adf081513f38febf47e7583c5c5 [Pipeline] echo 11:54:55 -----------> git rev-list -1 --merges 9b96b174f0d06adf081513f38febf47e7583c5c5~1..9b96b174f0d06adf081513f38febf47e7583c5c5 9b96b174f0d06adf081513f38febf47e7583c5c5 11:54:55 9b96b174f0d06adf081513f38febf47e7583c5c5 [false] [Pipeline] sh 11:54:55 + git log --format=format:%s -1 9b96b174f0d06adf081513f38febf47e7583c5c5 [Pipeline] echo 11:54:55 ========================================================= 11:54:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:54:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:54:55 + git log --format=format:%s -1 9b96b174f0d06adf081513f38febf47e7583c5c5 [Pipeline] echo 11:54:55 [semverPrep] GIT_COMMIT: 9b96b174f0d06adf081513f38febf47e7583c5c5, Commit Message: Merge branch 'main' into dependabot/npm_and_yarn/web/karma-6.3.14 [Pipeline] echo 11:54:55 [semverPrep] This is not a build commit. [Pipeline] sh 11:54:56 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:54:56 + grep -v github /etc/ssh/ssh_known_hosts 11:54:56 + '[' -e /tmp/ssh_known_hosts ']' 11:54:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:54:56 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 11:54:56 + sudo tee -a /etc/ssh/ssh_known_hosts 11:54:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:54:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:54:56 11:54:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:54:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:54:56 latest: Pulling from edgex-devops/git-semver 11:54:56 a0d0a0d46f8b: Pulling fs layer 11:54:56 3e5f54012d9b: Pulling fs layer 11:54:56 4c7163046ea9: Pulling fs layer 11:54:56 0c2d73faf560: Pulling fs layer 11:54:56 0c2d73faf560: Waiting 11:54:56 3e5f54012d9b: Verifying Checksum 11:54:56 3e5f54012d9b: Download complete 11:54:56 a0d0a0d46f8b: Verifying Checksum 11:54:56 a0d0a0d46f8b: Download complete 11:54:56 4c7163046ea9: Verifying Checksum 11:54:56 4c7163046ea9: Download complete 11:54:56 0c2d73faf560: Verifying Checksum 11:54:56 0c2d73faf560: Download complete 11:54:57 a0d0a0d46f8b: Pull complete 11:54:57 3e5f54012d9b: Pull complete 11:54:57 4c7163046ea9: Pull complete 11:54:57 0c2d73faf560: Pull complete 11:54:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:54:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:54:57 prd-centos7-docker-4c-2g-5336 does not seem to be running inside a container 11:54:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-497 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497:/w/workspace/edgexfoundry_edgex-ui-go_PR-497:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:54:57 $ docker top 117daea344423b7b580f34bd996fcf899e719850a778c4df9797c80fda29214e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:54:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:54:58 [ssh-agent] Looking for ssh-agent implementation... 11:54:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:54:57 $ docker exec 117daea344423b7b580f34bd996fcf899e719850a778c4df9797c80fda29214e ssh-agent 11:54:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNeoCkA/agent.14 11:54:58 SSH_AGENT_PID=20 11:54:58 Running ssh-add (command line suppressed) 11:54:58 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/private_key_6181290090168609668.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/private_key_6181290090168609668.key) 11:54:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:54:59 + git tag --points-at HEAD [Pipeline] } 11:54:58 $ docker exec --env ******** --env ******** 117daea344423b7b580f34bd996fcf899e719850a778c4df9797c80fda29214e ssh-agent -k 11:54:58 unset SSH_AUTH_SOCK; 11:54:58 unset SSH_AGENT_PID; 11:54:58 echo Agent pid 20 killed; 11:54:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:54:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:54:59 [ssh-agent] Looking for ssh-agent implementation... 11:54:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:54:58 $ docker exec 117daea344423b7b580f34bd996fcf899e719850a778c4df9797c80fda29214e ssh-agent 11:54:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEhlcCc/agent.53 11:54:59 SSH_AGENT_PID=60 11:54:59 Running ssh-add (command line suppressed) 11:54:59 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/private_key_692838828901755079.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/private_key_692838828901755079.key) 11:54:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:54:59 + git semver init 11:54:59 # -> Open(): unable to determine branch for HEAD 11:54:59 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-497/.git 11:54:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-497 11:54:59 # $SEMVER_REMOTE_NAME = origin 11:54:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:54:59 # $SEMVER_USER_NAME = edgex-jenkins 11:54:59 # $SEMVER_BRANCH = PR-497 11:54:59 # $SEMVER_TEMP = /tmp/semver-203219369 11:54:59 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 11:55:01 # '/tmp/semver-203219369' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-497/.semver' 11:55:01 # -> Force: false 11:55:01 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-497/.semver [Pipeline] } 11:55:01 $ docker exec --env ******** --env ******** 117daea344423b7b580f34bd996fcf899e719850a778c4df9797c80fda29214e ssh-agent -k 11:55:01 unset SSH_AUTH_SOCK; 11:55:01 unset SSH_AGENT_PID; 11:55:01 echo Agent pid 60 killed; 11:55:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:55:02 + git semver [Pipeline] } 11:55:01 $ docker stop --time=1 117daea344423b7b580f34bd996fcf899e719850a778c4df9797c80fda29214e 11:55:03 $ docker rm -f 117daea344423b7b580f34bd996fcf899e719850a778c4df9797c80fda29214e [Pipeline] // withDockerContainer [Pipeline] sh 11:55:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:55:03 Stashed 1 file(s) [Pipeline] echo 11:55:03 [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 11:55:04 provisioning config files... 11:55:04 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/config8793863654523186897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:04 ---> docker-login.sh 11:55:04 nexus3.edgexfoundry.org:10001 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 nexus3.edgexfoundry.org:10002 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 nexus3.edgexfoundry.org:10003 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 nexus3.edgexfoundry.org:10004 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 docker.io 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:05 Configure a credential helper to remove this warning. See 11:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:05 11:55:05 Login Succeeded 11:55:05 ---> docker-login.sh ends [Pipeline] } 11:55:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:55:05 ========================================================= 11:55:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:55:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:55:05 + 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 . 11:55:05 Sending build context to Docker daemon 40.97MB 11:55:05 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 11:55:05 Step 2/15 : FROM ${BASE} AS builder 11:55:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:55:05 59bf1c3509f3: Pulling fs layer 11:55:05 666ba61612fd: Pulling fs layer 11:55:05 8ed8ca486205: Pulling fs layer 11:55:05 4fe6c5a15a65: Pulling fs layer 11:55:05 22a0e8bec74d: Pulling fs layer 11:55:05 640e595b4fbd: Pulling fs layer 11:55:05 763cafe07f6e: Pulling fs layer 11:55:05 0c0b528cf693: Pulling fs layer 11:55:05 10935f4eaf8b: Pulling fs layer 11:55:05 4fe6c5a15a65: Waiting 11:55:05 22a0e8bec74d: Waiting 11:55:05 640e595b4fbd: Waiting 11:55:05 763cafe07f6e: Waiting 11:55:05 0c0b528cf693: Waiting 11:55:05 10935f4eaf8b: Waiting 11:55:05 8ed8ca486205: Verifying Checksum 11:55:05 8ed8ca486205: Download complete 11:55:05 666ba61612fd: Verifying Checksum 11:55:05 666ba61612fd: Download complete 11:55:05 22a0e8bec74d: Verifying Checksum 11:55:05 22a0e8bec74d: Download complete 11:55:05 640e595b4fbd: Verifying Checksum 11:55:05 640e595b4fbd: Download complete 11:55:05 763cafe07f6e: Verifying Checksum 11:55:05 763cafe07f6e: Download complete 11:55:05 59bf1c3509f3: Verifying Checksum 11:55:05 59bf1c3509f3: Download complete 11:55:06 0c0b528cf693: Verifying Checksum 11:55:06 0c0b528cf693: Download complete 11:55:06 10935f4eaf8b: Verifying Checksum 11:55:06 10935f4eaf8b: Download complete 11:55:06 59bf1c3509f3: Pull complete 11:55:06 4fe6c5a15a65: Verifying Checksum 11:55:06 4fe6c5a15a65: Download complete 11:55:06 666ba61612fd: Pull complete 11:55:06 8ed8ca486205: Pull complete 11:55:10 4fe6c5a15a65: Pull complete 11:55:10 22a0e8bec74d: Pull complete 11:55:10 640e595b4fbd: Pull complete 11:55:10 763cafe07f6e: Pull complete 11:55:10 0c0b528cf693: Pull complete 11:55:13 10935f4eaf8b: Pull complete 11:55:13 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:55:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:55:13 ---> 99d49a6021b9 11:55:13 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 11:55:14 ---> Running in 7a457d859b95 11:55:15 Removing intermediate container 7a457d859b95 11:55:15 ---> 43a5acf51e69 11:55:15 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 11:55:15 ---> Running in 81ae137a7f75 11:55:15 Removing intermediate container 81ae137a7f75 11:55:15 ---> 18d5a3b7f7ac 11:55:15 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 11:55:15 ---> Running in 67000d6736c7 11:55:15 Removing intermediate container 67000d6736c7 11:55:15 ---> 67488a90c1b2 11:55:15 Step 6/15 : LABEL Name=edgex-ui-go 11:55:15 ---> Running in 23a32fa3afd1 11:55:15 Removing intermediate container 23a32fa3afd1 11:55:15 ---> 2a0aa968f61c 11:55:15 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 11:55:15 ---> Running in 5c3b6acb4b63 11:55:15 Removing intermediate container 5c3b6acb4b63 11:55:15 ---> 5ea094333f81 11:55:15 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:55:15 ---> Running in fad02aba9bb8 11:55:16 Removing intermediate container fad02aba9bb8 11:55:16 ---> cf0abeb6b3af 11:55:16 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:55:16 ---> Running in ea322256e5f0 11:55:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:55:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:55:17 OK: 221 MiB in 52 packages 11:55:17 Removing intermediate container ea322256e5f0 11:55:17 ---> 977eef796084 11:55:17 Step 10/15 : ENV GO111MODULE=on 11:55:17 ---> Running in a2573d8ed4e1 11:55:17 Removing intermediate container a2573d8ed4e1 11:55:17 ---> 6f06d3d9fe3a 11:55:17 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 11:55:17 ---> Running in 01ecf12fddde 11:55:18 Removing intermediate container 01ecf12fddde 11:55:18 ---> c2a18f551e65 11:55:18 Step 12/15 : COPY go.mod vendor* ./ 11:55:18 ---> c6ec499a08d7 11:55:18 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:55:18 ---> Running in 159ae707ba0e 11:55:19 Still waiting to schedule task 11:55:19 ‘prd-ubuntu18.04-docker-arm64-4c-16g-5337’ is offline 11:55:44 Removing intermediate container 159ae707ba0e 11:55:44 ---> 22102105bdf1 11:55:44 Step 14/15 : COPY . . 11:55:45 ---> 3d4246b71878 11:55:45 Step 15/15 : RUN ${MAKE} 11:55:45 ---> Running in fcfa53f4dfd0 11:55:45 noop 11:55:45 Removing intermediate container fcfa53f4dfd0 11:55:45 ---> f6ed2db905e4 11:55:45 Successfully built f6ed2db905e4 11:55:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:55:46 + docker inspect -f . ci-base-image-x86_64 11:55:46 . [Pipeline] withDockerContainer 11:55:46 prd-centos7-docker-4c-2g-5336 does not seem to be running inside a container 11:55:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-497 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497:/w/workspace/edgexfoundry_edgex-ui-go_PR-497:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@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-x86_64 cat 11:55:46 $ docker top bffb25b4f76ab1a607e55de02688f7f2151527cbd1ae8482eb9dd614bd552a54 -eo pid,comm [Pipeline] { [Pipeline] sh 11:55:46 + go version 11:55:46 go version go1.17.6 linux/amd64 [Pipeline] } 11:55:46 $ docker stop --time=1 bffb25b4f76ab1a607e55de02688f7f2151527cbd1ae8482eb9dd614bd552a54 11:55:48 $ docker rm -f bffb25b4f76ab1a607e55de02688f7f2151527cbd1ae8482eb9dd614bd552a54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:55:48 + docker inspect -f . ci-base-image-x86_64 11:55:48 . [Pipeline] withDockerContainer 11:55:48 prd-centos7-docker-4c-2g-5336 does not seem to be running inside a container 11:55:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-497 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497:/w/workspace/edgexfoundry_edgex-ui-go_PR-497:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@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-x86_64 cat 11:55:48 $ docker top 19b6b2dfb671d2719363ad6d2aaea3ab405ba68ae13799c5f689758848773327 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:55:49 + make test 11:55:49 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:55:49 ? github.com/edgexfoundry/edgex-ui-go [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 11:56:01 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 11:56:01 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:56:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:56:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 11:56:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:56:05 $ docker stop --time=1 19b6b2dfb671d2719363ad6d2aaea3ab405ba68ae13799c5f689758848773327 11:56:06 $ docker rm -f 19b6b2dfb671d2719363ad6d2aaea3ab405ba68ae13799c5f689758848773327 [Pipeline] // withDockerContainer [Pipeline] sh 11:56:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:56:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:56:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:56:07 + ls -al . 11:56:07 total 112 11:56:07 drwxrwxr-x. 13 jenkins jenkins 4096 Feb 16 11:55 . 11:56:07 drwxrwxr-x. 4 jenkins jenkins 110 Feb 16 11:54 .. 11:56:07 drwxrwxr-x. 3 jenkins jenkins 20 Feb 16 11:54 assets 11:56:07 drwxrwxr-x. 2 jenkins jenkins 66 Feb 16 11:54 bin 11:56:07 drwxrwxr-x. 3 jenkins jenkins 29 Feb 16 11:54 cmd 11:56:07 -rw-rw-r--. 1 jenkins jenkins 3959 Feb 16 11:54 CONTRIBUTING.md 11:56:07 -rw-r--r--. 1 jenkins jenkins 10 Feb 16 11:55 coverage.out 11:56:07 -rw-rw-r--. 1 jenkins jenkins 1549 Feb 16 11:54 Dockerfile 11:56:07 drwxrwxr-x. 2 jenkins jenkins 23 Feb 16 11:54 docs 11:56:07 drwxrwxr-x. 8 jenkins jenkins 179 Feb 16 11:54 .git 11:56:07 drwxrwxr-x. 2 jenkins jenkins 103 Feb 16 11:54 .github 11:56:07 -rw-rw-r--. 1 jenkins jenkins 155 Feb 16 11:54 .gitignore 11:56:07 -rw-rw-r--. 1 jenkins jenkins 1944 Feb 16 11:54 go.mod 11:56:07 -rw-rw-r--. 1 jenkins jenkins 48565 Feb 16 11:54 go.sum 11:56:07 drwxrwxr-x. 9 jenkins jenkins 125 Feb 16 11:54 internal 11:56:07 -rw-rw-r--. 1 jenkins jenkins 652 Feb 16 11:54 Jenkinsfile 11:56:07 -rw-rw-r--. 1 jenkins jenkins 11357 Feb 16 11:54 LICENSE 11:56:07 -rw-rw-r--. 1 jenkins jenkins 1212 Feb 16 11:54 Makefile 11:56:07 drwxrwxr-x. 3 jenkins jenkins 19 Feb 16 11:54 pkg 11:56:07 -rw-rw-r--. 1 jenkins jenkins 4450 Feb 16 11:54 README.md 11:56:07 drwx------. 3 jenkins jenkins 56 Feb 16 11:55 .semver 11:56:07 drwxrwxr-x. 4 jenkins jenkins 71 Feb 16 11:54 snap 11:56:07 -rw-rw-r--. 1 jenkins jenkins 5 Feb 16 11:55 VERSION 11:56:07 -rw-rw-r--. 1 jenkins jenkins 155 Feb 16 11:54 version.go 11:56:07 drwxrwxr-x. 4 jenkins jenkins 4096 Feb 16 11:54 web [Pipeline] isUnix [Pipeline] sh 11:56:08 + 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=9b96b174f0d06adf081513f38febf47e7583c5c5 --label arch=amd64 --label version=0.0.0 . 11:56:08 Sending build context to Docker daemon 40.97MB 11:56:08 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 11:56:08 Step 2/23 : FROM ${BASE} AS builder 11:56:08 ---> f6ed2db905e4 11:56:08 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 11:56:08 ---> Running in c042bb4b9c97 11:56:08 Removing intermediate container c042bb4b9c97 11:56:08 ---> ca2940bf379c 11:56:08 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 11:56:08 ---> Running in 139eddd695c8 11:56:08 Removing intermediate container 139eddd695c8 11:56:08 ---> 6f000dcabefb 11:56:08 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 11:56:08 ---> Running in f9bb87ba230c 11:56:08 Removing intermediate container f9bb87ba230c 11:56:08 ---> 0a62fb68d77f 11:56:08 Step 6/23 : LABEL Name=edgex-ui-go 11:56:09 ---> Running in 6aa48d15eb5a 11:56:09 Removing intermediate container 6aa48d15eb5a 11:56:09 ---> a321d262b150 11:56:09 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 11:56:09 ---> Running in b8642c2c0f32 11:56:09 Removing intermediate container b8642c2c0f32 11:56:09 ---> 744ae931c223 11:56:09 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:56:09 ---> Running in 6921d522cf03 11:56:09 Removing intermediate container 6921d522cf03 11:56:09 ---> 8d5374b4eea2 11:56:09 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:56:09 ---> Running in dc933f9ae356 11:56:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:56:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:56:11 OK: 221 MiB in 52 packages 11:56:12 Removing intermediate container dc933f9ae356 11:56:12 ---> d50ab4ea2981 11:56:12 Step 10/23 : ENV GO111MODULE=on 11:56:12 ---> Running in 2c593e375ae1 11:56:12 Removing intermediate container 2c593e375ae1 11:56:12 ---> 8d4a309316b7 11:56:12 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 11:56:12 ---> Running in 58d2f78480e3 11:56:12 Removing intermediate container 58d2f78480e3 11:56:12 ---> c5866ee8ce6a 11:56:12 Step 12/23 : COPY go.mod vendor* ./ 11:56:12 ---> 8f217d8b8368 11:56:12 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:56:12 ---> Running in a721ec95e13b 11:56:12 Removing intermediate container a721ec95e13b 11:56:12 ---> 73ce47718ac5 11:56:12 Step 14/23 : COPY . . 11:56:13 ---> f4fc1772c94c 11:56:13 Step 15/23 : RUN ${MAKE} 11:56:13 ---> Running in d861482687e3 11:56:14 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 11:56:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 11:56:24 Removing intermediate container d861482687e3 11:56:24 ---> d18454bf3bbc 11:56:24 Step 16/23 : FROM alpine:3.14 11:56:24 3.14: Pulling from library/alpine 11:56:25 97518928ae5f: Pulling fs layer 11:56:25 97518928ae5f: Verifying Checksum 11:56:25 97518928ae5f: Download complete 11:56:25 97518928ae5f: Pull complete 11:56:25 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 11:56:25 Status: Downloaded newer image for alpine:3.14 11:56:25 ---> 0a97eee8041e 11:56:25 Step 17/23 : EXPOSE 4000 11:56:25 ---> Running in 9dd387c4fa12 11:56:25 Removing intermediate container 9dd387c4fa12 11:56:25 ---> 9cea7f91b9f2 11:56:25 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 11:56:25 ---> 314bf51dbad5 11:56:25 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 11:56:25 ---> Running in bd088ea1e5fc 11:56:25 Removing intermediate container bd088ea1e5fc 11:56:25 ---> b9bc6f019c49 11:56:25 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 11:56:25 ---> Running in b9488a84389e 11:56:26 Removing intermediate container b9488a84389e 11:56:26 ---> 15c8985439ec 11:56:26 Step 21/23 : LABEL arch=amd64 11:56:26 ---> Running in 8bf2f4846ec2 11:56:26 Removing intermediate container 8bf2f4846ec2 11:56:26 ---> 901f710f0fcb 11:56:26 Step 22/23 : LABEL git_sha=9b96b174f0d06adf081513f38febf47e7583c5c5 11:56:26 ---> Running in 839082f33e2c 11:56:26 Removing intermediate container 839082f33e2c 11:56:26 ---> 6194c76ef5db 11:56:26 Step 23/23 : LABEL version=0.0.0 11:56:26 ---> Running in d3e349c09ec2 11:56:26 Removing intermediate container d3e349c09ec2 11:56:26 ---> 6d52d863e444 11:56:26 [Warning] One or more build-args [ARCH] were not consumed 11:56:26 Successfully built 6d52d863e444 11:56:26 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 11:56:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:56:26 11:56:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:56:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:56:27 latest: Pulling from edgex-lftools-log-publisher 11:56:27 b4d181a07f80: Pulling fs layer 11:56:27 a1111a8f2ec3: Pulling fs layer 11:56:27 ed53099fbce6: Pulling fs layer 11:56:27 dc539afda2c1: Pulling fs layer 11:56:27 77bc0d833cb6: Pulling fs layer 11:56:27 9065ff56babe: Pulling fs layer 11:56:27 d287ab97295c: Pulling fs layer 11:56:27 77bc0d833cb6: Waiting 11:56:27 9065ff56babe: Waiting 11:56:27 d287ab97295c: Waiting 11:56:27 dc539afda2c1: Waiting 11:56:27 a1111a8f2ec3: Verifying Checksum 11:56:27 a1111a8f2ec3: Download complete 11:56:27 dc539afda2c1: Verifying Checksum 11:56:27 dc539afda2c1: Download complete 11:56:27 ed53099fbce6: Verifying Checksum 11:56:27 ed53099fbce6: Download complete 11:56:27 77bc0d833cb6: Verifying Checksum 11:56:27 77bc0d833cb6: Download complete 11:56:27 9065ff56babe: Verifying Checksum 11:56:27 9065ff56babe: Download complete 11:56:27 b4d181a07f80: Download complete 11:56:27 d287ab97295c: Verifying Checksum 11:56:27 d287ab97295c: Download complete 11:56:28 b4d181a07f80: Pull complete 11:56:28 a1111a8f2ec3: Pull complete 11:56:29 ed53099fbce6: Pull complete 11:56:29 dc539afda2c1: Pull complete 11:56:29 77bc0d833cb6: Pull complete 11:56:29 9065ff56babe: Pull complete 11:56:35 d287ab97295c: Pull complete 11:56:35 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:56:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:56:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:56:35 prd-centos7-docker-4c-2g-5336 does not seem to be running inside a container 11:56:35 $ 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-497 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497:/w/workspace/edgexfoundry_edgex-ui-go_PR-497:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@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 11:56:38 $ docker top c7a289a86ea15f309c1a2698a61899226b4748e0b755d91baff28dbccd4a6216 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:56:38 ---> job-cost.sh 11:56:38 lf-activate-venv: SKIPPING 11:56:38 INFO: No Stack... 11:56:38 INFO: Retrieving Pricing Info for: v3-standard-2 11:56:39 INFO: Archiving Costs [Pipeline] sh 11:56:39 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-497/archives/cost.csv 11:56:39 + cut -d, -f6 [Pipeline] lock 11:56:39 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] 11:56:39 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] did not exist. Created. 11:56:39 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:56:39 + echo total: 0.05999999865889549 [Pipeline] stash 11:56:39 Stashed 1 file(s) [Pipeline] } 11:56:39 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] [Pipeline] // lock [Pipeline] } 11:56:39 $ docker stop --time=1 c7a289a86ea15f309c1a2698a61899226b4748e0b755d91baff28dbccd4a6216 11:56:40 $ docker rm -f c7a289a86ea15f309c1a2698a61899226b4748e0b755d91baff28dbccd4a6216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:57:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5338 in /w/workspace/edgexfoundry_edgex-ui-go_PR-497 [Pipeline] { [Pipeline] ws 11:57:32 Running in /w/workspace/edgex-ui-go/2 [Pipeline] { [Pipeline] checkout 11:57:32 The recommended git tool is: git 11:57:37 using credential edgex-jenkins-ssh 11:57:37 Cloning the remote Git repository 11:57:37 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 11:57:37 > git init /w/workspace/edgex-ui-go/2 # timeout=10 11:57:37 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 11:57:37 > git --version # timeout=10 11:57:37 > git --version # 'git version 2.17.1' 11:57:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 11:57:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:40 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 11:57:40 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 11:57:40 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:57:41 Merging remotes/origin/main commit d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a into PR head commit 9b96b174f0d06adf081513f38febf47e7583c5c5 11:57:42 Merge succeeded, producing 9b96b174f0d06adf081513f38febf47e7583c5c5 11:57:42 Checking out Revision 9b96b174f0d06adf081513f38febf47e7583c5c5 (PR-497) 11:57:41 > git config core.sparsecheckout # timeout=10 11:57:41 > git checkout -f 9b96b174f0d06adf081513f38febf47e7583c5c5 # timeout=10 11:57:41 > git remote # timeout=10 11:57:41 > git config --get remote.origin.url # timeout=10 11:57:41 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:41 > git merge d88a2a82eaf5af1a13a3b4c48d6cbd2ae348549a # timeout=10 11:57:42 > git rev-parse HEAD^{commit} # timeout=10 11:57:42 > git config core.sparsecheckout # timeout=10 11:57:42 > git checkout -f 9b96b174f0d06adf081513f38febf47e7583c5c5 # timeout=10 11:57:46 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/karma-6.3.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:57:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:57:47 % Total % Received % Xferd Average Speed Time Time Time Current 11:57:47 Dload Upload Total Spent Left Speed 11:57:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 11:57:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:57:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:57:48 + sudo tee /etc/docker/daemon.new 11:57:48 { 11:57:48 "registry-mirrors": [ 11:57:48 "https://nexus3.edgexfoundry.org:10001" 11:57:48 ], 11:57:48 "bip": "10.250.0.254/24", 11:57:48 "hosts": [ 11:57:48 "tcp://0.0.0.0:5555", 11:57:48 "unix:///var/run/docker.sock" 11:57:48 ], 11:57:48 "mtu": 1458, 11:57:48 "selinux-enabled": true, 11:57:48 "seccomp-profile": "/etc/docker/seccomp.json" 11:57:48 } [Pipeline] sh 11:57:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:57:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:58:07 provisioning config files... 11:58:07 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/2@tmp/config3052311656434682325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:58:07 ---> docker-login.sh 11:58:07 nexus3.edgexfoundry.org:10001 11:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:08 Configure a credential helper to remove this warning. See 11:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:08 11:58:08 Login Succeeded 11:58:08 nexus3.edgexfoundry.org:10002 11:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:09 Configure a credential helper to remove this warning. See 11:58:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:09 11:58:09 Login Succeeded 11:58:09 nexus3.edgexfoundry.org:10003 11:58:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:09 Configure a credential helper to remove this warning. See 11:58:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:09 11:58:09 Login Succeeded 11:58:09 nexus3.edgexfoundry.org:10004 11:58:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:10 Configure a credential helper to remove this warning. See 11:58:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:10 11:58:10 Login Succeeded 11:58:10 docker.io 11:58:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:10 Configure a credential helper to remove this warning. See 11:58:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:10 11:58:10 Login Succeeded 11:58:10 ---> docker-login.sh ends [Pipeline] } 11:58:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:58:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:58:11 ========================================================= 11:58:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:58:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:58:11 + 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 . 11:58:12 Sending build context to Docker daemon 25.77MB 11:58:12 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 11:58:12 Step 2/15 : FROM ${BASE} AS builder 11:58:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:58:12 9b3977197b4f: Pulling fs layer 11:58:12 1a89e8eeedd5: Pulling fs layer 11:58:12 94645a83ff95: Pulling fs layer 11:58:12 3f3a8bcf1eab: Pulling fs layer 11:58:12 0c92f367c5e7: Pulling fs layer 11:58:12 f7c0051592d6: Pulling fs layer 11:58:12 a227ed2f7395: Pulling fs layer 11:58:12 7b1c46037f91: Pulling fs layer 11:58:12 3f3a8bcf1eab: Waiting 11:58:12 0c92f367c5e7: Waiting 11:58:12 f7c0051592d6: Waiting 11:58:12 7b1c46037f91: Waiting 11:58:12 a227ed2f7395: Waiting 11:58:12 94645a83ff95: Verifying Checksum 11:58:12 94645a83ff95: Download complete 11:58:12 1a89e8eeedd5: Verifying Checksum 11:58:12 1a89e8eeedd5: Download complete 11:58:12 0c92f367c5e7: Verifying Checksum 11:58:12 0c92f367c5e7: Download complete 11:58:13 f7c0051592d6: Verifying Checksum 11:58:13 f7c0051592d6: Download complete 11:58:13 9b3977197b4f: Verifying Checksum 11:58:13 9b3977197b4f: Download complete 11:58:13 a227ed2f7395: Verifying Checksum 11:58:13 a227ed2f7395: Download complete 11:58:13 9b3977197b4f: Pull complete 11:58:14 1a89e8eeedd5: Pull complete 11:58:14 94645a83ff95: Pull complete 11:58:14 7b1c46037f91: Verifying Checksum 11:58:14 7b1c46037f91: Download complete 11:58:15 3f3a8bcf1eab: Verifying Checksum 11:58:15 3f3a8bcf1eab: Download complete 11:58:27 3f3a8bcf1eab: Pull complete 11:58:27 0c92f367c5e7: Pull complete 11:58:27 f7c0051592d6: Pull complete 11:58:27 a227ed2f7395: Pull complete 11:58:33 7b1c46037f91: Pull complete 11:58:33 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 11:58:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:58:33 ---> f79e39bc4007 11:58:33 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 11:58:35 ---> Running in a50c4e153a3f 11:58:35 Removing intermediate container a50c4e153a3f 11:58:35 ---> 15ec5489d6b0 11:58:35 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 11:58:35 ---> Running in 79b97801290a 11:58:35 Removing intermediate container 79b97801290a 11:58:35 ---> 0d50dddcaedd 11:58:35 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 11:58:36 ---> Running in 570b310ed97f 11:58:36 Removing intermediate container 570b310ed97f 11:58:36 ---> 611180971a8c 11:58:36 Step 6/15 : LABEL Name=edgex-ui-go 11:58:36 ---> Running in ee61d6fd2a85 11:58:37 Removing intermediate container ee61d6fd2a85 11:58:37 ---> 9cf3320f346a 11:58:37 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 11:58:37 ---> Running in 8677a38f5370 11:58:37 Removing intermediate container 8677a38f5370 11:58:37 ---> 6f719a8cb296 11:58:37 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:58:37 ---> Running in df08742cf5f3 11:58:39 Removing intermediate container df08742cf5f3 11:58:39 ---> 6604392173c9 11:58:39 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:39 ---> Running in b83378d906e4 11:58:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:58:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:58:42 OK: 220 MiB in 52 packages 11:58:43 Removing intermediate container b83378d906e4 11:58:43 ---> 1f42916b682a 11:58:43 Step 10/15 : ENV GO111MODULE=on 11:58:43 ---> Running in b61a9cee333f 11:58:43 Removing intermediate container b61a9cee333f 11:58:43 ---> ca77e29c4a89 11:58:43 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 11:58:43 ---> Running in a977b0afcf41 11:58:44 Removing intermediate container a977b0afcf41 11:58:44 ---> af55435b3dda 11:58:44 Step 12/15 : COPY go.mod vendor* ./ 11:58:44 ---> fd60faee8d3b 11:58:44 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:44 ---> Running in d53d021b613e 12:00:06 Removing intermediate container d53d021b613e 12:00:06 ---> 4d74733a54b8 12:00:06 Step 14/15 : COPY . . 12:00:06 ---> 3775763bc187 12:00:06 Step 15/15 : RUN ${MAKE} 12:00:06 ---> Running in 42973108925c 12:00:06 noop 12:00:06 Removing intermediate container 42973108925c 12:00:06 ---> 0b281ac281ee 12:00:06 Successfully built 0b281ac281ee 12:00:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:00:07 + docker inspect -f . ci-base-image-arm64 12:00:07 . [Pipeline] withDockerContainer 12:00:07 prd-ubuntu18.04-docker-arm64-4c-16g-5338 does not seem to be running inside a container 12:00:07 $ 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 ******** -e ******** ci-base-image-arm64 cat 12:00:08 $ docker top cc5a93a542b47604d7127cd854dc7df4a4239ba5f8d9e400694d81e59aeec176 -eo pid,comm [Pipeline] { [Pipeline] sh 12:00:09 + go version 12:00:09 go version go1.17.6 linux/arm64 [Pipeline] } 12:00:09 $ docker stop --time=1 cc5a93a542b47604d7127cd854dc7df4a4239ba5f8d9e400694d81e59aeec176 12:00:11 $ docker rm -f cc5a93a542b47604d7127cd854dc7df4a4239ba5f8d9e400694d81e59aeec176 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:00:11 + docker inspect -f . ci-base-image-arm64 12:00:11 . [Pipeline] withDockerContainer 12:00:12 prd-ubuntu18.04-docker-arm64-4c-16g-5338 does not seem to be running inside a container 12:00:12 $ 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 ******** -e ******** ci-base-image-arm64 cat 12:00:13 $ docker top beede45854ccf1190968e4717935d62d4ee806f6ed4d0e97634ac9455f637859 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:00:14 + make test 12:00:14 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 12:00:15 ? github.com/edgexfoundry/edgex-ui-go [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 12:00:54 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 12:00:54 CGO_ENABLED=0 GO111MODULE=on go vet ./... 12:01:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:01:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 12:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:01:09 $ docker stop --time=1 beede45854ccf1190968e4717935d62d4ee806f6ed4d0e97634ac9455f637859 12:01:11 $ docker rm -f beede45854ccf1190968e4717935d62d4ee806f6ed4d0e97634ac9455f637859 [Pipeline] // withDockerContainer [Pipeline] sh 12:01:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:01:12 Warning: overwriting stash ‘coverage-report’ 12:01:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:01:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:01:13 + ls -al . 12:01:13 total 152 12:01:13 drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 12:00 . 12:01:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 11:57 .. 12:01:13 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 11:57 .git 12:01:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 11:57 .github 12:01:13 -rw-rw-r-- 1 jenkins jenkins 155 Feb 16 11:57 .gitignore 12:01:13 -rw-rw-r-- 1 jenkins jenkins 3959 Feb 16 11:57 CONTRIBUTING.md 12:01:13 -rw-rw-r-- 1 jenkins jenkins 1549 Feb 16 11:57 Dockerfile 12:01:13 -rw-rw-r-- 1 jenkins jenkins 652 Feb 16 11:57 Jenkinsfile 12:01:13 -rw-rw-r-- 1 jenkins jenkins 11357 Feb 16 11:57 LICENSE 12:01:13 -rw-rw-r-- 1 jenkins jenkins 1212 Feb 16 11:57 Makefile 12:01:13 -rw-rw-r-- 1 jenkins jenkins 4450 Feb 16 11:57 README.md 12:01:13 -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 11:55 VERSION 12:01:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:57 assets 12:01:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 11:57 bin 12:01:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:57 cmd 12:01:13 -rw-r--r-- 1 jenkins jenkins 10 Feb 16 12:00 coverage.out 12:01:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 11:57 docs 12:01:13 -rw-rw-r-- 1 jenkins jenkins 1944 Feb 16 11:57 go.mod 12:01:13 -rw-rw-r-- 1 jenkins jenkins 48565 Feb 16 11:57 go.sum 12:01:13 drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 11:57 internal 12:01:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 11:57 pkg 12:01:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 11:57 snap 12:01:13 -rw-rw-r-- 1 jenkins jenkins 155 Feb 16 11:57 version.go 12:01:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 11:57 web [Pipeline] isUnix [Pipeline] sh 12:01:13 + 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=9b96b174f0d06adf081513f38febf47e7583c5c5 --label arch=arm64 --label version=0.0.0 . 12:01:14 Sending build context to Docker daemon 25.78MB 12:01:14 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:01:14 Step 2/23 : FROM ${BASE} AS builder 12:01:14 ---> 0b281ac281ee 12:01:14 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 12:01:14 ---> Running in 1e21f601c64b 12:01:15 Removing intermediate container 1e21f601c64b 12:01:15 ---> d3eb1f237cfa 12:01:15 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 12:01:15 ---> Running in e695055bc901 12:01:15 Removing intermediate container e695055bc901 12:01:15 ---> 7aa3abe1b193 12:01:15 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 12:01:15 ---> Running in 4cd3751c64dd 12:01:16 Removing intermediate container 4cd3751c64dd 12:01:16 ---> 4bd3ecba03d0 12:01:16 Step 6/23 : LABEL Name=edgex-ui-go 12:01:16 ---> Running in b7cb878b5a5c 12:01:16 Removing intermediate container b7cb878b5a5c 12:01:16 ---> 7a76f4e6bff5 12:01:16 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 12:01:16 ---> Running in 37322de49228 12:01:16 Removing intermediate container 37322de49228 12:01:16 ---> bda9a98af1ba 12:01:16 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:01:17 ---> Running in 10455a255b66 12:01:18 Removing intermediate container 10455a255b66 12:01:18 ---> d553ff0d5de5 12:01:18 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:01:18 ---> Running in ee1365e45e65 12:01:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:01:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:01:21 OK: 220 MiB in 52 packages 12:01:22 Removing intermediate container ee1365e45e65 12:01:22 ---> 44a28102e126 12:01:22 Step 10/23 : ENV GO111MODULE=on 12:01:22 ---> Running in d6cd811391c0 12:01:22 Removing intermediate container d6cd811391c0 12:01:22 ---> f0d47921fa67 12:01:22 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 12:01:22 ---> Running in ed7ea9df12b7 12:01:23 Removing intermediate container ed7ea9df12b7 12:01:23 ---> bad91cfd0583 12:01:23 Step 12/23 : COPY go.mod vendor* ./ 12:01:23 ---> 860abea3e21e 12:01:23 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:23 ---> Running in 1fc84884e03d 12:01:25 Removing intermediate container 1fc84884e03d 12:01:25 ---> b740c3102d00 12:01:25 Step 14/23 : COPY . . 12:01:29 ---> 5fd443de9868 12:01:29 Step 15/23 : RUN ${MAKE} 12:01:29 ---> Running in 29a75ada2e34 12:01:29 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 12:02:01 CGO_ENABLED=0 GO111MODULE=on go build ./... 12:02:03 Removing intermediate container 29a75ada2e34 12:02:03 ---> d15dedd2b150 12:02:03 Step 16/23 : FROM alpine:3.14 12:02:03 3.14: Pulling from library/alpine 12:02:04 be307f383ecc: Pulling fs layer 12:02:04 be307f383ecc: Verifying Checksum 12:02:04 be307f383ecc: Download complete 12:02:05 be307f383ecc: Pull complete 12:02:05 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 12:02:05 Status: Downloaded newer image for alpine:3.14 12:02:05 ---> 5b8b7b635229 12:02:05 Step 17/23 : EXPOSE 4000 12:02:05 ---> Running in 733cf1867c4d 12:02:05 Removing intermediate container 733cf1867c4d 12:02:05 ---> 2b05840bf97f 12:02:05 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 12:02:06 ---> 2b4d781b60cd 12:02:06 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 12:02:06 ---> Running in 320a4873441f 12:02:07 Removing intermediate container 320a4873441f 12:02:07 ---> 6ca0d8183738 12:02:07 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 12:02:07 ---> Running in 41b1421f970e 12:02:07 Removing intermediate container 41b1421f970e 12:02:07 ---> 4f91a3cb6608 12:02:07 Step 21/23 : LABEL arch=arm64 12:02:07 ---> Running in 0b6eb933bb1b 12:02:07 Removing intermediate container 0b6eb933bb1b 12:02:07 ---> a89b9462593d 12:02:07 Step 22/23 : LABEL git_sha=9b96b174f0d06adf081513f38febf47e7583c5c5 12:02:08 ---> Running in 4f7ad4e926f4 12:02:08 Removing intermediate container 4f7ad4e926f4 12:02:08 ---> 41b4746ed64b 12:02:08 Step 23/23 : LABEL version=0.0.0 12:02:08 ---> Running in 7703aa7e6106 12:02:09 Removing intermediate container 7703aa7e6106 12:02:09 ---> 160be64eee6d 12:02:09 [Warning] One or more build-args [ARCH] were not consumed 12:02:09 Successfully built 160be64eee6d 12:02:09 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 12:02:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:02:09 12:02:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:02:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:02:10 arm64: Pulling from edgex-lftools-log-publisher 12:02:10 448f6bf000e3: Pulling fs layer 12:02:10 f757da607395: Pulling fs layer 12:02:10 05883995daec: Pulling fs layer 12:02:10 8603b9c90790: Pulling fs layer 12:02:10 1560dd03e051: Pulling fs layer 12:02:10 27f5ce0e4adf: Pulling fs layer 12:02:10 c2d8d7efcc4b: Pulling fs layer 12:02:10 8603b9c90790: Waiting 12:02:10 1560dd03e051: Waiting 12:02:10 27f5ce0e4adf: Waiting 12:02:10 c2d8d7efcc4b: Waiting 12:02:10 f757da607395: Verifying Checksum 12:02:10 f757da607395: Download complete 12:02:10 8603b9c90790: Download complete 12:02:10 1560dd03e051: Verifying Checksum 12:02:10 1560dd03e051: Download complete 12:02:10 27f5ce0e4adf: Verifying Checksum 12:02:10 27f5ce0e4adf: Download complete 12:02:10 05883995daec: Verifying Checksum 12:02:10 05883995daec: Download complete 12:02:10 448f6bf000e3: Verifying Checksum 12:02:10 448f6bf000e3: Download complete 12:02:13 c2d8d7efcc4b: Verifying Checksum 12:02:13 c2d8d7efcc4b: Download complete 12:02:14 448f6bf000e3: Pull complete 12:02:14 f757da607395: Pull complete 12:02:16 05883995daec: Pull complete 12:02:16 8603b9c90790: Pull complete 12:02:17 1560dd03e051: Pull complete 12:02:17 27f5ce0e4adf: Pull complete 12:02:32 c2d8d7efcc4b: Pull complete 12:02:32 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:02:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:02:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:02:32 prd-ubuntu18.04-docker-arm64-4c-16g-5338 does not seem to be running inside a container 12:02:32 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:02:35 $ docker top 7c56739d02e3263303673552139c150d23271f33d79f8d325f76898a00fe66d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:36 ---> job-cost.sh 12:02:36 lf-activate-venv: SKIPPING 12:02:36 INFO: No Stack... 12:02:36 INFO: Retrieving Pricing Info for: v3-standard-4 12:02:36 INFO: Archiving Costs [Pipeline] sh 12:02:37 + + cat /w/workspace/edgex-ui-go/2/archives/cost.csvcut 12:02:37 -d, -f6 [Pipeline] lock 12:02:37 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] 12:02:37 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] did not exist. Created. 12:02:37 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:02:38 /w/workspace/edgex-ui-go/2@tmp/durable-49b21044/script.sh: 1: /w/workspace/edgex-ui-go/2@tmp/durable-49b21044/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:02:38 + echo total: 0.10999999940395355 [Pipeline] stash 12:02:38 Warning: overwriting stash ‘stack-cost’ 12:02:39 Stashed 1 file(s) [Pipeline] } 12:02:39 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-497-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:02:39 $ docker stop --time=1 7c56739d02e3263303673552139c150d23271f33d79f8d325f76898a00fe66d4 12:02:40 $ docker rm -f 7c56739d02e3263303673552139c150d23271f33d79f8d325f76898a00fe66d4 [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 12:02:41 provisioning config files... 12:02:41 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/config1827162102909608033tmp [Pipeline] { [Pipeline] sh 12:02:41 + set +x 12:02:41 + curl -s https://codecov.io/bash 12:02:41 + bash -s -- 12:02:41 12:02:41 _____ _ 12:02:41 / ____| | | 12:02:41 | | ___ __| | ___ ___ _____ __ 12:02:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:02:41 | |___| (_) | (_| | __/ (_| (_) \ V / 12:02:41 \_____\___/ \__,_|\___|\___\___/ \_/ 12:02:41 Bash-1.0.6 12:02:41 12:02:41 12:02:41 ==> git version 2.24.4 found 12:02:41 ==> 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 12:02:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 12:02:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 12:02:41 ==> Jenkins CI detected. 12:02:41 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-497 12:02:41 project root: . 12:02:41 --> token set from env 12:02:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:02:41 ==> Running gcov in . (disable via -X gcov) 12:02:41 ==> Python coveragepy not found 12:02:41 ==> Searching for coverage reports in: 12:02:41 + . 12:02:41 -> Found 1 reports 12:02:41 ==> Detecting git/mercurial file structure 12:02:41 ==> Reading reports 12:02:41 + ./coverage.out bytes=10 12:02:41 ==> Appending adjustments 12:02:41 https://docs.codecov.io/docs/fixing-reports 12:02:41 + Found adjustments 12:02:41 ==> Gzipping contents 12:02:41 4.0K /tmp/codecov.f4wdHq.gz 12:02:41 ==> Uploading reports 12:02:41 url: https://codecov.io 12:02:41 query: branch=PR-497&commit=9b96b174f0d06adf081513f38febf47e7583c5c5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-497%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=497&job=&cmd_args= 12:02:41 -> Pinging Codecov 12:02:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-497&commit=9b96b174f0d06adf081513f38febf47e7583c5c5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-497%2F2%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=497&job=&cmd_args= 12:02:42 -> Uploading to 12:02:42 https://storage.googleapis.com/codecov/v4/raw/2022-02-16/FB506323287CE973F263BFD2A0EB1F37/9b96b174f0d06adf081513f38febf47e7583c5c5/118358fb-8b56-4d54-9a4a-40391e2c99c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220216T120242Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d27861dea0e72fd894047784d4dd5ada1a5a0dd6d77fd02203863f696189d61 12:02:42 % Total % Received % Xferd Average Speed Time Time Time Current 12:02:42 Dload Upload Total Spent Left Speed 12:02:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3730 0 0 100 3730 0 12934 --:--:-- --:--:-- --:--:-- 12951 12:02:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/9b96b174f0d06adf081513f38febf47e7583c5c5 [Pipeline] } 12:02:42 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 12:02:43 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-497/archives ']' 12:02:43 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-497/archives 12:02:43 total 8 12:02:43 drwxr-xr-x. 3 root root 34 Feb 16 11:56 . 12:02:43 drwxrwxr-x. 14 jenkins jenkins 4096 Feb 16 11:56 .. 12:02:43 drwxr-xr-x. 2 root root 6 Feb 16 11:56 cost 12:02:43 -rw-r--r--. 1 root root 82 Feb 16 11:56 cost.csv 12:02:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-497/archives 12:02:43 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-497/archives 12:02:43 total 8 12:02:43 drwxr-xr-x. 3 jenkins jenkins 34 Feb 16 11:56 . 12:02:43 drwxrwxr-x. 14 jenkins jenkins 4096 Feb 16 11:56 .. 12:02:43 drwxr-xr-x. 2 jenkins jenkins 6 Feb 16 11:56 cost 12:02:43 -rw-r--r--. 1 jenkins jenkins 82 Feb 16 11:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:02:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:02:44 ---> package-listing.sh 12:02:44 ++ facter osfamily 12:02:44 ++ tr '[:upper:]' '[:lower:]' 12:02:44 + OS_FAMILY=redhat 12:02:44 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-497 12:02:44 + START_PACKAGES=/tmp/packages_start.txt 12:02:44 + END_PACKAGES=/tmp/packages_end.txt 12:02:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:02:44 + PACKAGES=/tmp/packages_start.txt 12:02:44 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-497 ']' 12:02:44 + PACKAGES=/tmp/packages_end.txt 12:02:44 + case "${OS_FAMILY}" in 12:02:44 + sort 12:02:44 + rpm -qa 12:02:45 + '[' -f /tmp/packages_start.txt ']' 12:02:45 + '[' -f /tmp/packages_end.txt ']' 12:02:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:02:45 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-497 ']' 12:02:45 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-497/archives/ 12:02:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-497/archives/ [Pipeline] echo 12:02:45 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-497/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:02:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:02:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:02:46 . [Pipeline] withDockerContainer 12:02:46 prd-centos7-docker-4c-2g-5336 does not seem to be running inside a container 12:02:46 $ 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-497/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-497 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497:/w/workspace/edgexfoundry_edgex-ui-go_PR-497:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:02:46 $ docker top 40258c2afc5b045690ba51eb2969432771e1c014e3f36a3705e83fcb781f63ab -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:46 + touch /tmp/pre-build-complete [Pipeline] sh 12:02:47 + mkdir -p /var/log/sysstat [Pipeline] sh 12:02:47 + ls /var/log/sa-host 12:02:47 + sadf -c /var/log/sa-host/sa16 12:02:47 file_magic: OK 12:02:47 HZ: Using current value: 100 12:02:47 file_header: OK 12:02:47 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 12:02:47 Statistics: 12:02:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:02:47 File successfully converted to sysstat format version 12.0.3 12:02:47 + sadf -c /var/log/sa-host/sa17 12:02:47 file_magic: OK 12:02:47 HZ: Using current value: 100 12:02:47 file_header: OK 12:02:47 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 12:02:47 Statistics: 12:02:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:02:47 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:47 provisioning config files... 12:02:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-497@tmp/config459725086370178983tmp [Pipeline] { [Pipeline] echo 12:02:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:02:47 ---> create-netrc.sh [Pipeline] } 12:02:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:02:48 ---> python-tools-install.sh [Pipeline] echo 12:02:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:02:48 ---> sudo-logs.sh 12:02:48 Archiving 'sudo' log.. 12:02:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-5336.novalocal: Name or service not known 12:02:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-5336.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:02:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:02:48 ---> job-cost.sh 12:02:48 lf-activate-venv: SKIPPING 12:02:48 DEBUG: total: 0.05999999865889549 12:02:48 INFO: Retrieving Stack Cost... 12:02:49 INFO: Retrieving Pricing Info for: v3-standard-2 12:02:49 INFO: Archiving Costs [Pipeline] echo 12:02:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:02:49 ---> logs-deploy.sh 12:02:49 lf-activate-venv: SKIPPING 12:02:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-497/2 12:02:49 INFO: archiving workspace using pattern(s): 12:02:50 Archives upload complete. 12:02:50 INFO: archiving logs to Nexus