Pull request #493 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af92fc3a510baf92b26249ea2e822b715f893e43+6185591ca8d2ca68a0b1a6fb0382f4c259152218 (2e5a1234f593fbdaa913ef0d98c64f0520a83887) 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-ssh8243946093326780089.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh13329187071023522599.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-493/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-493/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17244334454994237905.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh168415601568341959.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-493/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-493/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5590882947906481796.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 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-blackbox-4c-2g-3668’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-3670’ is offline Running on prd-centos7-docker-4c-2g-3672 in /w/workspace/edgexfoundry_edgex-ui-go_PR-493 [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-493 # 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-493@tmp/jenkins-gitclient-ssh8720343581936669879.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-493@tmp/jenkins-gitclient-ssh8549555632948602987.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6185591ca8d2ca68a0b1a6fb0382f4c259152218 into PR head commit af92fc3a510baf92b26249ea2e822b715f893e43 Merge succeeded, producing af92fc3a510baf92b26249ea2e822b715f893e43 Checking out Revision af92fc3a510baf92b26249ea2e822b715f893e43 (PR-493) > git config core.sparsecheckout # timeout=10 > git checkout -f af92fc3a510baf92b26249ea2e822b715f893e43 # 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-493@tmp/jenkins-gitclient-ssh2177386406373816979.key > git merge 6185591ca8d2ca68a0b1a6fb0382f4c259152218 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af92fc3a510baf92b26249ea2e822b715f893e43 # timeout=10 Commit message: "chore(deps): Bump nanoid from 3.1.25 to 3.2.0 in /web" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:43:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:43:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:43:50 ========================================================= 04:43:50 EdgeX Global Pipelines Version Info 04:43:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e4619c402faae416981be553a7d6960b6c6e0fa6 # timeout=10 04:43:51 ------------------- 04:43:51 stable info: 04:43:51 ------------------- 04:43:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:43:51 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 04:43:51 Message: update stable to v1.0.219 04:43:51 ------------------- 04:43:51 experimental info: 04:43:51 ------------------- 04:43:51 Commited By: **** collab-it+edgex@linuxfoundation.org 04:43:51 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 04:43:51 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:43:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-493 [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-493 [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-493 [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af92fc3a510baf92b26249ea2e822b715f893e43 [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af92fc3 [Pipeline] echo 04:43:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:43:52 provisioning config files... 04:43:52 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config5542329128133362714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:43:52 ---> docker-login.sh 04:43:52 nexus3.edgexfoundry.org:10001 04:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:52 Configure a credential helper to remove this warning. See 04:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:52 04:43:52 Login Succeeded 04:43:52 nexus3.edgexfoundry.org:10002 04:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:52 Configure a credential helper to remove this warning. See 04:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:52 04:43:52 Login Succeeded 04:43:52 nexus3.edgexfoundry.org:10003 04:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:52 Configure a credential helper to remove this warning. See 04:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:52 04:43:52 Login Succeeded 04:43:52 nexus3.edgexfoundry.org:10004 04:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:53 Configure a credential helper to remove this warning. See 04:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:53 04:43:53 Login Succeeded 04:43:53 docker.io 04:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:43:53 Configure a credential helper to remove this warning. See 04:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:43:53 04:43:53 Login Succeeded 04:43:53 ---> docker-login.sh ends [Pipeline] } 04:43:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:43:53 + git rev-list -1 --merges af92fc3a510baf92b26249ea2e822b715f893e43~1..af92fc3a510baf92b26249ea2e822b715f893e43 [Pipeline] echo 04:43:53 -----------> git rev-list -1 --merges af92fc3a510baf92b26249ea2e822b715f893e43~1..af92fc3a510baf92b26249ea2e822b715f893e43 af92fc3a510baf92b26249ea2e822b715f893e43 [false] [Pipeline] sh 04:43:54 + git log --format=format:%s -1 af92fc3a510baf92b26249ea2e822b715f893e43 [Pipeline] echo 04:43:54 ========================================================= 04:43:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:43:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:43:54 + git log --format=format:%s -1 af92fc3a510baf92b26249ea2e822b715f893e43 [Pipeline] echo 04:43:54 [semverPrep] GIT_COMMIT: af92fc3a510baf92b26249ea2e822b715f893e43, Commit Message: chore(deps): Bump nanoid from 3.1.25 to 3.2.0 in /web [Pipeline] echo 04:43:54 [semverPrep] This is not a build commit. [Pipeline] sh 04:43:54 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:43:54 + grep -v github /etc/ssh/ssh_known_hosts 04:43:54 + '[' -e /tmp/ssh_known_hosts ']' 04:43:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:43:54 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:43:54 + sudo tee -a /etc/ssh/ssh_known_hosts 04:43:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:43:55 04:43:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:43:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:43:55 latest: Pulling from edgex-devops/git-semver 04:43:55 a0d0a0d46f8b: Pulling fs layer 04:43:55 3e5f54012d9b: Pulling fs layer 04:43:55 4c7163046ea9: Pulling fs layer 04:43:55 0c2d73faf560: Pulling fs layer 04:43:55 0c2d73faf560: Waiting 04:43:55 3e5f54012d9b: Verifying Checksum 04:43:55 3e5f54012d9b: Download complete 04:43:55 a0d0a0d46f8b: Verifying Checksum 04:43:55 a0d0a0d46f8b: Download complete 04:43:55 4c7163046ea9: Verifying Checksum 04:43:55 4c7163046ea9: Download complete 04:43:55 0c2d73faf560: Verifying Checksum 04:43:55 0c2d73faf560: Download complete 04:43:55 a0d0a0d46f8b: Pull complete 04:43:55 3e5f54012d9b: Pull complete 04:43:56 4c7163046ea9: Pull complete 04:43:56 0c2d73faf560: Pull complete 04:43:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:43:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:43:56 prd-centos7-docker-4c-2g-3672 does not seem to be running inside a container 04:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 04:43:57 $ docker top 5ddd6ee2e0c1ff57436735569fa628767ae6b66b9625b87029a16d7f61ff9d10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:43:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:43:57 [ssh-agent] Looking for ssh-agent implementation... 04:43:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:43:57 $ docker exec 5ddd6ee2e0c1ff57436735569fa628767ae6b66b9625b87029a16d7f61ff9d10 ssh-agent 04:43:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXloecIL/agent.12 04:43:57 SSH_AGENT_PID=18 04:43:57 Running ssh-add (command line suppressed) 04:43:57 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5810565879027570761.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5810565879027570761.key) 04:43:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:43:57 + git tag --points-at HEAD [Pipeline] } 04:43:57 $ docker exec --env ******** --env ******** 5ddd6ee2e0c1ff57436735569fa628767ae6b66b9625b87029a16d7f61ff9d10 ssh-agent -k 04:43:57 unset SSH_AUTH_SOCK; 04:43:57 unset SSH_AGENT_PID; 04:43:57 echo Agent pid 18 killed; 04:43:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:43:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:43:57 [ssh-agent] Looking for ssh-agent implementation... 04:43:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:43:57 $ docker exec 5ddd6ee2e0c1ff57436735569fa628767ae6b66b9625b87029a16d7f61ff9d10 ssh-agent 04:43:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNjCCjL/agent.51 04:43:58 SSH_AGENT_PID=57 04:43:58 Running ssh-add (command line suppressed) 04:43:58 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5793423835937886128.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/private_key_5793423835937886128.key) 04:43:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:43:58 + git semver init 04:43:58 # -> Open(): unable to determine branch for HEAD 04:43:58 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-493/.git 04:43:58 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-493 04:43:58 # $SEMVER_REMOTE_NAME = origin 04:43:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:43:58 # $SEMVER_USER_NAME = edgex-jenkins 04:43:58 # $SEMVER_BRANCH = PR-493 04:43:58 # $SEMVER_TEMP = /tmp/semver-608676541 04:43:58 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 04:44:00 # '/tmp/semver-608676541' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-493/.semver' 04:44:00 # -> Force: false 04:44:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-493/.semver [Pipeline] } 04:44:00 $ docker exec --env ******** --env ******** 5ddd6ee2e0c1ff57436735569fa628767ae6b66b9625b87029a16d7f61ff9d10 ssh-agent -k 04:44:00 unset SSH_AUTH_SOCK; 04:44:00 unset SSH_AGENT_PID; 04:44:00 echo Agent pid 57 killed; 04:44:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:44:00 + git semver [Pipeline] } 04:44:00 $ docker stop --time=1 5ddd6ee2e0c1ff57436735569fa628767ae6b66b9625b87029a16d7f61ff9d10 04:44:02 $ docker rm -f 5ddd6ee2e0c1ff57436735569fa628767ae6b66b9625b87029a16d7f61ff9d10 [Pipeline] // withDockerContainer [Pipeline] sh 04:44:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:44:02 Stashed 1 file(s) [Pipeline] echo 04:44:02 [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 04:44:02 provisioning config files... 04:44:02 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config2499427200446191851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:03 ---> docker-login.sh 04:44:03 nexus3.edgexfoundry.org:10001 04:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:03 Configure a credential helper to remove this warning. See 04:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:03 04:44:03 Login Succeeded 04:44:03 nexus3.edgexfoundry.org:10002 04:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:03 Configure a credential helper to remove this warning. See 04:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:03 04:44:03 Login Succeeded 04:44:03 nexus3.edgexfoundry.org:10003 04:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:03 Configure a credential helper to remove this warning. See 04:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:03 04:44:03 Login Succeeded 04:44:03 nexus3.edgexfoundry.org:10004 04:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:03 Configure a credential helper to remove this warning. See 04:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:03 04:44:03 Login Succeeded 04:44:03 docker.io 04:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:03 Configure a credential helper to remove this warning. See 04:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:03 04:44:03 Login Succeeded 04:44:03 ---> docker-login.sh ends [Pipeline] } 04:44:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:44:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:44:04 ========================================================= 04:44:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:44:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:44:04 + 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 . 04:44:04 Sending build context to Docker daemon 40.87MB 04:44:04 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:44:04 Step 2/15 : FROM ${BASE} AS builder 04:44:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:44:04 59bf1c3509f3: Pulling fs layer 04:44:04 666ba61612fd: Pulling fs layer 04:44:04 8ed8ca486205: Pulling fs layer 04:44:04 4fe6c5a15a65: Pulling fs layer 04:44:04 22a0e8bec74d: Pulling fs layer 04:44:04 f965cba54748: Pulling fs layer 04:44:04 861ffc35075e: Pulling fs layer 04:44:04 4b385c91608e: Pulling fs layer 04:44:04 560528eb2ebb: Pulling fs layer 04:44:04 4fe6c5a15a65: Waiting 04:44:04 22a0e8bec74d: Waiting 04:44:04 f965cba54748: Waiting 04:44:04 861ffc35075e: Waiting 04:44:04 4b385c91608e: Waiting 04:44:04 560528eb2ebb: Waiting 04:44:04 8ed8ca486205: Verifying Checksum 04:44:04 8ed8ca486205: Download complete 04:44:04 666ba61612fd: Verifying Checksum 04:44:04 666ba61612fd: Download complete 04:44:04 22a0e8bec74d: Verifying Checksum 04:44:04 22a0e8bec74d: Download complete 04:44:04 f965cba54748: Verifying Checksum 04:44:04 f965cba54748: Download complete 04:44:04 59bf1c3509f3: Verifying Checksum 04:44:04 59bf1c3509f3: Download complete 04:44:04 861ffc35075e: Verifying Checksum 04:44:04 861ffc35075e: Download complete 04:44:04 4b385c91608e: Verifying Checksum 04:44:04 4b385c91608e: Download complete 04:44:05 560528eb2ebb: Verifying Checksum 04:44:05 560528eb2ebb: Download complete 04:44:05 59bf1c3509f3: Pull complete 04:44:05 4fe6c5a15a65: Verifying Checksum 04:44:05 4fe6c5a15a65: Download complete 04:44:05 666ba61612fd: Pull complete 04:44:05 8ed8ca486205: Pull complete 04:44:09 4fe6c5a15a65: Pull complete 04:44:09 22a0e8bec74d: Pull complete 04:44:09 f965cba54748: Pull complete 04:44:09 861ffc35075e: Pull complete 04:44:09 4b385c91608e: Pull complete 04:44:12 560528eb2ebb: Pull complete 04:44:12 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 04:44:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:44:12 ---> dd4a08f94e63 04:44:12 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:44:14 ---> Running in 7f11c092c657 04:44:14 Removing intermediate container 7f11c092c657 04:44:14 ---> 8a0853261cc7 04:44:14 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:44:14 ---> Running in be11e522d073 04:44:14 Removing intermediate container be11e522d073 04:44:14 ---> d523b38578c8 04:44:14 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:44:14 ---> Running in 2e5c44a838f1 04:44:14 Removing intermediate container 2e5c44a838f1 04:44:14 ---> 51804a6d27a9 04:44:14 Step 6/15 : LABEL Name=edgex-ui-go 04:44:14 ---> Running in ed4339b8e866 04:44:14 Removing intermediate container ed4339b8e866 04:44:14 ---> 48c6b479c12a 04:44:14 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:44:14 ---> Running in 87a33e777e92 04:44:14 Removing intermediate container 87a33e777e92 04:44:14 ---> de50e4be125e 04:44:14 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:44:14 ---> Running in 292cd1e5ab51 04:44:14 Removing intermediate container 292cd1e5ab51 04:44:14 ---> d4c786eb87ce 04:44:14 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:44:14 ---> Running in cbc143f7e95a 04:44:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:44:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:44:16 OK: 221 MiB in 52 packages 04:44:16 Removing intermediate container cbc143f7e95a 04:44:16 ---> 56345265b471 04:44:16 Step 10/15 : ENV GO111MODULE=on 04:44:16 ---> Running in c279778a39ec 04:44:16 Removing intermediate container c279778a39ec 04:44:16 ---> afc8c0ce0877 04:44:16 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:44:16 ---> Running in 902b840d2e4d 04:44:16 Removing intermediate container 902b840d2e4d 04:44:16 ---> a76adad444c9 04:44:16 Step 12/15 : COPY go.mod vendor* ./ 04:44:16 ---> 83ab2653ce25 04:44:16 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:44:16 ---> Running in 20d6a9e74f2c 04:44:17 Still waiting to schedule task 04:44:17 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3664’ 04:44:43 Removing intermediate container 20d6a9e74f2c 04:44:43 ---> 5d86308f1882 04:44:43 Step 14/15 : COPY . . 04:44:43 ---> 7cd57780b09f 04:44:43 Step 15/15 : RUN ${MAKE} 04:44:43 ---> Running in 65db64fca011 04:44:43 noop 04:44:43 Removing intermediate container 65db64fca011 04:44:43 ---> 9eb91dfa7208 04:44:43 Successfully built 9eb91dfa7208 04:44:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:44:43 + docker inspect -f . ci-base-image-x86_64 04:44:43 . [Pipeline] withDockerContainer 04:44:43 prd-centos7-docker-4c-2g-3672 does not seem to be running inside a container 04:44:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 04:44:44 $ docker top 252611f14a5942b7c6d884c6e21a458b59e65c04eefb7279c3a153697cbd979d -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:44 + go version 04:44:44 go version go1.17.6 linux/amd64 [Pipeline] } 04:44:44 $ docker stop --time=1 252611f14a5942b7c6d884c6e21a458b59e65c04eefb7279c3a153697cbd979d 04:44:45 $ docker rm -f 252611f14a5942b7c6d884c6e21a458b59e65c04eefb7279c3a153697cbd979d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:44:46 + docker inspect -f . ci-base-image-x86_64 04:44:46 . [Pipeline] withDockerContainer 04:44:46 prd-centos7-docker-4c-2g-3672 does not seem to be running inside a container 04:44:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 04:44:46 $ docker top 8e73ec873481aa4e164edf45e9541c2eb9a281890d0c5ae4a57d0e4e116d7f2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:44:47 + make test 04:44:47 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:44:47 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:44:59 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:44:59 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:45:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:45:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:45:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:45:02 $ docker stop --time=1 8e73ec873481aa4e164edf45e9541c2eb9a281890d0c5ae4a57d0e4e116d7f2b 04:45:03 $ docker rm -f 8e73ec873481aa4e164edf45e9541c2eb9a281890d0c5ae4a57d0e4e116d7f2b [Pipeline] // withDockerContainer [Pipeline] sh 04:45:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:45:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:45:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:45:04 + ls -al . 04:45:04 total 112 04:45:04 drwxrwxr-x. 13 jenkins jenkins 4096 Jan 22 04:44 . 04:45:04 drwxrwxr-x. 4 jenkins jenkins 110 Jan 22 04:43 .. 04:45:04 drwxrwxr-x. 3 jenkins jenkins 20 Jan 22 04:43 assets 04:45:04 drwxrwxr-x. 2 jenkins jenkins 66 Jan 22 04:43 bin 04:45:04 drwxrwxr-x. 3 jenkins jenkins 29 Jan 22 04:43 cmd 04:45:04 -rw-rw-r--. 1 jenkins jenkins 3959 Jan 22 04:43 CONTRIBUTING.md 04:45:04 -rw-r--r--. 1 jenkins jenkins 10 Jan 22 04:44 coverage.out 04:45:04 -rw-rw-r--. 1 jenkins jenkins 1549 Jan 22 04:43 Dockerfile 04:45:04 drwxrwxr-x. 2 jenkins jenkins 23 Jan 22 04:43 docs 04:45:04 drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 04:43 .git 04:45:04 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 04:43 .github 04:45:04 -rw-rw-r--. 1 jenkins jenkins 155 Jan 22 04:43 .gitignore 04:45:04 -rw-rw-r--. 1 jenkins jenkins 1944 Jan 22 04:43 go.mod 04:45:04 -rw-rw-r--. 1 jenkins jenkins 48565 Jan 22 04:43 go.sum 04:45:04 drwxrwxr-x. 9 jenkins jenkins 125 Jan 22 04:43 internal 04:45:04 -rw-rw-r--. 1 jenkins jenkins 652 Jan 22 04:43 Jenkinsfile 04:45:04 -rw-rw-r--. 1 jenkins jenkins 11357 Jan 22 04:43 LICENSE 04:45:04 -rw-rw-r--. 1 jenkins jenkins 1212 Jan 22 04:43 Makefile 04:45:04 drwxrwxr-x. 3 jenkins jenkins 19 Jan 22 04:43 pkg 04:45:04 -rw-rw-r--. 1 jenkins jenkins 4450 Jan 22 04:43 README.md 04:45:04 drwx------. 3 jenkins jenkins 56 Jan 22 04:44 .semver 04:45:04 drwxrwxr-x. 4 jenkins jenkins 71 Jan 22 04:43 snap 04:45:04 -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 04:44 VERSION 04:45:04 -rw-rw-r--. 1 jenkins jenkins 155 Jan 22 04:43 version.go 04:45:04 drwxrwxr-x. 4 jenkins jenkins 4096 Jan 22 04:43 web [Pipeline] isUnix [Pipeline] sh 04:45:05 + 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=af92fc3a510baf92b26249ea2e822b715f893e43 --label arch=amd64 --label version=0.0.0 . 04:45:05 Sending build context to Docker daemon 40.87MB 04:45:05 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:45:05 Step 2/23 : FROM ${BASE} AS builder 04:45:05 ---> 9eb91dfa7208 04:45:05 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:45:05 ---> Running in 5b87fe24871e 04:45:05 Removing intermediate container 5b87fe24871e 04:45:05 ---> 139f48275609 04:45:05 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:45:05 ---> Running in f581012505db 04:45:05 Removing intermediate container f581012505db 04:45:05 ---> cc2e188097b8 04:45:05 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:45:05 ---> Running in 97fc039055b8 04:45:05 Removing intermediate container 97fc039055b8 04:45:05 ---> bdc47ffae3f9 04:45:05 Step 6/23 : LABEL Name=edgex-ui-go 04:45:06 ---> Running in 303ab4b7e1ed 04:45:06 Removing intermediate container 303ab4b7e1ed 04:45:06 ---> 5bd4c8d403e2 04:45:06 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:45:06 ---> Running in 773533bdc7b1 04:45:06 Removing intermediate container 773533bdc7b1 04:45:06 ---> 4635511e8b39 04:45:06 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:45:06 ---> Running in a7d88b4146c2 04:45:06 Removing intermediate container a7d88b4146c2 04:45:06 ---> 5eef0c6c845e 04:45:06 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:45:06 ---> Running in 2cb4c28c4412 04:45:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:45:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:45:08 OK: 221 MiB in 52 packages 04:45:08 Removing intermediate container 2cb4c28c4412 04:45:08 ---> f6c8da0ea923 04:45:08 Step 10/23 : ENV GO111MODULE=on 04:45:08 ---> Running in 3680acad4571 04:45:08 Removing intermediate container 3680acad4571 04:45:08 ---> 3539522d39be 04:45:08 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:45:08 ---> Running in cba77f280587 04:45:08 Removing intermediate container cba77f280587 04:45:08 ---> a6c127ca51ef 04:45:08 Step 12/23 : COPY go.mod vendor* ./ 04:45:08 ---> 21aeb2961888 04:45:08 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:08 ---> Running in 84ccff0df362 04:45:09 Removing intermediate container 84ccff0df362 04:45:09 ---> 1b49e88053cb 04:45:09 Step 14/23 : COPY . . 04:45:10 ---> 0608dc341005 04:45:10 Step 15/23 : RUN ${MAKE} 04:45:10 ---> Running in 4944b79626b0 04:45:10 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 04:45:18 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:45:19 Removing intermediate container 4944b79626b0 04:45:19 ---> 3bb732da2850 04:45:19 Step 16/23 : FROM alpine:3.14 04:45:20 3.14: Pulling from library/alpine 04:45:20 97518928ae5f: Pulling fs layer 04:45:20 97518928ae5f: Verifying Checksum 04:45:20 97518928ae5f: Download complete 04:45:20 97518928ae5f: Pull complete 04:45:20 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:45:20 Status: Downloaded newer image for alpine:3.14 04:45:20 ---> 0a97eee8041e 04:45:20 Step 17/23 : EXPOSE 4000 04:45:21 ---> Running in b3575d0d880d 04:45:21 Removing intermediate container b3575d0d880d 04:45:21 ---> bffebd366c98 04:45:21 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 04:45:21 ---> 583768b9ceb8 04:45:21 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:45:21 ---> Running in b45cee337b97 04:45:21 Removing intermediate container b45cee337b97 04:45:21 ---> 803afdfaddcb 04:45:21 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 04:45:21 ---> Running in 2ec509b7d4cd 04:45:21 Removing intermediate container 2ec509b7d4cd 04:45:21 ---> fd0823164f85 04:45:21 Step 21/23 : LABEL arch=amd64 04:45:21 ---> Running in 42f2d5546dca 04:45:21 Removing intermediate container 42f2d5546dca 04:45:21 ---> 3413877ed729 04:45:21 Step 22/23 : LABEL git_sha=af92fc3a510baf92b26249ea2e822b715f893e43 04:45:21 ---> Running in 705a3483be50 04:45:21 Removing intermediate container 705a3483be50 04:45:21 ---> 89cee320c028 04:45:21 Step 23/23 : LABEL version=0.0.0 04:45:21 ---> Running in 2fcea6149c05 04:45:21 Removing intermediate container 2fcea6149c05 04:45:21 ---> 17ebb6cf94d2 04:45:21 [Warning] One or more build-args [ARCH] were not consumed 04:45:21 Successfully built 17ebb6cf94d2 04:45:21 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 04:45:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:22 04:45:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:45:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:22 latest: Pulling from edgex-lftools-log-publisher 04:45:22 b4d181a07f80: Pulling fs layer 04:45:22 a1111a8f2ec3: Pulling fs layer 04:45:22 ed53099fbce6: Pulling fs layer 04:45:22 dc539afda2c1: Pulling fs layer 04:45:22 77bc0d833cb6: Pulling fs layer 04:45:22 9065ff56babe: Pulling fs layer 04:45:22 d287ab97295c: Pulling fs layer 04:45:22 77bc0d833cb6: Waiting 04:45:22 9065ff56babe: Waiting 04:45:22 d287ab97295c: Waiting 04:45:22 dc539afda2c1: Waiting 04:45:22 a1111a8f2ec3: Verifying Checksum 04:45:22 a1111a8f2ec3: Download complete 04:45:22 dc539afda2c1: Verifying Checksum 04:45:22 dc539afda2c1: Download complete 04:45:22 ed53099fbce6: Verifying Checksum 04:45:22 ed53099fbce6: Download complete 04:45:22 9065ff56babe: Verifying Checksum 04:45:22 9065ff56babe: Download complete 04:45:22 77bc0d833cb6: Verifying Checksum 04:45:22 77bc0d833cb6: Download complete 04:45:22 b4d181a07f80: Verifying Checksum 04:45:22 b4d181a07f80: Download complete 04:45:23 d287ab97295c: Verifying Checksum 04:45:23 d287ab97295c: Download complete 04:45:24 b4d181a07f80: Pull complete 04:45:24 a1111a8f2ec3: Pull complete 04:45:24 ed53099fbce6: Pull complete 04:45:24 dc539afda2c1: Pull complete 04:45:25 77bc0d833cb6: Pull complete 04:45:25 9065ff56babe: Pull complete 04:45:30 d287ab97295c: Pull complete 04:45:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:45:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:45:30 prd-centos7-docker-4c-2g-3672 does not seem to be running inside a container 04:45:30 $ 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-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 04:45:33 $ docker top abb83e4bca054159646e2bacd3a5c45d0339347d8e916c83ca4fb49e5e4f30fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:33 ---> job-cost.sh 04:45:33 lf-activate-venv: SKIPPING 04:45:33 INFO: No Stack... 04:45:33 INFO: Retrieving Pricing Info for: v3-standard-2 04:45:33 INFO: Archiving Costs [Pipeline] sh 04:45:34 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/cost.csv 04:45:34 + cut -d, -f6 [Pipeline] lock 04:45:34 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] 04:45:34 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] did not exist. Created. 04:45:34 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:45:34 + echo total: 0.05999999865889549 [Pipeline] stash 04:45:34 Stashed 1 file(s) [Pipeline] } 04:45:34 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:45:34 $ docker stop --time=1 abb83e4bca054159646e2bacd3a5c45d0339347d8e916c83ca4fb49e5e4f30fc 04:45:35 $ docker rm -f abb83e4bca054159646e2bacd3a5c45d0339347d8e916c83ca4fb49e5e4f30fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:48:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3674 in /w/workspace/edgexfoundry_edgex-ui-go_PR-493 [Pipeline] { [Pipeline] ws 04:48:33 Running in /w/workspace/edgex-ui-go/3 [Pipeline] { [Pipeline] checkout 04:48:33 The recommended git tool is: git 04:48:38 using credential edgex-jenkins-ssh 04:48:38 Cloning the remote Git repository 04:48:38 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 04:48:38 > git init /w/workspace/edgex-ui-go/3 # timeout=10 04:48:39 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:48:39 > git --version # timeout=10 04:48:39 > git --version # 'git version 2.17.1' 04:48:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:41 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:48:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:41 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 04:48:42 Merging remotes/origin/main commit 6185591ca8d2ca68a0b1a6fb0382f4c259152218 into PR head commit af92fc3a510baf92b26249ea2e822b715f893e43 04:48:43 Merge succeeded, producing af92fc3a510baf92b26249ea2e822b715f893e43 04:48:43 Checking out Revision af92fc3a510baf92b26249ea2e822b715f893e43 (PR-493) 04:48:42 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 04:48:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/493/head:refs/remotes/origin/PR-493 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:48:42 > git config core.sparsecheckout # timeout=10 04:48:42 > git checkout -f af92fc3a510baf92b26249ea2e822b715f893e43 # timeout=10 04:48:43 > git remote # timeout=10 04:48:43 > git config --get remote.origin.url # timeout=10 04:48:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:43 > git merge 6185591ca8d2ca68a0b1a6fb0382f4c259152218 # timeout=10 04:48:43 > git rev-parse HEAD^{commit} # timeout=10 04:48:43 > git config core.sparsecheckout # timeout=10 04:48:43 > git checkout -f af92fc3a510baf92b26249ea2e822b715f893e43 # timeout=10 04:48:47 Commit message: "chore(deps): Bump nanoid from 3.1.25 to 3.2.0 in /web" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:48:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:48:48 % Total % Received % Xferd Average Speed Time Time Time Current 04:48:48 Dload Upload Total Spent Left Speed 04:48:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 04:48:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:48:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:48:49 + sudo tee /etc/docker/daemon.new 04:48:49 { 04:48:49 "registry-mirrors": [ 04:48:49 "https://nexus3.edgexfoundry.org:10001" 04:48:49 ], 04:48:49 "bip": "10.250.0.254/24", 04:48:49 "hosts": [ 04:48:49 "tcp://0.0.0.0:5555", 04:48:49 "unix:///var/run/docker.sock" 04:48:49 ], 04:48:49 "mtu": 1458, 04:48:49 "selinux-enabled": true, 04:48:49 "seccomp-profile": "/etc/docker/seccomp.json" 04:48:49 } [Pipeline] sh 04:48:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:48:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:08 provisioning config files... 04:49:08 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/3@tmp/config8117105674246375150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:08 ---> docker-login.sh 04:49:08 nexus3.edgexfoundry.org:10001 04:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:09 Configure a credential helper to remove this warning. See 04:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:09 04:49:09 Login Succeeded 04:49:09 nexus3.edgexfoundry.org:10002 04:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:09 Configure a credential helper to remove this warning. See 04:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:09 04:49:09 Login Succeeded 04:49:09 nexus3.edgexfoundry.org:10003 04:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:10 Configure a credential helper to remove this warning. See 04:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:10 04:49:10 Login Succeeded 04:49:10 nexus3.edgexfoundry.org:10004 04:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:11 Configure a credential helper to remove this warning. See 04:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:11 04:49:11 Login Succeeded 04:49:11 docker.io 04:49:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:11 Configure a credential helper to remove this warning. See 04:49:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:11 04:49:11 Login Succeeded 04:49:11 ---> docker-login.sh ends [Pipeline] } 04:49:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:49:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:12 ========================================================= 04:49:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:49:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:49:12 + 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 . 04:49:13 Sending build context to Docker daemon 25.68MB 04:49:13 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 04:49:13 Step 2/15 : FROM ${BASE} AS builder 04:49:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:49:13 9b3977197b4f: Pulling fs layer 04:49:13 1a89e8eeedd5: Pulling fs layer 04:49:13 94645a83ff95: Pulling fs layer 04:49:13 3f3a8bcf1eab: Pulling fs layer 04:49:13 0c92f367c5e7: Pulling fs layer 04:49:13 4b8299f9d1f4: Pulling fs layer 04:49:13 9a6b49a46696: Pulling fs layer 04:49:13 cf05db05a679: Pulling fs layer 04:49:13 3f3a8bcf1eab: Waiting 04:49:13 0c92f367c5e7: Waiting 04:49:13 4b8299f9d1f4: Waiting 04:49:13 cf05db05a679: Waiting 04:49:13 9a6b49a46696: Waiting 04:49:13 94645a83ff95: Verifying Checksum 04:49:13 94645a83ff95: Download complete 04:49:13 1a89e8eeedd5: Verifying Checksum 04:49:13 1a89e8eeedd5: Download complete 04:49:13 0c92f367c5e7: Verifying Checksum 04:49:13 0c92f367c5e7: Download complete 04:49:13 4b8299f9d1f4: Verifying Checksum 04:49:13 4b8299f9d1f4: Download complete 04:49:13 9b3977197b4f: Verifying Checksum 04:49:13 9b3977197b4f: Download complete 04:49:13 9a6b49a46696: Verifying Checksum 04:49:13 9a6b49a46696: Download complete 04:49:14 9b3977197b4f: Pull complete 04:49:15 1a89e8eeedd5: Pull complete 04:49:15 94645a83ff95: Pull complete 04:49:15 cf05db05a679: Verifying Checksum 04:49:15 cf05db05a679: Download complete 04:49:16 3f3a8bcf1eab: Verifying Checksum 04:49:16 3f3a8bcf1eab: Download complete 04:49:28 3f3a8bcf1eab: Pull complete 04:49:28 0c92f367c5e7: Pull complete 04:49:28 4b8299f9d1f4: Pull complete 04:49:28 9a6b49a46696: Pull complete 04:49:33 cf05db05a679: Pull complete 04:49:33 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 04:49:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:49:33 ---> 0ccda1f7e2ee 04:49:33 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:49:35 ---> Running in 665339efa20d 04:49:36 Removing intermediate container 665339efa20d 04:49:36 ---> 8a2fc74f756c 04:49:36 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 04:49:36 ---> Running in 826204f685dd 04:49:36 Removing intermediate container 826204f685dd 04:49:36 ---> 876cd231d2f8 04:49:36 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 04:49:36 ---> Running in 71633e3d5e3f 04:49:37 Removing intermediate container 71633e3d5e3f 04:49:37 ---> ac3049885502 04:49:37 Step 6/15 : LABEL Name=edgex-ui-go 04:49:37 ---> Running in 1bd3e45e98ef 04:49:37 Removing intermediate container 1bd3e45e98ef 04:49:37 ---> ad26c12d9a01 04:49:37 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:49:37 ---> Running in 150d80e9d7ac 04:49:38 Removing intermediate container 150d80e9d7ac 04:49:38 ---> f2adc73ad54b 04:49:38 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:49:38 ---> Running in c9891f7499cc 04:49:40 Removing intermediate container c9891f7499cc 04:49:40 ---> 5f76e2403cfe 04:49:40 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:49:40 ---> Running in ebbdeb2f2786 04:49:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:49:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:49:43 OK: 220 MiB in 52 packages 04:49:44 Removing intermediate container ebbdeb2f2786 04:49:44 ---> 5b3e65c92f25 04:49:44 Step 10/15 : ENV GO111MODULE=on 04:49:44 ---> Running in 906fae30a6db 04:49:44 Removing intermediate container 906fae30a6db 04:49:44 ---> 81c32828c9af 04:49:44 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:49:44 ---> Running in 60fc399abb1e 04:49:44 Removing intermediate container 60fc399abb1e 04:49:44 ---> 19443f792c39 04:49:44 Step 12/15 : COPY go.mod vendor* ./ 04:49:45 ---> 2493611eebee 04:49:45 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:49:45 ---> Running in cafa15c98f20 04:51:07 Removing intermediate container cafa15c98f20 04:51:07 ---> 35981867d859 04:51:07 Step 14/15 : COPY . . 04:51:07 ---> 652f2afe3223 04:51:07 Step 15/15 : RUN ${MAKE} 04:51:07 ---> Running in 2b3ad70ccd73 04:51:07 noop 04:51:07 Removing intermediate container 2b3ad70ccd73 04:51:07 ---> 1eee6b751670 04:51:07 Successfully built 1eee6b751670 04:51:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:51:07 + docker inspect -f . ci-base-image-arm64 04:51:07 . [Pipeline] withDockerContainer 04:51:08 prd-ubuntu18.04-docker-arm64-4c-16g-3674 does not seem to be running inside a container 04:51:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/3 -v /w/workspace/edgex-ui-go/3:/w/workspace/edgex-ui-go/3:rw,z -v /w/workspace/edgex-ui-go/3@tmp:/w/workspace/edgex-ui-go/3@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 04:51:09 $ docker top 534dea2da786a0b44c3a69729cd056620aafb999f94f8d1bbd6b2ceac59158fa -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:10 + go version 04:51:10 go version go1.17.6 linux/arm64 [Pipeline] } 04:51:10 $ docker stop --time=1 534dea2da786a0b44c3a69729cd056620aafb999f94f8d1bbd6b2ceac59158fa 04:51:12 $ docker rm -f 534dea2da786a0b44c3a69729cd056620aafb999f94f8d1bbd6b2ceac59158fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:51:12 + docker inspect -f . ci-base-image-arm64 04:51:12 . [Pipeline] withDockerContainer 04:51:13 prd-ubuntu18.04-docker-arm64-4c-16g-3674 does not seem to be running inside a container 04:51:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-ui-go/3 -v /w/workspace/edgex-ui-go/3:/w/workspace/edgex-ui-go/3:rw,z -v /w/workspace/edgex-ui-go/3@tmp:/w/workspace/edgex-ui-go/3@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 04:51:14 $ docker top bdbbf6969f8287cec17dd82b3114b31b5ecf5089d517b55966f0223531609d5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:51:15 + make test 04:51:15 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:51:16 ? github.com/edgexfoundry/edgex-ui-go [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 04:51:55 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 04:51:55 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:52:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:52:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:52:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:52:10 $ docker stop --time=1 bdbbf6969f8287cec17dd82b3114b31b5ecf5089d517b55966f0223531609d5d 04:52:12 $ docker rm -f bdbbf6969f8287cec17dd82b3114b31b5ecf5089d517b55966f0223531609d5d [Pipeline] // withDockerContainer [Pipeline] sh 04:52:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:52:13 Warning: overwriting stash ‘coverage-report’ 04:52:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:52:14 + ls -al . 04:52:14 total 152 04:52:14 drwxrwxr-x 12 jenkins jenkins 4096 Jan 22 04:51 . 04:52:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:48 .. 04:52:14 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 04:48 .git 04:52:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:48 .github 04:52:14 -rw-rw-r-- 1 jenkins jenkins 155 Jan 22 04:48 .gitignore 04:52:14 -rw-rw-r-- 1 jenkins jenkins 3959 Jan 22 04:48 CONTRIBUTING.md 04:52:14 -rw-rw-r-- 1 jenkins jenkins 1549 Jan 22 04:48 Dockerfile 04:52:14 -rw-rw-r-- 1 jenkins jenkins 652 Jan 22 04:48 Jenkinsfile 04:52:14 -rw-rw-r-- 1 jenkins jenkins 11357 Jan 22 04:48 LICENSE 04:52:14 -rw-rw-r-- 1 jenkins jenkins 1212 Jan 22 04:48 Makefile 04:52:14 -rw-rw-r-- 1 jenkins jenkins 4450 Jan 22 04:48 README.md 04:52:14 -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 04:44 VERSION 04:52:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 04:48 assets 04:52:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:48 bin 04:52:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 04:48 cmd 04:52:14 -rw-r--r-- 1 jenkins jenkins 10 Jan 22 04:51 coverage.out 04:52:14 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 04:48 docs 04:52:14 -rw-rw-r-- 1 jenkins jenkins 1944 Jan 22 04:48 go.mod 04:52:14 -rw-rw-r-- 1 jenkins jenkins 48565 Jan 22 04:48 go.sum 04:52:14 drwxrwxr-x 9 jenkins jenkins 4096 Jan 22 04:48 internal 04:52:14 drwxrwxr-x 3 jenkins jenkins 4096 Jan 22 04:48 pkg 04:52:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:48 snap 04:52:14 -rw-rw-r-- 1 jenkins jenkins 155 Jan 22 04:48 version.go 04:52:14 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 04:48 web [Pipeline] isUnix [Pipeline] sh 04:52:14 + 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=af92fc3a510baf92b26249ea2e822b715f893e43 --label arch=arm64 --label version=0.0.0 . 04:52:15 Sending build context to Docker daemon 25.68MB 04:52:15 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 04:52:15 Step 2/23 : FROM ${BASE} AS builder 04:52:15 ---> 1eee6b751670 04:52:15 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 04:52:15 ---> Running in 0e7e6a466ad6 04:52:16 Removing intermediate container 0e7e6a466ad6 04:52:16 ---> 51c2d6d02894 04:52:16 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 04:52:16 ---> Running in 978e47cfeace 04:52:16 Removing intermediate container 978e47cfeace 04:52:16 ---> f246af5821ba 04:52:16 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 04:52:16 ---> Running in 57dbfcc780b6 04:52:17 Removing intermediate container 57dbfcc780b6 04:52:17 ---> b5579d919df1 04:52:17 Step 6/23 : LABEL Name=edgex-ui-go 04:52:17 ---> Running in 440e442c154b 04:52:17 Removing intermediate container 440e442c154b 04:52:17 ---> 9f8c5b87f43d 04:52:17 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 04:52:17 ---> Running in 20b49c7e9193 04:52:17 Removing intermediate container 20b49c7e9193 04:52:17 ---> 7175417e27f2 04:52:17 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:52:18 ---> Running in 6b3fb1576b27 04:52:19 Removing intermediate container 6b3fb1576b27 04:52:19 ---> 587918c15619 04:52:19 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:19 ---> Running in fc62098c5a33 04:52:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:52:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:52:22 OK: 220 MiB in 52 packages 04:52:23 Removing intermediate container fc62098c5a33 04:52:23 ---> 18d20f92a817 04:52:23 Step 10/23 : ENV GO111MODULE=on 04:52:23 ---> Running in 933b8f0a7d2b 04:52:23 Removing intermediate container 933b8f0a7d2b 04:52:23 ---> 260e9453e205 04:52:23 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 04:52:23 ---> Running in 82d96f1e65d2 04:52:24 Removing intermediate container 82d96f1e65d2 04:52:24 ---> c88ebd72fb4a 04:52:24 Step 12/23 : COPY go.mod vendor* ./ 04:52:24 ---> 259891b05fc8 04:52:24 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:25 ---> Running in d8135cdeacf4 04:52:26 Removing intermediate container d8135cdeacf4 04:52:26 ---> 91bf9bef56b6 04:52:26 Step 14/23 : COPY . . 04:52:30 ---> 113522ab2bba 04:52:30 Step 15/23 : RUN ${MAKE} 04:52:30 ---> Running in 6d27bc6818d1 04:52:30 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 04:53:03 CGO_ENABLED=0 GO111MODULE=on go build ./... 04:53:08 Removing intermediate container 6d27bc6818d1 04:53:08 ---> e157a3b866d3 04:53:08 Step 16/23 : FROM alpine:3.14 04:53:08 3.14: Pulling from library/alpine 04:53:08 be307f383ecc: Pulling fs layer 04:53:09 be307f383ecc: Download complete 04:53:09 be307f383ecc: Pull complete 04:53:09 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:53:09 Status: Downloaded newer image for alpine:3.14 04:53:09 ---> 5b8b7b635229 04:53:09 Step 17/23 : EXPOSE 4000 04:53:09 ---> Running in 37eab1199c81 04:53:10 Removing intermediate container 37eab1199c81 04:53:10 ---> e40a3ed58da7 04:53:10 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 04:53:11 ---> a3c08eb8d1f8 04:53:11 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 04:53:11 ---> Running in b73b5a9f636f 04:53:11 Removing intermediate container b73b5a9f636f 04:53:11 ---> 4071b89dd797 04:53:11 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 04:53:12 ---> Running in 4cf8bb6b0035 04:53:12 Removing intermediate container 4cf8bb6b0035 04:53:12 ---> eaac075bf8b2 04:53:12 Step 21/23 : LABEL arch=arm64 04:53:12 ---> Running in 16e03f07ccbd 04:53:12 Removing intermediate container 16e03f07ccbd 04:53:12 ---> ed17abba6d8a 04:53:12 Step 22/23 : LABEL git_sha=af92fc3a510baf92b26249ea2e822b715f893e43 04:53:12 ---> Running in 7fe1b4b2445f 04:53:13 Removing intermediate container 7fe1b4b2445f 04:53:13 ---> 1af8687be209 04:53:13 Step 23/23 : LABEL version=0.0.0 04:53:13 ---> Running in beee4372b9ca 04:53:13 Removing intermediate container beee4372b9ca 04:53:13 ---> 8ea5fb7f5305 04:53:13 [Warning] One or more build-args [ARCH] were not consumed 04:53:13 Successfully built 8ea5fb7f5305 04:53:13 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 04:53:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:53:14 04:53:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:53:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:53:14 arm64: Pulling from edgex-lftools-log-publisher 04:53:14 448f6bf000e3: Pulling fs layer 04:53:14 f757da607395: Pulling fs layer 04:53:14 05883995daec: Pulling fs layer 04:53:14 8603b9c90790: Pulling fs layer 04:53:14 1560dd03e051: Pulling fs layer 04:53:14 27f5ce0e4adf: Pulling fs layer 04:53:14 c2d8d7efcc4b: Pulling fs layer 04:53:14 8603b9c90790: Waiting 04:53:14 1560dd03e051: Waiting 04:53:14 c2d8d7efcc4b: Waiting 04:53:14 27f5ce0e4adf: Waiting 04:53:14 f757da607395: Verifying Checksum 04:53:14 f757da607395: Download complete 04:53:14 8603b9c90790: Verifying Checksum 04:53:14 8603b9c90790: Download complete 04:53:14 1560dd03e051: Verifying Checksum 04:53:14 1560dd03e051: Download complete 04:53:15 27f5ce0e4adf: Verifying Checksum 04:53:15 27f5ce0e4adf: Download complete 04:53:15 05883995daec: Verifying Checksum 04:53:15 05883995daec: Download complete 04:53:15 448f6bf000e3: Verifying Checksum 04:53:15 448f6bf000e3: Download complete 04:53:17 c2d8d7efcc4b: Verifying Checksum 04:53:17 c2d8d7efcc4b: Download complete 04:53:18 448f6bf000e3: Pull complete 04:53:19 f757da607395: Pull complete 04:53:21 05883995daec: Pull complete 04:53:21 8603b9c90790: Pull complete 04:53:21 1560dd03e051: Pull complete 04:53:22 27f5ce0e4adf: Pull complete 04:53:37 c2d8d7efcc4b: Pull complete 04:53:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:53:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:53:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:53:37 prd-ubuntu18.04-docker-arm64-4c-16g-3674 does not seem to be running inside a container 04:53:37 $ 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/3 -v /w/workspace/edgex-ui-go/3:/w/workspace/edgex-ui-go/3:rw,z -v /w/workspace/edgex-ui-go/3@tmp:/w/workspace/edgex-ui-go/3@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 04:53:40 $ docker top 514afc67227b544b4366659c77af67ea33ec2d69a447552668aeb90a8d079317 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:41 ---> job-cost.sh 04:53:41 lf-activate-venv: SKIPPING 04:53:41 INFO: No Stack... 04:53:41 INFO: Retrieving Pricing Info for: v3-standard-4 04:53:41 INFO: Archiving Costs [Pipeline] sh 04:53:42 + cat /w/workspace/edgex-ui-go/3/archives/cost.csv 04:53:42 + cut -d, -f6 [Pipeline] lock 04:53:42 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] 04:53:42 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] did not exist. Created. 04:53:42 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:53:43 /w/workspace/edgex-ui-go/3@tmp/durable-a559e93e/script.sh: 1: /w/workspace/edgex-ui-go/3@tmp/durable-a559e93e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:53:43 + echo total: 0.10999999940395355 [Pipeline] stash 04:53:43 Warning: overwriting stash ‘stack-cost’ 04:53:43 Stashed 1 file(s) [Pipeline] } 04:53:43 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-493-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:53:44 $ docker stop --time=1 514afc67227b544b4366659c77af67ea33ec2d69a447552668aeb90a8d079317 04:53:45 $ docker rm -f 514afc67227b544b4366659c77af67ea33ec2d69a447552668aeb90a8d079317 [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 04:53:45 provisioning config files... 04:53:45 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config3042350441348059400tmp [Pipeline] { [Pipeline] sh 04:53:46 + set +x 04:53:46 + curl -s https://codecov.io/bash 04:53:46 + bash -s -- 04:53:46 04:53:46 _____ _ 04:53:46 / ____| | | 04:53:46 | | ___ __| | ___ ___ _____ __ 04:53:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:53:46 | |___| (_) | (_| | __/ (_| (_) \ V / 04:53:46 \_____\___/ \__,_|\___|\___\___/ \_/ 04:53:46 Bash-1.0.6 04:53:46 04:53:46 04:53:46 ==> git version 2.24.4 found 04:53:46 ==> 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 04:53:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:53:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:53:46 ==> Jenkins CI detected. 04:53:46 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-493 04:53:46 project root: . 04:53:46 --> token set from env 04:53:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:53:46 ==> Running gcov in . (disable via -X gcov) 04:53:46 ==> Python coveragepy not found 04:53:46 ==> Searching for coverage reports in: 04:53:46 + . 04:53:46 -> Found 1 reports 04:53:46 ==> Detecting git/mercurial file structure 04:53:46 ==> Reading reports 04:53:46 + ./coverage.out bytes=10 04:53:46 ==> Appending adjustments 04:53:46 https://docs.codecov.io/docs/fixing-reports 04:53:46 + Found adjustments 04:53:46 ==> Gzipping contents 04:53:46 4.0K /tmp/codecov.zVa8Ug.gz 04:53:46 ==> Uploading reports 04:53:46 url: https://codecov.io 04:53:46 query: branch=PR-493&commit=af92fc3a510baf92b26249ea2e822b715f893e43&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-493%2F3%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=493&job=&cmd_args= 04:53:46 -> Pinging Codecov 04:53:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-493&commit=af92fc3a510baf92b26249ea2e822b715f893e43&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-493%2F3%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=493&job=&cmd_args= 04:53:46 -> Uploading to 04:53:46 https://storage.googleapis.com/codecov/v4/raw/2022-01-22/FB506323287CE973F263BFD2A0EB1F37/af92fc3a510baf92b26249ea2e822b715f893e43/6b9c9712-f1a0-4fff-ac44-a54f9c271ac9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220122T045346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f71d8975bffce7f1cc43845d224585094fb3b56bf8e2f0734e8e322cc0f63c4 04:53:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:53:46 Dload Upload Total Spent Left Speed 04:53:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3732 0 0 100 3732 0 11351 --:--:-- --:--:-- --:--:-- 11378 04:53:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/af92fc3a510baf92b26249ea2e822b715f893e43 [Pipeline] } 04:53:47 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 04:53:47 + '[' -d /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives ']' 04:53:47 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 04:53:47 total 8 04:53:47 drwxr-xr-x. 3 root root 34 Jan 22 04:45 . 04:53:47 drwxrwxr-x. 14 jenkins jenkins 4096 Jan 22 04:45 .. 04:53:47 drwxr-xr-x. 2 root root 6 Jan 22 04:45 cost 04:53:47 -rw-r--r--. 1 root root 82 Jan 22 04:45 cost.csv 04:53:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 04:53:47 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives 04:53:47 total 8 04:53:47 drwxr-xr-x. 3 jenkins jenkins 34 Jan 22 04:45 . 04:53:47 drwxrwxr-x. 14 jenkins jenkins 4096 Jan 22 04:45 .. 04:53:47 drwxr-xr-x. 2 jenkins jenkins 6 Jan 22 04:45 cost 04:53:47 -rw-r--r--. 1 jenkins jenkins 82 Jan 22 04:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:53:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:53:48 ---> package-listing.sh 04:53:48 ++ facter osfamily 04:53:48 ++ tr '[:upper:]' '[:lower:]' 04:53:49 + OS_FAMILY=redhat 04:53:49 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-493 04:53:49 + START_PACKAGES=/tmp/packages_start.txt 04:53:49 + END_PACKAGES=/tmp/packages_end.txt 04:53:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:53:49 + PACKAGES=/tmp/packages_start.txt 04:53:49 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-493 ']' 04:53:49 + PACKAGES=/tmp/packages_end.txt 04:53:49 + case "${OS_FAMILY}" in 04:53:49 + sort 04:53:49 + rpm -qa 04:53:49 + '[' -f /tmp/packages_start.txt ']' 04:53:49 + '[' -f /tmp/packages_end.txt ']' 04:53:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:53:49 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-493 ']' 04:53:49 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/ 04:53:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-493/archives/ [Pipeline] echo 04:53:49 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-493/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:53:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:53:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:53:50 . [Pipeline] withDockerContainer 04:53:50 prd-centos7-docker-4c-2g-3672 does not seem to be running inside a container 04:53:50 $ 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-493/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-493 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493:/w/workspace/edgexfoundry_edgex-ui-go_PR-493:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@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 04:53:50 $ docker top 0f66d6acaadf7bd2a5ecd7593603774c30112438beb7bd47ea5fee62cd8d423a -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:51 + touch /tmp/pre-build-complete [Pipeline] sh 04:53:51 + mkdir -p /var/log/sysstat [Pipeline] sh 04:53:51 + ls /var/log/sa-host 04:53:51 + sadf -c /var/log/sa-host/sa17 04:53:51 file_magic: OK 04:53:51 HZ: Using current value: 100 04:53:51 file_header: OK 04:53:51 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 04:53:51 Statistics: 04:53:51 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:53:51 File successfully converted to sysstat format version 12.0.3 04:53:51 + sadf -c /var/log/sa-host/sa22 04:53:51 file_magic: OK 04:53:51 HZ: Using current value: 100 04:53:51 file_header: OK 04:53:51 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 04:53:51 Statistics: 04:53:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:53:51 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:51 provisioning config files... 04:53:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-493@tmp/config2517521881737139849tmp [Pipeline] { [Pipeline] echo 04:53:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:53:52 ---> create-netrc.sh [Pipeline] } 04:53:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:53:52 ---> python-tools-install.sh [Pipeline] echo 04:53:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:53:52 ---> sudo-logs.sh 04:53:52 Archiving 'sudo' log.. 04:53:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-3672.novalocal: Name or service not known 04:53:52 sudo: unable to resolve host prd-centos7-docker-4c-2g-3672.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:53:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:53:53 ---> job-cost.sh 04:53:53 lf-activate-venv: SKIPPING 04:53:53 DEBUG: total: 0.05999999865889549 04:53:53 INFO: Retrieving Stack Cost... 04:53:53 INFO: Retrieving Pricing Info for: v3-standard-2 04:53:53 INFO: Archiving Costs [Pipeline] echo 04:53:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:53:54 ---> logs-deploy.sh 04:53:54 lf-activate-venv: SKIPPING 04:53:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-493/3 04:53:54 INFO: archiving workspace using pattern(s): 04:53:54 Archives upload complete. 04:53:55 INFO: archiving logs to Nexus