Pull request #502 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of badboy-huaqiao for edgexfoundry/edgex-ui-go Obtained Jenkinsfile from 1af26f4b880d7eb609d302cccd50422aec1e723e+246039579fefe65770a4c1017b136de77c7f7cec (5efa05ff453abe9c038d8651b0d1859780acfc72) 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-ssh12212412757339044686.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-ssh2580306409441947786.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-502/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-502/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8786812674564158980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-502/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10452620738809988481.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh8191864825324209541.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-502/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-502/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12036722829690475396.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-6603 in /w/workspace/edgexfoundry_edgex-ui-go_PR-502 [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-502 # 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-502@tmp/jenkins-gitclient-ssh8968440950082707284.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 Merging remotes/origin/main commit 246039579fefe65770a4c1017b136de77c7f7cec into PR head commit 1af26f4b880d7eb609d302cccd50422aec1e723e Merge succeeded, producing 1af26f4b880d7eb609d302cccd50422aec1e723e Checking out Revision 1af26f4b880d7eb609d302cccd50422aec1e723e (PR-502) > 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-502@tmp/jenkins-gitclient-ssh8284461496357042359.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1af26f4b880d7eb609d302cccd50422aec1e723e # 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-502@tmp/jenkins-gitclient-ssh212640375686581950.key > git merge 246039579fefe65770a4c1017b136de77c7f7cec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1af26f4b880d7eb609d302cccd50422aec1e723e # timeout=10 Commit message: "feat: update the build artifact of GUI" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:28:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:28:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:28:02 ========================================================= 13:28:02 EdgeX Global Pipelines Version Info 13:28:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:28:03 ------------------- 13:28:03 stable info: 13:28:03 ------------------- 13:28:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:28:03 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 13:28:03 Message: update stable to v1.0.220 13:28:04 ------------------- 13:28:04 experimental info: 13:28:04 ------------------- 13:28:04 Commited By: **** collab-it+edgex@linuxfoundation.org 13:28:04 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 13:28:04 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:28:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-502 [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-502 [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-502 [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1af26f4b880d7eb609d302cccd50422aec1e723e [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1af26f4 [Pipeline] echo 13:28:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:28:05 provisioning config files... 13:28:05 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/config4520164607918125518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:06 ---> docker-login.sh 13:28:06 nexus3.edgexfoundry.org:10001 13:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:06 Configure a credential helper to remove this warning. See 13:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:06 13:28:06 Login Succeeded 13:28:06 nexus3.edgexfoundry.org:10002 13:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:06 Configure a credential helper to remove this warning. See 13:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:06 13:28:06 Login Succeeded 13:28:06 nexus3.edgexfoundry.org:10003 13:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:06 Configure a credential helper to remove this warning. See 13:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:06 13:28:06 Login Succeeded 13:28:06 nexus3.edgexfoundry.org:10004 13:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:06 Configure a credential helper to remove this warning. See 13:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:06 13:28:06 Login Succeeded 13:28:06 docker.io 13:28:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:07 Configure a credential helper to remove this warning. See 13:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:07 13:28:07 Login Succeeded 13:28:07 ---> docker-login.sh ends [Pipeline] } 13:28:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:28:07 + git rev-list -1 --merges 1af26f4b880d7eb609d302cccd50422aec1e723e~1..1af26f4b880d7eb609d302cccd50422aec1e723e [Pipeline] echo 13:28:07 -----------> git rev-list -1 --merges 1af26f4b880d7eb609d302cccd50422aec1e723e~1..1af26f4b880d7eb609d302cccd50422aec1e723e 1af26f4b880d7eb609d302cccd50422aec1e723e [false] [Pipeline] sh 13:28:08 + git log --format=format:%s -1 1af26f4b880d7eb609d302cccd50422aec1e723e [Pipeline] echo 13:28:08 ========================================================= 13:28:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:28:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:28:08 + git log --format=format:%s -1 1af26f4b880d7eb609d302cccd50422aec1e723e [Pipeline] echo 13:28:08 [semverPrep] GIT_COMMIT: 1af26f4b880d7eb609d302cccd50422aec1e723e, Commit Message: feat: update the build artifact of GUI [Pipeline] echo 13:28:08 [semverPrep] This is not a build commit. [Pipeline] sh 13:28:09 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 13:28:09 + grep -v github /etc/ssh/ssh_known_hosts 13:28:09 + '[' -e /tmp/ssh_known_hosts ']' 13:28:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:28:09 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 13:28:09 + sudo tee -a /etc/ssh/ssh_known_hosts 13:28:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:28:09 13:28:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:28:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:28:10 latest: Pulling from edgex-devops/git-semver 13:28:10 a0d0a0d46f8b: Pulling fs layer 13:28:10 3e5f54012d9b: Pulling fs layer 13:28:10 4c7163046ea9: Pulling fs layer 13:28:10 0c2d73faf560: Pulling fs layer 13:28:10 0c2d73faf560: Waiting 13:28:10 3e5f54012d9b: Download complete 13:28:10 a0d0a0d46f8b: Verifying Checksum 13:28:10 a0d0a0d46f8b: Download complete 13:28:10 0c2d73faf560: Verifying Checksum 13:28:10 0c2d73faf560: Download complete 13:28:10 4c7163046ea9: Verifying Checksum 13:28:10 4c7163046ea9: Download complete 13:28:10 a0d0a0d46f8b: Pull complete 13:28:10 3e5f54012d9b: Pull complete 13:28:10 4c7163046ea9: Pull complete 13:28:10 0c2d73faf560: Pull complete 13:28:10 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:28:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:28:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:28:11 prd-centos7-docker-4c-2g-6603 does not seem to be running inside a container 13:28:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-502 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502:/w/workspace/edgexfoundry_edgex-ui-go_PR-502:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@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 13:28:11 $ docker top eb58fc260baed3aaa977659274a9c558d6d8070ec4e47be0dd0b0beb11b13313 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:28:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:28:11 [ssh-agent] Looking for ssh-agent implementation... 13:28:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:28:11 $ docker exec eb58fc260baed3aaa977659274a9c558d6d8070ec4e47be0dd0b0beb11b13313 ssh-agent 13:28:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDJPgli/agent.13 13:28:12 SSH_AGENT_PID=19 13:28:12 Running ssh-add (command line suppressed) 13:28:12 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/private_key_4665009416016863523.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/private_key_4665009416016863523.key) 13:28:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:28:12 + git tag --points-at HEAD [Pipeline] } 13:28:12 $ docker exec --env ******** --env ******** eb58fc260baed3aaa977659274a9c558d6d8070ec4e47be0dd0b0beb11b13313 ssh-agent -k 13:28:12 unset SSH_AUTH_SOCK; 13:28:12 unset SSH_AGENT_PID; 13:28:12 echo Agent pid 19 killed; 13:28:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:28:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:28:12 [ssh-agent] Looking for ssh-agent implementation... 13:28:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:28:12 $ docker exec eb58fc260baed3aaa977659274a9c558d6d8070ec4e47be0dd0b0beb11b13313 ssh-agent 13:28:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhadmGj/agent.51 13:28:12 SSH_AGENT_PID=58 13:28:12 Running ssh-add (command line suppressed) 13:28:13 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/private_key_1844843717162939054.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/private_key_1844843717162939054.key) 13:28:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:28:13 + git semver init 13:28:13 # -> Open(): unable to determine branch for HEAD 13:28:13 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-502/.git 13:28:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-502 13:28:13 # $SEMVER_REMOTE_NAME = origin 13:28:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:28:13 # $SEMVER_USER_NAME = edgex-jenkins 13:28:13 # $SEMVER_BRANCH = PR-502 13:28:13 # $SEMVER_TEMP = /tmp/semver-295852112 13:28:13 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 13:28:15 # '/tmp/semver-295852112' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-502/.semver' 13:28:15 # -> Force: false 13:28:15 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-502/.semver [Pipeline] } 13:28:16 $ docker exec --env ******** --env ******** eb58fc260baed3aaa977659274a9c558d6d8070ec4e47be0dd0b0beb11b13313 ssh-agent -k 13:28:16 unset SSH_AUTH_SOCK; 13:28:16 unset SSH_AGENT_PID; 13:28:16 echo Agent pid 58 killed; 13:28:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:28:16 + git semver [Pipeline] } 13:28:16 $ docker stop --time=1 eb58fc260baed3aaa977659274a9c558d6d8070ec4e47be0dd0b0beb11b13313 13:28:17 $ docker rm -f eb58fc260baed3aaa977659274a9c558d6d8070ec4e47be0dd0b0beb11b13313 [Pipeline] // withDockerContainer [Pipeline] sh 13:28:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:28:18 Stashed 1 file(s) [Pipeline] echo 13:28:18 [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 13:28:19 provisioning config files... 13:28:19 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/config4601594596172333976tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:28:19 ---> docker-login.sh 13:28:19 nexus3.edgexfoundry.org:10001 13:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:19 Configure a credential helper to remove this warning. See 13:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:19 13:28:19 Login Succeeded 13:28:19 nexus3.edgexfoundry.org:10002 13:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:19 Configure a credential helper to remove this warning. See 13:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:19 13:28:19 Login Succeeded 13:28:19 nexus3.edgexfoundry.org:10003 13:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:19 Configure a credential helper to remove this warning. See 13:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:19 13:28:19 Login Succeeded 13:28:19 nexus3.edgexfoundry.org:10004 13:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:19 Configure a credential helper to remove this warning. See 13:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:19 13:28:19 Login Succeeded 13:28:19 docker.io 13:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:28:20 Configure a credential helper to remove this warning. See 13:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:28:20 13:28:20 Login Succeeded 13:28:20 ---> docker-login.sh ends [Pipeline] } 13:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:28:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:28:20 ========================================================= 13:28:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:28:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:28:21 + 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 . 13:28:21 Sending build context to Docker daemon 42.36MB 13:28:21 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 13:28:21 Step 2/15 : FROM ${BASE} AS builder 13:28:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:28:21 59bf1c3509f3: Pulling fs layer 13:28:21 666ba61612fd: Pulling fs layer 13:28:21 8ed8ca486205: Pulling fs layer 13:28:21 4fe6c5a15a65: Pulling fs layer 13:28:21 22a0e8bec74d: Pulling fs layer 13:28:21 640e595b4fbd: Pulling fs layer 13:28:21 763cafe07f6e: Pulling fs layer 13:28:21 0c0b528cf693: Pulling fs layer 13:28:21 10935f4eaf8b: Pulling fs layer 13:28:21 640e595b4fbd: Waiting 13:28:21 22a0e8bec74d: Waiting 13:28:21 763cafe07f6e: Waiting 13:28:21 0c0b528cf693: Waiting 13:28:21 10935f4eaf8b: Waiting 13:28:21 4fe6c5a15a65: Waiting 13:28:21 8ed8ca486205: Verifying Checksum 13:28:21 8ed8ca486205: Download complete 13:28:21 666ba61612fd: Verifying Checksum 13:28:21 666ba61612fd: Download complete 13:28:21 22a0e8bec74d: Verifying Checksum 13:28:21 22a0e8bec74d: Download complete 13:28:21 640e595b4fbd: Verifying Checksum 13:28:21 640e595b4fbd: Download complete 13:28:21 763cafe07f6e: Verifying Checksum 13:28:21 763cafe07f6e: Download complete 13:28:21 59bf1c3509f3: Verifying Checksum 13:28:21 59bf1c3509f3: Download complete 13:28:21 0c0b528cf693: Verifying Checksum 13:28:21 0c0b528cf693: Download complete 13:28:21 59bf1c3509f3: Pull complete 13:28:22 666ba61612fd: Pull complete 13:28:22 4fe6c5a15a65: Verifying Checksum 13:28:22 4fe6c5a15a65: Download complete 13:28:22 8ed8ca486205: Pull complete 13:28:22 10935f4eaf8b: Verifying Checksum 13:28:22 10935f4eaf8b: Download complete 13:28:26 4fe6c5a15a65: Pull complete 13:28:26 22a0e8bec74d: Pull complete 13:28:26 640e595b4fbd: Pull complete 13:28:26 763cafe07f6e: Pull complete 13:28:26 0c0b528cf693: Pull complete 13:28:29 10935f4eaf8b: Pull complete 13:28:29 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 13:28:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:28:29 ---> 99d49a6021b9 13:28:29 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 13:28:31 ---> Running in c5ed1ce4eda0 13:28:31 Removing intermediate container c5ed1ce4eda0 13:28:31 ---> 1a5d05d1f42b 13:28:31 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 13:28:31 ---> Running in 738e47a20480 13:28:31 Removing intermediate container 738e47a20480 13:28:31 ---> a9c3b2b4628e 13:28:31 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 13:28:31 ---> Running in 8c91562f2bcb 13:28:31 Removing intermediate container 8c91562f2bcb 13:28:31 ---> 38e0c5661240 13:28:31 Step 6/15 : LABEL Name=edgex-ui-go 13:28:31 ---> Running in 8a948efe4d5a 13:28:31 Removing intermediate container 8a948efe4d5a 13:28:31 ---> 725408247a31 13:28:31 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 13:28:31 ---> Running in ee68d192f1c9 13:28:31 Removing intermediate container ee68d192f1c9 13:28:31 ---> 9ecc708992ca 13:28:31 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:28:31 ---> Running in c208b2685bd3 13:28:32 Removing intermediate container c208b2685bd3 13:28:32 ---> 7058648494c7 13:28:32 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:28:32 ---> Running in a1a6d79a9336 13:28:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:28:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:28:33 OK: 221 MiB in 52 packages 13:28:34 Removing intermediate container a1a6d79a9336 13:28:34 ---> 2486a98d72d9 13:28:34 Step 10/15 : ENV GO111MODULE=on 13:28:34 ---> Running in 1be417443288 13:28:34 Removing intermediate container 1be417443288 13:28:34 ---> 030866edbf3c 13:28:34 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 13:28:34 ---> Running in 2fb0024cbc60 13:28:34 Still waiting to schedule task 13:28:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:28:34 Removing intermediate container 2fb0024cbc60 13:28:34 ---> 170b3c322326 13:28:34 Step 12/15 : COPY go.mod vendor* ./ 13:28:34 ---> e946d5b66e77 13:28:34 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:34 ---> Running in 51748f6eea20 13:29:06 Removing intermediate container 51748f6eea20 13:29:06 ---> 5d0530872f3b 13:29:06 Step 14/15 : COPY . . 13:29:06 ---> 081c88aebdff 13:29:06 Step 15/15 : RUN ${MAKE} 13:29:06 ---> Running in 1964a94a3cd3 13:29:06 noop 13:29:06 Removing intermediate container 1964a94a3cd3 13:29:06 ---> e9b90ef1f6bb 13:29:06 Successfully built e9b90ef1f6bb 13:29:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:29:06 + docker inspect -f . ci-base-image-x86_64 13:29:06 . [Pipeline] withDockerContainer 13:29:06 prd-centos7-docker-4c-2g-6603 does not seem to be running inside a container 13:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-502 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502:/w/workspace/edgexfoundry_edgex-ui-go_PR-502:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@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 13:29:07 $ docker top fe19efcec23b2b82541cc921944d33cbf8e6ecb77defbb07e504e49e76210e8a -eo pid,comm [Pipeline] { [Pipeline] sh 13:29:07 + go version 13:29:07 go version go1.17.6 linux/amd64 [Pipeline] } 13:29:07 $ docker stop --time=1 fe19efcec23b2b82541cc921944d33cbf8e6ecb77defbb07e504e49e76210e8a 13:29:08 $ docker rm -f fe19efcec23b2b82541cc921944d33cbf8e6ecb77defbb07e504e49e76210e8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:29:09 + docker inspect -f . ci-base-image-x86_64 13:29:09 . [Pipeline] withDockerContainer 13:29:09 prd-centos7-docker-4c-2g-6603 does not seem to be running inside a container 13:29:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-502 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502:/w/workspace/edgexfoundry_edgex-ui-go_PR-502:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@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 13:29:10 $ docker top 6de41e155cffa669f6c7ca13474a22fe2b9816be9603bed9bdce9eba20b19e94 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:29:10 + make test 13:29:10 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:29:10 ? github.com/edgexfoundry/edgex-ui-go [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 13:29:23 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 13:29:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:29:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:29:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:29:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:29:26 $ docker stop --time=1 6de41e155cffa669f6c7ca13474a22fe2b9816be9603bed9bdce9eba20b19e94 13:29:28 $ docker rm -f 6de41e155cffa669f6c7ca13474a22fe2b9816be9603bed9bdce9eba20b19e94 [Pipeline] // withDockerContainer [Pipeline] sh 13:29:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:29:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:29:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:29:30 + ls -al . 13:29:30 total 112 13:29:30 drwxrwxr-x. 13 jenkins jenkins 4096 Mar 8 13:29 . 13:29:30 drwxrwxr-x. 4 jenkins jenkins 110 Mar 8 13:27 .. 13:29:30 drwxrwxr-x. 3 jenkins jenkins 20 Mar 8 13:27 assets 13:29:30 drwxrwxr-x. 2 jenkins jenkins 66 Mar 8 13:27 bin 13:29:30 drwxrwxr-x. 3 jenkins jenkins 29 Mar 8 13:27 cmd 13:29:30 -rw-rw-r--. 1 jenkins jenkins 3959 Mar 8 13:27 CONTRIBUTING.md 13:29:30 -rw-r--r--. 1 jenkins jenkins 10 Mar 8 13:29 coverage.out 13:29:30 -rw-rw-r--. 1 jenkins jenkins 1549 Mar 8 13:27 Dockerfile 13:29:30 drwxrwxr-x. 2 jenkins jenkins 23 Mar 8 13:27 docs 13:29:30 drwxrwxr-x. 8 jenkins jenkins 179 Mar 8 13:28 .git 13:29:30 drwxrwxr-x. 2 jenkins jenkins 103 Mar 8 13:27 .github 13:29:30 -rw-rw-r--. 1 jenkins jenkins 155 Mar 8 13:27 .gitignore 13:29:30 -rw-rw-r--. 1 jenkins jenkins 1944 Mar 8 13:27 go.mod 13:29:30 -rw-rw-r--. 1 jenkins jenkins 48565 Mar 8 13:27 go.sum 13:29:30 drwxrwxr-x. 9 jenkins jenkins 125 Mar 8 13:27 internal 13:29:30 -rw-rw-r--. 1 jenkins jenkins 652 Mar 8 13:27 Jenkinsfile 13:29:30 -rw-rw-r--. 1 jenkins jenkins 11357 Mar 8 13:27 LICENSE 13:29:30 -rw-rw-r--. 1 jenkins jenkins 1212 Mar 8 13:27 Makefile 13:29:30 drwxrwxr-x. 3 jenkins jenkins 19 Mar 8 13:27 pkg 13:29:30 -rw-rw-r--. 1 jenkins jenkins 4450 Mar 8 13:27 README.md 13:29:30 drwx------. 3 jenkins jenkins 56 Mar 8 13:28 .semver 13:29:30 drwxrwxr-x. 4 jenkins jenkins 71 Mar 8 13:27 snap 13:29:30 -rw-rw-r--. 1 jenkins jenkins 5 Mar 8 13:28 VERSION 13:29:30 -rw-rw-r--. 1 jenkins jenkins 155 Mar 8 13:27 version.go 13:29:30 drwxrwxr-x. 4 jenkins jenkins 4096 Mar 8 13:27 web [Pipeline] isUnix [Pipeline] sh 13:29:30 + 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=1af26f4b880d7eb609d302cccd50422aec1e723e --label arch=amd64 --label version=0.0.0 . 13:29:30 Sending build context to Docker daemon 42.36MB 13:29:30 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 13:29:30 Step 2/23 : FROM ${BASE} AS builder 13:29:30 ---> e9b90ef1f6bb 13:29:30 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 13:29:30 ---> Running in aa291e0d654d 13:29:30 Removing intermediate container aa291e0d654d 13:29:30 ---> fb657b1ff51a 13:29:30 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 13:29:30 ---> Running in 24ee395ade13 13:29:30 Removing intermediate container 24ee395ade13 13:29:30 ---> 396ed793e931 13:29:30 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 13:29:30 ---> Running in 6d989cfe1531 13:29:31 Removing intermediate container 6d989cfe1531 13:29:31 ---> 0220596e91e7 13:29:31 Step 6/23 : LABEL Name=edgex-ui-go 13:29:31 ---> Running in adf2609a0400 13:29:31 Removing intermediate container adf2609a0400 13:29:31 ---> 372908b7232e 13:29:31 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 13:29:31 ---> Running in a2a35419bc20 13:29:31 Removing intermediate container a2a35419bc20 13:29:31 ---> 6e12a1132860 13:29:31 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:29:31 ---> Running in dd5009d419d2 13:29:31 Removing intermediate container dd5009d419d2 13:29:31 ---> 39ed71d1d6ce 13:29:31 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:29:31 ---> Running in 68f202480c5e 13:29:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:29:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:29:33 OK: 221 MiB in 52 packages 13:29:33 Removing intermediate container 68f202480c5e 13:29:33 ---> 57291dc76407 13:29:33 Step 10/23 : ENV GO111MODULE=on 13:29:33 ---> Running in 8f7a69f42167 13:29:33 Removing intermediate container 8f7a69f42167 13:29:33 ---> 7810f1fa9adf 13:29:33 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 13:29:33 ---> Running in 562193ac6742 13:29:33 Removing intermediate container 562193ac6742 13:29:33 ---> dadf296e5dc2 13:29:33 Step 12/23 : COPY go.mod vendor* ./ 13:29:33 ---> 4ff5b3c1971d 13:29:33 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:29:33 ---> Running in 1e351b6e2ee0 13:29:34 Removing intermediate container 1e351b6e2ee0 13:29:34 ---> cf1f764e5416 13:29:34 Step 14/23 : COPY . . 13:29:35 ---> 838b54496fb8 13:29:35 Step 15/23 : RUN ${MAKE} 13:29:35 ---> Running in 838ee1f4ed6d 13:29:35 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 13:29:45 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:29:46 Removing intermediate container 838ee1f4ed6d 13:29:46 ---> 3384c94d1800 13:29:46 Step 16/23 : FROM alpine:3.14 13:29:46 3.14: Pulling from library/alpine 13:29:46 97518928ae5f: Pulling fs layer 13:29:46 97518928ae5f: Verifying Checksum 13:29:46 97518928ae5f: Download complete 13:29:47 97518928ae5f: Pull complete 13:29:47 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 13:29:47 Status: Downloaded newer image for alpine:3.14 13:29:47 ---> 0a97eee8041e 13:29:47 Step 17/23 : EXPOSE 4000 13:29:47 ---> Running in bb82ba7ba03d 13:29:47 Removing intermediate container bb82ba7ba03d 13:29:47 ---> e51b5856114a 13:29:47 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 13:29:48 ---> 91c9ca4a6f26 13:29:48 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 13:29:48 ---> Running in 460d935408da 13:29:48 Removing intermediate container 460d935408da 13:29:48 ---> bc163d8433b0 13:29:48 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 13:29:48 ---> Running in 5082c57e3062 13:29:48 Removing intermediate container 5082c57e3062 13:29:48 ---> f669f011093c 13:29:48 Step 21/23 : LABEL arch=amd64 13:29:48 ---> Running in d9500892335f 13:29:48 Removing intermediate container d9500892335f 13:29:48 ---> 745ef81f9b13 13:29:48 Step 22/23 : LABEL git_sha=1af26f4b880d7eb609d302cccd50422aec1e723e 13:29:48 ---> Running in f5f98052224d 13:29:48 Removing intermediate container f5f98052224d 13:29:48 ---> 59d248243f48 13:29:48 Step 23/23 : LABEL version=0.0.0 13:29:48 ---> Running in f38540d4550e 13:29:48 Removing intermediate container f38540d4550e 13:29:48 ---> ab0b33d3514a 13:29:48 [Warning] One or more build-args [ARCH] were not consumed 13:29:48 Successfully built ab0b33d3514a 13:29:48 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 13:29:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:49 13:29:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:29:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:49 latest: Pulling from edgex-lftools-log-publisher 13:29:49 5eb5b503b376: Pulling fs layer 13:29:49 5c69ac0246d0: Pulling fs layer 13:29:49 ec43610c2a17: Pulling fs layer 13:29:49 3a2ae6a8a46f: Pulling fs layer 13:29:49 33b1e0a273af: Pulling fs layer 13:29:49 5d3b04190fa2: Pulling fs layer 13:29:49 2f39f015ded8: Pulling fs layer 13:29:49 3a2ae6a8a46f: Waiting 13:29:49 33b1e0a273af: Waiting 13:29:49 5d3b04190fa2: Waiting 13:29:49 2f39f015ded8: Waiting 13:29:49 5c69ac0246d0: Verifying Checksum 13:29:49 5c69ac0246d0: Download complete 13:29:49 3a2ae6a8a46f: Verifying Checksum 13:29:49 3a2ae6a8a46f: Download complete 13:29:49 33b1e0a273af: Verifying Checksum 13:29:49 33b1e0a273af: Download complete 13:29:49 5d3b04190fa2: Verifying Checksum 13:29:49 5d3b04190fa2: Download complete 13:29:49 ec43610c2a17: Verifying Checksum 13:29:49 ec43610c2a17: Download complete 13:29:49 5eb5b503b376: Verifying Checksum 13:29:49 5eb5b503b376: Download complete 13:29:50 2f39f015ded8: Download complete 13:29:51 5eb5b503b376: Pull complete 13:29:51 5c69ac0246d0: Pull complete 13:29:52 ec43610c2a17: Pull complete 13:29:52 3a2ae6a8a46f: Pull complete 13:29:52 33b1e0a273af: Pull complete 13:29:52 5d3b04190fa2: Pull complete 13:29:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6604 in /w/workspace/edgexfoundry_edgex-ui-go_PR-502 [Pipeline] { [Pipeline] ws 13:29:56 Running in /w/workspace/edgex-ui-go/1 [Pipeline] { [Pipeline] checkout 13:29:56 The recommended git tool is: git 13:29:57 2f39f015ded8: Pull complete 13:29:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:29:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:29:57 prd-centos7-docker-4c-2g-6603 does not seem to be running inside a container 13:29:57 $ 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-502 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502:/w/workspace/edgexfoundry_edgex-ui-go_PR-502:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@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 13:30:00 $ docker top d20a739b08e6d3ea6d0da0b537aee56805b43bab4690ac1cb2c8955fa48d79e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:00 ---> job-cost.sh 13:30:00 lf-activate-venv: SKIPPING 13:30:00 INFO: No Stack... 13:30:01 INFO: Retrieving Pricing Info for: v3-standard-2 13:30:01 using credential edgex-jenkins-ssh 13:30:01 Cloning the remote Git repository 13:30:01 INFO: Archiving Costs 13:30:01 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git [Pipeline] sh 13:30:01 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-502/archives/cost.csv 13:30:01 + cut -d, -f6 [Pipeline] lock 13:30:02 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] 13:30:02 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] did not exist. Created. 13:30:02 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:30:02 + echo total: 0.05999999865889549 [Pipeline] stash 13:30:02 Stashed 1 file(s) [Pipeline] } 13:30:02 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:30:02 $ docker stop --time=1 d20a739b08e6d3ea6d0da0b537aee56805b43bab4690ac1cb2c8955fa48d79e5 13:30:01 > git init /w/workspace/edgex-ui-go/1 # timeout=10 13:30:01 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 13:30:01 > git --version # timeout=10 13:30:01 > git --version # 'git version 2.17.1' 13:30:01 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:30:03 $ docker rm -f d20a739b08e6d3ea6d0da0b537aee56805b43bab4690ac1cb2c8955fa48d79e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:30:05 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 13:30:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:30:05 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 13:30:05 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 13:30:05 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:30:05 Merging remotes/origin/main commit 246039579fefe65770a4c1017b136de77c7f7cec into PR head commit 1af26f4b880d7eb609d302cccd50422aec1e723e 13:30:06 Merge succeeded, producing 1af26f4b880d7eb609d302cccd50422aec1e723e 13:30:06 Checking out Revision 1af26f4b880d7eb609d302cccd50422aec1e723e (PR-502) 13:30:06 > git config core.sparsecheckout # timeout=10 13:30:06 > git checkout -f 1af26f4b880d7eb609d302cccd50422aec1e723e # timeout=10 13:30:06 > git remote # timeout=10 13:30:06 > git config --get remote.origin.url # timeout=10 13:30:06 using GIT_SSH to set credentials SSH Credentials for GitHub 13:30:06 > git merge 246039579fefe65770a4c1017b136de77c7f7cec # timeout=10 13:30:06 > git rev-parse HEAD^{commit} # timeout=10 13:30:06 > git config core.sparsecheckout # timeout=10 13:30:06 > git checkout -f 1af26f4b880d7eb609d302cccd50422aec1e723e # timeout=10 13:30:10 Commit message: "feat: update the build artifact of GUI" 13:30:11 > git --version # timeout=10 13:30:11 > git --version # 'git version 2.17.1' 13:30:11 fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:30:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:30:12 % Total % Received % Xferd Average Speed Time Time Time Current 13:30:12 Dload Upload Total Spent Left Speed 13:30:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45030 0 --:--:-- --:--:-- --:--:-- 45030 [Pipeline] sh 13:30:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:30:13 + sudo tee /etc/docker/daemon.new 13:30:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:30:13 { 13:30:13 "registry-mirrors": [ 13:30:13 "https://nexus3.edgexfoundry.org:10001" 13:30:13 ], 13:30:13 "bip": "10.250.0.254/24", 13:30:13 "hosts": [ 13:30:13 "tcp://0.0.0.0:5555", 13:30:13 "unix:///var/run/docker.sock" 13:30:13 ], 13:30:13 "mtu": 1458, 13:30:13 "selinux-enabled": true, 13:30:13 "seccomp-profile": "/etc/docker/seccomp.json" 13:30:13 } [Pipeline] sh 13:30:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:30:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:30:32 provisioning config files... 13:30:32 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/1@tmp/config6372771480143705529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:32 ---> docker-login.sh 13:30:32 nexus3.edgexfoundry.org:10001 13:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:33 Configure a credential helper to remove this warning. See 13:30:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:33 13:30:33 Login Succeeded 13:30:33 nexus3.edgexfoundry.org:10002 13:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:34 Configure a credential helper to remove this warning. See 13:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:34 13:30:34 Login Succeeded 13:30:34 nexus3.edgexfoundry.org:10003 13:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:34 Configure a credential helper to remove this warning. See 13:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:34 13:30:34 Login Succeeded 13:30:34 nexus3.edgexfoundry.org:10004 13:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:34 Configure a credential helper to remove this warning. See 13:30:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:34 13:30:35 Login Succeeded 13:30:35 docker.io 13:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:30:35 Configure a credential helper to remove this warning. See 13:30:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:30:35 13:30:35 Login Succeeded 13:30:35 ---> docker-login.sh ends [Pipeline] } 13:30:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:30:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:30:36 ========================================================= 13:30:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:30:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:30:36 + 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 . 13:30:37 Sending build context to Docker daemon 27.12MB 13:30:37 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 13:30:37 Step 2/15 : FROM ${BASE} AS builder 13:30:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:30:37 9b3977197b4f: Pulling fs layer 13:30:37 1a89e8eeedd5: Pulling fs layer 13:30:37 94645a83ff95: Pulling fs layer 13:30:37 3f3a8bcf1eab: Pulling fs layer 13:30:37 0c92f367c5e7: Pulling fs layer 13:30:37 f7c0051592d6: Pulling fs layer 13:30:37 a227ed2f7395: Pulling fs layer 13:30:37 7b1c46037f91: Pulling fs layer 13:30:37 3f3a8bcf1eab: Waiting 13:30:37 0c92f367c5e7: Waiting 13:30:37 f7c0051592d6: Waiting 13:30:37 a227ed2f7395: Waiting 13:30:37 7b1c46037f91: Waiting 13:30:37 94645a83ff95: Verifying Checksum 13:30:37 94645a83ff95: Download complete 13:30:37 1a89e8eeedd5: Download complete 13:30:37 0c92f367c5e7: Verifying Checksum 13:30:37 0c92f367c5e7: Download complete 13:30:37 f7c0051592d6: Verifying Checksum 13:30:37 f7c0051592d6: Download complete 13:30:37 9b3977197b4f: Verifying Checksum 13:30:37 9b3977197b4f: Download complete 13:30:37 a227ed2f7395: Verifying Checksum 13:30:37 a227ed2f7395: Download complete 13:30:38 9b3977197b4f: Pull complete 13:30:39 1a89e8eeedd5: Pull complete 13:30:39 94645a83ff95: Pull complete 13:30:39 7b1c46037f91: Verifying Checksum 13:30:39 7b1c46037f91: Download complete 13:30:40 3f3a8bcf1eab: Verifying Checksum 13:30:40 3f3a8bcf1eab: Download complete 13:30:52 3f3a8bcf1eab: Pull complete 13:30:52 0c92f367c5e7: Pull complete 13:30:52 f7c0051592d6: Pull complete 13:30:52 a227ed2f7395: Pull complete 13:30:58 7b1c46037f91: Pull complete 13:30:58 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 13:30:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:30:58 ---> f79e39bc4007 13:30:58 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 13:31:00 ---> Running in e5ed3e2ca9d0 13:31:00 Removing intermediate container e5ed3e2ca9d0 13:31:00 ---> fc3770d52be4 13:31:00 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 13:31:00 ---> Running in 69e3db053f9b 13:31:00 Removing intermediate container 69e3db053f9b 13:31:00 ---> d2075127c18b 13:31:00 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 13:31:00 ---> Running in 8049f7f1a83d 13:31:01 Removing intermediate container 8049f7f1a83d 13:31:01 ---> b5cc13fe1d3c 13:31:01 Step 6/15 : LABEL Name=edgex-ui-go 13:31:01 ---> Running in 01a35162def1 13:31:01 Removing intermediate container 01a35162def1 13:31:01 ---> e3332df94177 13:31:01 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 13:31:01 ---> Running in b071020ae22e 13:31:02 Removing intermediate container b071020ae22e 13:31:02 ---> 041f313ddf53 13:31:02 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:31:02 ---> Running in d54d4b6a6486 13:31:04 Removing intermediate container d54d4b6a6486 13:31:04 ---> 7623bb008890 13:31:04 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:31:04 ---> Running in c9f0eb4b38d0 13:31:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:31:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:31:06 OK: 220 MiB in 52 packages 13:31:07 Removing intermediate container c9f0eb4b38d0 13:31:07 ---> beece765b28e 13:31:07 Step 10/15 : ENV GO111MODULE=on 13:31:07 ---> Running in 7330277065c6 13:31:08 Removing intermediate container 7330277065c6 13:31:08 ---> fe1fb1805dfc 13:31:08 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 13:31:08 ---> Running in 626f1b65bbef 13:31:08 Removing intermediate container 626f1b65bbef 13:31:08 ---> d61d3ed04222 13:31:08 Step 12/15 : COPY go.mod vendor* ./ 13:31:09 ---> c8cc97a640a8 13:31:09 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:31:09 ---> Running in 52d4cd216e0b 13:32:31 Removing intermediate container 52d4cd216e0b 13:32:31 ---> d2561170d771 13:32:31 Step 14/15 : COPY . . 13:32:31 ---> 7976c9fac403 13:32:31 Step 15/15 : RUN ${MAKE} 13:32:31 ---> Running in 156efe62d537 13:32:31 noop 13:32:31 Removing intermediate container 156efe62d537 13:32:31 ---> 2ec551c44522 13:32:31 Successfully built 2ec551c44522 13:32:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:32:31 + docker inspect -f . ci-base-image-arm64 13:32:31 . [Pipeline] withDockerContainer 13:32:31 prd-ubuntu18.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container 13:32:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:32:33 $ docker top 0c572b2ae72f907315897e26b30b736426c9217c6fea306cbc29ca72b3aedafc -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:34 + go version 13:32:34 go version go1.17.6 linux/arm64 [Pipeline] } 13:32:34 $ docker stop --time=1 0c572b2ae72f907315897e26b30b736426c9217c6fea306cbc29ca72b3aedafc 13:32:35 $ docker rm -f 0c572b2ae72f907315897e26b30b736426c9217c6fea306cbc29ca72b3aedafc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:32:36 + docker inspect -f . ci-base-image-arm64 13:32:36 . [Pipeline] withDockerContainer 13:32:36 prd-ubuntu18.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container 13:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:32:38 $ docker top 7afb5bae2cb47615fdd7d6f37f8a6c9cf38b5857a95e8dc5b7e7d2e628961267 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:32:39 + make test 13:32:39 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:32:40 ? github.com/edgexfoundry/edgex-ui-go [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 13:33:19 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 13:33:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 13:33:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:33:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 13:33:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:33:31 $ docker stop --time=1 7afb5bae2cb47615fdd7d6f37f8a6c9cf38b5857a95e8dc5b7e7d2e628961267 13:33:33 $ docker rm -f 7afb5bae2cb47615fdd7d6f37f8a6c9cf38b5857a95e8dc5b7e7d2e628961267 [Pipeline] // withDockerContainer [Pipeline] sh 13:33:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:33:34 Warning: overwriting stash ‘coverage-report’ 13:33:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:33:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:33:35 + ls -al . 13:33:35 total 152 13:33:35 drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 13:32 . 13:33:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 13:30 .. 13:33:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 13:30 .git 13:33:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 13:30 .github 13:33:35 -rw-rw-r-- 1 jenkins jenkins 155 Mar 8 13:30 .gitignore 13:33:35 -rw-rw-r-- 1 jenkins jenkins 3959 Mar 8 13:30 CONTRIBUTING.md 13:33:35 -rw-rw-r-- 1 jenkins jenkins 1549 Mar 8 13:30 Dockerfile 13:33:35 -rw-rw-r-- 1 jenkins jenkins 652 Mar 8 13:30 Jenkinsfile 13:33:35 -rw-rw-r-- 1 jenkins jenkins 11357 Mar 8 13:30 LICENSE 13:33:35 -rw-rw-r-- 1 jenkins jenkins 1212 Mar 8 13:30 Makefile 13:33:35 -rw-rw-r-- 1 jenkins jenkins 4450 Mar 8 13:30 README.md 13:33:35 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 13:28 VERSION 13:33:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 13:30 assets 13:33:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 13:30 bin 13:33:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 13:30 cmd 13:33:35 -rw-r--r-- 1 jenkins jenkins 10 Mar 8 13:32 coverage.out 13:33:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 13:30 docs 13:33:35 -rw-rw-r-- 1 jenkins jenkins 1944 Mar 8 13:30 go.mod 13:33:35 -rw-rw-r-- 1 jenkins jenkins 48565 Mar 8 13:30 go.sum 13:33:35 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 13:30 internal 13:33:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 13:30 pkg 13:33:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 13:30 snap 13:33:35 -rw-rw-r-- 1 jenkins jenkins 155 Mar 8 13:30 version.go 13:33:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 13:30 web [Pipeline] isUnix [Pipeline] sh 13:33:36 + 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=1af26f4b880d7eb609d302cccd50422aec1e723e --label arch=arm64 --label version=0.0.0 . 13:33:37 Sending build context to Docker daemon 27.12MB 13:33:37 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 13:33:37 Step 2/23 : FROM ${BASE} AS builder 13:33:37 ---> 2ec551c44522 13:33:37 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 13:33:37 ---> Running in be6dc59ba541 13:33:37 Removing intermediate container be6dc59ba541 13:33:37 ---> 33ab603e94f8 13:33:37 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 13:33:37 ---> Running in 9964999b3944 13:33:38 Removing intermediate container 9964999b3944 13:33:38 ---> e0d545662e97 13:33:38 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 13:33:38 ---> Running in 12afca7ed6b1 13:33:38 Removing intermediate container 12afca7ed6b1 13:33:38 ---> 8b4566d31eac 13:33:38 Step 6/23 : LABEL Name=edgex-ui-go 13:33:38 ---> Running in fefa443f828d 13:33:38 Removing intermediate container fefa443f828d 13:33:38 ---> f1cae4af5e27 13:33:38 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 13:33:39 ---> Running in 52ca0eb2b093 13:33:39 Removing intermediate container 52ca0eb2b093 13:33:39 ---> 7fbcd3f3b413 13:33:39 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:33:39 ---> Running in fe0bb6ff448e 13:33:41 Removing intermediate container fe0bb6ff448e 13:33:41 ---> a26406fe6b79 13:33:41 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:33:41 ---> Running in 50376c045b7e 13:33:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:33:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:33:43 OK: 220 MiB in 52 packages 13:33:44 Removing intermediate container 50376c045b7e 13:33:44 ---> 8b546b12628c 13:33:44 Step 10/23 : ENV GO111MODULE=on 13:33:44 ---> Running in 1047b9d0d6a9 13:33:45 Removing intermediate container 1047b9d0d6a9 13:33:45 ---> 86f65c9553a1 13:33:45 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 13:33:45 ---> Running in f9780b9f94e2 13:33:45 Removing intermediate container f9780b9f94e2 13:33:45 ---> e304e7b4547c 13:33:45 Step 12/23 : COPY go.mod vendor* ./ 13:33:46 ---> de27fec1203a 13:33:46 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:33:46 ---> Running in 7835da8fc1af 13:33:48 Removing intermediate container 7835da8fc1af 13:33:48 ---> 62dc7a7620ef 13:33:48 Step 14/23 : COPY . . 13:33:51 ---> 03c56d4f20df 13:33:51 Step 15/23 : RUN ${MAKE} 13:33:51 ---> Running in 64656597dcfb 13:33:52 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 13:34:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 13:34:26 Removing intermediate container 64656597dcfb 13:34:26 ---> beba66501384 13:34:26 Step 16/23 : FROM alpine:3.14 13:34:27 3.14: Pulling from library/alpine 13:34:27 be307f383ecc: Pulling fs layer 13:34:27 be307f383ecc: Verifying Checksum 13:34:27 be307f383ecc: Download complete 13:34:28 be307f383ecc: Pull complete 13:34:28 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 13:34:28 Status: Downloaded newer image for alpine:3.14 13:34:28 ---> 5b8b7b635229 13:34:28 Step 17/23 : EXPOSE 4000 13:34:28 ---> Running in 5ba3e975f1bb 13:34:28 Removing intermediate container 5ba3e975f1bb 13:34:28 ---> 1a2d7801eef1 13:34:28 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 13:34:30 ---> 77a75c9126a0 13:34:30 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 13:34:30 ---> Running in 76a8f93e472b 13:34:30 Removing intermediate container 76a8f93e472b 13:34:30 ---> 95030a35f816 13:34:30 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 13:34:30 ---> Running in 57d4c312fc03 13:34:30 Removing intermediate container 57d4c312fc03 13:34:30 ---> 59056fa37fab 13:34:30 Step 21/23 : LABEL arch=arm64 13:34:30 ---> Running in 6799cd79d67f 13:34:31 Removing intermediate container 6799cd79d67f 13:34:31 ---> 6330781049c6 13:34:31 Step 22/23 : LABEL git_sha=1af26f4b880d7eb609d302cccd50422aec1e723e 13:34:31 ---> Running in cd25e8fbdcff 13:34:31 Removing intermediate container cd25e8fbdcff 13:34:31 ---> c1a90b67b9c9 13:34:31 Step 23/23 : LABEL version=0.0.0 13:34:31 ---> Running in a3a0d107def6 13:34:32 Removing intermediate container a3a0d107def6 13:34:32 ---> 586c187bcbb8 13:34:32 [Warning] One or more build-args [ARCH] were not consumed 13:34:32 Successfully built 586c187bcbb8 13:34:32 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 13:34:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:33 13:34:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:33 arm64: Pulling from edgex-lftools-log-publisher 13:34:33 8998bd30e6a1: Pulling fs layer 13:34:33 04944245beec: Pulling fs layer 13:34:33 699f458cf7ca: Pulling fs layer 13:34:33 765212b225bb: Pulling fs layer 13:34:33 f23df028b6ca: Pulling fs layer 13:34:33 d65c8cfc05b1: Pulling fs layer 13:34:33 2437ff75d9bd: Pulling fs layer 13:34:33 f23df028b6ca: Waiting 13:34:33 d65c8cfc05b1: Waiting 13:34:33 2437ff75d9bd: Waiting 13:34:33 765212b225bb: Waiting 13:34:33 04944245beec: Download complete 13:34:33 765212b225bb: Verifying Checksum 13:34:33 765212b225bb: Download complete 13:34:33 f23df028b6ca: Verifying Checksum 13:34:33 f23df028b6ca: Download complete 13:34:33 d65c8cfc05b1: Verifying Checksum 13:34:33 d65c8cfc05b1: Download complete 13:34:33 699f458cf7ca: Verifying Checksum 13:34:33 699f458cf7ca: Download complete 13:34:34 8998bd30e6a1: Verifying Checksum 13:34:34 8998bd30e6a1: Download complete 13:34:36 2437ff75d9bd: Verifying Checksum 13:34:36 2437ff75d9bd: Download complete 13:34:38 8998bd30e6a1: Pull complete 13:34:38 04944245beec: Pull complete 13:34:40 699f458cf7ca: Pull complete 13:34:40 765212b225bb: Pull complete 13:34:41 f23df028b6ca: Pull complete 13:34:41 d65c8cfc05b1: Pull complete 13:34:56 2437ff75d9bd: Pull complete 13:34:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:34:56 prd-ubuntu18.04-docker-arm64-4c-16g-6604 does not seem to be running inside a container 13:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-ui-go/1 -v /w/workspace/edgex-ui-go/1:/w/workspace/edgex-ui-go/1:rw,z -v /w/workspace/edgex-ui-go/1@tmp:/w/workspace/edgex-ui-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:34:59 $ docker top 42ba157fb05af7fb69bd9f47de8638fc69204a6fc0f7b07200b119e981788b19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:00 ---> job-cost.sh 13:35:00 lf-activate-venv: SKIPPING 13:35:00 INFO: No Stack... 13:35:00 INFO: Retrieving Pricing Info for: v3-standard-4 13:35:01 INFO: Archiving Costs [Pipeline] sh 13:35:02 + cat /w/workspace/edgex-ui-go/1/archives/cost.csv 13:35:02 + cut -d, -f6 [Pipeline] lock 13:35:02 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] 13:35:02 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] did not exist. Created. 13:35:02 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:35:03 /w/workspace/edgex-ui-go/1@tmp/durable-e17f3853/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:35:03 + echo total: 0.10999999940395355 [Pipeline] stash 13:35:03 Warning: overwriting stash ‘stack-cost’ 13:35:04 Stashed 1 file(s) [Pipeline] } 13:35:04 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:35:04 $ docker stop --time=1 42ba157fb05af7fb69bd9f47de8638fc69204a6fc0f7b07200b119e981788b19 13:35:05 $ docker rm -f 42ba157fb05af7fb69bd9f47de8638fc69204a6fc0f7b07200b119e981788b19 [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 13:35:06 provisioning config files... 13:35:06 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/config1719310035335224505tmp [Pipeline] { [Pipeline] sh 13:35:07 + set +x 13:35:07 + bash -s -- 13:35:07 + curl -s https://codecov.io/bash 13:35:07 13:35:07 _____ _ 13:35:07 / ____| | | 13:35:07 | | ___ __| | ___ ___ _____ __ 13:35:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:35:07 | |___| (_) | (_| | __/ (_| (_) \ V / 13:35:07 \_____\___/ \__,_|\___|\___\___/ \_/ 13:35:07 Bash-1.0.6 13:35:07 13:35:07 13:35:07 ==> git version 2.24.4 found 13:35:07 ==> 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 13:35:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 13:35:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 13:35:07 ==> Jenkins CI detected. 13:35:07 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-502 13:35:07 project root: . 13:35:07 --> token set from env 13:35:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:35:07 ==> Running gcov in . (disable via -X gcov) 13:35:07 ==> Python coveragepy not found 13:35:07 ==> Searching for coverage reports in: 13:35:07 + . 13:35:07 -> Found 1 reports 13:35:07 ==> Detecting git/mercurial file structure 13:35:07 ==> Reading reports 13:35:07 + ./coverage.out bytes=10 13:35:07 ==> Appending adjustments 13:35:07 https://docs.codecov.io/docs/fixing-reports 13:35:07 + Found adjustments 13:35:07 ==> Gzipping contents 13:35:07 4.0K /tmp/codecov.tLCL6o.gz 13:35:07 ==> Uploading reports 13:35:07 url: https://codecov.io 13:35:07 query: branch=PR-502&commit=1af26f4b880d7eb609d302cccd50422aec1e723e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=502&job=&cmd_args= 13:35:07 -> Pinging Codecov 13:35:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-502&commit=1af26f4b880d7eb609d302cccd50422aec1e723e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=502&job=&cmd_args= 13:35:07 -> Uploading to 13:35:07 https://storage.googleapis.com/codecov/v4/raw/2022-03-08/FB506323287CE973F263BFD2A0EB1F37/1af26f4b880d7eb609d302cccd50422aec1e723e/82d445ae-ff9d-497c-bbf1-4c9334e269ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220308T133507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16035243a3c3455b597f4346ef9b4a3f510c2946412fd77a54c38f51fa98bda5 13:35:07 % Total % Received % Xferd Average Speed Time Time Time Current 13:35:07 Dload Upload Total Spent Left Speed 13:35:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3960 0 0 100 3960 0 11596 --:--:-- --:--:-- --:--:-- 11578 13:35:08 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/1af26f4b880d7eb609d302cccd50422aec1e723e [Pipeline] } 13:35:08 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 13:35:09 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-502/archives ']' 13:35:09 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-502/archives 13:35:09 total 8 13:35:09 drwxr-xr-x. 3 root root 34 Mar 8 13:30 . 13:35:09 drwxrwxr-x. 14 jenkins jenkins 4096 Mar 8 13:30 .. 13:35:09 drwxr-xr-x. 2 root root 6 Mar 8 13:30 cost 13:35:09 -rw-r--r--. 1 root root 82 Mar 8 13:30 cost.csv 13:35:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-502/archives 13:35:09 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-502/archives 13:35:09 total 8 13:35:09 drwxr-xr-x. 3 jenkins jenkins 34 Mar 8 13:30 . 13:35:09 drwxrwxr-x. 14 jenkins jenkins 4096 Mar 8 13:30 .. 13:35:09 drwxr-xr-x. 2 jenkins jenkins 6 Mar 8 13:30 cost 13:35:09 -rw-r--r--. 1 jenkins jenkins 82 Mar 8 13:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:35:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:35:10 ---> package-listing.sh 13:35:10 ++ facter osfamily 13:35:10 ++ tr '[:upper:]' '[:lower:]' 13:35:11 + OS_FAMILY=redhat 13:35:11 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-502 13:35:11 + START_PACKAGES=/tmp/packages_start.txt 13:35:11 + END_PACKAGES=/tmp/packages_end.txt 13:35:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:35:11 + PACKAGES=/tmp/packages_start.txt 13:35:11 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-502 ']' 13:35:11 + PACKAGES=/tmp/packages_end.txt 13:35:11 + case "${OS_FAMILY}" in 13:35:11 + rpm -qa 13:35:11 + sort 13:35:11 + '[' -f /tmp/packages_start.txt ']' 13:35:11 + '[' -f /tmp/packages_end.txt ']' 13:35:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:35:11 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-502 ']' 13:35:11 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-502/archives/ 13:35:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-502/archives/ [Pipeline] echo 13:35:11 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-502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:35:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:35:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:12 . [Pipeline] withDockerContainer 13:35:12 prd-centos7-docker-4c-2g-6603 does not seem to be running inside a container 13:35:12 $ 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-502/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-502 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502:/w/workspace/edgexfoundry_edgex-ui-go_PR-502:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@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 13:35:12 $ docker top e6d5577782d164d5739d5ef2aa7041fc19fd537c545c2dcd0370de50ce83f27e -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:13 + touch /tmp/pre-build-complete [Pipeline] sh 13:35:13 + mkdir -p /var/log/sysstat [Pipeline] sh 13:35:13 + ls /var/log/sa-host 13:35:13 + sadf -c /var/log/sa-host/sa08 13:35:13 file_magic: OK 13:35:13 HZ: Using current value: 100 13:35:13 file_header: OK 13:35:13 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 13:35:13 Statistics: 13:35:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:35:13 File successfully converted to sysstat format version 12.5.2 13:35:13 + sadf -c /var/log/sa-host/sa17 13:35:13 file_magic: OK 13:35:13 HZ: Using current value: 100 13:35:13 file_header: OK 13:35:13 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 13:35:13 Statistics: 13:35:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:35:13 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:14 provisioning config files... 13:35:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-502@tmp/config8175743587716088448tmp [Pipeline] { [Pipeline] echo 13:35:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:35:14 ---> create-netrc.sh [Pipeline] } 13:35:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:35:15 ---> python-tools-install.sh [Pipeline] echo 13:35:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:35:15 ---> sudo-logs.sh 13:35:15 Archiving 'sudo' log.. 13:35:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-6603.novalocal: Name or service not known 13:35:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-6603.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 13:35:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:35:15 ---> job-cost.sh 13:35:15 lf-activate-venv: SKIPPING 13:35:15 DEBUG: total: 0.05999999865889549 13:35:15 INFO: Retrieving Stack Cost... 13:35:16 INFO: Retrieving Pricing Info for: v3-standard-2 13:35:16 INFO: Archiving Costs [Pipeline] echo 13:35:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:35:17 ---> logs-deploy.sh 13:35:17 lf-activate-venv: SKIPPING 13:35:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-502/1 13:35:17 INFO: archiving workspace using pattern(s): 13:35:17 Archives upload complete. 13:35:17 INFO: archiving logs to Nexus