Pull request #508 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d+a6a695fe0832c83638180736bbe712fc51e8f859 (48e0d3364904c03ecb0843f35a5a21d77a150076) 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-ssh2403995933682444017.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh8915603883550559.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-508/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-508/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15511346601332876693.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh10107695208470089169.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-508/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-508/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16490914356117648676.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-ui-go-settings PROJECT: edgex-ui-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: edgex-ui DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10526 in /w/workspace/edgexfoundry_edgex-ui-go_PR-508 [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-508 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a6a695fe0832c83638180736bbe712fc51e8f859 into PR head commit 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d Merge succeeded, producing 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d Checking out Revision 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d (PR-508) > git config core.sparsecheckout # timeout=10 > git checkout -f 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a6a695fe0832c83638180736bbe712fc51e8f859 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d # timeout=10 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/minimist-1.2.6" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:54:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:54:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:54:01 ========================================================= 05:54:01 EdgeX Global Pipelines Version Info 05:54:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f821a1c392757b4d967b0661a03a00bffbb378c7 # timeout=10 05:54:02 ------------------- 05:54:02 stable info: 05:54:02 ------------------- 05:54:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:54:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:54:02 Message: update stable to v1.0.221 05:54:02 ------------------- 05:54:02 experimental info: 05:54:02 ------------------- 05:54:02 Commited By: **** collab-it+edgex@linuxfoundation.org 05:54:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:54:02 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-ui-go-settings [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-ui-go [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = edgex-ui [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-508 [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-508 [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-508 [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 830a4f7 [Pipeline] echo 05:54:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:03 provisioning config files... 05:54:03 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config5789539842049008674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:03 ---> docker-login.sh 05:54:03 nexus3.edgexfoundry.org:10001 05:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:04 Configure a credential helper to remove this warning. See 05:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:04 05:54:04 Login Succeeded 05:54:04 nexus3.edgexfoundry.org:10002 05:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:04 Configure a credential helper to remove this warning. See 05:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:04 05:54:04 Login Succeeded 05:54:04 nexus3.edgexfoundry.org:10003 05:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:04 Configure a credential helper to remove this warning. See 05:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:04 05:54:04 Login Succeeded 05:54:04 nexus3.edgexfoundry.org:10004 05:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:04 Configure a credential helper to remove this warning. See 05:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:04 05:54:04 Login Succeeded 05:54:04 docker.io 05:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:05 Configure a credential helper to remove this warning. See 05:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:05 05:54:05 Login Succeeded 05:54:05 ---> docker-login.sh ends [Pipeline] } 05:54:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:54:05 + git rev-list -1 --merges 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d~1..830a4f7a4bab22544a3e51fa0363d030b5b7ae1d [Pipeline] echo 05:54:05 -----------> git rev-list -1 --merges 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d~1..830a4f7a4bab22544a3e51fa0363d030b5b7ae1d 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d 05:54:05 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d [false] [Pipeline] sh 05:54:05 + git log --format=format:%s -1 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d [Pipeline] echo 05:54:05 ========================================================= 05:54:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:54:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:06 + git log --format=format:%s -1 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d [Pipeline] echo 05:54:06 [semverPrep] GIT_COMMIT: 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d, Commit Message: Merge branch 'main' into dependabot/npm_and_yarn/web/minimist-1.2.6 [Pipeline] echo 05:54:06 [semverPrep] This is not a build commit. [Pipeline] sh 05:54:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:54:06 + grep -v github /etc/ssh/ssh_known_hosts 05:54:06 + [ -e /tmp/ssh_known_hosts ] 05:54:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:54:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:54:06 + sudo tee -a /etc/ssh/ssh_known_hosts 05:54:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:54:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:07 05:54:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:54:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:07 latest: Pulling from edgex-devops/git-semver 05:54:07 a0d0a0d46f8b: Pulling fs layer 05:54:07 3e5f54012d9b: Pulling fs layer 05:54:07 4c7163046ea9: Pulling fs layer 05:54:07 0c2d73faf560: Pulling fs layer 05:54:07 0c2d73faf560: Waiting 05:54:07 3e5f54012d9b: Download complete 05:54:07 a0d0a0d46f8b: Verifying Checksum 05:54:07 a0d0a0d46f8b: Download complete 05:54:07 0c2d73faf560: Verifying Checksum 05:54:07 0c2d73faf560: Download complete 05:54:07 4c7163046ea9: Verifying Checksum 05:54:07 4c7163046ea9: Download complete 05:54:07 a0d0a0d46f8b: Pull complete 05:54:07 3e5f54012d9b: Pull complete 05:54:07 4c7163046ea9: Pull complete 05:54:08 0c2d73faf560: Pull complete 05:54:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:54:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:54:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:54:08 prd-ubuntu20.04-docker-8c-8g-10526 does not seem to be running inside a container 05:54:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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 05:54:09 $ docker top 91846334253da4768ff59019715737601dbd1dae944dabe91dadc402e24822f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:54:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:09 [ssh-agent] Looking for ssh-agent implementation... 05:54:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:09 $ docker exec 91846334253da4768ff59019715737601dbd1dae944dabe91dadc402e24822f4 ssh-agent 05:54:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeBecjo/agent.14 05:54:09 SSH_AGENT_PID=20 05:54:09 Running ssh-add (command line suppressed) 05:54:09 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_3483658261913378169.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_3483658261913378169.key) 05:54:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:10 + git tag --points-at HEAD [Pipeline] } 05:54:10 $ docker exec --env ******** --env ******** 91846334253da4768ff59019715737601dbd1dae944dabe91dadc402e24822f4 ssh-agent -k 05:54:10 unset SSH_AUTH_SOCK; 05:54:10 unset SSH_AGENT_PID; 05:54:10 echo Agent pid 20 killed; 05:54:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:54:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:54:10 [ssh-agent] Looking for ssh-agent implementation... 05:54:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:54:10 $ docker exec 91846334253da4768ff59019715737601dbd1dae944dabe91dadc402e24822f4 ssh-agent 05:54:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNcAcjl/agent.54 05:54:10 SSH_AGENT_PID=60 05:54:10 Running ssh-add (command line suppressed) 05:54:10 Identity added: /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_2565022109923119004.key (/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/private_key_2565022109923119004.key) 05:54:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:54:11 + git semver init 05:54:11 # -> Open(): unable to determine branch for HEAD 05:54:11 # $GIT_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-508/.git 05:54:11 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_edgex-ui-go_PR-508 05:54:11 # $SEMVER_REMOTE_NAME = origin 05:54:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:54:11 # $SEMVER_USER_NAME = edgex-jenkins 05:54:11 # $SEMVER_BRANCH = PR-508 05:54:11 # $SEMVER_TEMP = /tmp/semver-797647279 05:54:11 # git clone --branch semver git@github.com:edgexfoundry/edgex-ui-go.git $SEMVER_TEMP 05:54:13 # '/tmp/semver-797647279' -> '/w/workspace/edgexfoundry_edgex-ui-go_PR-508/.semver' 05:54:13 # -> Force: false 05:54:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_edgex-ui-go_PR-508/.semver [Pipeline] } 05:54:13 $ docker exec --env ******** --env ******** 91846334253da4768ff59019715737601dbd1dae944dabe91dadc402e24822f4 ssh-agent -k 05:54:13 unset SSH_AUTH_SOCK; 05:54:13 unset SSH_AGENT_PID; 05:54:13 echo Agent pid 60 killed; 05:54:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:54:14 + git semver [Pipeline] } 05:54:14 $ docker stop --time=1 91846334253da4768ff59019715737601dbd1dae944dabe91dadc402e24822f4 05:54:15 $ docker rm -f 91846334253da4768ff59019715737601dbd1dae944dabe91dadc402e24822f4 [Pipeline] // withDockerContainer [Pipeline] sh 05:54:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:54:16 Stashed 1 file(s) [Pipeline] echo 05:54:16 [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 05:54:16 provisioning config files... 05:54:16 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config7336648245525349166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:16 ---> docker-login.sh 05:54:16 nexus3.edgexfoundry.org:10001 05:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:16 Configure a credential helper to remove this warning. See 05:54:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:16 05:54:16 Login Succeeded 05:54:16 nexus3.edgexfoundry.org:10002 05:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:16 Configure a credential helper to remove this warning. See 05:54:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:16 05:54:16 Login Succeeded 05:54:16 nexus3.edgexfoundry.org:10003 05:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:16 Configure a credential helper to remove this warning. See 05:54:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:16 05:54:16 Login Succeeded 05:54:16 nexus3.edgexfoundry.org:10004 05:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:17 Configure a credential helper to remove this warning. See 05:54:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:17 05:54:17 Login Succeeded 05:54:17 docker.io 05:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:17 Configure a credential helper to remove this warning. See 05:54:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:17 05:54:17 Login Succeeded 05:54:17 ---> docker-login.sh ends [Pipeline] } 05:54:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:54:17 ========================================================= 05:54:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:54:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:54:17 + 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 . 05:54:18 Sending build context to Docker daemon 43.17MB 05:54:18 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 05:54:18 Step 2/15 : FROM ${BASE} AS builder 05:54:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:54:18 59bf1c3509f3: Pulling fs layer 05:54:18 666ba61612fd: Pulling fs layer 05:54:18 8ed8ca486205: Pulling fs layer 05:54:18 4fe6c5a15a65: Pulling fs layer 05:54:18 22a0e8bec74d: Pulling fs layer 05:54:18 640e595b4fbd: Pulling fs layer 05:54:18 763cafe07f6e: Pulling fs layer 05:54:18 0c0b528cf693: Pulling fs layer 05:54:18 10935f4eaf8b: Pulling fs layer 05:54:18 4fe6c5a15a65: Waiting 05:54:18 22a0e8bec74d: Waiting 05:54:18 640e595b4fbd: Waiting 05:54:18 763cafe07f6e: Waiting 05:54:18 0c0b528cf693: Waiting 05:54:18 10935f4eaf8b: Waiting 05:54:18 8ed8ca486205: Verifying Checksum 05:54:18 8ed8ca486205: Download complete 05:54:18 666ba61612fd: Download complete 05:54:18 22a0e8bec74d: Verifying Checksum 05:54:18 22a0e8bec74d: Download complete 05:54:18 640e595b4fbd: Verifying Checksum 05:54:18 640e595b4fbd: Download complete 05:54:18 59bf1c3509f3: Verifying Checksum 05:54:18 59bf1c3509f3: Download complete 05:54:18 763cafe07f6e: Download complete 05:54:18 0c0b528cf693: Verifying Checksum 05:54:18 0c0b528cf693: Download complete 05:54:18 59bf1c3509f3: Pull complete 05:54:18 666ba61612fd: Pull complete 05:54:18 8ed8ca486205: Pull complete 05:54:18 10935f4eaf8b: Verifying Checksum 05:54:18 10935f4eaf8b: Download complete 05:54:18 4fe6c5a15a65: Download complete 05:54:23 4fe6c5a15a65: Pull complete 05:54:23 22a0e8bec74d: Pull complete 05:54:23 640e595b4fbd: Pull complete 05:54:23 763cafe07f6e: Pull complete 05:54:23 0c0b528cf693: Pull complete 05:54:25 10935f4eaf8b: Pull complete 05:54:25 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:54:25 ---> 99d49a6021b9 05:54:25 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 05:54:26 ---> Running in b34550487797 05:54:26 Removing intermediate container b34550487797 05:54:26 ---> 20a1b76edb36 05:54:26 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 05:54:26 ---> Running in d567e19f8b62 05:54:26 Removing intermediate container d567e19f8b62 05:54:26 ---> 3a9af430dd2c 05:54:26 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 05:54:26 ---> Running in 752572d2b1af 05:54:27 Removing intermediate container 752572d2b1af 05:54:27 ---> 8025fe38e300 05:54:27 Step 6/15 : LABEL Name=edgex-ui-go 05:54:27 ---> Running in cde388862b89 05:54:27 Removing intermediate container cde388862b89 05:54:27 ---> 6cded0ddfad3 05:54:27 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 05:54:27 ---> Running in 5b7fe3351fe5 05:54:27 Removing intermediate container 5b7fe3351fe5 05:54:27 ---> 77f38b533cfb 05:54:27 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:27 ---> Running in d48d20febe29 05:54:27 Removing intermediate container d48d20febe29 05:54:27 ---> 2fd37fb8a6a8 05:54:27 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:54:27 ---> Running in 2d7acbaf1e2d 05:54:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:54:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:54:29 OK: 221 MiB in 52 packages 05:54:29 Removing intermediate container 2d7acbaf1e2d 05:54:29 ---> e1709481c191 05:54:29 Step 10/15 : ENV GO111MODULE=on 05:54:29 ---> Running in 9aa37e7aaea1 05:54:29 Removing intermediate container 9aa37e7aaea1 05:54:29 ---> 1f7893b9954a 05:54:29 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 05:54:29 ---> Running in c606a1e99cef 05:54:30 Removing intermediate container c606a1e99cef 05:54:30 ---> 65110f7d8e8e 05:54:30 Step 12/15 : COPY go.mod vendor* ./ 05:54:30 ---> 0fd0de90256a 05:54:30 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:30 ---> Running in cec31020fd99 05:54:31 Still waiting to schedule task 05:54:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:55:02 Removing intermediate container cec31020fd99 05:55:02 ---> de50d45efc97 05:55:02 Step 14/15 : COPY . . 05:55:02 ---> 5c987323444b 05:55:02 Step 15/15 : RUN ${MAKE} 05:55:02 ---> Running in 2d34a060dc45 05:55:02 noop 05:55:02 Removing intermediate container 2d34a060dc45 05:55:02 ---> c0e72a7306d9 05:55:02 Successfully built c0e72a7306d9 05:55:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:55:02 + docker inspect -f . ci-base-image-x86_64 05:55:02 . [Pipeline] withDockerContainer 05:55:02 prd-ubuntu20.04-docker-8c-8g-10526 does not seem to be running inside a container 05:55:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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 05:55:03 $ docker top 94ea57d9509748282aecbca7c28e2c192d2402ac7adfc037d0c574b885d6dff1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:03 + go version 05:55:03 go version go1.17.6 linux/amd64 [Pipeline] } 05:55:03 $ docker stop --time=1 94ea57d9509748282aecbca7c28e2c192d2402ac7adfc037d0c574b885d6dff1 05:55:04 $ docker rm -f 94ea57d9509748282aecbca7c28e2c192d2402ac7adfc037d0c574b885d6dff1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:55:05 + docker inspect -f . ci-base-image-x86_64 05:55:05 . [Pipeline] withDockerContainer 05:55:05 prd-ubuntu20.04-docker-8c-8g-10526 does not seem to be running inside a container 05:55:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_edgex-ui-go_PR-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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 05:55:05 $ docker top a947e94f2823158d8250a074874adf2e300e4970559ebbfe83ffbddc62d9d016 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:55:05 + make test 05:55:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:55:06 ? github.com/edgexfoundry/edgex-ui-go [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 05:55:11 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 05:55:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:55:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:55:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:55:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:55:13 $ docker stop --time=1 a947e94f2823158d8250a074874adf2e300e4970559ebbfe83ffbddc62d9d016 05:55:15 $ docker rm -f a947e94f2823158d8250a074874adf2e300e4970559ebbfe83ffbddc62d9d016 [Pipeline] // withDockerContainer [Pipeline] sh 05:55:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:55:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:16 + ls -al . 05:55:16 total 160 05:55:16 drwxrwxr-x 14 jenkins jenkins 4096 Apr 2 05:55 . 05:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:53 .. 05:55:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 05:54 .git 05:55:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:53 .github 05:55:16 -rw-rw-r-- 1 jenkins jenkins 155 Apr 2 05:53 .gitignore 05:55:16 drwx------ 3 jenkins jenkins 4096 Apr 2 05:54 .semver 05:55:16 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 2 05:53 CONTRIBUTING.md 05:55:16 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 2 05:53 Dockerfile 05:55:16 -rw-rw-r-- 1 jenkins jenkins 652 Apr 2 05:53 Jenkinsfile 05:55:16 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 2 05:53 LICENSE 05:55:16 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 2 05:53 Makefile 05:55:16 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 2 05:53 README.md 05:55:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 05:54 VERSION 05:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 05:53 assets 05:55:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:53 bin 05:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 05:53 cmd 05:55:16 -rw-r--r-- 1 jenkins jenkins 10 Apr 2 05:55 coverage.out 05:55:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:53 docs 05:55:16 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 2 05:53 go.mod 05:55:16 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 2 05:53 go.sum 05:55:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 2 05:53 internal 05:55:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 05:53 pkg 05:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:53 snap 05:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:53 testing 05:55:16 -rw-rw-r-- 1 jenkins jenkins 155 Apr 2 05:53 version.go 05:55:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:53 web [Pipeline] isUnix [Pipeline] sh 05:55:17 + 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=830a4f7a4bab22544a3e51fa0363d030b5b7ae1d --label arch=amd64 --label version=0.0.0 . 05:55:17 Sending build context to Docker daemon 43.17MB 05:55:17 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:55:17 Step 2/23 : FROM ${BASE} AS builder 05:55:17 ---> c0e72a7306d9 05:55:17 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 05:55:17 ---> Running in 75be7950a287 05:55:17 Removing intermediate container 75be7950a287 05:55:17 ---> 5da9d4fbd96f 05:55:17 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 05:55:17 ---> Running in bf4674b93015 05:55:17 Removing intermediate container bf4674b93015 05:55:17 ---> 1d9ab3a576e8 05:55:17 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 05:55:17 ---> Running in a6a5920e5971 05:55:17 Removing intermediate container a6a5920e5971 05:55:17 ---> 47234d65a5db 05:55:17 Step 6/23 : LABEL Name=edgex-ui-go 05:55:17 ---> Running in 29c9e7dfb9aa 05:55:17 Removing intermediate container 29c9e7dfb9aa 05:55:17 ---> e8a53c1bbe74 05:55:17 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 05:55:17 ---> Running in 71e07e0b9f1a 05:55:17 Removing intermediate container 71e07e0b9f1a 05:55:17 ---> 454b0ae908b1 05:55:17 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:18 ---> Running in 5d8803a03e2d 05:55:18 Removing intermediate container 5d8803a03e2d 05:55:18 ---> 29e6c09f0dff 05:55:18 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:55:18 ---> Running in 38726fc901d0 05:55:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:55:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:55:20 OK: 221 MiB in 52 packages 05:55:20 Removing intermediate container 38726fc901d0 05:55:20 ---> 3623d38ef1f2 05:55:20 Step 10/23 : ENV GO111MODULE=on 05:55:20 ---> Running in 8d905b96ead1 05:55:20 Removing intermediate container 8d905b96ead1 05:55:20 ---> 3daba7571f1f 05:55:20 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 05:55:20 ---> Running in 217b4d53f4ac 05:55:20 Removing intermediate container 217b4d53f4ac 05:55:20 ---> e89044063957 05:55:20 Step 12/23 : COPY go.mod vendor* ./ 05:55:20 ---> 8edc1bf5441b 05:55:20 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:55:20 ---> Running in 7f89e486b526 05:55:21 Removing intermediate container 7f89e486b526 05:55:21 ---> 6388c55631bc 05:55:21 Step 14/23 : COPY . . 05:55:22 ---> 9480b7683364 05:55:22 Step 15/23 : RUN ${MAKE} 05:55:22 ---> Running in 0c25313c22cd 05:55:22 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 05:55:27 CGO_ENABLED=0 GO111MODULE=on go build ./... 05:55:29 Removing intermediate container 0c25313c22cd 05:55:29 ---> 8c114480ca60 05:55:29 Step 16/23 : FROM alpine:3.14 05:55:29 3.14: Pulling from library/alpine 05:55:29 cfab2db72209: Pulling fs layer 05:55:30 cfab2db72209: Verifying Checksum 05:55:30 cfab2db72209: Download complete 05:55:30 cfab2db72209: Pull complete 05:55:30 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 05:55:30 Status: Downloaded newer image for alpine:3.14 05:55:30 ---> 84b07dd2d1fd 05:55:30 Step 17/23 : EXPOSE 4000 05:55:30 ---> Running in 62f9f40a6166 05:55:30 Removing intermediate container 62f9f40a6166 05:55:30 ---> 40106e8ab345 05:55:30 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 05:55:31 ---> 4d56569e0df8 05:55:31 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 05:55:31 ---> Running in 5bd91be5d7b5 05:55:31 Removing intermediate container 5bd91be5d7b5 05:55:31 ---> 8c273266f163 05:55:31 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 05:55:31 ---> Running in 1ade28269939 05:55:31 Removing intermediate container 1ade28269939 05:55:31 ---> 3e7371da2796 05:55:31 Step 21/23 : LABEL arch=amd64 05:55:31 ---> Running in 4ba031987aaa 05:55:31 Removing intermediate container 4ba031987aaa 05:55:31 ---> f1e72a85a3ac 05:55:31 Step 22/23 : LABEL git_sha=830a4f7a4bab22544a3e51fa0363d030b5b7ae1d 05:55:31 ---> Running in 99bd3f2b2f83 05:55:31 Removing intermediate container 99bd3f2b2f83 05:55:31 ---> c74eb6e6ed72 05:55:31 Step 23/23 : LABEL version=0.0.0 05:55:31 ---> Running in dac2fb7f8543 05:55:31 Removing intermediate container dac2fb7f8543 05:55:31 ---> 941c8184cac3 05:55:31 [Warning] One or more build-args [ARCH] were not consumed 05:55:31 Successfully built 941c8184cac3 05:55:31 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 05:55:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:31 05:55:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:55:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:32 latest: Pulling from edgex-lftools-log-publisher 05:55:32 5eb5b503b376: Pulling fs layer 05:55:32 5c69ac0246d0: Pulling fs layer 05:55:32 ec43610c2a17: Pulling fs layer 05:55:32 3a2ae6a8a46f: Pulling fs layer 05:55:32 33b1e0a273af: Pulling fs layer 05:55:32 5d3b04190fa2: Pulling fs layer 05:55:32 2f39f015ded8: Pulling fs layer 05:55:32 33b1e0a273af: Waiting 05:55:32 2f39f015ded8: Waiting 05:55:32 3a2ae6a8a46f: Waiting 05:55:32 5c69ac0246d0: Download complete 05:55:32 3a2ae6a8a46f: Verifying Checksum 05:55:32 3a2ae6a8a46f: Download complete 05:55:32 33b1e0a273af: Verifying Checksum 05:55:32 33b1e0a273af: Download complete 05:55:32 5d3b04190fa2: Verifying Checksum 05:55:32 5d3b04190fa2: Download complete 05:55:32 ec43610c2a17: Download complete 05:55:32 5eb5b503b376: Download complete 05:55:33 2f39f015ded8: Verifying Checksum 05:55:33 2f39f015ded8: Download complete 05:55:33 5eb5b503b376: Pull complete 05:55:33 5c69ac0246d0: Pull complete 05:55:34 ec43610c2a17: Pull complete 05:55:34 3a2ae6a8a46f: Pull complete 05:55:34 33b1e0a273af: Pull complete 05:55:34 5d3b04190fa2: Pull complete 05:55:38 2f39f015ded8: Pull complete 05:55:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:55:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:55:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:55:38 prd-ubuntu20.04-docker-8c-8g-10526 does not seem to be running inside a container 05:55:38 $ 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-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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 05:55:40 $ docker top 3443e7d9f84b243a3712c77e0fee14dcf0f2ed7db6c6b83fd3f95fdd3676e673 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:40 ---> job-cost.sh 05:55:40 lf-activate-venv: SKIPPING 05:55:40 INFO: No Stack... 05:55:41 INFO: Retrieving Pricing Info for: v3-standard-8 05:55:41 INFO: Archiving Costs [Pipeline] sh 05:55:41 + cat /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/cost.csv 05:55:41 + cut -d, -f6 [Pipeline] lock 05:55:41 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] 05:55:41 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] did not exist. Created. 05:55:41 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:55:42 + echo total: 0.2199999988079071 [Pipeline] stash 05:55:42 Stashed 1 file(s) [Pipeline] } 05:55:42 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] [Pipeline] // lock [Pipeline] } 05:55:42 $ docker stop --time=1 3443e7d9f84b243a3712c77e0fee14dcf0f2ed7db6c6b83fd3f95fdd3676e673 05:55:43 $ docker rm -f 3443e7d9f84b243a3712c77e0fee14dcf0f2ed7db6c6b83fd3f95fdd3676e673 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:56:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10527 in /w/workspace/edgexfoundry_edgex-ui-go_PR-508 [Pipeline] { [Pipeline] ws 05:56:06 Running in /w/workspace/edgex-ui-go/3 [Pipeline] { [Pipeline] checkout 05:56:06 The recommended git tool is: git 05:56:14 using credential edgex-jenkins-ssh 05:56:14 Cloning the remote Git repository 05:56:14 Cloning repository git@github.com:edgexfoundry/edgex-ui-go.git 05:56:14 > git init /w/workspace/edgex-ui-go/3 # timeout=10 05:56:14 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 05:56:14 > git --version # timeout=10 05:56:14 > git --version # 'git version 2.25.1' 05:56:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:18 Merging remotes/origin/main commit a6a695fe0832c83638180736bbe712fc51e8f859 into PR head commit 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d 05:56:19 Merge succeeded, producing 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d 05:56:19 Checking out Revision 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d (PR-508) 05:56:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 05:56:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:18 > git config remote.origin.url git@github.com:edgexfoundry/edgex-ui-go.git # timeout=10 05:56:18 Fetching upstream changes from git@github.com:edgexfoundry/edgex-ui-go.git 05:56:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-ui-go.git +refs/pull/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:56:18 > git config core.sparsecheckout # timeout=10 05:56:18 > git checkout -f 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d # timeout=10 05:56:19 > git remote # timeout=10 05:56:19 > git config --get remote.origin.url # timeout=10 05:56:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:19 > git merge a6a695fe0832c83638180736bbe712fc51e8f859 # timeout=10 05:56:19 > git rev-parse HEAD^{commit} # timeout=10 05:56:19 > git config core.sparsecheckout # timeout=10 05:56:19 > git checkout -f 830a4f7a4bab22544a3e51fa0363d030b5b7ae1d # timeout=10 05:56:24 Commit message: "Merge branch 'main' into dependabot/npm_and_yarn/web/minimist-1.2.6" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:56:25 % Total % Received % Xferd Average Speed Time Time Time Current 05:56:25 Dload Upload Total Spent Left Speed 05:56:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43862 0 --:--:-- --:--:-- --:--:-- 43862 [Pipeline] sh 05:56:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:56:25 + sudo tee /etc/docker/daemon.new 05:56:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:56:25 { 05:56:25 "registry-mirrors": [ 05:56:25 "https://nexus3.edgexfoundry.org:10001" 05:56:25 ], 05:56:25 "bip": "10.250.0.254/24", 05:56:25 "hosts": [ 05:56:25 "tcp://0.0.0.0:5555", 05:56:25 "unix:///var/run/docker.sock" 05:56:25 ], 05:56:25 "mtu": 1458, 05:56:25 "selinux-enabled": true, 05:56:25 "seccomp-profile": "/etc/docker/seccomp.json" 05:56:25 } [Pipeline] sh 05:56:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:56:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:45 provisioning config files... 05:56:45 copy managed file [edgex-ui-go-settings] to file:/w/workspace/edgex-ui-go/3@tmp/config1533611177923387107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:45 ---> docker-login.sh 05:56:45 nexus3.edgexfoundry.org:10001 05:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:46 Configure a credential helper to remove this warning. See 05:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:46 05:56:46 Login Succeeded 05:56:46 nexus3.edgexfoundry.org:10002 05:56:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:46 Configure a credential helper to remove this warning. See 05:56:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:46 05:56:46 Login Succeeded 05:56:46 nexus3.edgexfoundry.org:10003 05:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:47 Configure a credential helper to remove this warning. See 05:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:47 05:56:47 Login Succeeded 05:56:47 nexus3.edgexfoundry.org:10004 05:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:47 Configure a credential helper to remove this warning. See 05:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:47 05:56:47 Login Succeeded 05:56:47 docker.io 05:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:48 Configure a credential helper to remove this warning. See 05:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:48 05:56:48 Login Succeeded 05:56:48 ---> docker-login.sh ends [Pipeline] } 05:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:56:48 ========================================================= 05:56:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:56:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:56:49 + 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 . 05:56:50 Sending build context to Docker daemon 27.06MB 05:56:50 Step 1/15 : ARG BASE=golang:1.17-alpine3.15 05:56:50 Step 2/15 : FROM ${BASE} AS builder 05:56:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:56:50 9b3977197b4f: Pulling fs layer 05:56:50 1a89e8eeedd5: Pulling fs layer 05:56:50 94645a83ff95: Pulling fs layer 05:56:50 3f3a8bcf1eab: Pulling fs layer 05:56:50 0c92f367c5e7: Pulling fs layer 05:56:50 f7c0051592d6: Pulling fs layer 05:56:50 a227ed2f7395: Pulling fs layer 05:56:50 7b1c46037f91: Pulling fs layer 05:56:50 0c92f367c5e7: Waiting 05:56:50 f7c0051592d6: Waiting 05:56:50 a227ed2f7395: Waiting 05:56:50 7b1c46037f91: Waiting 05:56:50 3f3a8bcf1eab: Waiting 05:56:50 94645a83ff95: Verifying Checksum 05:56:50 94645a83ff95: Download complete 05:56:50 1a89e8eeedd5: Verifying Checksum 05:56:50 1a89e8eeedd5: Download complete 05:56:50 0c92f367c5e7: Verifying Checksum 05:56:50 0c92f367c5e7: Download complete 05:56:50 9b3977197b4f: Verifying Checksum 05:56:50 f7c0051592d6: Verifying Checksum 05:56:50 f7c0051592d6: Download complete 05:56:50 9b3977197b4f: Download complete 05:56:50 a227ed2f7395: Verifying Checksum 05:56:50 a227ed2f7395: Download complete 05:56:51 9b3977197b4f: Pull complete 05:56:51 1a89e8eeedd5: Pull complete 05:56:51 94645a83ff95: Pull complete 05:56:52 7b1c46037f91: Verifying Checksum 05:56:52 7b1c46037f91: Download complete 05:56:53 3f3a8bcf1eab: Verifying Checksum 05:56:53 3f3a8bcf1eab: Download complete 05:57:05 3f3a8bcf1eab: Pull complete 05:57:05 0c92f367c5e7: Pull complete 05:57:05 f7c0051592d6: Pull complete 05:57:05 a227ed2f7395: Pull complete 05:57:12 7b1c46037f91: Pull complete 05:57:12 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:57:12 ---> f79e39bc4007 05:57:12 Step 3/15 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 05:57:12 ---> Running in 4625356cf904 05:57:13 Removing intermediate container 4625356cf904 05:57:13 ---> cde8ab40e8d1 05:57:13 Step 4/15 : ARG ALPINE_PKG_BASE="make git" 05:57:13 ---> Running in ec5a9ee13c7d 05:57:13 Removing intermediate container ec5a9ee13c7d 05:57:13 ---> 8807cb1fd481 05:57:13 Step 5/15 : ARG ALPINE_PKG_EXTRA="" 05:57:13 ---> Running in e45fe6b9c4cb 05:57:14 Removing intermediate container e45fe6b9c4cb 05:57:14 ---> 20a209f9c642 05:57:14 Step 6/15 : LABEL Name=edgex-ui-go 05:57:14 ---> Running in b6afaefa33c1 05:57:14 Removing intermediate container b6afaefa33c1 05:57:14 ---> de54af530b0a 05:57:14 Step 7/15 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 05:57:14 ---> Running in d90f152dd84a 05:57:14 Removing intermediate container d90f152dd84a 05:57:14 ---> 0ad311351a46 05:57:14 Step 8/15 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:14 ---> Running in cbd206b34655 05:57:16 Removing intermediate container cbd206b34655 05:57:16 ---> f4c04009831d 05:57:16 Step 9/15 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:57:16 ---> Running in bbcfb183f497 05:57:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:57:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:57:19 OK: 220 MiB in 52 packages 05:57:19 Removing intermediate container bbcfb183f497 05:57:19 ---> 14cd9a589576 05:57:19 Step 10/15 : ENV GO111MODULE=on 05:57:19 ---> Running in bdf57ea88e18 05:57:20 Removing intermediate container bdf57ea88e18 05:57:20 ---> 29da60af559a 05:57:20 Step 11/15 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 05:57:20 ---> Running in 81cf93558c6e 05:57:20 Removing intermediate container 81cf93558c6e 05:57:20 ---> e0a1d465165c 05:57:20 Step 12/15 : COPY go.mod vendor* ./ 05:57:21 ---> 840d38ae9f69 05:57:21 Step 13/15 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:57:21 ---> Running in dbdbc2066a29 05:58:43 Removing intermediate container dbdbc2066a29 05:58:43 ---> ca25b5a4f586 05:58:43 Step 14/15 : COPY . . 05:58:43 ---> 6b3d2e8b7d42 05:58:43 Step 15/15 : RUN ${MAKE} 05:58:43 ---> Running in 6a4e6307d54d 05:58:43 noop 05:58:43 Removing intermediate container 6a4e6307d54d 05:58:43 ---> 5bf1c016547d 05:58:43 Successfully built 5bf1c016547d 05:58:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:58:43 + docker inspect -f . ci-base-image-arm64 05:58:43 . [Pipeline] withDockerContainer 05:58:43 prd-ubuntu20.04-docker-arm64-4c-16g-10527 does not seem to be running inside a container 05:58:43 $ 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 05:58:45 $ docker top 852eb598df8fdbd7d780876124c0ba3484af6843cbf9b63bb34ed2db8c9328af -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:46 + go version 05:58:46 go version go1.17.6 linux/arm64 [Pipeline] } 05:58:46 $ docker stop --time=1 852eb598df8fdbd7d780876124c0ba3484af6843cbf9b63bb34ed2db8c9328af 05:58:47 $ docker rm -f 852eb598df8fdbd7d780876124c0ba3484af6843cbf9b63bb34ed2db8c9328af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:58:49 + docker inspect -f . ci-base-image-arm64 05:58:49 . [Pipeline] withDockerContainer 05:58:49 prd-ubuntu20.04-docker-arm64-4c-16g-10527 does not seem to be running inside a container 05:58:49 $ 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 05:58:50 $ docker top 4c5deffecc089f40575a6ff0cd8752ee7beed8e75c4fbd93ecf9ee8d9d255fa4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:58:51 + make test 05:58:51 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:58:53 ? github.com/edgexfoundry/edgex-ui-go [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/common [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/configs [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/core [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/domain [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/errors [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/handler [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/repository [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mm [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/internal/repository/mongo [no test files] 05:59:32 ? github.com/edgexfoundry/edgex-ui-go/pkg/usage [no test files] 05:59:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 05:59:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 05:59:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:47 $ docker stop --time=1 4c5deffecc089f40575a6ff0cd8752ee7beed8e75c4fbd93ecf9ee8d9d255fa4 05:59:49 $ docker rm -f 4c5deffecc089f40575a6ff0cd8752ee7beed8e75c4fbd93ecf9ee8d9d255fa4 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:49 Warning: overwriting stash ‘coverage-report’ 05:59:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:51 + ls -al . 05:59:51 total 156 05:59:51 drwxrwxr-x 13 jenkins jenkins 4096 Apr 2 05:58 . 05:59:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:56 .. 05:59:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 05:56 .git 05:59:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:56 .github 05:59:51 -rw-rw-r-- 1 jenkins jenkins 155 Apr 2 05:56 .gitignore 05:59:51 -rw-rw-r-- 1 jenkins jenkins 3959 Apr 2 05:56 CONTRIBUTING.md 05:59:51 -rw-rw-r-- 1 jenkins jenkins 1549 Apr 2 05:56 Dockerfile 05:59:51 -rw-rw-r-- 1 jenkins jenkins 652 Apr 2 05:56 Jenkinsfile 05:59:51 -rw-rw-r-- 1 jenkins jenkins 11357 Apr 2 05:56 LICENSE 05:59:51 -rw-rw-r-- 1 jenkins jenkins 1212 Apr 2 05:56 Makefile 05:59:51 -rw-rw-r-- 1 jenkins jenkins 4450 Apr 2 05:56 README.md 05:59:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 05:54 VERSION 05:59:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 05:56 assets 05:59:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:56 bin 05:59:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 05:56 cmd 05:59:51 -rw-r--r-- 1 jenkins jenkins 10 Apr 2 05:58 coverage.out 05:59:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 05:56 docs 05:59:51 -rw-rw-r-- 1 jenkins jenkins 1944 Apr 2 05:56 go.mod 05:59:51 -rw-rw-r-- 1 jenkins jenkins 48565 Apr 2 05:56 go.sum 05:59:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 2 05:56 internal 05:59:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 05:56 pkg 05:59:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:56 snap 05:59:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:56 testing 05:59:51 -rw-rw-r-- 1 jenkins jenkins 155 Apr 2 05:56 version.go 05:59:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 05:56 web [Pipeline] isUnix [Pipeline] sh 05:59:51 + 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=830a4f7a4bab22544a3e51fa0363d030b5b7ae1d --label arch=arm64 --label version=0.0.0 . 05:59:52 Sending build context to Docker daemon 27.06MB 05:59:52 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 05:59:52 Step 2/23 : FROM ${BASE} AS builder 05:59:52 ---> 5bf1c016547d 05:59:52 Step 3/23 : ARG MAKE="make cmd/edgex-ui-server/edgex-ui-server" 05:59:52 ---> Running in f62d8f36ec83 05:59:53 Removing intermediate container f62d8f36ec83 05:59:53 ---> 20501e8ef639 05:59:53 Step 4/23 : ARG ALPINE_PKG_BASE="make git" 05:59:53 ---> Running in 831089b7303c 05:59:53 Removing intermediate container 831089b7303c 05:59:53 ---> e6f75ff0f691 05:59:53 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 05:59:53 ---> Running in 1f65e01c1ce0 05:59:53 Removing intermediate container 1f65e01c1ce0 05:59:53 ---> 624cb22f0bbd 05:59:53 Step 6/23 : LABEL Name=edgex-ui-go 05:59:53 ---> Running in 188fbc8f6325 05:59:54 Removing intermediate container 188fbc8f6325 05:59:54 ---> 419f91abb6be 05:59:54 Step 7/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2018-2020: Intel' 05:59:54 ---> Running in eb16b0b698b2 05:59:54 Removing intermediate container eb16b0b698b2 05:59:54 ---> e87a5a1bc88f 05:59:54 Step 8/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:54 ---> Running in 05e81d4a8663 05:59:56 Removing intermediate container 05e81d4a8663 05:59:56 ---> 5a85332ae47e 05:59:56 Step 9/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:59:56 ---> Running in cacecb014f8c 05:59:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:59:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:59:59 OK: 220 MiB in 52 packages 05:59:59 Removing intermediate container cacecb014f8c 05:59:59 ---> 4cf18b1ae8fc 05:59:59 Step 10/23 : ENV GO111MODULE=on 05:59:59 ---> Running in 19c37aaca644 06:00:00 Removing intermediate container 19c37aaca644 06:00:00 ---> 97d24e93c1b0 06:00:00 Step 11/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go 06:00:00 ---> Running in 8b86da1c9237 06:00:00 Removing intermediate container 8b86da1c9237 06:00:00 ---> d674f6e2fd92 06:00:00 Step 12/23 : COPY go.mod vendor* ./ 06:00:01 ---> 90506951f55e 06:00:01 Step 13/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:01 ---> Running in 1843001233cd 06:00:03 Removing intermediate container 1843001233cd 06:00:03 ---> 1a7acfd12f00 06:00:03 Step 14/23 : COPY . . 06:00:06 ---> dcfec904263d 06:00:06 Step 15/23 : RUN ${MAKE} 06:00:06 ---> Running in 8b1fe1c22ce6 06:00:07 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 06:00:39 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:00:43 Removing intermediate container 8b1fe1c22ce6 06:00:43 ---> 8eebc15e437a 06:00:43 Step 16/23 : FROM alpine:3.14 06:00:43 3.14: Pulling from library/alpine 06:00:43 810d54c7e01b: Pulling fs layer 06:00:43 810d54c7e01b: Download complete 06:00:44 810d54c7e01b: Pull complete 06:00:44 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 06:00:44 Status: Downloaded newer image for alpine:3.14 06:00:44 ---> cc3d11fa2d52 06:00:44 Step 17/23 : EXPOSE 4000 06:00:44 ---> Running in 9cb6260ed151 06:00:44 Removing intermediate container 9cb6260ed151 06:00:44 ---> d833d0688b4c 06:00:44 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 06:00:46 ---> d2d3d24065cf 06:00:46 Step 19/23 : WORKDIR /go/src/github.com/edgexfoundry/edgex-ui-go/cmd/edgex-ui-server 06:00:46 ---> Running in 9cbc224b6f1b 06:00:46 Removing intermediate container 9cbc224b6f1b 06:00:46 ---> b3b4d4b99da8 06:00:46 Step 20/23 : ENTRYPOINT ["./edgex-ui-server","-conf=res/docker/configuration.toml"] 06:00:46 ---> Running in e7742891d480 06:00:46 Removing intermediate container e7742891d480 06:00:46 ---> af2fe6eb3f4f 06:00:46 Step 21/23 : LABEL arch=arm64 06:00:46 ---> Running in b6b63e1fa16f 06:00:47 Removing intermediate container b6b63e1fa16f 06:00:47 ---> 21eec2004af8 06:00:47 Step 22/23 : LABEL git_sha=830a4f7a4bab22544a3e51fa0363d030b5b7ae1d 06:00:47 ---> Running in 45c92c598b05 06:00:47 Removing intermediate container 45c92c598b05 06:00:47 ---> 5e944b03fdef 06:00:47 Step 23/23 : LABEL version=0.0.0 06:00:47 ---> Running in 8aef790833e1 06:00:47 Removing intermediate container 8aef790833e1 06:00:47 ---> 0695fe5a0332 06:00:47 [Warning] One or more build-args [ARCH] were not consumed 06:00:47 Successfully built 0695fe5a0332 06:00:47 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 06:00:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:00:48 06:00:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:00:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:00:49 arm64: Pulling from edgex-lftools-log-publisher 06:00:49 8998bd30e6a1: Pulling fs layer 06:00:49 04944245beec: Pulling fs layer 06:00:49 699f458cf7ca: Pulling fs layer 06:00:49 765212b225bb: Pulling fs layer 06:00:49 f23df028b6ca: Pulling fs layer 06:00:49 d65c8cfc05b1: Pulling fs layer 06:00:49 2437ff75d9bd: Pulling fs layer 06:00:49 765212b225bb: Waiting 06:00:49 f23df028b6ca: Waiting 06:00:49 d65c8cfc05b1: Waiting 06:00:49 2437ff75d9bd: Waiting 06:00:49 04944245beec: Download complete 06:00:49 765212b225bb: Verifying Checksum 06:00:49 765212b225bb: Download complete 06:00:49 f23df028b6ca: Download complete 06:00:49 d65c8cfc05b1: Verifying Checksum 06:00:49 d65c8cfc05b1: Download complete 06:00:49 699f458cf7ca: Verifying Checksum 06:00:49 699f458cf7ca: Download complete 06:00:49 8998bd30e6a1: Verifying Checksum 06:00:49 8998bd30e6a1: Download complete 06:00:52 2437ff75d9bd: Verifying Checksum 06:00:52 2437ff75d9bd: Download complete 06:00:53 8998bd30e6a1: Pull complete 06:00:54 04944245beec: Pull complete 06:00:55 699f458cf7ca: Pull complete 06:00:55 765212b225bb: Pull complete 06:00:56 f23df028b6ca: Pull complete 06:00:56 d65c8cfc05b1: Pull complete 06:01:11 2437ff75d9bd: Pull complete 06:01:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:01:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:01:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:01:12 prd-ubuntu20.04-docker-arm64-4c-16g-10527 does not seem to be running inside a container 06:01:12 $ 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 06:01:14 $ docker top 450dc6dc500c924ff0856a5eba6779d1150aa0484f07153f85fd3b389a111d86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:15 ---> job-cost.sh 06:01:15 lf-activate-venv: SKIPPING 06:01:15 INFO: No Stack... 06:01:15 INFO: Retrieving Pricing Info for: v3-standard-4 06:01:16 INFO: Archiving Costs [Pipeline] sh 06:01:17 + cut+ -d, -f6 06:01:17 cat /w/workspace/edgex-ui-go/3/archives/cost.csv [Pipeline] lock 06:01:17 Trying to acquire lock on [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] 06:01:17 Resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] did not exist. Created. 06:01:17 Lock acquired on [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:18 /w/workspace/edgex-ui-go/3@tmp/durable-c6d3be05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:01:18 + echo total: 0.10999999940395355 [Pipeline] stash 06:01:18 Warning: overwriting stash ‘stack-cost’ 06:01:19 Stashed 1 file(s) [Pipeline] } 06:01:19 Lock released on resource [jenkins-edgexfoundry-edgex-ui-go-PR-508-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:01:19 $ docker stop --time=1 450dc6dc500c924ff0856a5eba6779d1150aa0484f07153f85fd3b389a111d86 06:01:20 $ docker rm -f 450dc6dc500c924ff0856a5eba6779d1150aa0484f07153f85fd3b389a111d86 [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 06:01:21 provisioning config files... 06:01:21 copy managed file [edgex-ui-go-codecov-token] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config9006651545061302976tmp [Pipeline] { [Pipeline] sh 06:01:21 + set +x 06:01:21 + curl -s https://codecov.io/bash+ 06:01:21 bash -s -- 06:01:21 06:01:21 _____ _ 06:01:21 / ____| | | 06:01:21 | | ___ __| | ___ ___ _____ __ 06:01:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:01:21 | |___| (_) | (_| | __/ (_| (_) \ V / 06:01:21 \_____\___/ \__,_|\___|\___\___/ \_/ 06:01:21 Bash-1.0.6 06:01:21 06:01:21 06:01:21 ==> git version 2.25.1 found 06:01:21 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:01:21 Release-Date: 2020-01-08 06:01:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:01:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:01:21 ==> Jenkins CI detected. 06:01:21 current dir:  /w/workspace/edgexfoundry_edgex-ui-go_PR-508 06:01:21 project root: . 06:01:21 --> token set from env 06:01:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:01:21 ==> Running gcov in . (disable via -X gcov) 06:01:21 ==> Python coveragepy not found 06:01:21 ==> Searching for coverage reports in: 06:01:21 + . 06:01:21 -> Found 1 reports 06:01:21 ==> Detecting git/mercurial file structure 06:01:21 ==> Reading reports 06:01:21 + ./coverage.out bytes=10 06:01:21 ==> Appending adjustments 06:01:21 https://docs.codecov.io/docs/fixing-reports 06:01:21 + Found adjustments 06:01:21 ==> Gzipping contents 06:01:21 4.0K /tmp/codecov.3P5FRL.gz 06:01:21 ==> Uploading reports 06:01:21 url: https://codecov.io 06:01:21 query: branch=PR-508&commit=830a4f7a4bab22544a3e51fa0363d030b5b7ae1d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-508%2F3%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=508&job=&cmd_args= 06:01:21 -> Pinging Codecov 06:01:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=bafa3062-778c-4190-9a80-d8a5ae27d9ba&branch=PR-508&commit=830a4f7a4bab22544a3e51fa0363d030b5b7ae1d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fedgex-ui-go%2Fjob%2FPR-508%2F3%2F&name=&tag=&slug=edgexfoundry%2Fedgex-ui-go&service=jenkins&flags=&pr=508&job=&cmd_args= 06:01:21 -> Uploading to 06:01:21 https://storage.googleapis.com/codecov/v4/raw/2022-04-02/FB506323287CE973F263BFD2A0EB1F37/830a4f7a4bab22544a3e51fa0363d030b5b7ae1d/39bf0d80-c2ba-4aa5-bab4-a69f9c6a7fab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220402%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220402T060121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=505d014f70a5491d6feac26a614684aaa1fcb246a5b1f3fc3cad8f1ab92bbd21 06:01:21 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:21 Dload Upload Total Spent Left Speed 06:01:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4059 0 0 100 4059 0 16703 --:--:-- --:--:-- --:--:-- 16635 100 4059 0 0 100 4059 0 16635 --:--:-- --:--:-- --:--:-- 16567 06:01:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/edgex-ui-go/commit/830a4f7a4bab22544a3e51fa0363d030b5b7ae1d [Pipeline] } 06:01:22 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 06:01:22 + [ -d /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives ] 06:01:22 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 06:01:22 total 16 06:01:22 drwxr-xr-x 3 root root 4096 Apr 2 05:55 . 06:01:22 drwxrwxr-x 15 jenkins jenkins 4096 Apr 2 05:55 .. 06:01:22 drwxr-xr-x 2 root root 4096 Apr 2 05:55 cost 06:01:22 -rw-r--r-- 1 root root 82 Apr 2 05:55 cost.csv 06:01:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 06:01:22 + ls -al /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives 06:01:22 total 16 06:01:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 05:55 . 06:01:22 drwxrwxr-x 15 jenkins jenkins 4096 Apr 2 05:55 .. 06:01:22 drwxr-xr-x 2 jenkins jenkins 4096 Apr 2 05:55 cost 06:01:22 -rw-r--r-- 1 jenkins jenkins 82 Apr 2 05:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:01:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:01:24 ---> package-listing.sh 06:01:24 ++ facter osfamily 06:01:24 ++ tr '[:upper:]' '[:lower:]' 06:01:24 + OS_FAMILY=debian 06:01:24 + workspace=/w/workspace/edgexfoundry_edgex-ui-go_PR-508 06:01:24 + START_PACKAGES=/tmp/packages_start.txt 06:01:24 + END_PACKAGES=/tmp/packages_end.txt 06:01:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:01:24 + PACKAGES=/tmp/packages_start.txt 06:01:24 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-508 ']' 06:01:24 + PACKAGES=/tmp/packages_end.txt 06:01:24 + case "${OS_FAMILY}" in 06:01:24 + dpkg -l 06:01:24 + grep '^ii' 06:01:24 + '[' -f /tmp/packages_start.txt ']' 06:01:24 + '[' -f /tmp/packages_end.txt ']' 06:01:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:01:24 + '[' /w/workspace/edgexfoundry_edgex-ui-go_PR-508 ']' 06:01:24 + mkdir -p /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/ 06:01:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_edgex-ui-go_PR-508/archives/ [Pipeline] echo 06:01:24 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:01:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:01:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:25 . [Pipeline] withDockerContainer 06:01:25 prd-ubuntu20.04-docker-8c-8g-10526 does not seem to be running inside a container 06:01:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508/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-508 -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508:/w/workspace/edgexfoundry_edgex-ui-go_PR-508:rw,z -v /w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@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 06:01:25 $ docker top 2ea89692d259e6dcf383864c6686178ec77dd7693e0157e050e31aa7f3e01e92 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:25 + touch /tmp/pre-build-complete [Pipeline] sh 06:01:26 + mkdir -p /var/log/sysstat [Pipeline] sh 06:01:26 + ls /var/log/sa-host 06:01:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:26 provisioning config files... 06:01:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_edgex-ui-go_PR-508@tmp/config2294083550563484667tmp [Pipeline] { [Pipeline] echo 06:01:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:01:27 ---> create-netrc.sh [Pipeline] } 06:01:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:01:27 ---> python-tools-install.sh [Pipeline] echo 06:01:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:01:27 ---> sudo-logs.sh 06:01:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:01:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:01:28 ---> job-cost.sh 06:01:28 lf-activate-venv: SKIPPING 06:01:28 DEBUG: total: 0.2199999988079071 06:01:28 INFO: Retrieving Stack Cost... 06:01:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:01:28 INFO: Archiving Costs [Pipeline] echo 06:01:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:01:29 ---> logs-deploy.sh 06:01:29 lf-activate-venv: SKIPPING 06:01:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-ui-go/PR-508/3 06:01:29 INFO: archiving workspace using pattern(s): 06:01:30 Archives upload complete. 06:01:30 INFO: archiving logs to Nexus 06:01:30 ---> uname -a: 06:01:30 Linux prd-ubuntu20-04-docker-8c-8g-10526 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 06:01:30 06:01:30