Pull request #498 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d2e543491d5fb47498c057d659800ab687f38f5+8d7b00626af3583744669d29e95c77c5f4d97e7c (a902418bb600b7024fda1fa96e83198d304ebe4e) 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-ssh16244599916116618854.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-ssh9819429190213065466.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-498/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-498/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh205116465347256469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11699745392503919521.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-498/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-ui-go/branches/PR-498/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10718533462492249016.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:edgex-ui-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5479 in /w/workspace/edgexfoundry_edgex-ui-go_PR-498 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git > git init /w/workspace/edgexfoundry_edgex-ui-go_PR-498 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/jenkins-gitclient-ssh6634500277298577042.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/jenkins-gitclient-ssh3210775865916260857.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8d7b00626af3583744669d29e95c77c5f4d97e7c into PR head commit 2d2e543491d5fb47498c057d659800ab687f38f5 Merge succeeded, producing 2d2e543491d5fb47498c057d659800ab687f38f5 Checking out Revision 2d2e543491d5fb47498c057d659800ab687f38f5 (PR-498) > git config core.sparsecheckout # timeout=10 > git checkout -f 2d2e543491d5fb47498c057d659800ab687f38f5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/jenkins-gitclient-ssh1374176298917525539.key > git merge 8d7b00626af3583744669d29e95c77c5f4d97e7c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d2e543491d5fb47498c057d659800ab687f38f5 # timeout=10 Commit message: "chore(deps): Bump follow-redirects from 1.14.7 to 1.14.8 in /web" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:06:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:06:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:06:00 ========================================================= 07:06:00 EdgeX Global Pipelines Version Info 07:06:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f900a593b51e59de29e91eca5b65e45f3d42ffb1 # timeout=10 07:06:01 ------------------- 07:06:01 stable info: 07:06:01 ------------------- 07:06:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:06:01 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 07:06:01 Message: update stable to v1.0.220 07:06:01 ------------------- 07:06:01 experimental info: 07:06:01 ------------------- 07:06:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:06:01 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 07:06:01 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-498 [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-498 [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-498 [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d2e543491d5fb47498c057d659800ab687f38f5 [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d2e543 [Pipeline] echo 07:06:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:06:02 provisioning config files... 07:06:02 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config4828916700119398809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:02 ---> docker-login.sh 07:06:02 nexus3.edgexfoundry.org:10001 07:06:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:03 Configure a credential helper to remove this warning. See 07:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:03 07:06:03 Login Succeeded 07:06:03 nexus3.edgexfoundry.org:10002 07:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:03 Configure a credential helper to remove this warning. See 07:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:03 07:06:03 Login Succeeded 07:06:03 nexus3.edgexfoundry.org:10003 07:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:03 Configure a credential helper to remove this warning. See 07:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:03 07:06:03 Login Succeeded 07:06:03 nexus3.edgexfoundry.org:10004 07:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:03 Configure a credential helper to remove this warning. See 07:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:03 07:06:03 Login Succeeded 07:06:03 docker.io 07:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:03 Configure a credential helper to remove this warning. See 07:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:03 07:06:03 Login Succeeded 07:06:03 ---> docker-login.sh ends [Pipeline] } 07:06:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:06:04 + git rev-list -1 --merges 2d2e543491d5fb47498c057d659800ab687f38f5~1..2d2e543491d5fb47498c057d659800ab687f38f5 [Pipeline] echo 07:06:04 -----------> git rev-list -1 --merges 2d2e543491d5fb47498c057d659800ab687f38f5~1..2d2e543491d5fb47498c057d659800ab687f38f5 2d2e543491d5fb47498c057d659800ab687f38f5 [false] [Pipeline] sh 07:06:04 + git log --format=format:%s -1 2d2e543491d5fb47498c057d659800ab687f38f5 [Pipeline] echo 07:06:04 ========================================================= 07:06:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:06:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:06:04 + git log --format=format:%s -1 2d2e543491d5fb47498c057d659800ab687f38f5 [Pipeline] echo 07:06:04 [semverPrep] GIT_COMMIT: 2d2e543491d5fb47498c057d659800ab687f38f5, Commit Message: chore(deps): Bump follow-redirects from 1.14.7 to 1.14.8 in /web [Pipeline] echo 07:06:04 [semverPrep] This is not a build commit. [Pipeline] sh 07:06:05 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 07:06:05 + grep -v github /etc/ssh/ssh_known_hosts 07:06:05 + '[' -e /tmp/ssh_known_hosts ']' 07:06:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:06:05 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 07:06:05 + sudo tee -a /etc/ssh/ssh_known_hosts 07:06:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:06:05 07:06:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:06:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:06:05 latest: Pulling from edgex-devops/git-semver 07:06:05 a0d0a0d46f8b: Pulling fs layer 07:06:05 3e5f54012d9b: Pulling fs layer 07:06:05 4c7163046ea9: Pulling fs layer 07:06:05 0c2d73faf560: Pulling fs layer 07:06:05 0c2d73faf560: Waiting 07:06:05 3e5f54012d9b: Verifying Checksum 07:06:05 3e5f54012d9b: Download complete 07:06:05 a0d0a0d46f8b: Verifying Checksum 07:06:05 a0d0a0d46f8b: Download complete 07:06:05 0c2d73faf560: Verifying Checksum 07:06:05 0c2d73faf560: Download complete 07:06:05 4c7163046ea9: Verifying Checksum 07:06:05 4c7163046ea9: Download complete 07:06:06 a0d0a0d46f8b: Pull complete 07:06:06 3e5f54012d9b: Pull complete 07:06:06 4c7163046ea9: Pull complete 07:06:06 0c2d73faf560: Pull complete 07:06:06 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:06:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:06:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:06:06 prd-centos7-docker-4c-2g-5479 does not seem to be running inside a container 07:06:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:06:07 $ docker top 935757093da05d73977b8009b24ae0726eda571428c7bd7bccf0874db1b8d811 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:06:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:06:07 [ssh-agent] Looking for ssh-agent implementation... 07:06:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:06:07 $ docker exec 935757093da05d73977b8009b24ae0726eda571428c7bd7bccf0874db1b8d811 ssh-agent 07:06:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBEHEii/agent.15 07:06:07 SSH_AGENT_PID=21 07:06:07 Running ssh-add (command line suppressed) 07:06:07 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_8071120847954382677.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_8071120847954382677.key) 07:06:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:06:08 + git tag --points-at HEAD [Pipeline] } 07:06:08 $ docker exec --env ******** --env ******** 935757093da05d73977b8009b24ae0726eda571428c7bd7bccf0874db1b8d811 ssh-agent -k 07:06:08 unset SSH_AUTH_SOCK; 07:06:08 unset SSH_AGENT_PID; 07:06:08 echo Agent pid 21 killed; 07:06:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:06:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:06:08 [ssh-agent] Looking for ssh-agent implementation... 07:06:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:06:08 $ docker exec 935757093da05d73977b8009b24ae0726eda571428c7bd7bccf0874db1b8d811 ssh-agent 07:06:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMMjfkL/agent.56 07:06:08 SSH_AGENT_PID=63 07:06:08 Running ssh-add (command line suppressed) 07:06:08 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_832054279930934844.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/private_key_832054279930934844.key) 07:06:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:06:08 + git semver init 07:06:08 # -> Open(): unable to determine branch for HEAD 07:06:08 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-498/.git 07:06:08 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-498 07:06:08 # $SEMVER_REMOTE_NAME = origin 07:06:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:06:08 # $SEMVER_USER_NAME = edgex-jenkins 07:06:08 # $SEMVER_BRANCH = PR-498 07:06:08 # $SEMVER_TEMP = /tmp/semver-819240907 07:06:08 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 07:06:10 # '/tmp/semver-819240907' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-498/.semver' 07:06:10 # -> Force: false 07:06:10 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-498/.semver [Pipeline] } 07:06:10 $ docker exec --env ******** --env ******** 935757093da05d73977b8009b24ae0726eda571428c7bd7bccf0874db1b8d811 ssh-agent -k 07:06:11 unset SSH_AUTH_SOCK; 07:06:11 unset SSH_AGENT_PID; 07:06:11 echo Agent pid 63 killed; 07:06:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:06:11 + git semver [Pipeline] } 07:06:11 $ docker stop --time=1 935757093da05d73977b8009b24ae0726eda571428c7bd7bccf0874db1b8d811 07:06:12 $ docker rm -f 935757093da05d73977b8009b24ae0726eda571428c7bd7bccf0874db1b8d811 [Pipeline] // withDockerContainer [Pipeline] sh 07:06:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:06:13 Stashed 1 file(s) [Pipeline] echo 07:06:13 [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 07:06:13 provisioning config files... 07:06:13 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config7893043576328063518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:13 ---> docker-login.sh 07:06:13 nexus3.edgexfoundry.org:10001 07:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:13 Configure a credential helper to remove this warning. See 07:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:13 07:06:13 Login Succeeded 07:06:13 nexus3.edgexfoundry.org:10002 07:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:13 Configure a credential helper to remove this warning. See 07:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:13 07:06:13 Login Succeeded 07:06:13 nexus3.edgexfoundry.org:10003 07:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:13 Configure a credential helper to remove this warning. See 07:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:13 07:06:13 Login Succeeded 07:06:13 nexus3.edgexfoundry.org:10004 07:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:13 Configure a credential helper to remove this warning. See 07:06:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:13 07:06:13 Login Succeeded 07:06:13 docker.io 07:06:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:14 Configure a credential helper to remove this warning. See 07:06:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:14 07:06:14 Login Succeeded 07:06:14 ---> docker-login.sh ends [Pipeline] } 07:06:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:06:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:06:14 ========================================================= 07:06:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:06:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:06:14 + 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 . 07:06:15 Sending build context to Docker daemon 41.01MB 07:06:15 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 07:06:15 Step 2/15 : FROM ${BASE} AS builder 07:06:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:06:15 59bf1c3509f3: Pulling fs layer 07:06:15 666ba61612fd: Pulling fs layer 07:06:15 8ed8ca486205: Pulling fs layer 07:06:15 4fe6c5a15a65: Pulling fs layer 07:06:15 22a0e8bec74d: Pulling fs layer 07:06:15 640e595b4fbd: Pulling fs layer 07:06:15 763cafe07f6e: Pulling fs layer 07:06:15 0c0b528cf693: Pulling fs layer 07:06:15 10935f4eaf8b: Pulling fs layer 07:06:15 4fe6c5a15a65: Waiting 07:06:15 22a0e8bec74d: Waiting 07:06:15 640e595b4fbd: Waiting 07:06:15 763cafe07f6e: Waiting 07:06:15 0c0b528cf693: Waiting 07:06:15 10935f4eaf8b: Waiting 07:06:15 8ed8ca486205: Verifying Checksum 07:06:15 8ed8ca486205: Download complete 07:06:15 666ba61612fd: Verifying Checksum 07:06:15 666ba61612fd: Download complete 07:06:15 22a0e8bec74d: Verifying Checksum 07:06:15 22a0e8bec74d: Download complete 07:06:15 640e595b4fbd: Verifying Checksum 07:06:15 640e595b4fbd: Download complete 07:06:15 59bf1c3509f3: Verifying Checksum 07:06:15 59bf1c3509f3: Download complete 07:06:15 763cafe07f6e: Verifying Checksum 07:06:15 763cafe07f6e: Download complete 07:06:15 0c0b528cf693: Verifying Checksum 07:06:15 0c0b528cf693: Download complete 07:06:15 10935f4eaf8b: Verifying Checksum 07:06:15 10935f4eaf8b: Download complete 07:06:15 4fe6c5a15a65: Verifying Checksum 07:06:15 4fe6c5a15a65: Download complete 07:06:15 59bf1c3509f3: Pull complete 07:06:15 666ba61612fd: Pull complete 07:06:15 8ed8ca486205: Pull complete 07:06:20 4fe6c5a15a65: Pull complete 07:06:20 22a0e8bec74d: Pull complete 07:06:20 640e595b4fbd: Pull complete 07:06:20 763cafe07f6e: Pull complete 07:06:20 0c0b528cf693: Pull complete 07:06:22 10935f4eaf8b: Pull complete 07:06:22 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:06:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:06:22 ---> 99d49a6021b9 07:06:22 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:06:24 ---> Running in 37e7e912e3ce 07:06:24 Removing intermediate container 37e7e912e3ce 07:06:24 ---> 591fb74713d4 07:06:24 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 07:06:24 ---> Running in 2ae2e31c4d92 07:06:24 Removing intermediate container 2ae2e31c4d92 07:06:24 ---> 8c61db62e414 07:06:24 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 07:06:24 ---> Running in 4473c5a05dec 07:06:24 Removing intermediate container 4473c5a05dec 07:06:24 ---> 2ce5a42cd657 07:06:24 Step 6/15 : LABEL Name=edgex-ui-go 07:06:24 ---> Running in 51c39b445f5d 07:06:24 Removing intermediate container 51c39b445f5d 07:06:24 ---> 5563ae91379c 07:06:24 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:06:24 ---> Running in cf20c6072b5f 07:06:24 Removing intermediate container cf20c6072b5f 07:06:24 ---> b9d072717b7c 07:06:24 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:06:24 ---> Running in cfdc5410ad8c 07:06:25 Removing intermediate container cfdc5410ad8c 07:06:25 ---> aa7055ae4821 07:06:25 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:06:25 ---> Running in 53728ebf2f5a 07:06:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:06:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:06:26 OK: 221 MiB in 52 packages 07:06:26 Removing intermediate container 53728ebf2f5a 07:06:26 ---> 3e7643486069 07:06:26 Step 10/15 : ENV GO111MODULE=on 07:06:26 ---> Running in 19798b56c517 07:06:26 Removing intermediate container 19798b56c517 07:06:26 ---> b2682bf68b6c 07:06:26 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:06:26 ---> Running in c9473b68af24 07:06:26 Removing intermediate container c9473b68af24 07:06:26 ---> 898bd103a291 07:06:26 Step 12/15 : COPY go.mod vendor* ./ 07:06:27 ---> 15c484bc24f4 07:06:27 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:06:27 ---> Running in 72d6c8d29c25 07:06:28 Still waiting to schedule task 07:06:28 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 07:06:59 Removing intermediate container 72d6c8d29c25 07:06:59 ---> 46b4b3d6c4b6 07:06:59 Step 14/15 : COPY . . 07:06:59 ---> 67bab1b8add6 07:06:59 Step 15/15 : RUN ${MAKE} 07:06:59 ---> Running in 97db744419cd 07:06:59 noop 07:06:59 Removing intermediate container 97db744419cd 07:06:59 ---> ce18a9ee0695 07:06:59 Successfully built ce18a9ee0695 07:06:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:06:59 + docker inspect -f . ci-base-image-x86_64 07:06:59 . [Pipeline] withDockerContainer 07:06:59 prd-centos7-docker-4c-2g-5479 does not seem to be running inside a container 07:06:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:06:59 $ docker top d9dc04495cf3d9608f65d00c235f432eec9fb53a1b07221d7017a55f0e199dc7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:07:00 + go version 07:07:00 go version go1.17.6 linux/amd64 [Pipeline] } 07:07:00 $ docker stop --time=1 d9dc04495cf3d9608f65d00c235f432eec9fb53a1b07221d7017a55f0e199dc7 07:07:01 $ docker rm -f d9dc04495cf3d9608f65d00c235f432eec9fb53a1b07221d7017a55f0e199dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:07:01 + docker inspect -f . ci-base-image-x86_64 07:07:01 . [Pipeline] withDockerContainer 07:07:01 prd-centos7-docker-4c-2g-5479 does not seem to be running inside a container 07:07:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:07:02 $ docker top 06be1e8b06a8726c528a5bc403803079906627c51d59561cdbad4c4a63f79059 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:07:02 + make test 07:07:02 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:07:02 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:07:15 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:07:15 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:07:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:07:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:07:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:07:17 $ docker stop --time=1 06be1e8b06a8726c528a5bc403803079906627c51d59561cdbad4c4a63f79059 07:07:19 $ docker rm -f 06be1e8b06a8726c528a5bc403803079906627c51d59561cdbad4c4a63f79059 [Pipeline] // withDockerContainer [Pipeline] sh 07:07:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:07:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:07:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:07:20 + ls -al . 07:07:20 total 112 07:07:20 drwxrwxr-x. 13 jenkins jenkins 4096 Feb 18 07:07 . 07:07:20 drwxrwxr-x. 4 jenkins jenkins 110 Feb 18 07:05 .. 07:07:20 drwxrwxr-x. 3 jenkins jenkins 20 Feb 18 07:05 assets 07:07:20 drwxrwxr-x. 2 jenkins jenkins 66 Feb 18 07:05 bin 07:07:20 drwxrwxr-x. 3 jenkins jenkins 29 Feb 18 07:05 cmd 07:07:20 -rw-rw-r--. 1 jenkins jenkins 3959 Feb 18 07:05 CONTRIBUTING.md 07:07:20 -rw-r--r--. 1 jenkins jenkins 10 Feb 18 07:07 coverage.out 07:07:20 -rw-rw-r--. 1 jenkins jenkins 1549 Feb 18 07:05 Dockerfile 07:07:20 drwxrwxr-x. 2 jenkins jenkins 23 Feb 18 07:05 docs 07:07:20 drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 07:05 .git 07:07:20 drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 07:05 .github 07:07:20 -rw-rw-r--. 1 jenkins jenkins 155 Feb 18 07:05 .gitignore 07:07:20 -rw-rw-r--. 1 jenkins jenkins 1944 Feb 18 07:05 go.mod 07:07:20 -rw-rw-r--. 1 jenkins jenkins 48565 Feb 18 07:05 go.sum 07:07:20 drwxrwxr-x. 9 jenkins jenkins 125 Feb 18 07:05 internal 07:07:20 -rw-rw-r--. 1 jenkins jenkins 652 Feb 18 07:05 Jenkinsfile 07:07:20 -rw-rw-r--. 1 jenkins jenkins 11357 Feb 18 07:05 LICENSE 07:07:20 -rw-rw-r--. 1 jenkins jenkins 1212 Feb 18 07:05 Makefile 07:07:20 drwxrwxr-x. 3 jenkins jenkins 19 Feb 18 07:05 pkg 07:07:20 -rw-rw-r--. 1 jenkins jenkins 4450 Feb 18 07:05 README.md 07:07:20 drwx------. 3 jenkins jenkins 56 Feb 18 07:06 .semver 07:07:20 drwxrwxr-x. 4 jenkins jenkins 71 Feb 18 07:05 snap 07:07:20 -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 07:06 VERSION 07:07:20 -rw-rw-r--. 1 jenkins jenkins 155 Feb 18 07:05 version.go 07:07:20 drwxrwxr-x. 4 jenkins jenkins 4096 Feb 18 07:05 web [Pipeline] isUnix [Pipeline] sh 07:07:20 + 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=2d2e543491d5fb47498c057d659800ab687f38f5 --label arch=amd64 --label version=0.0.0 . 07:07:21 Sending build context to Docker daemon 41.01MB 07:07:21 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:07:21 Step 2/23 : FROM ${BASE} AS builder 07:07:21 ---> ce18a9ee0695 07:07:21 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:07:21 ---> Running in 387565026c53 07:07:21 Removing intermediate container 387565026c53 07:07:21 ---> 7bbdc6817cf5 07:07:21 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 07:07:21 ---> Running in 4c944b0946fb 07:07:21 Removing intermediate container 4c944b0946fb 07:07:21 ---> 9c994176a882 07:07:21 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:07:21 ---> Running in 46eff1bcc205 07:07:21 Removing intermediate container 46eff1bcc205 07:07:21 ---> 28c54848edb4 07:07:21 Step 6/23 : LABEL Name=edgex-ui-go 07:07:21 ---> Running in d2b5a20fb395 07:07:21 Removing intermediate container d2b5a20fb395 07:07:21 ---> d5d793d66493 07:07:21 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:07:21 ---> Running in aa094a2a1c7f 07:07:21 Removing intermediate container aa094a2a1c7f 07:07:21 ---> da4e907953b7 07:07:21 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:07:22 ---> Running in 68a32f4d94d4 07:07:22 Removing intermediate container 68a32f4d94d4 07:07:22 ---> fae94bc9035e 07:07:22 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:07:22 ---> Running in c3e5aa72d8d0 07:07:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:07:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:07:23 OK: 221 MiB in 52 packages 07:07:24 Removing intermediate container c3e5aa72d8d0 07:07:24 ---> c89c2db9ef88 07:07:24 Step 10/23 : ENV GO111MODULE=on 07:07:24 ---> Running in 4659def51a54 07:07:24 Removing intermediate container 4659def51a54 07:07:24 ---> 78d3a746943e 07:07:24 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:07:24 ---> Running in fe328389fbe8 07:07:24 Removing intermediate container fe328389fbe8 07:07:24 ---> 7010ee06f586 07:07:24 Step 12/23 : COPY go.mod vendor* ./ 07:07:24 ---> 130caa9acaca 07:07:24 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:07:24 ---> Running in 0853057049cc 07:07:24 Removing intermediate container 0853057049cc 07:07:24 ---> d19981d2b13d 07:07:24 Step 14/23 : COPY . . 07:07:25 ---> bb8c45c47d41 07:07:25 Step 15/23 : RUN ${MAKE} 07:07:25 ---> Running in 145237106edd 07:07:26 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 07:07:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:07:36 Removing intermediate container 145237106edd 07:07:36 ---> 0988d19c5e48 07:07:36 Step 16/23 : FROM alpine:3.14 07:07:36 3.14: Pulling from library/alpine 07:07:36 97518928ae5f: Pulling fs layer 07:07:36 97518928ae5f: Verifying Checksum 07:07:36 97518928ae5f: Download complete 07:07:36 97518928ae5f: Pull complete 07:07:36 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 07:07:36 Status: Downloaded newer image for alpine:3.14 07:07:36 ---> 0a97eee8041e 07:07:36 Step 17/23 : EXPOSE 4000 07:07:37 ---> Running in cc3dc165c299 07:07:37 Removing intermediate container cc3dc165c299 07:07:37 ---> e3a061bd2013 07:07:37 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 07:07:37 ---> df2e2d77e03a 07:07:37 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:07:37 ---> Running in 1c8e64c46465 07:07:37 Removing intermediate container 1c8e64c46465 07:07:37 ---> 17374a7ca5c9 07:07:37 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:07:37 ---> Running in 599f0dac62d5 07:07:37 Removing intermediate container 599f0dac62d5 07:07:37 ---> 52bb0cfc11f3 07:07:37 Step 21/23 : LABEL arch=amd64 07:07:37 ---> Running in fc1e3595fa15 07:07:37 Removing intermediate container fc1e3595fa15 07:07:37 ---> b093f3c79afc 07:07:37 Step 22/23 : LABEL git_sha=2d2e543491d5fb47498c057d659800ab687f38f5 07:07:37 ---> Running in d940315f4514 07:07:37 Removing intermediate container d940315f4514 07:07:37 ---> 0be3a729e230 07:07:37 Step 23/23 : LABEL version=0.0.0 07:07:37 ---> Running in a2fed5522257 07:07:37 Removing intermediate container a2fed5522257 07:07:37 ---> 7153ba8734a4 07:07:37 [Warning] One or more build-args [ARCH] were not consumed 07:07:37 Successfully built 7153ba8734a4 07:07:37 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 07:07:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:38 07:07:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:07:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:38 latest: Pulling from edgex-lftools-log-publisher 07:07:38 b4d181a07f80: Pulling fs layer 07:07:38 a1111a8f2ec3: Pulling fs layer 07:07:38 ed53099fbce6: Pulling fs layer 07:07:38 dc539afda2c1: Pulling fs layer 07:07:38 77bc0d833cb6: Pulling fs layer 07:07:38 9065ff56babe: Pulling fs layer 07:07:38 d287ab97295c: Pulling fs layer 07:07:38 dc539afda2c1: Waiting 07:07:38 77bc0d833cb6: Waiting 07:07:38 9065ff56babe: Waiting 07:07:38 d287ab97295c: Waiting 07:07:38 a1111a8f2ec3: Verifying Checksum 07:07:38 a1111a8f2ec3: Download complete 07:07:38 dc539afda2c1: Verifying Checksum 07:07:38 dc539afda2c1: Download complete 07:07:38 ed53099fbce6: Verifying Checksum 07:07:38 ed53099fbce6: Download complete 07:07:38 9065ff56babe: Verifying Checksum 07:07:38 9065ff56babe: Download complete 07:07:38 77bc0d833cb6: Verifying Checksum 07:07:38 77bc0d833cb6: Download complete 07:07:38 b4d181a07f80: Verifying Checksum 07:07:38 b4d181a07f80: Download complete 07:07:39 d287ab97295c: Verifying Checksum 07:07:39 d287ab97295c: Download complete 07:07:40 b4d181a07f80: Pull complete 07:07:40 a1111a8f2ec3: Pull complete 07:07:40 ed53099fbce6: Pull complete 07:07:40 dc539afda2c1: Pull complete 07:07:41 77bc0d833cb6: Pull complete 07:07:41 9065ff56babe: Pull complete 07:07:46 d287ab97295c: Pull complete 07:07:46 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 07:07:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:07:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:07:46 prd-centos7-docker-4c-2g-5479 does not seem to be running inside a container 07:07:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:07:49 $ docker top bd2cbe4bf44608ccb6efa422d42cbd96ca29f8c86fec1a28e4c2f5a3bb2c4a42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:07:49 ---> job-cost.sh 07:07:49 lf-activate-venv: SKIPPING 07:07:49 INFO: No Stack... 07:07:49 INFO: Retrieving Pricing Info for: v3-standard-2 07:07:50 INFO: Archiving Costs [Pipeline] sh 07:07:50 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives/cost.csv 07:07:50 + cut -d, -f6 [Pipeline] lock 07:07:50 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] 07:07:50 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] did not exist. Created. 07:07:50 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:07:50 + echo total: 0.05999999865889549 [Pipeline] stash 07:07:50 Stashed 1 file(s) [Pipeline] } 07:07:50 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] [Pipeline] // lock [Pipeline] } 07:07:50 $ docker stop --time=1 bd2cbe4bf44608ccb6efa422d42cbd96ca29f8c86fec1a28e4c2f5a3bb2c4a42 07:07:51 $ docker rm -f bd2cbe4bf44608ccb6efa422d42cbd96ca29f8c86fec1a28e4c2f5a3bb2c4a42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:08:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5480 in /w/workspace/edgexfoundry_edgex-ui-go_PR-498 [Pipeline] { [Pipeline] ws 07:08:47 Running in /w/workspace/edgex-ui-go/4 [Pipeline] { [Pipeline] checkout 07:08:47 The recommended git tool is: git 07:08:53 using credential edgex-jenkins-ssh 07:08:53 Cloning the remote Git repository 07:08:53 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 07:08:53 > git init /w/workspace/edgex-ui-go/4 # timeout=10 07:08:53 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:08:53 > git --version # timeout=10 07:08:53 > git --version # 'git version 2.17.1' 07:08:53 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:08:56 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:08:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:08:56 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 07:08:56 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 07:08:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/498/head:refs/remotes/origin/PR-498 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:08:57 Merging remotes/origin/main commit 8d7b00626af3583744669d29e95c77c5f4d97e7c into PR head commit 2d2e543491d5fb47498c057d659800ab687f38f5 07:08:57 Merge succeeded, producing 2d2e543491d5fb47498c057d659800ab687f38f5 07:08:57 Checking out Revision 2d2e543491d5fb47498c057d659800ab687f38f5 (PR-498) 07:08:57 > git config core.sparsecheckout # timeout=10 07:08:57 > git checkout -f 2d2e543491d5fb47498c057d659800ab687f38f5 # timeout=10 07:08:57 > git remote # timeout=10 07:08:57 > git config --get remote.origin.url # timeout=10 07:08:57 using GIT_SSH to set credentials SSH Credentials for GitHub 07:08:57 > git merge 8d7b00626af3583744669d29e95c77c5f4d97e7c # timeout=10 07:08:57 > git rev-parse HEAD^{commit} # timeout=10 07:08:57 > git config core.sparsecheckout # timeout=10 07:08:57 > git checkout -f 2d2e543491d5fb47498c057d659800ab687f38f5 # timeout=10 07:09:02 Commit message: "chore(deps): Bump follow-redirects from 1.14.7 to 1.14.8 in /web" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:09:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:09:03 % Total % Received % Xferd Average Speed Time Time Time Current 07:09:03 Dload Upload Total Spent Left Speed 07:09:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 81116 [Pipeline] sh 07:09:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:09:04 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:09:04 sudo tee /etc/docker/daemon.new 07:09:04 { 07:09:04 "registry-mirrors": [ 07:09:04 "https://nexus3.edgexfoundry.org:10001" 07:09:04 ], 07:09:04 "bip": "10.250.0.254/24", 07:09:04 "hosts": [ 07:09:04 "tcp://0.0.0.0:5555", 07:09:04 "unix:///var/run/docker.sock" 07:09:04 ], 07:09:04 "mtu": 1458, 07:09:04 "selinux-enabled": true, 07:09:04 "seccomp-profile": "/etc/docker/seccomp.json" 07:09:04 } [Pipeline] sh 07:09:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:09:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:09:23 provisioning config files... 07:09:23 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/4@tmp/config1549482005495985067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:23 ---> docker-login.sh 07:09:23 nexus3.edgexfoundry.org:10001 07:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:24 Configure a credential helper to remove this warning. See 07:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:24 07:09:24 Login Succeeded 07:09:24 nexus3.edgexfoundry.org:10002 07:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:25 Configure a credential helper to remove this warning. See 07:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:25 07:09:25 Login Succeeded 07:09:25 nexus3.edgexfoundry.org:10003 07:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:25 Configure a credential helper to remove this warning. See 07:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:25 07:09:25 Login Succeeded 07:09:25 nexus3.edgexfoundry.org:10004 07:09:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:25 Configure a credential helper to remove this warning. See 07:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:25 07:09:25 Login Succeeded 07:09:25 docker.io 07:09:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:09:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:09:26 Configure a credential helper to remove this warning. See 07:09:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:09:26 07:09:26 Login Succeeded 07:09:26 ---> docker-login.sh ends [Pipeline] } 07:09:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:09:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:09:27 ========================================================= 07:09:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:09:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:09:27 + 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 . 07:09:28 Sending build context to Docker daemon 25.78MB 07:09:28 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 07:09:28 Step 2/15 : FROM ${BASE} AS builder 07:09:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:09:28 9b3977197b4f: Pulling fs layer 07:09:28 1a89e8eeedd5: Pulling fs layer 07:09:28 94645a83ff95: Pulling fs layer 07:09:28 3f3a8bcf1eab: Pulling fs layer 07:09:28 0c92f367c5e7: Pulling fs layer 07:09:28 f7c0051592d6: Pulling fs layer 07:09:28 a227ed2f7395: Pulling fs layer 07:09:28 7b1c46037f91: Pulling fs layer 07:09:28 f7c0051592d6: Waiting 07:09:28 3f3a8bcf1eab: Waiting 07:09:28 a227ed2f7395: Waiting 07:09:28 0c92f367c5e7: Waiting 07:09:28 7b1c46037f91: Waiting 07:09:28 94645a83ff95: Verifying Checksum 07:09:28 94645a83ff95: Download complete 07:09:28 1a89e8eeedd5: Verifying Checksum 07:09:28 1a89e8eeedd5: Download complete 07:09:28 0c92f367c5e7: Verifying Checksum 07:09:28 0c92f367c5e7: Download complete 07:09:28 f7c0051592d6: Verifying Checksum 07:09:28 f7c0051592d6: Download complete 07:09:28 a227ed2f7395: Verifying Checksum 07:09:28 a227ed2f7395: Download complete 07:09:28 9b3977197b4f: Verifying Checksum 07:09:28 9b3977197b4f: Download complete 07:09:29 9b3977197b4f: Pull complete 07:09:30 1a89e8eeedd5: Pull complete 07:09:30 94645a83ff95: Pull complete 07:09:30 7b1c46037f91: Verifying Checksum 07:09:30 7b1c46037f91: Download complete 07:09:31 3f3a8bcf1eab: Verifying Checksum 07:09:31 3f3a8bcf1eab: Download complete 07:09:43 3f3a8bcf1eab: Pull complete 07:09:43 0c92f367c5e7: Pull complete 07:09:43 f7c0051592d6: Pull complete 07:09:43 a227ed2f7395: Pull complete 07:09:49 7b1c46037f91: Pull complete 07:09:49 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 07:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:09:49 ---> f79e39bc4007 07:09:49 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:09:50 ---> Running in a932b452d268 07:09:50 Removing intermediate container a932b452d268 07:09:50 ---> bfdb5f0347d6 07:09:50 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 07:09:51 ---> Running in 26f3a3c834a1 07:09:51 Removing intermediate container 26f3a3c834a1 07:09:51 ---> 68c545f5c10e 07:09:51 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 07:09:51 ---> Running in 28ed21c12994 07:09:52 Removing intermediate container 28ed21c12994 07:09:52 ---> 526bc7a86bdb 07:09:52 Step 6/15 : LABEL Name=edgex-ui-go 07:09:52 ---> Running in 16516b04f5b8 07:09:52 Removing intermediate container 16516b04f5b8 07:09:52 ---> 65e319d8d548 07:09:52 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:09:52 ---> Running in e17c6d56dd9b 07:09:52 Removing intermediate container e17c6d56dd9b 07:09:52 ---> 2a079ca1f32f 07:09:52 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:09:53 ---> Running in c19d9e90ed91 07:09:55 Removing intermediate container c19d9e90ed91 07:09:55 ---> 29935759a957 07:09:55 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:09:55 ---> Running in 4f061b6b61ac 07:09:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:09:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:09:57 OK: 220 MiB in 52 packages 07:09:58 Removing intermediate container 4f061b6b61ac 07:09:58 ---> bd1945a2d970 07:09:58 Step 10/15 : ENV GO111MODULE=on 07:09:58 ---> Running in 3c993ec98ebf 07:09:59 Removing intermediate container 3c993ec98ebf 07:09:59 ---> 47255a55eae9 07:09:59 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:09:59 ---> Running in e158ba556cd4 07:09:59 Removing intermediate container e158ba556cd4 07:09:59 ---> 495bd7062973 07:09:59 Step 12/15 : COPY go.mod vendor* ./ 07:10:00 ---> 8e03a5869e3b 07:10:00 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:10:00 ---> Running in fbf573f32d04 07:11:22 Removing intermediate container fbf573f32d04 07:11:22 ---> 0e19716d370a 07:11:22 Step 14/15 : COPY . . 07:11:22 ---> 5b924ae06d6f 07:11:22 Step 15/15 : RUN ${MAKE} 07:11:22 ---> Running in 987c2e086d0a 07:11:22 noop 07:11:22 Removing intermediate container 987c2e086d0a 07:11:22 ---> 5a7d22d3ba86 07:11:22 Successfully built 5a7d22d3ba86 07:11:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:11:22 + docker inspect -f . ci-base-image-arm64 07:11:22 . [Pipeline] withDockerContainer 07:11:22 prd-ubuntu18.04-docker-arm64-4c-16g-5480 does not seem to be running inside a container 07:11:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:11:24 $ docker top 079a0fc228915e5cf4e7e14cc6423a0c8a70c1dbbb44a63d4a8fc78872f35754 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:25 + go version 07:11:25 go version go1.17.6 linux/arm64 [Pipeline] } 07:11:25 $ docker stop --time=1 079a0fc228915e5cf4e7e14cc6423a0c8a70c1dbbb44a63d4a8fc78872f35754 07:11:26 $ docker rm -f 079a0fc228915e5cf4e7e14cc6423a0c8a70c1dbbb44a63d4a8fc78872f35754 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:11:27 + docker inspect -f . ci-base-image-arm64 07:11:27 . [Pipeline] withDockerContainer 07:11:27 prd-ubuntu18.04-docker-arm64-4c-16g-5480 does not seem to be running inside a container 07:11:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:11:29 $ docker top 05a5e8d441bf2cd6b060235cf4b05beff50ee0c0a4089285e3ce216843c9245d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:11:30 + make test 07:11:30 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 07:11:31 ? github.com/edgexfoundry/edgex-ui-go [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 07:12:10 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 07:12:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:12:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:12:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:12:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:12:22 $ docker stop --time=1 05a5e8d441bf2cd6b060235cf4b05beff50ee0c0a4089285e3ce216843c9245d 07:12:24 $ docker rm -f 05a5e8d441bf2cd6b060235cf4b05beff50ee0c0a4089285e3ce216843c9245d [Pipeline] // withDockerContainer [Pipeline] sh 07:12:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:12:25 Warning: overwriting stash ‘coverage-report’ 07:12:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:12:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:26 + ls -al . 07:12:26 total 152 07:12:26 drwxrwxr-x 12 jenkins jenkins 4096 Feb 18 07:11 . 07:12:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:08 .. 07:12:26 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 07:09 .git 07:12:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:08 .github 07:12:26 -rw-rw-r-- 1 jenkins jenkins 155 Feb 18 07:08 .gitignore 07:12:26 -rw-rw-r-- 1 jenkins jenkins 3959 Feb 18 07:08 CONTRIBUTING.md 07:12:26 -rw-rw-r-- 1 jenkins jenkins 1549 Feb 18 07:08 Dockerfile 07:12:26 -rw-rw-r-- 1 jenkins jenkins 652 Feb 18 07:08 Jenkinsfile 07:12:26 -rw-rw-r-- 1 jenkins jenkins 11357 Feb 18 07:08 LICENSE 07:12:26 -rw-rw-r-- 1 jenkins jenkins 1212 Feb 18 07:08 Makefile 07:12:26 -rw-rw-r-- 1 jenkins jenkins 4450 Feb 18 07:08 README.md 07:12:26 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 07:06 VERSION 07:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 07:08 assets 07:12:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:08 bin 07:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 07:08 cmd 07:12:26 -rw-r--r-- 1 jenkins jenkins 10 Feb 18 07:11 coverage.out 07:12:26 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:08 docs 07:12:26 -rw-rw-r-- 1 jenkins jenkins 1944 Feb 18 07:08 go.mod 07:12:26 -rw-rw-r-- 1 jenkins jenkins 48565 Feb 18 07:08 go.sum 07:12:26 drwxrwxr-x 9 jenkins jenkins 4096 Feb 18 07:08 internal 07:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 07:08 pkg 07:12:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:08 snap 07:12:26 -rw-rw-r-- 1 jenkins jenkins 155 Feb 18 07:08 version.go 07:12:26 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:08 web [Pipeline] isUnix [Pipeline] sh 07:12:26 + 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=2d2e543491d5fb47498c057d659800ab687f38f5 --label arch=arm64 --label version=0.0.0 . 07:12:27 Sending build context to Docker daemon 25.78MB 07:12:27 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 07:12:27 Step 2/23 : FROM ${BASE} AS builder 07:12:27 ---> 5a7d22d3ba86 07:12:27 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 07:12:27 ---> Running in 15f226687d82 07:12:27 Removing intermediate container 15f226687d82 07:12:27 ---> 9a1540fb62dc 07:12:27 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 07:12:28 ---> Running in 40cae0abf323 07:12:28 Removing intermediate container 40cae0abf323 07:12:28 ---> 5bb63b0ed7dd 07:12:28 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 07:12:28 ---> Running in 4797f26bb8f9 07:12:28 Removing intermediate container 4797f26bb8f9 07:12:28 ---> c3d557ef38fa 07:12:28 Step 6/23 : LABEL Name=edgex-ui-go 07:12:28 ---> Running in e9532710f45d 07:12:29 Removing intermediate container e9532710f45d 07:12:29 ---> 71214c9e061a 07:12:29 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 07:12:29 ---> Running in 490e992ba81a 07:12:29 Removing intermediate container 490e992ba81a 07:12:29 ---> 168c50ff84f1 07:12:29 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:12:29 ---> Running in 8cf53cf81704 07:12:31 Removing intermediate container 8cf53cf81704 07:12:31 ---> 26ee4ac0069a 07:12:31 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:31 ---> Running in d96235503287 07:12:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:12:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:12:34 OK: 220 MiB in 52 packages 07:12:35 Removing intermediate container d96235503287 07:12:35 ---> 3df4bd58cc57 07:12:35 Step 10/23 : ENV GO111MODULE=on 07:12:35 ---> Running in fd8f633b1b0f 07:12:35 Removing intermediate container fd8f633b1b0f 07:12:35 ---> 2a11b20855ba 07:12:35 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 07:12:35 ---> Running in 8ab12794f9a8 07:12:35 Removing intermediate container 8ab12794f9a8 07:12:35 ---> 0233ab95673b 07:12:35 Step 12/23 : COPY go.mod vendor* ./ 07:12:36 ---> 0c48129c2690 07:12:36 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:36 ---> Running in 0d6df9a069e1 07:12:38 Removing intermediate container 0d6df9a069e1 07:12:38 ---> 62c96abbd77a 07:12:38 Step 14/23 : COPY . . 07:12:41 ---> 18a13a545dc2 07:12:41 Step 15/23 : RUN ${MAKE} 07:12:41 ---> Running in 1e1f3f34de19 07:12:42 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 07:13:14 CGO_ENABLED=0 GO111MODULE=on go build ./... 07:13:16 Removing intermediate container 1e1f3f34de19 07:13:16 ---> 18e1d4ea3953 07:13:16 Step 16/23 : FROM alpine:3.14 07:13:16 3.14: Pulling from library/alpine 07:13:16 be307f383ecc: Pulling fs layer 07:13:17 be307f383ecc: Download complete 07:13:17 be307f383ecc: Pull complete 07:13:17 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 07:13:17 Status: Downloaded newer image for alpine:3.14 07:13:17 ---> 5b8b7b635229 07:13:17 Step 17/23 : EXPOSE 4000 07:13:17 ---> Running in 60368e5da58c 07:13:17 Removing intermediate container 60368e5da58c 07:13:17 ---> b489f943a2c2 07:13:17 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 07:13:19 ---> 42847937fd11 07:13:19 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 07:13:19 ---> Running in ebbe77f7ab09 07:13:19 Removing intermediate container ebbe77f7ab09 07:13:19 ---> e504c6b0c62e 07:13:19 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 07:13:19 ---> Running in e798b539930f 07:13:20 Removing intermediate container e798b539930f 07:13:20 ---> d082c8a3b01f 07:13:20 Step 21/23 : LABEL arch=arm64 07:13:20 ---> Running in 5510054a3c9e 07:13:20 Removing intermediate container 5510054a3c9e 07:13:20 ---> 5482185fbfb6 07:13:20 Step 22/23 : LABEL git_sha=2d2e543491d5fb47498c057d659800ab687f38f5 07:13:20 ---> Running in 4bb50ef06e13 07:13:21 Removing intermediate container 4bb50ef06e13 07:13:21 ---> 66c8d613c149 07:13:21 Step 23/23 : LABEL version=0.0.0 07:13:21 ---> Running in f85e30d1cb9c 07:13:21 Removing intermediate container f85e30d1cb9c 07:13:21 ---> 34219f64b096 07:13:21 [Warning] One or more build-args [ARCH] were not consumed 07:13:21 Successfully built 34219f64b096 07:13:21 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 07:13:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:22 07:13:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:13:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:22 arm64: Pulling from edgex-lftools-log-publisher 07:13:22 448f6bf000e3: Pulling fs layer 07:13:22 f757da607395: Pulling fs layer 07:13:22 05883995daec: Pulling fs layer 07:13:22 8603b9c90790: Pulling fs layer 07:13:22 1560dd03e051: Pulling fs layer 07:13:22 27f5ce0e4adf: Pulling fs layer 07:13:22 c2d8d7efcc4b: Pulling fs layer 07:13:22 1560dd03e051: Waiting 07:13:22 27f5ce0e4adf: Waiting 07:13:22 c2d8d7efcc4b: Waiting 07:13:22 8603b9c90790: Waiting 07:13:22 f757da607395: Verifying Checksum 07:13:22 f757da607395: Download complete 07:13:22 8603b9c90790: Download complete 07:13:22 1560dd03e051: Verifying Checksum 07:13:22 1560dd03e051: Download complete 07:13:22 27f5ce0e4adf: Download complete 07:13:22 05883995daec: Verifying Checksum 07:13:22 05883995daec: Download complete 07:13:23 448f6bf000e3: Verifying Checksum 07:13:23 448f6bf000e3: Download complete 07:13:25 c2d8d7efcc4b: Verifying Checksum 07:13:25 c2d8d7efcc4b: Download complete 07:13:26 448f6bf000e3: Pull complete 07:13:27 f757da607395: Pull complete 07:13:28 05883995daec: Pull complete 07:13:28 8603b9c90790: Pull complete 07:13:29 1560dd03e051: Pull complete 07:13:30 27f5ce0e4adf: Pull complete 07:13:45 c2d8d7efcc4b: Pull complete 07:13:45 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 07:13:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:13:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:13:45 prd-ubuntu18.04-docker-arm64-4c-16g-5480 does not seem to be running inside a container 07:13:45 $ 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/4 -v /w/workspace/edgex-ui-go/4:/w/workspace/edgex-ui-go/4:rw,z -v /w/workspace/edgex-ui-go/4@tmp:/w/workspace/edgex-ui-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:13:48 $ docker top 49fe2475c021778a95ef62258f86e13c3783724831f1c04dcbf2bcd60b95cec9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:49 ---> job-cost.sh 07:13:49 lf-activate-venv: SKIPPING 07:13:49 INFO: No Stack... 07:13:49 INFO: Retrieving Pricing Info for: v3-standard-4 07:13:49 INFO: Archiving Costs [Pipeline] sh 07:13:50 + cut -d, -f6 07:13:50 + cat /w/workspace/edgex-ui-go/4/archives/cost.csv [Pipeline] lock 07:13:50 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] 07:13:50 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] did not exist. Created. 07:13:50 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:13:51 /w/workspace/edgex-ui-go/4@tmp/durable-bceb0315/script.sh: 1: /w/workspace/edgex-ui-go/4@tmp/durable-bceb0315/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:13:52 + echo total: 0.10999999940395355 [Pipeline] stash 07:13:52 Warning: overwriting stash ‘stack-cost’ 07:13:52 Stashed 1 file(s) [Pipeline] } 07:13:52 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-498-4-stack-cost] [Pipeline] // lock [Pipeline] } 07:13:52 $ docker stop --time=1 49fe2475c021778a95ef62258f86e13c3783724831f1c04dcbf2bcd60b95cec9 07:13:53 $ docker rm -f 49fe2475c021778a95ef62258f86e13c3783724831f1c04dcbf2bcd60b95cec9 [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 07:13:54 provisioning config files... 07:13:54 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config2790552784726164043tmp [Pipeline] { [Pipeline] sh 07:13:54 + set +x 07:13:54 + bash -s -- 07:13:54 + curl -s https://codecov.io/bash 07:13:54 07:13:54 _____ _ 07:13:54 / ____| | | 07:13:54 | | ___ __| | ___ ___ _____ __ 07:13:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:13:54 | |___| (_) | (_| | __/ (_| (_) \ V / 07:13:54 \_____\___/ \__,_|\___|\___\___/ \_/ 07:13:54 Bash-1.0.6 07:13:54 07:13:54 07:13:54 ==> git version 2.24.4 found 07:13:54 ==> 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 07:13:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:13:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:13:54 ==> Jenkins CI detected. 07:13:54 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-498 07:13:54 project root: . 07:13:54 --> token set from env 07:13:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:13:54 ==> Running gcov in . (disable via -X gcov) 07:13:54 ==> Python coveragepy not found 07:13:54 ==> Searching for coverage reports in: 07:13:54 + . 07:13:55 -> Found 1 reports 07:13:55 ==> Detecting git/mercurial file structure 07:13:55 ==> Reading reports 07:13:55 + ./coverage.out bytes=10 07:13:55 ==> Appending adjustments 07:13:55 https://docs.codecov.io/docs/fixing-reports 07:13:55 + Found adjustments 07:13:55 ==> Gzipping contents 07:13:55 4.0K /tmp/codecov.FZeD61.gz 07:13:55 ==> Uploading reports 07:13:55 url: https://codecov.io 07:13:55 query: branch=PR-498&commit=2d2e543491d5fb47498c057d659800ab687f38f5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-498%2F4%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=498&job=&cmd_args= 07:13:55 -> Pinging Codecov 07:13:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-498&commit=2d2e543491d5fb47498c057d659800ab687f38f5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-498%2F4%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=498&job=&cmd_args= 07:13:55 -> Uploading to 07:13:55 https://storage.googleapis.com/codecov/v4/raw/2022-02-18/FB506323287CE973F263BFD2A0EB1F37/2d2e543491d5fb47498c057d659800ab687f38f5/566ffeeb-0ce5-4fea-8428-76a817bbcffe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220218T071355Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=abc17a25fdedd12774bb1a2c8e6a94b94a08116963327c880befd1d5befbcff6 07:13:55 % Total % Received % Xferd Average Speed Time Time Time Current 07:13:55 Dload Upload Total Spent Left Speed 07:13:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3730 0 0 100 3730 0 10573 --:--:-- --:--:-- --:--:-- 10566 100 3730 0 0 100 3730 0 10567 --:--:-- --:--:-- --:--:-- 10566 07:13:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/2d2e543491d5fb47498c057d659800ab687f38f5 [Pipeline] } 07:13:55 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 07:13:56 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives ']' 07:13:56 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives 07:13:56 total 8 07:13:56 drwxr-xr-x. 3 root root 34 Feb 18 07:07 . 07:13:56 drwxrwxr-x. 14 jenkins jenkins 4096 Feb 18 07:07 .. 07:13:56 drwxr-xr-x. 2 root root 6 Feb 18 07:07 cost 07:13:56 -rw-r--r--. 1 root root 82 Feb 18 07:07 cost.csv 07:13:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives 07:13:56 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives 07:13:56 total 8 07:13:56 drwxr-xr-x. 3 jenkins jenkins 34 Feb 18 07:07 . 07:13:56 drwxrwxr-x. 14 jenkins jenkins 4096 Feb 18 07:07 .. 07:13:56 drwxr-xr-x. 2 jenkins jenkins 6 Feb 18 07:07 cost 07:13:56 -rw-r--r--. 1 jenkins jenkins 82 Feb 18 07:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:13:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:13:57 ---> package-listing.sh 07:13:57 ++ facter osfamily 07:13:57 ++ tr '[:upper:]' '[:lower:]' 07:13:57 + OS_FAMILY=redhat 07:13:57 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-498 07:13:57 + START_PACKAGES=/tmp/packages_start.txt 07:13:57 + END_PACKAGES=/tmp/packages_end.txt 07:13:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:13:57 + PACKAGES=/tmp/packages_start.txt 07:13:57 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-498 ']' 07:13:57 + PACKAGES=/tmp/packages_end.txt 07:13:57 + case "${OS_FAMILY}" in 07:13:57 + rpm -qa 07:13:57 + sort 07:13:57 + '[' -f /tmp/packages_start.txt ']' 07:13:57 + '[' -f /tmp/packages_end.txt ']' 07:13:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:13:57 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-498 ']' 07:13:57 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives/ 07:13:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-498/archives/ [Pipeline] echo 07:13:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:13:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:13:58 . [Pipeline] withDockerContainer 07:13:58 prd-centos7-docker-4c-2g-5479 does not seem to be running inside a container 07:13:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_edgex-ui-go_PR-498 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498:/w/workspace/edgexfoundry_edgex-ui-go_PR-498:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:13:59 $ docker top 2fbceef138ae2e8d8298a731205be697bbc1fe468321455efd716899560ece18 -eo pid,comm [Pipeline] { [Pipeline] sh 07:13:59 + touch /tmp/pre-build-complete [Pipeline] sh 07:13:59 + mkdir -p /var/log/sysstat [Pipeline] sh 07:14:00 + ls /var/log/sa-host 07:14:00 + sadf -c /var/log/sa-host/sa17 07:14:00 file_magic: OK 07:14:00 HZ: Using current value: 100 07:14:00 file_header: OK 07:14:00 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 07:14:00 Statistics: 07:14:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 07:14:00 File successfully converted to sysstat format version 12.0.3 07:14:00 + sadf -c /var/log/sa-host/sa18 07:14:00 file_magic: OK 07:14:00 HZ: Using current value: 100 07:14:00 file_header: OK 07:14:00 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 07:14:00 Statistics: 07:14:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:14:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:00 provisioning config files... 07:14:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-498@tmp/config1759343367240354305tmp [Pipeline] { [Pipeline] echo 07:14:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:14:00 ---> create-netrc.sh [Pipeline] } 07:14:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:14:00 ---> python-tools-install.sh [Pipeline] echo 07:14:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:14:01 ---> sudo-logs.sh 07:14:01 Archiving 'sudo' log.. 07:14:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-5479.novalocal: Name or service not known 07:14:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-5479.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:14:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:14:01 ---> job-cost.sh 07:14:01 lf-activate-venv: SKIPPING 07:14:01 DEBUG: total: 0.05999999865889549 07:14:01 INFO: Retrieving Stack Cost... 07:14:02 INFO: Retrieving Pricing Info for: v3-standard-2 07:14:02 INFO: Archiving Costs [Pipeline] echo 07:14:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:14:02 ---> logs-deploy.sh 07:14:02 lf-activate-venv: SKIPPING 07:14:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-498/4 07:14:02 INFO: archiving workspace using pattern(s): 07:14:03 Archives upload complete. 07:14:03 INFO: archiving logs to Nexus