Pull request #90 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of brianointel for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at f7fd1a7f74557858cb13a434798fc966c2703d09 rather than 818ae11e55014ea57d47742308837c5193a088ea Obtained Jenkinsfile from f7fd1a7f74557858cb13a434798fc966c2703d09 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-ssh1352658376413721678.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh5467258484723909474.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/device-onvif-camera/branches/PR-90/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16886150631976331644.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh5535684876815237256.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/device-onvif-camera/branches/PR-90/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2989542720155196542.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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:device-onvif-camera] ========================================================= [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: device-onvif-camera-settings PROJECT: device-onvif-camera 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: device-onvif-camera 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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-16259 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-90 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f7fd1a7f74557858cb13a434798fc966c2703d09 into PR head commit 818ae11e55014ea57d47742308837c5193a088ea Merge succeeded, producing 818ae11e55014ea57d47742308837c5193a088ea Checking out Revision 818ae11e55014ea57d47742308837c5193a088ea (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # 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 f7fd1a7f74557858cb13a434798fc966c2703d09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # timeout=10 Commit message: "Merge branch 'main' into mac-v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-28T19:43:07.841Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-28T19:43:07.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-28T19:43:07.896Z] ========================================================= [2022-06-28T19:43:07.896Z] EdgeX Global Pipelines Version Info [2022-06-28T19:43:07.896Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a6978d40b74d7b39284952cb9c0e41d2321a86ac # timeout=10 [2022-06-28T19:43:08.651Z] ------------------- [2022-06-28T19:43:08.651Z] stable info: [2022-06-28T19:43:08.651Z] ------------------- [2022-06-28T19:43:08.651Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-28T19:43:08.651Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T19:43:08.651Z] Message: update stable to v1.0.234 [2022-06-28T19:43:09.224Z] ------------------- [2022-06-28T19:43:09.224Z] experimental info: [2022-06-28T19:43:09.224Z] ------------------- [2022-06-28T19:43:09.224Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-28T19:43:09.224Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-28T19:43:09.224Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-28T19:43:09.396Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-28T19:43:09.407Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-28T19:43:09.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-28T19:43:09.432Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-28T19:43:09.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-28T19:43:09.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-28T19:43:09.472Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-28T19:43:09.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-28T19:43:09.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-28T19:43:09.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-28T19:43:09.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-28T19:43:09.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-28T19:43:09.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-28T19:43:09.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-28T19:43:09.581Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T19:43:09.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-28T19:43:09.605Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T19:43:09.618Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-28T19:43:09.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-28T19:43:09.649Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-28T19:43:09.660Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-28T19:43:09.673Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-28T19:43:09.685Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-28T19:43:09.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-28T19:43:09.725Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-28T19:43:09.741Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-28T19:43:09.752Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-28T19:43:09.765Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-28T19:43:09.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-28T19:43:09.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-28T19:43:09.801Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo [2022-06-28T19:43:09.816Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 818ae11 [Pipeline] echo [2022-06-28T19:43:09.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T19:43:09.863Z] provisioning config files... [2022-06-28T19:43:09.876Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1736348453828108135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:43:10.189Z] ---> docker-login.sh [2022-06-28T19:43:10.189Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:43:10.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:10.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:10.455Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:10.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:10.455Z] [2022-06-28T19:43:10.455Z] Login Succeeded [2022-06-28T19:43:10.455Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:43:10.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:10.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:10.715Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:10.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:10.715Z] [2022-06-28T19:43:10.715Z] Login Succeeded [2022-06-28T19:43:10.715Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:43:10.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:10.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:10.715Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:10.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:10.715Z] [2022-06-28T19:43:10.715Z] Login Succeeded [2022-06-28T19:43:10.715Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:43:10.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:10.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:10.977Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:10.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:10.977Z] [2022-06-28T19:43:10.977Z] Login Succeeded [2022-06-28T19:43:10.977Z] docker.io [2022-06-28T19:43:10.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:11.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:11.240Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:11.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:11.240Z] [2022-06-28T19:43:11.240Z] Login Succeeded [2022-06-28T19:43:11.240Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:43:11.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-28T19:43:11.627Z] + git rev-list -1 --merges 818ae11e55014ea57d47742308837c5193a088ea~1..818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo [2022-06-28T19:43:11.641Z] -----------> git rev-list -1 --merges 818ae11e55014ea57d47742308837c5193a088ea~1..818ae11e55014ea57d47742308837c5193a088ea 818ae11e55014ea57d47742308837c5193a088ea [2022-06-28T19:43:11.641Z] 818ae11e55014ea57d47742308837c5193a088ea [false] [Pipeline] sh [2022-06-28T19:43:11.940Z] + git log --format=format:%s -1 818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo [2022-06-28T19:43:11.958Z] ========================================================= [2022-06-28T19:43:11.958Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-28T19:43:11.958Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T19:43:12.279Z] + git log --format=format:%s -1 818ae11e55014ea57d47742308837c5193a088ea [Pipeline] echo [2022-06-28T19:43:12.290Z] [semverPrep] GIT_COMMIT: 818ae11e55014ea57d47742308837c5193a088ea, Commit Message: Merge branch 'main' into mac-v3 [Pipeline] echo [2022-06-28T19:43:12.299Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-28T19:43:12.650Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-28T19:43:12.650Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-28T19:43:12.650Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-28T19:43:12.650Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-28T19:43:12.650Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-28T19:43:12.650Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-28T19:43:12.650Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:43:13.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:43:13.008Z] [2022-06-28T19:43:13.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:43:13.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:43:13.313Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-28T19:43:13.313Z] 42c077c10790: Pulling fs layer [2022-06-28T19:43:13.313Z] f63e77b7563a: Pulling fs layer [2022-06-28T19:43:13.313Z] bd5fdadae976: Pulling fs layer [2022-06-28T19:43:13.313Z] 205491f53016: Pulling fs layer [2022-06-28T19:43:13.313Z] df18705c85c3: Pulling fs layer [2022-06-28T19:43:13.313Z] bdb3f477010e: Pulling fs layer [2022-06-28T19:43:13.313Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-28T19:43:13.313Z] 2c6e9b1d212d: Pulling fs layer [2022-06-28T19:43:13.313Z] bdb8f0575790: Pulling fs layer [2022-06-28T19:43:13.313Z] 386e3cb2ff24: Pulling fs layer [2022-06-28T19:43:13.313Z] 2343380bae48: Pulling fs layer [2022-06-28T19:43:13.313Z] c8a8fc8e1c8f: Waiting [2022-06-28T19:43:13.313Z] 2c6e9b1d212d: Waiting [2022-06-28T19:43:13.313Z] bdb8f0575790: Waiting [2022-06-28T19:43:13.313Z] 386e3cb2ff24: Waiting [2022-06-28T19:43:13.313Z] 2343380bae48: Waiting [2022-06-28T19:43:13.313Z] 205491f53016: Waiting [2022-06-28T19:43:13.313Z] bdb3f477010e: Waiting [2022-06-28T19:43:13.313Z] df18705c85c3: Waiting [2022-06-28T19:43:13.313Z] f63e77b7563a: Download complete [2022-06-28T19:43:13.313Z] 205491f53016: Verifying Checksum [2022-06-28T19:43:13.313Z] 205491f53016: Download complete [2022-06-28T19:43:13.574Z] df18705c85c3: Verifying Checksum [2022-06-28T19:43:13.574Z] df18705c85c3: Download complete [2022-06-28T19:43:13.574Z] bdb3f477010e: Verifying Checksum [2022-06-28T19:43:13.574Z] bdb3f477010e: Download complete [2022-06-28T19:43:13.574Z] bd5fdadae976: Verifying Checksum [2022-06-28T19:43:13.574Z] bd5fdadae976: Download complete [2022-06-28T19:43:13.574Z] 2c6e9b1d212d: Verifying Checksum [2022-06-28T19:43:13.574Z] 2c6e9b1d212d: Download complete [2022-06-28T19:43:13.574Z] bdb8f0575790: Download complete [2022-06-28T19:43:13.574Z] 386e3cb2ff24: Verifying Checksum [2022-06-28T19:43:13.574Z] 386e3cb2ff24: Download complete [2022-06-28T19:43:13.574Z] 2343380bae48: Verifying Checksum [2022-06-28T19:43:13.574Z] 2343380bae48: Download complete [2022-06-28T19:43:13.574Z] 42c077c10790: Verifying Checksum [2022-06-28T19:43:13.574Z] 42c077c10790: Download complete [2022-06-28T19:43:13.834Z] c8a8fc8e1c8f: Download complete [2022-06-28T19:43:14.773Z] 42c077c10790: Pull complete [2022-06-28T19:43:15.032Z] f63e77b7563a: Pull complete [2022-06-28T19:43:15.295Z] bd5fdadae976: Pull complete [2022-06-28T19:43:15.555Z] 205491f53016: Pull complete [2022-06-28T19:43:15.816Z] df18705c85c3: Pull complete [2022-06-28T19:43:15.816Z] bdb3f477010e: Pull complete [2022-06-28T19:43:17.724Z] c8a8fc8e1c8f: Pull complete [2022-06-28T19:43:17.724Z] 2c6e9b1d212d: Pull complete [2022-06-28T19:43:17.724Z] bdb8f0575790: Pull complete [2022-06-28T19:43:17.985Z] 386e3cb2ff24: Pull complete [2022-06-28T19:43:17.985Z] 2343380bae48: Pull complete [2022-06-28T19:43:17.985Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-28T19:43:17.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-28T19:43:17.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:43:18.082Z] prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container [2022-06-28T19:43:18.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-28T19:43:19.318Z] $ docker top e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc -eo pid,comm [2022-06-28T19:43:19.379Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-28T19:43:19.379Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-28T19:43:19.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T19:43:19.418Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T19:43:19.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T19:43:19.563Z] $ docker exec e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent [2022-06-28T19:43:19.691Z] SSH_AUTH_SOCK=/tmp/ssh-42uycZ75q6Sh/agent.33 [2022-06-28T19:43:19.691Z] SSH_AGENT_PID=39 [2022-06-28T19:43:19.698Z] Running ssh-add (command line suppressed) [2022-06-28T19:43:19.806Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7667042476803971438.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_7667042476803971438.key) [2022-06-28T19:43:19.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T19:43:20.109Z] + git tag --points-at HEAD [Pipeline] } [2022-06-28T19:43:20.132Z] $ docker exec --env ******** --env ******** e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent -k [2022-06-28T19:43:20.246Z] unset SSH_AUTH_SOCK; [2022-06-28T19:43:20.246Z] unset SSH_AGENT_PID; [2022-06-28T19:43:20.246Z] echo Agent pid 39 killed; [2022-06-28T19:43:20.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-28T19:43:20.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-28T19:43:20.283Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-28T19:43:20.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-28T19:43:20.443Z] $ docker exec e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent [2022-06-28T19:43:20.570Z] SSH_AUTH_SOCK=/tmp/ssh-XESzw1h0zfPA/agent.72 [2022-06-28T19:43:20.570Z] SSH_AGENT_PID=78 [2022-06-28T19:43:20.576Z] Running ssh-add (command line suppressed) [2022-06-28T19:43:20.698Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5926978948614478601.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5926978948614478601.key) [2022-06-28T19:43:20.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-28T19:43:21.007Z] + git semver init [2022-06-28T19:43:21.267Z] 2022-06-28 19:43:21,198 [run_init] DEBUG init version:0.0.0 force:False [2022-06-28T19:43:21.267Z] 2022-06-28 19:43:21,199 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-28T19:43:21.267Z] 2022-06-28 19:43:21,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-28T19:43:21.267Z] 2022-06-28 19:43:21,199 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-90/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90, universal_newlines=False, shell=None, istream=None) [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,858 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 with force:False [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,858 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,861 [execute] INFO git cat-file --batch-check [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,867 [execute] INFO git cat-file --batch [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-90/.semver, universal_newlines=False, shell=None, istream=) [2022-06-28T19:43:22.212Z] 2022-06-28 19:43:21,871 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-28T19:43:22.212Z] 0.0.0 [Pipeline] } [2022-06-28T19:43:22.224Z] $ docker exec --env ******** --env ******** e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc ssh-agent -k [2022-06-28T19:43:22.341Z] unset SSH_AUTH_SOCK; [2022-06-28T19:43:22.341Z] unset SSH_AGENT_PID; [2022-06-28T19:43:22.341Z] echo Agent pid 78 killed; [2022-06-28T19:43:22.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-28T19:43:22.662Z] + git semver [Pipeline] } [2022-06-28T19:43:22.941Z] $ docker stop --time=1 e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc [2022-06-28T19:43:24.222Z] $ docker rm -f e040e18d32395ca6fe865087471f0cd53065056cdd6928b1c31d5863a0c347fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-28T19:43:24.567Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-28T19:43:24.825Z] Stashed 1 file(s) [Pipeline] echo [2022-06-28T19:43:24.827Z] [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 [2022-06-28T19:43:24.923Z] provisioning config files... [2022-06-28T19:43:24.933Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1761184214454973572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:43:25.239Z] ---> docker-login.sh [2022-06-28T19:43:25.239Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:43:25.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:25.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:25.239Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:25.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:25.239Z] [2022-06-28T19:43:25.239Z] Login Succeeded [2022-06-28T19:43:25.239Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:43:25.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:25.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:25.500Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:25.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:25.500Z] [2022-06-28T19:43:25.500Z] Login Succeeded [2022-06-28T19:43:25.500Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:43:25.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:25.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:25.500Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:25.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:25.500Z] [2022-06-28T19:43:25.500Z] Login Succeeded [2022-06-28T19:43:25.500Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:43:25.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:25.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:25.761Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:25.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:25.761Z] [2022-06-28T19:43:25.761Z] Login Succeeded [2022-06-28T19:43:25.761Z] docker.io [2022-06-28T19:43:25.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:43:26.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:43:26.022Z] Configure a credential helper to remove this warning. See [2022-06-28T19:43:26.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:43:26.022Z] [2022-06-28T19:43:26.022Z] Login Succeeded [2022-06-28T19:43:26.022Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:43:26.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T19:43:26.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:43:26.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:43:26.119Z] ========================================================= [2022-06-28T19:43:26.119Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-28T19:43:26.119Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:43:26.439Z] + 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 . [2022-06-28T19:43:26.439Z] Sending build context to Docker daemon 8.973MB [2022-06-28T19:43:26.439Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T19:43:26.439Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T19:43:26.439Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-28T19:43:26.439Z] 59bf1c3509f3: Pulling fs layer [2022-06-28T19:43:26.439Z] 666ba61612fd: Pulling fs layer [2022-06-28T19:43:26.439Z] 8ed8ca486205: Pulling fs layer [2022-06-28T19:43:26.439Z] cc1cd167ecdc: Pulling fs layer [2022-06-28T19:43:26.439Z] c516ae0d96e1: Pulling fs layer [2022-06-28T19:43:26.439Z] 684cea983483: Pulling fs layer [2022-06-28T19:43:26.439Z] dd3240ac7de5: Pulling fs layer [2022-06-28T19:43:26.439Z] b1e948a4e11c: Pulling fs layer [2022-06-28T19:43:26.439Z] a8fd76ee1af6: Pulling fs layer [2022-06-28T19:43:26.439Z] 646ad004c059: Pulling fs layer [2022-06-28T19:43:26.439Z] cc1cd167ecdc: Waiting [2022-06-28T19:43:26.439Z] dd3240ac7de5: Waiting [2022-06-28T19:43:26.439Z] c516ae0d96e1: Waiting [2022-06-28T19:43:26.439Z] b1e948a4e11c: Waiting [2022-06-28T19:43:26.439Z] a8fd76ee1af6: Waiting [2022-06-28T19:43:26.439Z] 684cea983483: Waiting [2022-06-28T19:43:26.439Z] 8ed8ca486205: Download complete [2022-06-28T19:43:26.439Z] 666ba61612fd: Download complete [2022-06-28T19:43:26.701Z] c516ae0d96e1: Verifying Checksum [2022-06-28T19:43:26.701Z] c516ae0d96e1: Download complete [2022-06-28T19:43:26.701Z] 684cea983483: Verifying Checksum [2022-06-28T19:43:26.701Z] 684cea983483: Download complete [2022-06-28T19:43:26.701Z] dd3240ac7de5: Verifying Checksum [2022-06-28T19:43:26.701Z] dd3240ac7de5: Download complete [2022-06-28T19:43:26.701Z] 59bf1c3509f3: Verifying Checksum [2022-06-28T19:43:26.701Z] 59bf1c3509f3: Download complete [2022-06-28T19:43:26.701Z] b1e948a4e11c: Verifying Checksum [2022-06-28T19:43:26.701Z] b1e948a4e11c: Download complete [2022-06-28T19:43:26.701Z] 59bf1c3509f3: Pull complete [2022-06-28T19:43:26.973Z] 666ba61612fd: Pull complete [2022-06-28T19:43:26.973Z] 8ed8ca486205: Pull complete [2022-06-28T19:43:27.236Z] 646ad004c059: Verifying Checksum [2022-06-28T19:43:27.236Z] 646ad004c059: Download complete [2022-06-28T19:43:27.236Z] cc1cd167ecdc: Verifying Checksum [2022-06-28T19:43:27.236Z] cc1cd167ecdc: Download complete [2022-06-28T19:43:27.236Z] a8fd76ee1af6: Verifying Checksum [2022-06-28T19:43:27.236Z] a8fd76ee1af6: Download complete [2022-06-28T19:43:31.444Z] cc1cd167ecdc: Pull complete [2022-06-28T19:43:31.444Z] c516ae0d96e1: Pull complete [2022-06-28T19:43:31.444Z] 684cea983483: Pull complete [2022-06-28T19:43:31.444Z] dd3240ac7de5: Pull complete [2022-06-28T19:43:31.444Z] b1e948a4e11c: Pull complete [2022-06-28T19:43:33.363Z] a8fd76ee1af6: Pull complete [2022-06-28T19:43:33.938Z] 646ad004c059: Pull complete [2022-06-28T19:43:33.938Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-28T19:43:33.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-28T19:43:33.938Z] ---> 8f69c11f6b0c [2022-06-28T19:43:33.938Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T19:43:35.322Z] ---> Running in 25bc18666022 [2022-06-28T19:43:35.322Z] Removing intermediate container 25bc18666022 [2022-06-28T19:43:35.322Z] ---> d696db0b1b63 [2022-06-28T19:43:35.322Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T19:43:35.582Z] ---> Running in ef673163f052 [2022-06-28T19:43:35.582Z] Removing intermediate container ef673163f052 [2022-06-28T19:43:35.582Z] ---> d89c7d8a14bc [2022-06-28T19:43:35.582Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T19:43:35.582Z] ---> Running in 32507ce3eed3 [2022-06-28T19:43:35.582Z] Removing intermediate container 32507ce3eed3 [2022-06-28T19:43:35.582Z] ---> cf78177e7723 [2022-06-28T19:43:35.582Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T19:43:35.582Z] ---> Running in 9a0c8f444a78 [2022-06-28T19:43:35.843Z] Removing intermediate container 9a0c8f444a78 [2022-06-28T19:43:35.843Z] ---> 12361cbc135e [2022-06-28T19:43:35.843Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T19:43:35.843Z] ---> Running in 15e4f52601e9 [2022-06-28T19:43:36.413Z] Removing intermediate container 15e4f52601e9 [2022-06-28T19:43:36.413Z] ---> 5f9016977b15 [2022-06-28T19:43:36.413Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T19:43:36.413Z] ---> Running in 2bcf3fca2993 [2022-06-28T19:43:36.674Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-28T19:43:37.616Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-28T19:43:37.878Z] OK: 221 MiB in 52 packages [2022-06-28T19:43:38.137Z] Removing intermediate container 2bcf3fca2993 [2022-06-28T19:43:38.137Z] ---> 3f9b230fd2ec [2022-06-28T19:43:38.137Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T19:43:38.137Z] ---> Running in 0fb73c80f35e [2022-06-28T19:43:38.397Z] Removing intermediate container 0fb73c80f35e [2022-06-28T19:43:38.397Z] ---> cb1dae14f3b1 [2022-06-28T19:43:38.397Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T19:43:38.397Z] ---> 775c2b053ca1 [2022-06-28T19:43:38.397Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T19:43:38.397Z] ---> Running in 3529c033ac5f [2022-06-28T19:43:39.897Z] Still waiting to schedule task [2022-06-28T19:43:39.897Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16260’ [2022-06-28T19:43:53.301Z] Removing intermediate container 3529c033ac5f [2022-06-28T19:43:53.301Z] ---> bf71390c8190 [2022-06-28T19:43:53.301Z] Step 12/13 : COPY . . [2022-06-28T19:43:53.301Z] ---> 92a7b86ecca2 [2022-06-28T19:43:53.301Z] Step 13/13 : RUN ${MAKE} [2022-06-28T19:43:53.301Z] ---> Running in 72a447ee11ad [2022-06-28T19:43:53.301Z] noop [2022-06-28T19:43:53.301Z] Removing intermediate container 72a447ee11ad [2022-06-28T19:43:53.301Z] ---> fdd41195bd32 [2022-06-28T19:43:53.301Z] Successfully built fdd41195bd32 [2022-06-28T19:43:53.301Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:43:53.622Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T19:43:53.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:43:53.706Z] prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container [2022-06-28T19:43:53.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T19:43:54.124Z] $ docker top 358bf825551ae35a3a985a86a1be6e771a5bebf7360a84ae3704107ba7fcb349 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T19:43:54.479Z] + go version [2022-06-28T19:43:54.479Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-28T19:43:54.492Z] $ docker stop --time=1 358bf825551ae35a3a985a86a1be6e771a5bebf7360a84ae3704107ba7fcb349 [2022-06-28T19:43:55.828Z] $ docker rm -f 358bf825551ae35a3a985a86a1be6e771a5bebf7360a84ae3704107ba7fcb349 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:43:56.236Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-28T19:43:56.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:43:56.325Z] prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container [2022-06-28T19:43:56.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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 ******** -e ******** ci-base-image-x86_64 cat [2022-06-28T19:43:56.747Z] $ docker top 81be7e04993492448d492ef6738826b95a2d0b7013bea55abc44f2d58218f1ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T19:43:57.111Z] + make test [2022-06-28T19:43:57.111Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T19:43:57.372Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T19:44:07.371Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-28T19:44:07.371Z] internal/driver/checkstatuses.go:30:6: expression in go must be function call [2022-06-28T19:44:07.371Z] internal/driver/checkstatuses.go:60:47: syntax error: unexpected models, expecting comma or ) [2022-06-28T19:44:07.371Z] # cover github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-28T19:44:07.371Z] 2022/06/28 19:44:06 cover: /w/workspace/oundry_device-onvif-camera_PR-90/internal/driver/checkstatuses.go: /w/workspace/oundry_device-onvif-camera_PR-90/internal/driver/checkstatuses.go:52:3: function must be invoked in go statement (and 10 more errors) [2022-06-28T19:44:07.371Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2022-06-28T19:44:11.598Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.867s coverage: 13.8% of statements [2022-06-28T19:44:11.861Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-28T19:44:11.879Z] $ docker stop --time=1 81be7e04993492448d492ef6738826b95a2d0b7013bea55abc44f2d58218f1ea [2022-06-28T19:44:13.571Z] $ docker rm -f 81be7e04993492448d492ef6738826b95a2d0b7013bea55abc44f2d58218f1ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:44:14.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:44:14.161Z] [2022-06-28T19:44:14.161Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:44:14.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:44:14.468Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-28T19:44:14.468Z] 5eb5b503b376: Pulling fs layer [2022-06-28T19:44:14.468Z] 5c69ac0246d0: Pulling fs layer [2022-06-28T19:44:14.468Z] ec43610c2a17: Pulling fs layer [2022-06-28T19:44:14.468Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-28T19:44:14.468Z] 33b1e0a273af: Pulling fs layer [2022-06-28T19:44:14.468Z] 5d3b04190fa2: Pulling fs layer [2022-06-28T19:44:14.468Z] 2f39f015ded8: Pulling fs layer [2022-06-28T19:44:14.468Z] 3a2ae6a8a46f: Waiting [2022-06-28T19:44:14.468Z] 33b1e0a273af: Waiting [2022-06-28T19:44:14.468Z] 5d3b04190fa2: Waiting [2022-06-28T19:44:14.468Z] 2f39f015ded8: Waiting [2022-06-28T19:44:14.468Z] 5c69ac0246d0: Verifying Checksum [2022-06-28T19:44:14.468Z] 5c69ac0246d0: Download complete [2022-06-28T19:44:14.468Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-28T19:44:14.468Z] 3a2ae6a8a46f: Download complete [2022-06-28T19:44:14.468Z] 33b1e0a273af: Verifying Checksum [2022-06-28T19:44:14.468Z] 33b1e0a273af: Download complete [2022-06-28T19:44:14.468Z] 5d3b04190fa2: Download complete [2022-06-28T19:44:14.728Z] ec43610c2a17: Verifying Checksum [2022-06-28T19:44:14.728Z] ec43610c2a17: Download complete [2022-06-28T19:44:14.728Z] 5eb5b503b376: Verifying Checksum [2022-06-28T19:44:14.728Z] 5eb5b503b376: Download complete [2022-06-28T19:44:15.297Z] 2f39f015ded8: Download complete [2022-06-28T19:44:15.867Z] 5eb5b503b376: Pull complete [2022-06-28T19:44:16.126Z] 5c69ac0246d0: Pull complete [2022-06-28T19:44:16.693Z] ec43610c2a17: Pull complete [2022-06-28T19:44:16.693Z] 3a2ae6a8a46f: Pull complete [2022-06-28T19:44:16.693Z] 33b1e0a273af: Pull complete [2022-06-28T19:44:16.952Z] 5d3b04190fa2: Pull complete [2022-06-28T19:44:21.146Z] 2f39f015ded8: Pull complete [2022-06-28T19:44:21.146Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-28T19:44:21.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:44:21.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:44:21.245Z] prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container [2022-06-28T19:44:21.313Z] $ 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/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-28T19:44:22.836Z] $ docker top 7075c268f271a2b9245272138742e085c1862ec4b6ee4cac8b8d7b075cba6f8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:44:23.234Z] ---> job-cost.sh [2022-06-28T19:44:23.234Z] lf-activate-venv: SKIPPING [2022-06-28T19:44:23.234Z] INFO: No Stack... [2022-06-28T19:44:23.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T19:44:24.066Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T19:44:24.357Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-28T19:44:24.357Z] + cut -d, -f6 [Pipeline] lock [2022-06-28T19:44:24.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [2022-06-28T19:44:24.380Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] did not exist. Created. [2022-06-28T19:44:24.380Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T19:44:24.696Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-28T19:44:24.726Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T19:44:24.733Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T19:44:24.754Z] $ docker stop --time=1 7075c268f271a2b9245272138742e085c1862ec4b6ee4cac8b8d7b075cba6f8a [2022-06-28T19:44:25.929Z] $ docker rm -f 7075c268f271a2b9245272138742e085c1862ec4b6ee4cac8b8d7b075cba6f8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T19:44:26.047Z] Failed in branch amd64 [2022-06-28T19:47:11.604Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16261 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-28T19:47:11.617Z] Running in /w/workspace/device-onvif-camera/23 [Pipeline] { [Pipeline] checkout [2022-06-28T19:47:11.660Z] Selected Git installation does not exist. Using Default [2022-06-28T19:47:11.660Z] The recommended git tool is: NONE [2022-06-28T19:47:18.851Z] using credential edgex-jenkins-ssh [2022-06-28T19:47:18.873Z] Cloning the remote Git repository [2022-06-28T19:47:18.940Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T19:47:19.025Z] > git init /w/workspace/device-onvif-camera/23 # timeout=10 [2022-06-28T19:47:19.284Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T19:47:19.285Z] > git --version # timeout=10 [2022-06-28T19:47:19.352Z] > git --version # 'git version 2.25.1' [2022-06-28T19:47:19.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T19:47:19.530Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T19:47:20.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T19:47:20.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-28T19:47:20.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-28T19:47:20.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-28T19:47:20.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T19:47:20.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/90/head:refs/remotes/origin/PR-90 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-28T19:47:21.015Z] Merging remotes/origin/main commit f7fd1a7f74557858cb13a434798fc966c2703d09 into PR head commit 818ae11e55014ea57d47742308837c5193a088ea [2022-06-28T19:47:21.305Z] Merge succeeded, producing 818ae11e55014ea57d47742308837c5193a088ea [2022-06-28T19:47:21.306Z] Checking out Revision 818ae11e55014ea57d47742308837c5193a088ea (PR-90) [2022-06-28T19:47:21.036Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T19:47:21.058Z] > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # timeout=10 [2022-06-28T19:47:21.208Z] > git remote # timeout=10 [2022-06-28T19:47:21.228Z] > git config --get remote.origin.url # timeout=10 [2022-06-28T19:47:21.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-28T19:47:21.258Z] > git merge f7fd1a7f74557858cb13a434798fc966c2703d09 # timeout=10 [2022-06-28T19:47:21.288Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-28T19:47:21.316Z] > git config core.sparsecheckout # timeout=10 [2022-06-28T19:47:21.342Z] > git checkout -f 818ae11e55014ea57d47742308837c5193a088ea # timeout=10 [2022-06-28T19:47:25.632Z] Commit message: "Merge branch 'main' into mac-v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-28T19:47:26.576Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-28T19:47:26.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-28T19:47:26.576Z] Dload Upload Total Spent Left Speed [2022-06-28T19:47:26.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94253 0 --:--:-- --:--:-- --:--:-- 94253 100 12253 100 12253 0 0 93534 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh [2022-06-28T19:47:27.313Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-28T19:47:27.650Z] + sudo tee /etc/docker/daemon.new [2022-06-28T19:47:27.650Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-28T19:47:27.650Z] { [2022-06-28T19:47:27.650Z] "registry-mirrors": [ [2022-06-28T19:47:27.650Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-28T19:47:27.650Z] ], [2022-06-28T19:47:27.650Z] "bip": "10.250.0.254/24", [2022-06-28T19:47:27.650Z] "hosts": [ [2022-06-28T19:47:27.650Z] "tcp://0.0.0.0:5555", [2022-06-28T19:47:27.650Z] "unix:///var/run/docker.sock" [2022-06-28T19:47:27.650Z] ], [2022-06-28T19:47:27.650Z] "mtu": 1458, [2022-06-28T19:47:27.650Z] "selinux-enabled": true, [2022-06-28T19:47:27.650Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-28T19:47:27.650Z] } [Pipeline] sh [2022-06-28T19:47:27.994Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-28T19:47:28.332Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T19:47:46.674Z] provisioning config files... [2022-06-28T19:47:46.697Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/23@tmp/config818595634628850311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:47:47.234Z] ---> docker-login.sh [2022-06-28T19:47:47.234Z] nexus3.edgexfoundry.org:10001 [2022-06-28T19:47:47.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:48.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:48.107Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:48.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:48.107Z] [2022-06-28T19:47:48.107Z] Login Succeeded [2022-06-28T19:47:48.107Z] nexus3.edgexfoundry.org:10002 [2022-06-28T19:47:48.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:48.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:48.654Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:48.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:48.654Z] [2022-06-28T19:47:48.654Z] Login Succeeded [2022-06-28T19:47:48.654Z] nexus3.edgexfoundry.org:10003 [2022-06-28T19:47:48.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:48.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:48.930Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:48.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:48.930Z] [2022-06-28T19:47:48.930Z] Login Succeeded [2022-06-28T19:47:48.930Z] nexus3.edgexfoundry.org:10004 [2022-06-28T19:47:49.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:49.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:49.531Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:49.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:49.531Z] [2022-06-28T19:47:49.531Z] Login Succeeded [2022-06-28T19:47:49.531Z] docker.io [2022-06-28T19:47:49.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-28T19:47:50.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-28T19:47:50.078Z] Configure a credential helper to remove this warning. See [2022-06-28T19:47:50.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-28T19:47:50.078Z] [2022-06-28T19:47:50.078Z] Login Succeeded [2022-06-28T19:47:50.352Z] ---> docker-login.sh ends [Pipeline] } [2022-06-28T19:47:50.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-28T19:47:50.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:47:50.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-28T19:47:50.653Z] ========================================================= [2022-06-28T19:47:50.653Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-28T19:47:50.653Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:47:51.016Z] + 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 . [2022-06-28T19:47:51.618Z] Sending build context to Docker daemon 6.132MB [2022-06-28T19:47:51.618Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-28T19:47:51.618Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-28T19:47:51.618Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-28T19:47:51.618Z] 9b3977197b4f: Pulling fs layer [2022-06-28T19:47:51.618Z] 1a89e8eeedd5: Pulling fs layer [2022-06-28T19:47:51.618Z] 94645a83ff95: Pulling fs layer [2022-06-28T19:47:51.618Z] e6fb740bc735: Pulling fs layer [2022-06-28T19:47:51.618Z] 3a77bd46dcc9: Pulling fs layer [2022-06-28T19:47:51.618Z] e6fb740bc735: Waiting [2022-06-28T19:47:51.618Z] 355e64cbe906: Pulling fs layer [2022-06-28T19:47:51.618Z] 63ab81a10011: Pulling fs layer [2022-06-28T19:47:51.618Z] 3a77bd46dcc9: Waiting [2022-06-28T19:47:51.618Z] 555d1d1c4555: Pulling fs layer [2022-06-28T19:47:51.618Z] 7d9057610161: Pulling fs layer [2022-06-28T19:47:51.618Z] 63ab81a10011: Waiting [2022-06-28T19:47:51.618Z] 555d1d1c4555: Waiting [2022-06-28T19:47:51.618Z] 7d9057610161: Waiting [2022-06-28T19:47:51.618Z] 355e64cbe906: Waiting [2022-06-28T19:47:51.618Z] 94645a83ff95: Download complete [2022-06-28T19:47:51.618Z] 1a89e8eeedd5: Verifying Checksum [2022-06-28T19:47:51.618Z] 1a89e8eeedd5: Download complete [2022-06-28T19:47:51.618Z] 3a77bd46dcc9: Verifying Checksum [2022-06-28T19:47:51.618Z] 3a77bd46dcc9: Download complete [2022-06-28T19:47:51.618Z] 355e64cbe906: Download complete [2022-06-28T19:47:51.618Z] 63ab81a10011: Verifying Checksum [2022-06-28T19:47:51.618Z] 63ab81a10011: Download complete [2022-06-28T19:47:51.618Z] 9b3977197b4f: Verifying Checksum [2022-06-28T19:47:51.618Z] 9b3977197b4f: Download complete [2022-06-28T19:47:52.609Z] 9b3977197b4f: Pull complete [2022-06-28T19:47:52.894Z] 7d9057610161: Verifying Checksum [2022-06-28T19:47:52.894Z] 7d9057610161: Download complete [2022-06-28T19:47:53.170Z] 1a89e8eeedd5: Pull complete [2022-06-28T19:47:53.446Z] 94645a83ff95: Pull complete [2022-06-28T19:47:54.050Z] 555d1d1c4555: Verifying Checksum [2022-06-28T19:47:54.050Z] 555d1d1c4555: Download complete [2022-06-28T19:47:54.646Z] e6fb740bc735: Verifying Checksum [2022-06-28T19:47:54.646Z] e6fb740bc735: Download complete [2022-06-28T19:48:07.044Z] e6fb740bc735: Pull complete [2022-06-28T19:48:07.044Z] 3a77bd46dcc9: Pull complete [2022-06-28T19:48:07.044Z] 355e64cbe906: Pull complete [2022-06-28T19:48:07.044Z] 63ab81a10011: Pull complete [2022-06-28T19:48:12.446Z] 555d1d1c4555: Pull complete [2022-06-28T19:48:14.440Z] 7d9057610161: Pull complete [2022-06-28T19:48:14.440Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-28T19:48:14.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-28T19:48:14.440Z] ---> 819e984ddca1 [2022-06-28T19:48:14.440Z] Step 3/13 : ARG MAKE="make build" [2022-06-28T19:48:15.418Z] ---> Running in c9bc310ccd0d [2022-06-28T19:48:15.690Z] Removing intermediate container c9bc310ccd0d [2022-06-28T19:48:15.690Z] ---> 8afa306adc52 [2022-06-28T19:48:15.690Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-28T19:48:15.690Z] ---> Running in 009541dfe27d [2022-06-28T19:48:15.961Z] Removing intermediate container 009541dfe27d [2022-06-28T19:48:15.961Z] ---> 6d6d53060f6b [2022-06-28T19:48:15.961Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-28T19:48:15.961Z] ---> Running in 2beb872a6f2c [2022-06-28T19:48:16.232Z] Removing intermediate container 2beb872a6f2c [2022-06-28T19:48:16.232Z] ---> 6aa29a8087c1 [2022-06-28T19:48:16.232Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-28T19:48:16.233Z] ---> Running in 397cbe024dbe [2022-06-28T19:48:16.830Z] Removing intermediate container 397cbe024dbe [2022-06-28T19:48:16.830Z] ---> 77329b16297a [2022-06-28T19:48:16.830Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-28T19:48:16.830Z] ---> Running in 6dd201aa9a29 [2022-06-28T19:48:18.265Z] Removing intermediate container 6dd201aa9a29 [2022-06-28T19:48:18.265Z] ---> 2dd816a15351 [2022-06-28T19:48:18.265Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-28T19:48:18.539Z] ---> Running in ef0bc1736850 [2022-06-28T19:48:19.520Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-28T19:48:20.515Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-28T19:48:21.115Z] OK: 220 MiB in 52 packages [2022-06-28T19:48:23.128Z] Removing intermediate container ef0bc1736850 [2022-06-28T19:48:23.128Z] ---> b2a0a81a891d [2022-06-28T19:48:23.128Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-28T19:48:23.128Z] ---> Running in 10c827ca6519 [2022-06-28T19:48:23.128Z] Removing intermediate container 10c827ca6519 [2022-06-28T19:48:23.128Z] ---> 1d07d88153f6 [2022-06-28T19:48:23.128Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-28T19:48:23.746Z] ---> 59c68b558397 [2022-06-28T19:48:23.746Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-28T19:48:23.746Z] ---> Running in f5032374ae51 [2022-06-28T19:49:10.745Z] Removing intermediate container f5032374ae51 [2022-06-28T19:49:10.745Z] ---> a4702430d2ab [2022-06-28T19:49:10.745Z] Step 12/13 : COPY . . [2022-06-28T19:49:10.745Z] ---> f302f7e4e170 [2022-06-28T19:49:10.745Z] Step 13/13 : RUN ${MAKE} [2022-06-28T19:49:10.745Z] ---> Running in 4d44f3821744 [2022-06-28T19:49:11.733Z] noop [2022-06-28T19:49:12.328Z] Removing intermediate container 4d44f3821744 [2022-06-28T19:49:12.328Z] ---> 6ff19e1a49ea [2022-06-28T19:49:12.328Z] Successfully built 6ff19e1a49ea [2022-06-28T19:49:12.328Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:49:12.693Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T19:49:12.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:49:12.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-16261 does not seem to be running inside a container [2022-06-28T19:49:13.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T19:49:14.348Z] $ docker top 6c92c61a0296f0b4c7ef26ca6bcc658861b607cb20ca67a23762233a8786ec5f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T19:49:15.267Z] + go version [2022-06-28T19:49:15.267Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-28T19:49:15.295Z] $ docker stop --time=1 6c92c61a0296f0b4c7ef26ca6bcc658861b607cb20ca67a23762233a8786ec5f [2022-06-28T19:49:16.945Z] $ docker rm -f 6c92c61a0296f0b4c7ef26ca6bcc658861b607cb20ca67a23762233a8786ec5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:49:17.563Z] + docker inspect -f . ci-base-image-arm64 [2022-06-28T19:49:17.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:49:17.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-16261 does not seem to be running inside a container [2022-06-28T19:49:17.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-28T19:49:19.194Z] $ docker top dd4a07d5da916d01cbb490ced35d2adfd20a5393d088da01b192656b185554e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-28T19:49:20.121Z] + make test [2022-06-28T19:49:20.121Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-28T19:49:22.106Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-28T19:50:30.184Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-28T19:50:30.184Z] internal/driver/checkstatuses.go:30:6: expression in go must be function call [2022-06-28T19:50:30.184Z] internal/driver/checkstatuses.go:60:47: syntax error: unexpected models, expecting comma or ) [2022-06-28T19:50:36.932Z] # cover github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-28T19:50:36.932Z] 2022/06/28 19:50:36 cover: /w/workspace/device-onvif-camera/23/internal/driver/checkstatuses.go: /w/workspace/device-onvif-camera/23/internal/driver/checkstatuses.go:52:3: function must be invoked in go statement (and 10 more errors) [2022-06-28T19:50:42.367Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2022-06-28T19:51:09.185Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.133s coverage: 13.8% of statements [2022-06-28T19:51:09.185Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-28T19:51:09.214Z] $ docker stop --time=1 dd4a07d5da916d01cbb490ced35d2adfd20a5393d088da01b192656b185554e3 [2022-06-28T19:51:10.963Z] $ docker rm -f dd4a07d5da916d01cbb490ced35d2adfd20a5393d088da01b192656b185554e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:51:12.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T19:51:12.032Z] [2022-06-28T19:51:12.032Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:51:12.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T19:51:12.655Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-28T19:51:12.655Z] 8998bd30e6a1: Pulling fs layer [2022-06-28T19:51:12.655Z] 04944245beec: Pulling fs layer [2022-06-28T19:51:12.655Z] 699f458cf7ca: Pulling fs layer [2022-06-28T19:51:12.655Z] 765212b225bb: Pulling fs layer [2022-06-28T19:51:12.655Z] f23df028b6ca: Pulling fs layer [2022-06-28T19:51:12.655Z] d65c8cfc05b1: Pulling fs layer [2022-06-28T19:51:12.655Z] 2437ff75d9bd: Pulling fs layer [2022-06-28T19:51:12.655Z] f23df028b6ca: Waiting [2022-06-28T19:51:12.655Z] 2437ff75d9bd: Waiting [2022-06-28T19:51:12.655Z] d65c8cfc05b1: Waiting [2022-06-28T19:51:12.655Z] 765212b225bb: Waiting [2022-06-28T19:51:12.655Z] 04944245beec: Verifying Checksum [2022-06-28T19:51:12.655Z] 04944245beec: Download complete [2022-06-28T19:51:12.655Z] 765212b225bb: Download complete [2022-06-28T19:51:12.655Z] f23df028b6ca: Verifying Checksum [2022-06-28T19:51:12.655Z] f23df028b6ca: Download complete [2022-06-28T19:51:12.655Z] d65c8cfc05b1: Verifying Checksum [2022-06-28T19:51:12.655Z] d65c8cfc05b1: Download complete [2022-06-28T19:51:12.931Z] 699f458cf7ca: Verifying Checksum [2022-06-28T19:51:12.931Z] 699f458cf7ca: Download complete [2022-06-28T19:51:13.207Z] 8998bd30e6a1: Verifying Checksum [2022-06-28T19:51:13.207Z] 8998bd30e6a1: Download complete [2022-06-28T19:51:15.832Z] 2437ff75d9bd: Verifying Checksum [2022-06-28T19:51:15.832Z] 2437ff75d9bd: Download complete [2022-06-28T19:51:17.812Z] 8998bd30e6a1: Pull complete [2022-06-28T19:51:18.088Z] 04944245beec: Pull complete [2022-06-28T19:51:19.527Z] 699f458cf7ca: Pull complete [2022-06-28T19:51:19.811Z] 765212b225bb: Pull complete [2022-06-28T19:51:20.791Z] f23df028b6ca: Pull complete [2022-06-28T19:51:20.791Z] d65c8cfc05b1: Pull complete [2022-06-28T19:51:35.876Z] 2437ff75d9bd: Pull complete [2022-06-28T19:51:35.876Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-28T19:51:35.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-28T19:51:35.876Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:51:36.141Z] prd-ubuntu20.04-docker-arm64-4c-16g-16261 does not seem to be running inside a container [2022-06-28T19:51:36.232Z] $ 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/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-28T19:51:38.733Z] $ docker top 34a1b4b2b537dcf6689c3f7dab4daab89cb0df8d24cfbf09ee2bf02f430cabd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:39.660Z] ---> job-cost.sh [2022-06-28T19:51:39.660Z] lf-activate-venv: SKIPPING [2022-06-28T19:51:39.660Z] INFO: No Stack... [2022-06-28T19:51:39.933Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-28T19:51:40.913Z] INFO: Archiving Costs [Pipeline] sh [2022-06-28T19:51:41.578Z] + cat /w/workspace/device-onvif-camera/23/archives/cost.csv+ [2022-06-28T19:51:41.578Z] cut -d, -f6 [Pipeline] lock [2022-06-28T19:51:41.647Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [2022-06-28T19:51:41.656Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] did not exist. Created. [2022-06-28T19:51:41.656Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-28T19:51:42.338Z] /w/workspace/device-onvif-camera/23@tmp/durable-92401eab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-28T19:51:43.019Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-28T19:51:43.039Z] Warning: overwriting stash ‘stack-cost’ [2022-06-28T19:51:43.484Z] Stashed 1 file(s) [Pipeline] } [2022-06-28T19:51:43.491Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-28T19:51:43.522Z] $ docker stop --time=1 34a1b4b2b537dcf6689c3f7dab4daab89cb0df8d24cfbf09ee2bf02f430cabd1 [2022-06-28T19:51:45.007Z] $ docker rm -f 34a1b4b2b537dcf6689c3f7dab4daab89cb0df8d24cfbf09ee2bf02f430cabd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-28T19:51:45.324Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-28T19:51:46.059Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-28T19:51:46.059Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-28T19:51:46.059Z] total 16 [2022-06-28T19:51:46.059Z] drwxr-xr-x 3 root root 4096 Jun 28 19:44 . [2022-06-28T19:51:46.059Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 19:44 .. [2022-06-28T19:51:46.059Z] drwxr-xr-x 2 root root 4096 Jun 28 19:44 cost [2022-06-28T19:51:46.059Z] -rw-r--r-- 1 root root 90 Jun 28 19:44 cost.csv [2022-06-28T19:51:46.059Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-28T19:51:46.059Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-28T19:51:46.059Z] total 16 [2022-06-28T19:51:46.059Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 19:44 . [2022-06-28T19:51:46.059Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 19:44 .. [2022-06-28T19:51:46.059Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 19:44 cost [2022-06-28T19:51:46.059Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 28 19:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:46.351Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:47.217Z] ---> package-listing.sh [2022-06-28T19:51:47.217Z] ++ facter osfamily [2022-06-28T19:51:47.217Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-28T19:51:47.476Z] + OS_FAMILY=debian [2022-06-28T19:51:47.476Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-28T19:51:47.476Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-28T19:51:47.476Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-28T19:51:47.476Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-28T19:51:47.476Z] + PACKAGES=/tmp/packages_start.txt [2022-06-28T19:51:47.476Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-28T19:51:47.476Z] + PACKAGES=/tmp/packages_end.txt [2022-06-28T19:51:47.476Z] + case "${OS_FAMILY}" in [2022-06-28T19:51:47.476Z] + grep '^ii' [2022-06-28T19:51:47.476Z] + dpkg -l [2022-06-28T19:51:47.476Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-28T19:51:47.476Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-28T19:51:47.476Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-28T19:51:47.476Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-28T19:51:47.476Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-28T19:51:47.476Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [Pipeline] echo [2022-06-28T19:51:47.487Z] 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/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-28T19:51:47.768Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-28T19:51:48.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-28T19:51:48.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-28T19:51:48.418Z] prd-ubuntu20.04-docker-8c-8g-16259 does not seem to be running inside a container [2022-06-28T19:51:48.449Z] $ 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/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@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 [2022-06-28T19:51:48.672Z] $ docker top 4277921d9fe6b0fb459302085263766021a4d12faa48a6e245382390d001fc66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-28T19:51:49.050Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-28T19:51:49.344Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-28T19:51:49.638Z] + ls /var/log/sa-host [2022-06-28T19:51:49.638Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-28T19:51:49.728Z] provisioning config files... [2022-06-28T19:51:49.739Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2226445403567564558tmp [Pipeline] { [Pipeline] echo [2022-06-28T19:51:49.756Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:50.044Z] ---> create-netrc.sh [Pipeline] } [2022-06-28T19:51:50.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:50.390Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-28T19:51:50.400Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:50.690Z] ---> sudo-logs.sh [2022-06-28T19:51:50.690Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-28T19:51:50.716Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:51.006Z] ---> job-cost.sh [2022-06-28T19:51:51.006Z] lf-activate-venv: SKIPPING [2022-06-28T19:51:51.006Z] DEBUG: total: 0.2199999988079071 [2022-06-28T19:51:51.006Z] INFO: Retrieving Stack Cost... [2022-06-28T19:51:51.579Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-28T19:51:52.154Z] INFO: Archiving Costs [Pipeline] echo [2022-06-28T19:51:52.166Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-28T19:51:52.458Z] ---> logs-deploy.sh [2022-06-28T19:51:52.458Z] lf-activate-venv: SKIPPING [2022-06-28T19:51:52.458Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/23 [2022-06-28T19:51:52.458Z] INFO: archiving workspace using pattern(s): [2022-06-28T19:51:53.408Z] Archives upload complete. [2022-06-28T19:51:53.408Z] INFO: archiving logs to Nexus