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 8374ad439d5c8571ae7424cc77de71a785d5a0ca rather than ccd7fb161c7a47eddc0eedcafa21355e118baf2e Obtained Jenkinsfile from 8374ad439d5c8571ae7424cc77de71a785d5a0ca 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-ssh3632392654182095878.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-ssh10587701065761774464.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-ssh14549586181871055286.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-ssh3982565015150862096.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-ssh9595623035947520703.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15543 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit ccd7fb161c7a47eddc0eedcafa21355e118baf2e Merge succeeded, producing fcff4b36c67704af79d9a2e3842de02f93fe3941 Checking out Revision fcff4b36c67704af79d9a2e3842de02f93fe3941 (PR-90) > git config core.sparsecheckout # timeout=10 > git checkout -f ccd7fb161c7a47eddc0eedcafa21355e118baf2e # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fcff4b36c67704af79d9a2e3842de02f93fe3941 # timeout=10 Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-24T17:18:11.192Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-24T17:18:11.238Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-24T17:18:11.249Z] ========================================================= [2022-06-24T17:18:11.249Z] EdgeX Global Pipelines Version Info [2022-06-24T17:18:11.249Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a69b820ba09c69a9559bc3e39782e96cdf3d7db3 # timeout=10 [2022-06-24T17:18:12.005Z] ------------------- [2022-06-24T17:18:12.005Z] stable info: [2022-06-24T17:18:12.005Z] ------------------- [2022-06-24T17:18:12.005Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-24T17:18:12.005Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T17:18:12.005Z] Message: update stable to v1.0.234 [2022-06-24T17:18:12.578Z] ------------------- [2022-06-24T17:18:12.578Z] experimental info: [2022-06-24T17:18:12.578Z] ------------------- [2022-06-24T17:18:12.578Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-24T17:18:12.578Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-24T17:18:12.578Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-24T17:18:12.775Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-24T17:18:12.789Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-24T17:18:12.805Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-24T17:18:12.816Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-24T17:18:12.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-24T17:18:12.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-24T17:18:12.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-24T17:18:12.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-24T17:18:12.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-24T17:18:12.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-24T17:18:12.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-24T17:18:12.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-24T17:18:12.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-24T17:18:12.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-24T17:18:12.948Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T17:18:12.959Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-24T17:18:12.970Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T17:18:12.981Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-24T17:18:12.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-24T17:18:13.005Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-24T17:18:13.020Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-24T17:18:13.037Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-24T17:18:13.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-24T17:18:13.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-24T17:18:13.073Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-24T17:18:13.084Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-24T17:18:13.097Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-24T17:18:13.108Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-24T17:18:13.121Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-24T17:18:13.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-24T17:18:13.143Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcff4b36c67704af79d9a2e3842de02f93fe3941 [Pipeline] echo [2022-06-24T17:18:13.155Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcff4b3 [Pipeline] echo [2022-06-24T17:18:13.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:18:13.216Z] provisioning config files... [2022-06-24T17:18:13.232Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config7087141496124833802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:18:13.537Z] ---> docker-login.sh [2022-06-24T17:18:13.537Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:18:13.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:13.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:13.798Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:13.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:13.798Z] [2022-06-24T17:18:13.798Z] Login Succeeded [2022-06-24T17:18:13.798Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:18:14.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:14.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:14.060Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:14.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:14.060Z] [2022-06-24T17:18:14.060Z] Login Succeeded [2022-06-24T17:18:14.060Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:18:14.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:14.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:14.321Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:14.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:14.321Z] [2022-06-24T17:18:14.321Z] Login Succeeded [2022-06-24T17:18:14.321Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:18:14.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:14.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:14.321Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:14.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:14.321Z] [2022-06-24T17:18:14.321Z] Login Succeeded [2022-06-24T17:18:14.321Z] docker.io [2022-06-24T17:18:14.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:14.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:14.892Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:14.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:14.892Z] [2022-06-24T17:18:14.892Z] Login Succeeded [2022-06-24T17:18:14.892Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:18:14.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-24T17:18:15.265Z] + git rev-list -1 --merges fcff4b36c67704af79d9a2e3842de02f93fe3941~1..fcff4b36c67704af79d9a2e3842de02f93fe3941 [Pipeline] echo [2022-06-24T17:18:15.362Z] -----------> git rev-list -1 --merges fcff4b36c67704af79d9a2e3842de02f93fe3941~1..fcff4b36c67704af79d9a2e3842de02f93fe3941 fcff4b36c67704af79d9a2e3842de02f93fe3941 [2022-06-24T17:18:15.362Z] fcff4b36c67704af79d9a2e3842de02f93fe3941 [false] [Pipeline] sh [2022-06-24T17:18:15.649Z] + git log --format=format:%s -1 fcff4b36c67704af79d9a2e3842de02f93fe3941 [Pipeline] echo [2022-06-24T17:18:15.665Z] ========================================================= [2022-06-24T17:18:15.665Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-24T17:18:15.665Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T17:18:16.006Z] + git log --format=format:%s -1 fcff4b36c67704af79d9a2e3842de02f93fe3941 [Pipeline] echo [2022-06-24T17:18:16.019Z] [semverPrep] GIT_COMMIT: fcff4b36c67704af79d9a2e3842de02f93fe3941, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-24T17:18:16.027Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-24T17:18:16.390Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-24T17:18:16.390Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-24T17:18:16.390Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-24T17:18:16.390Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-24T17:18:16.390Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-24T17:18:16.390Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-24T17:18:16.390Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:18:16.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:18:16.799Z] [2022-06-24T17:18:16.799Z] 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-24T17:18:17.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:18:17.108Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-24T17:18:17.108Z] 42c077c10790: Pulling fs layer [2022-06-24T17:18:17.108Z] f63e77b7563a: Pulling fs layer [2022-06-24T17:18:17.108Z] bd5fdadae976: Pulling fs layer [2022-06-24T17:18:17.108Z] 205491f53016: Pulling fs layer [2022-06-24T17:18:17.108Z] df18705c85c3: Pulling fs layer [2022-06-24T17:18:17.108Z] 205491f53016: Waiting [2022-06-24T17:18:17.108Z] bdb3f477010e: Pulling fs layer [2022-06-24T17:18:17.108Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-24T17:18:17.108Z] 2c6e9b1d212d: Pulling fs layer [2022-06-24T17:18:17.108Z] bdb8f0575790: Pulling fs layer [2022-06-24T17:18:17.108Z] c8a8fc8e1c8f: Waiting [2022-06-24T17:18:17.108Z] bdb3f477010e: Waiting [2022-06-24T17:18:17.108Z] df18705c85c3: Waiting [2022-06-24T17:18:17.108Z] 386e3cb2ff24: Pulling fs layer [2022-06-24T17:18:17.108Z] 2343380bae48: Pulling fs layer [2022-06-24T17:18:17.108Z] 2c6e9b1d212d: Waiting [2022-06-24T17:18:17.108Z] 386e3cb2ff24: Waiting [2022-06-24T17:18:17.108Z] 2343380bae48: Waiting [2022-06-24T17:18:17.108Z] f63e77b7563a: Verifying Checksum [2022-06-24T17:18:17.108Z] f63e77b7563a: Download complete [2022-06-24T17:18:17.108Z] 205491f53016: Verifying Checksum [2022-06-24T17:18:17.108Z] 205491f53016: Download complete [2022-06-24T17:18:17.369Z] bd5fdadae976: Verifying Checksum [2022-06-24T17:18:17.369Z] bd5fdadae976: Download complete [2022-06-24T17:18:17.369Z] df18705c85c3: Verifying Checksum [2022-06-24T17:18:17.369Z] df18705c85c3: Download complete [2022-06-24T17:18:17.369Z] bdb3f477010e: Verifying Checksum [2022-06-24T17:18:17.369Z] bdb3f477010e: Download complete [2022-06-24T17:18:17.369Z] 2c6e9b1d212d: Verifying Checksum [2022-06-24T17:18:17.369Z] 2c6e9b1d212d: Download complete [2022-06-24T17:18:17.369Z] bdb8f0575790: Verifying Checksum [2022-06-24T17:18:17.369Z] 386e3cb2ff24: Verifying Checksum [2022-06-24T17:18:17.369Z] 386e3cb2ff24: Download complete [2022-06-24T17:18:17.369Z] 2343380bae48: Verifying Checksum [2022-06-24T17:18:17.369Z] 42c077c10790: Verifying Checksum [2022-06-24T17:18:17.369Z] 42c077c10790: Download complete [2022-06-24T17:18:17.628Z] c8a8fc8e1c8f: Download complete [2022-06-24T17:18:18.571Z] 42c077c10790: Pull complete [2022-06-24T17:18:18.832Z] f63e77b7563a: Pull complete [2022-06-24T17:18:19.404Z] bd5fdadae976: Pull complete [2022-06-24T17:18:19.404Z] 205491f53016: Pull complete [2022-06-24T17:18:19.665Z] df18705c85c3: Pull complete [2022-06-24T17:18:19.925Z] bdb3f477010e: Pull complete [2022-06-24T17:18:21.837Z] c8a8fc8e1c8f: Pull complete [2022-06-24T17:18:21.837Z] 2c6e9b1d212d: Pull complete [2022-06-24T17:18:21.837Z] bdb8f0575790: Pull complete [2022-06-24T17:18:21.837Z] 386e3cb2ff24: Pull complete [2022-06-24T17:18:21.837Z] 2343380bae48: Pull complete [2022-06-24T17:18:22.099Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-24T17:18:22.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-24T17:18:22.099Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:18:22.203Z] prd-ubuntu20.04-docker-8c-8g-15543 does not seem to be running inside a container [2022-06-24T17:18:22.241Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-24T17:18:23.658Z] $ docker top 795412d8ccd1589e6cf905aa7b88bb795583ec80acf05447c78ea69d2fbed984 -eo pid,comm [2022-06-24T17:18:23.719Z] 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-24T17:18:23.719Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-24T17:18:23.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T17:18:23.750Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T17:18:23.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T17:18:23.893Z] $ docker exec 795412d8ccd1589e6cf905aa7b88bb795583ec80acf05447c78ea69d2fbed984 ssh-agent [2022-06-24T17:18:24.017Z] SSH_AUTH_SOCK=/tmp/ssh-3BwRVaiDii03/agent.34 [2022-06-24T17:18:24.017Z] SSH_AGENT_PID=40 [2022-06-24T17:18:24.024Z] Running ssh-add (command line suppressed) [2022-06-24T17:18:24.145Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6784206361588865471.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_6784206361588865471.key) [2022-06-24T17:18:24.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T17:18:24.450Z] + git tag --points-at HEAD [Pipeline] } [2022-06-24T17:18:24.476Z] $ docker exec --env ******** --env ******** 795412d8ccd1589e6cf905aa7b88bb795583ec80acf05447c78ea69d2fbed984 ssh-agent -k [2022-06-24T17:18:24.593Z] unset SSH_AUTH_SOCK; [2022-06-24T17:18:24.593Z] unset SSH_AGENT_PID; [2022-06-24T17:18:24.593Z] echo Agent pid 40 killed; [2022-06-24T17:18:24.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-24T17:18:24.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-24T17:18:24.622Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-24T17:18:24.755Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-24T17:18:24.762Z] $ docker exec 795412d8ccd1589e6cf905aa7b88bb795583ec80acf05447c78ea69d2fbed984 ssh-agent [2022-06-24T17:18:24.883Z] SSH_AUTH_SOCK=/tmp/ssh-CE90lf3edn1i/agent.75 [2022-06-24T17:18:24.883Z] SSH_AGENT_PID=81 [2022-06-24T17:18:24.889Z] Running ssh-add (command line suppressed) [2022-06-24T17:18:25.032Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_9133090838529691397.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_9133090838529691397.key) [2022-06-24T17:18:25.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-24T17:18:25.340Z] + git semver init [2022-06-24T17:18:25.602Z] 2022-06-24 17:18:25,550 [run_init] DEBUG init version:0.0.0 force:False [2022-06-24T17:18:25.602Z] 2022-06-24 17:18:25,551 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-24T17:18:25.602Z] 2022-06-24 17:18:25,552 [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-24T17:18:25.602Z] 2022-06-24 17:18:25,552 [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-24T17:18:26.550Z] 2022-06-24 17:18:26,252 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-24T17:18:26.550Z] 2022-06-24 17:18:26,253 [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-24T17:18:26.550Z] 2022-06-24 17:18:26,253 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T17:18:26.550Z] 2022-06-24 17:18:26,257 [execute] INFO git cat-file --batch-check [2022-06-24T17:18:26.551Z] 2022-06-24 17:18:26,257 [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-24T17:18:26.551Z] 2022-06-24 17:18:26,263 [execute] INFO git cat-file --batch [2022-06-24T17:18:26.551Z] 2022-06-24 17:18:26,263 [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-24T17:18:26.551Z] 2022-06-24 17:18:26,269 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-24T17:18:26.551Z] 0.0.0 [Pipeline] } [2022-06-24T17:18:26.566Z] $ docker exec --env ******** --env ******** 795412d8ccd1589e6cf905aa7b88bb795583ec80acf05447c78ea69d2fbed984 ssh-agent -k [2022-06-24T17:18:26.681Z] unset SSH_AUTH_SOCK; [2022-06-24T17:18:26.681Z] unset SSH_AGENT_PID; [2022-06-24T17:18:26.681Z] echo Agent pid 81 killed; [2022-06-24T17:18:26.688Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-24T17:18:27.001Z] + git semver [Pipeline] } [2022-06-24T17:18:27.285Z] $ docker stop --time=1 795412d8ccd1589e6cf905aa7b88bb795583ec80acf05447c78ea69d2fbed984 [2022-06-24T17:18:28.638Z] $ docker rm -f 795412d8ccd1589e6cf905aa7b88bb795583ec80acf05447c78ea69d2fbed984 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-24T17:18:28.994Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-24T17:18:29.248Z] Stashed 1 file(s) [Pipeline] echo [2022-06-24T17:18:29.251Z] [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-24T17:18:29.394Z] provisioning config files... [2022-06-24T17:18:29.403Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config2837094883287525553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:18:29.700Z] ---> docker-login.sh [2022-06-24T17:18:29.700Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:18:29.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:29.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:29.700Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:29.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:29.700Z] [2022-06-24T17:18:29.700Z] Login Succeeded [2022-06-24T17:18:29.700Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:18:29.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:29.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:29.961Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:29.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:29.961Z] [2022-06-24T17:18:29.961Z] Login Succeeded [2022-06-24T17:18:29.961Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:18:29.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:29.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:29.961Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:29.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:29.961Z] [2022-06-24T17:18:29.961Z] Login Succeeded [2022-06-24T17:18:29.961Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:18:30.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:30.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:30.223Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:30.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:30.223Z] [2022-06-24T17:18:30.223Z] Login Succeeded [2022-06-24T17:18:30.223Z] docker.io [2022-06-24T17:18:30.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:18:30.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:18:30.483Z] Configure a credential helper to remove this warning. See [2022-06-24T17:18:30.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:18:30.483Z] [2022-06-24T17:18:30.483Z] Login Succeeded [2022-06-24T17:18:30.483Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:18:30.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T17:18:30.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:18:30.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:18:30.587Z] ========================================================= [2022-06-24T17:18:30.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-24T17:18:30.587Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:18:30.902Z] + 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-24T17:18:30.902Z] Sending build context to Docker daemon 8.973MB [2022-06-24T17:18:30.902Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T17:18:30.902Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T17:18:30.902Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-24T17:18:30.902Z] 59bf1c3509f3: Pulling fs layer [2022-06-24T17:18:30.902Z] 666ba61612fd: Pulling fs layer [2022-06-24T17:18:30.902Z] 8ed8ca486205: Pulling fs layer [2022-06-24T17:18:30.902Z] cc1cd167ecdc: Pulling fs layer [2022-06-24T17:18:30.902Z] c516ae0d96e1: Pulling fs layer [2022-06-24T17:18:30.902Z] 684cea983483: Pulling fs layer [2022-06-24T17:18:30.902Z] dd3240ac7de5: Pulling fs layer [2022-06-24T17:18:30.902Z] b1e948a4e11c: Pulling fs layer [2022-06-24T17:18:30.902Z] cc1cd167ecdc: Waiting [2022-06-24T17:18:30.902Z] a8fd76ee1af6: Pulling fs layer [2022-06-24T17:18:30.902Z] c516ae0d96e1: Waiting [2022-06-24T17:18:30.902Z] 646ad004c059: Pulling fs layer [2022-06-24T17:18:30.902Z] 684cea983483: Waiting [2022-06-24T17:18:30.902Z] dd3240ac7de5: Waiting [2022-06-24T17:18:30.902Z] 646ad004c059: Waiting [2022-06-24T17:18:30.902Z] b1e948a4e11c: Waiting [2022-06-24T17:18:30.902Z] a8fd76ee1af6: Waiting [2022-06-24T17:18:30.902Z] 8ed8ca486205: Download complete [2022-06-24T17:18:31.162Z] 666ba61612fd: Download complete [2022-06-24T17:18:31.162Z] c516ae0d96e1: Download complete [2022-06-24T17:18:31.162Z] 684cea983483: Verifying Checksum [2022-06-24T17:18:31.162Z] 684cea983483: Download complete [2022-06-24T17:18:31.162Z] 59bf1c3509f3: Verifying Checksum [2022-06-24T17:18:31.162Z] 59bf1c3509f3: Download complete [2022-06-24T17:18:31.162Z] dd3240ac7de5: Verifying Checksum [2022-06-24T17:18:31.162Z] dd3240ac7de5: Download complete [2022-06-24T17:18:31.162Z] b1e948a4e11c: Verifying Checksum [2022-06-24T17:18:31.162Z] b1e948a4e11c: Download complete [2022-06-24T17:18:31.162Z] 59bf1c3509f3: Pull complete [2022-06-24T17:18:31.424Z] 666ba61612fd: Pull complete [2022-06-24T17:18:31.424Z] 8ed8ca486205: Pull complete [2022-06-24T17:18:31.685Z] a8fd76ee1af6: Verifying Checksum [2022-06-24T17:18:31.685Z] a8fd76ee1af6: Download complete [2022-06-24T17:18:31.685Z] 646ad004c059: Verifying Checksum [2022-06-24T17:18:31.685Z] 646ad004c059: Download complete [2022-06-24T17:18:31.685Z] cc1cd167ecdc: Download complete [2022-06-24T17:18:35.883Z] cc1cd167ecdc: Pull complete [2022-06-24T17:18:35.883Z] c516ae0d96e1: Pull complete [2022-06-24T17:18:35.883Z] 684cea983483: Pull complete [2022-06-24T17:18:35.883Z] dd3240ac7de5: Pull complete [2022-06-24T17:18:36.142Z] b1e948a4e11c: Pull complete [2022-06-24T17:18:38.676Z] a8fd76ee1af6: Pull complete [2022-06-24T17:18:39.250Z] 646ad004c059: Pull complete [2022-06-24T17:18:39.250Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-24T17:18:39.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-24T17:18:39.250Z] ---> 8f69c11f6b0c [2022-06-24T17:18:39.250Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T17:18:41.176Z] ---> Running in bdb2e061d2b8 [2022-06-24T17:18:41.176Z] Removing intermediate container bdb2e061d2b8 [2022-06-24T17:18:41.176Z] ---> 4497256fc683 [2022-06-24T17:18:41.176Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T17:18:41.176Z] ---> Running in bc6200ba3e87 [2022-06-24T17:18:41.176Z] Removing intermediate container bc6200ba3e87 [2022-06-24T17:18:41.176Z] ---> 9ba6fe6bbbe0 [2022-06-24T17:18:41.176Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T17:18:41.176Z] ---> Running in 16a2449792f4 [2022-06-24T17:18:41.438Z] Removing intermediate container 16a2449792f4 [2022-06-24T17:18:41.438Z] ---> ad7c4d65b738 [2022-06-24T17:18:41.438Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T17:18:41.438Z] ---> Running in dd75cdc79c90 [2022-06-24T17:18:41.438Z] Removing intermediate container dd75cdc79c90 [2022-06-24T17:18:41.438Z] ---> cff00d577387 [2022-06-24T17:18:41.438Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T17:18:41.438Z] ---> Running in a001ba0e3802 [2022-06-24T17:18:42.015Z] Removing intermediate container a001ba0e3802 [2022-06-24T17:18:42.015Z] ---> c11ea0c25e9f [2022-06-24T17:18:42.015Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T17:18:42.274Z] ---> Running in 802d58d3020c [2022-06-24T17:18:42.534Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-24T17:18:43.475Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-24T17:18:43.753Z] OK: 221 MiB in 52 packages [2022-06-24T17:18:44.013Z] Removing intermediate container 802d58d3020c [2022-06-24T17:18:44.013Z] ---> 3f560e9dd23d [2022-06-24T17:18:44.013Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T17:18:44.013Z] ---> Running in ae3c054eb0ab [2022-06-24T17:18:44.013Z] Removing intermediate container ae3c054eb0ab [2022-06-24T17:18:44.013Z] ---> 91d37a03d57b [2022-06-24T17:18:44.013Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T17:18:44.273Z] ---> bcf78a71fea6 [2022-06-24T17:18:44.273Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T17:18:44.273Z] ---> Running in a33d3fc3a040 [2022-06-24T17:18:44.356Z] Still waiting to schedule task [2022-06-24T17:18:44.357Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-24T17:19:02.409Z] Removing intermediate container a33d3fc3a040 [2022-06-24T17:19:02.409Z] ---> ea6a938ea0be [2022-06-24T17:19:02.409Z] Step 12/13 : COPY . . [2022-06-24T17:19:02.981Z] ---> 8058d0ab0d2b [2022-06-24T17:19:02.981Z] Step 13/13 : RUN ${MAKE} [2022-06-24T17:19:02.981Z] ---> Running in e4f27d4b153f [2022-06-24T17:19:03.248Z] noop [2022-06-24T17:19:03.508Z] Removing intermediate container e4f27d4b153f [2022-06-24T17:19:03.508Z] ---> 8d74cc843873 [2022-06-24T17:19:03.508Z] Successfully built 8d74cc843873 [2022-06-24T17:19:03.508Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:19:03.822Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T17:19:03.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:19:03.909Z] prd-ubuntu20.04-docker-8c-8g-15543 does not seem to be running inside a container [2022-06-24T17:19:03.946Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-24T17:19:04.323Z] $ docker top 262d536d0dbebefd5a419048178fe9089b1d4509688fbe1b1f87d3795e1c90ca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:19:04.689Z] + go version [2022-06-24T17:19:04.689Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-24T17:19:04.704Z] $ docker stop --time=1 262d536d0dbebefd5a419048178fe9089b1d4509688fbe1b1f87d3795e1c90ca [2022-06-24T17:19:05.995Z] $ docker rm -f 262d536d0dbebefd5a419048178fe9089b1d4509688fbe1b1f87d3795e1c90ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:19:06.388Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-24T17:19:06.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:19:06.470Z] prd-ubuntu20.04-docker-8c-8g-15543 does not seem to be running inside a container [2022-06-24T17:19:06.509Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-24T17:19:06.925Z] $ docker top d4991bbb508ff01ce6777b2bde9fbf17bf371e95a09c064912d079c5fb356a3d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T17:19:07.335Z] + make test [2022-06-24T17:19:07.335Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T17:19:07.607Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T17:19:17.615Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:19:17.615Z] internal/driver/credentials.go:103:140: newline in string [2022-06-24T17:19:17.615Z] internal/driver/credentials.go:103:140: syntax error: unexpected newline, expecting comma or ) [2022-06-24T17:19:17.615Z] # cover github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:19:17.615Z] 2022/06/24 17:19:16 cover: /w/workspace/oundry_device-onvif-camera_PR-90/internal/driver/credentials.go: /w/workspace/oundry_device-onvif-camera_PR-90/internal/driver/credentials.go:103:72: string literal not terminated (and 10 more errors) [2022-06-24T17:19:17.615Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2022-06-24T17:19:22.898Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.677s coverage: 13.8% of statements [2022-06-24T17:19:22.898Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-24T17:19:22.914Z] $ docker stop --time=1 d4991bbb508ff01ce6777b2bde9fbf17bf371e95a09c064912d079c5fb356a3d [2022-06-24T17:19:24.771Z] $ docker rm -f d4991bbb508ff01ce6777b2bde9fbf17bf371e95a09c064912d079c5fb356a3d [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-24T17:19:25.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:19:25.291Z] [2022-06-24T17:19:25.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:19:25.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:19:25.590Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-24T17:19:25.590Z] 5eb5b503b376: Pulling fs layer [2022-06-24T17:19:25.590Z] 5c69ac0246d0: Pulling fs layer [2022-06-24T17:19:25.590Z] ec43610c2a17: Pulling fs layer [2022-06-24T17:19:25.590Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-24T17:19:25.590Z] 33b1e0a273af: Pulling fs layer [2022-06-24T17:19:25.590Z] 5d3b04190fa2: Pulling fs layer [2022-06-24T17:19:25.590Z] 2f39f015ded8: Pulling fs layer [2022-06-24T17:19:25.590Z] 3a2ae6a8a46f: Waiting [2022-06-24T17:19:25.590Z] 33b1e0a273af: Waiting [2022-06-24T17:19:25.590Z] 5d3b04190fa2: Waiting [2022-06-24T17:19:25.590Z] 2f39f015ded8: Waiting [2022-06-24T17:19:25.590Z] 5c69ac0246d0: Verifying Checksum [2022-06-24T17:19:25.590Z] 5c69ac0246d0: Download complete [2022-06-24T17:19:25.590Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-24T17:19:25.590Z] 3a2ae6a8a46f: Download complete [2022-06-24T17:19:25.850Z] 33b1e0a273af: Verifying Checksum [2022-06-24T17:19:25.850Z] 33b1e0a273af: Download complete [2022-06-24T17:19:25.850Z] ec43610c2a17: Verifying Checksum [2022-06-24T17:19:25.850Z] ec43610c2a17: Download complete [2022-06-24T17:19:25.850Z] 5d3b04190fa2: Verifying Checksum [2022-06-24T17:19:25.850Z] 5d3b04190fa2: Download complete [2022-06-24T17:19:25.850Z] 5eb5b503b376: Verifying Checksum [2022-06-24T17:19:25.850Z] 5eb5b503b376: Download complete [2022-06-24T17:19:26.418Z] 2f39f015ded8: Download complete [2022-06-24T17:19:26.995Z] 5eb5b503b376: Pull complete [2022-06-24T17:19:27.253Z] 5c69ac0246d0: Pull complete [2022-06-24T17:19:27.824Z] ec43610c2a17: Pull complete [2022-06-24T17:19:27.824Z] 3a2ae6a8a46f: Pull complete [2022-06-24T17:19:28.083Z] 33b1e0a273af: Pull complete [2022-06-24T17:19:28.083Z] 5d3b04190fa2: Pull complete [2022-06-24T17:19:32.298Z] 2f39f015ded8: Pull complete [2022-06-24T17:19:32.298Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-24T17:19:32.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:19:32.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:19:32.388Z] prd-ubuntu20.04-docker-8c-8g-15543 does not seem to be running inside a container [2022-06-24T17:19:32.426Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T17:19:34.187Z] $ docker top ffba474f9d45971ca7daa457e2b468e1b094b1864ad7ea2ea6ed676a23835115 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:19:34.603Z] ---> job-cost.sh [2022-06-24T17:19:34.603Z] lf-activate-venv: SKIPPING [2022-06-24T17:19:34.603Z] INFO: No Stack... [2022-06-24T17:19:34.863Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T17:19:35.435Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T17:19:35.730Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-24T17:19:35.730Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T17:19:35.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] [2022-06-24T17:19:35.753Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] did not exist. Created. [2022-06-24T17:19:35.753Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T17:19:36.066Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-24T17:19:36.096Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T17:19:36.103Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T17:19:36.121Z] $ docker stop --time=1 ffba474f9d45971ca7daa457e2b468e1b094b1864ad7ea2ea6ed676a23835115 [2022-06-24T17:19:37.285Z] $ docker rm -f ffba474f9d45971ca7daa457e2b468e1b094b1864ad7ea2ea6ed676a23835115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T17:19:37.399Z] Failed in branch amd64 [2022-06-24T17:20:15.484Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15544 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-24T17:20:15.497Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-06-24T17:20:15.557Z] Selected Git installation does not exist. Using Default [2022-06-24T17:20:15.557Z] The recommended git tool is: NONE [2022-06-24T17:20:22.781Z] using credential edgex-jenkins-ssh [2022-06-24T17:20:22.801Z] Cloning the remote Git repository [2022-06-24T17:20:22.890Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:20:22.974Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-06-24T17:20:23.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:20:23.047Z] > git --version # timeout=10 [2022-06-24T17:20:23.064Z] > git --version # 'git version 2.25.1' [2022-06-24T17:20:23.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:20:23.211Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T17:20:24.717Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit ccd7fb161c7a47eddc0eedcafa21355e118baf2e [2022-06-24T17:20:24.086Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T17:20:24.109Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-24T17:20:24.140Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-24T17:20:24.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-24T17:20:24.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:20:24.195Z] > 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-24T17:20:24.740Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T17:20:24.758Z] > git checkout -f ccd7fb161c7a47eddc0eedcafa21355e118baf2e # timeout=10 [2022-06-24T17:20:25.093Z] Merge succeeded, producing 3a7888ec3c7d0dd5b10305344d62210fd07cc6c6 [2022-06-24T17:20:25.094Z] Checking out Revision 3a7888ec3c7d0dd5b10305344d62210fd07cc6c6 (PR-90) [2022-06-24T17:20:24.891Z] > git remote # timeout=10 [2022-06-24T17:20:24.906Z] > git config --get remote.origin.url # timeout=10 [2022-06-24T17:20:24.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-24T17:20:24.941Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-24T17:20:25.074Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-24T17:20:25.104Z] > git config core.sparsecheckout # timeout=10 [2022-06-24T17:20:25.118Z] > git checkout -f 3a7888ec3c7d0dd5b10305344d62210fd07cc6c6 # timeout=10 [2022-06-24T17:20:29.220Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-24T17:20:29.242Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-24T17:20:30.056Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-24T17:20:30.056Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-24T17:20:30.056Z] Dload Upload Total Spent Left Speed [2022-06-24T17:20:30.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2022-06-24T17:20:29.230Z] > git rev-list --no-walk a69b820ba09c69a9559bc3e39782e96cdf3d7db3 # timeout=10 [2022-06-24T17:20:30.870Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-24T17:20:31.214Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-24T17:20:31.214Z] + sudo tee /etc/docker/daemon.new [2022-06-24T17:20:31.214Z] { [2022-06-24T17:20:31.214Z] "registry-mirrors": [ [2022-06-24T17:20:31.214Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-24T17:20:31.214Z] ], [2022-06-24T17:20:31.214Z] "bip": "10.250.0.254/24", [2022-06-24T17:20:31.214Z] "hosts": [ [2022-06-24T17:20:31.214Z] "tcp://0.0.0.0:5555", [2022-06-24T17:20:31.214Z] "unix:///var/run/docker.sock" [2022-06-24T17:20:31.214Z] ], [2022-06-24T17:20:31.214Z] "mtu": 1458, [2022-06-24T17:20:31.214Z] "selinux-enabled": true, [2022-06-24T17:20:31.214Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-24T17:20:31.214Z] } [Pipeline] sh [2022-06-24T17:20:31.566Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-24T17:20:31.902Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:20:50.248Z] provisioning config files... [2022-06-24T17:20:50.271Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config21973636027794490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:20:50.628Z] ---> docker-login.sh [2022-06-24T17:20:50.628Z] nexus3.edgexfoundry.org:10001 [2022-06-24T17:20:51.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:20:51.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:20:51.501Z] Configure a credential helper to remove this warning. See [2022-06-24T17:20:51.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:20:51.501Z] [2022-06-24T17:20:51.501Z] Login Succeeded [2022-06-24T17:20:51.501Z] nexus3.edgexfoundry.org:10002 [2022-06-24T17:20:51.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:20:52.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:20:52.051Z] Configure a credential helper to remove this warning. See [2022-06-24T17:20:52.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:20:52.051Z] [2022-06-24T17:20:52.051Z] Login Succeeded [2022-06-24T17:20:52.051Z] nexus3.edgexfoundry.org:10003 [2022-06-24T17:20:52.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:20:52.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:20:52.328Z] Configure a credential helper to remove this warning. See [2022-06-24T17:20:52.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:20:52.328Z] [2022-06-24T17:20:52.328Z] Login Succeeded [2022-06-24T17:20:52.328Z] nexus3.edgexfoundry.org:10004 [2022-06-24T17:20:52.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:20:52.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:20:52.934Z] Configure a credential helper to remove this warning. See [2022-06-24T17:20:52.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:20:52.934Z] [2022-06-24T17:20:52.934Z] Login Succeeded [2022-06-24T17:20:52.934Z] docker.io [2022-06-24T17:20:53.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-24T17:20:53.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-24T17:20:53.479Z] Configure a credential helper to remove this warning. See [2022-06-24T17:20:53.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-24T17:20:53.479Z] [2022-06-24T17:20:53.479Z] Login Succeeded [2022-06-24T17:20:53.751Z] ---> docker-login.sh ends [Pipeline] } [2022-06-24T17:20:53.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-24T17:20:54.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:20:54.303Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-24T17:20:54.313Z] ========================================================= [2022-06-24T17:20:54.313Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-24T17:20:54.313Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:20:54.681Z] + 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-24T17:20:55.288Z] Sending build context to Docker daemon 6.212MB [2022-06-24T17:20:55.288Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-24T17:20:55.288Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-24T17:20:55.288Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-24T17:20:55.288Z] 9b3977197b4f: Pulling fs layer [2022-06-24T17:20:55.288Z] 1a89e8eeedd5: Pulling fs layer [2022-06-24T17:20:55.288Z] 94645a83ff95: Pulling fs layer [2022-06-24T17:20:55.288Z] e6fb740bc735: Pulling fs layer [2022-06-24T17:20:55.288Z] 3a77bd46dcc9: Pulling fs layer [2022-06-24T17:20:55.288Z] 355e64cbe906: Pulling fs layer [2022-06-24T17:20:55.288Z] 63ab81a10011: Pulling fs layer [2022-06-24T17:20:55.288Z] 555d1d1c4555: Pulling fs layer [2022-06-24T17:20:55.288Z] 7d9057610161: Pulling fs layer [2022-06-24T17:20:55.288Z] 355e64cbe906: Waiting [2022-06-24T17:20:55.288Z] e6fb740bc735: Waiting [2022-06-24T17:20:55.288Z] 63ab81a10011: Waiting [2022-06-24T17:20:55.288Z] 3a77bd46dcc9: Waiting [2022-06-24T17:20:55.288Z] 555d1d1c4555: Waiting [2022-06-24T17:20:55.288Z] 7d9057610161: Waiting [2022-06-24T17:20:55.288Z] 94645a83ff95: Verifying Checksum [2022-06-24T17:20:55.288Z] 94645a83ff95: Download complete [2022-06-24T17:20:55.288Z] 1a89e8eeedd5: Download complete [2022-06-24T17:20:55.288Z] 3a77bd46dcc9: Verifying Checksum [2022-06-24T17:20:55.288Z] 3a77bd46dcc9: Download complete [2022-06-24T17:20:55.567Z] 9b3977197b4f: Verifying Checksum [2022-06-24T17:20:55.567Z] 9b3977197b4f: Download complete [2022-06-24T17:20:55.567Z] 355e64cbe906: Verifying Checksum [2022-06-24T17:20:55.567Z] 355e64cbe906: Download complete [2022-06-24T17:20:55.567Z] 63ab81a10011: Verifying Checksum [2022-06-24T17:20:55.567Z] 63ab81a10011: Download complete [2022-06-24T17:20:56.574Z] 9b3977197b4f: Pull complete [2022-06-24T17:20:56.574Z] 7d9057610161: Verifying Checksum [2022-06-24T17:20:56.854Z] 1a89e8eeedd5: Pull complete [2022-06-24T17:20:57.454Z] 94645a83ff95: Pull complete [2022-06-24T17:20:57.728Z] 555d1d1c4555: Verifying Checksum [2022-06-24T17:20:57.728Z] 555d1d1c4555: Download complete [2022-06-24T17:20:58.325Z] e6fb740bc735: Verifying Checksum [2022-06-24T17:20:58.325Z] e6fb740bc735: Download complete [2022-06-24T17:21:10.745Z] e6fb740bc735: Pull complete [2022-06-24T17:21:10.745Z] 3a77bd46dcc9: Pull complete [2022-06-24T17:21:10.745Z] 355e64cbe906: Pull complete [2022-06-24T17:21:10.745Z] 63ab81a10011: Pull complete [2022-06-24T17:21:17.485Z] 555d1d1c4555: Pull complete [2022-06-24T17:21:18.480Z] 7d9057610161: Pull complete [2022-06-24T17:21:18.480Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-24T17:21:18.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-24T17:21:18.480Z] ---> 819e984ddca1 [2022-06-24T17:21:18.480Z] Step 3/13 : ARG MAKE="make build" [2022-06-24T17:21:20.472Z] ---> Running in 09f936d421d0 [2022-06-24T17:21:20.472Z] Removing intermediate container 09f936d421d0 [2022-06-24T17:21:20.472Z] ---> b283c7b997b4 [2022-06-24T17:21:20.472Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-24T17:21:20.472Z] ---> Running in 995923408b33 [2022-06-24T17:21:20.746Z] Removing intermediate container 995923408b33 [2022-06-24T17:21:20.746Z] ---> 271c41993146 [2022-06-24T17:21:20.746Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-24T17:21:21.023Z] ---> Running in 7ab7fe8bc676 [2022-06-24T17:21:21.297Z] Removing intermediate container 7ab7fe8bc676 [2022-06-24T17:21:21.297Z] ---> bc446be86eb8 [2022-06-24T17:21:21.297Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-24T17:21:21.297Z] ---> Running in 343663b57087 [2022-06-24T17:21:21.578Z] Removing intermediate container 343663b57087 [2022-06-24T17:21:21.578Z] ---> dc1d23cb6a78 [2022-06-24T17:21:21.578Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-24T17:21:21.578Z] ---> Running in f44d4646195d [2022-06-24T17:21:23.579Z] Removing intermediate container f44d4646195d [2022-06-24T17:21:23.579Z] ---> 0d80648008cb [2022-06-24T17:21:23.579Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-24T17:21:23.579Z] ---> Running in fba6626962f6 [2022-06-24T17:21:25.564Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-24T17:21:26.539Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-24T17:21:27.529Z] OK: 220 MiB in 52 packages [2022-06-24T17:21:28.131Z] Removing intermediate container fba6626962f6 [2022-06-24T17:21:28.131Z] ---> 8c8bdee190a8 [2022-06-24T17:21:28.131Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-24T17:21:28.131Z] ---> Running in 0ad0f6119c7d [2022-06-24T17:21:28.729Z] Removing intermediate container 0ad0f6119c7d [2022-06-24T17:21:28.729Z] ---> dbe50297cce3 [2022-06-24T17:21:28.729Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-24T17:21:29.006Z] ---> e294bb8df7cd [2022-06-24T17:21:29.006Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-24T17:21:29.282Z] ---> Running in 4ac44ad9966f [2022-06-24T17:22:16.327Z] Removing intermediate container 4ac44ad9966f [2022-06-24T17:22:16.327Z] ---> 72066aaf58c2 [2022-06-24T17:22:16.327Z] Step 12/13 : COPY . . [2022-06-24T17:22:16.327Z] ---> a3535c0d2cf4 [2022-06-24T17:22:16.327Z] Step 13/13 : RUN ${MAKE} [2022-06-24T17:22:16.327Z] ---> Running in 891789e1dbfc [2022-06-24T17:22:16.327Z] noop [2022-06-24T17:22:16.925Z] Removing intermediate container 891789e1dbfc [2022-06-24T17:22:16.925Z] ---> d13f4cd3889b [2022-06-24T17:22:16.925Z] Successfully built d13f4cd3889b [2022-06-24T17:22:16.925Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:22:17.298Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T17:22:17.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:22:17.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-15544 does not seem to be running inside a container [2022-06-24T17:22:17.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-arm64 cat [2022-06-24T17:22:18.815Z] $ docker top 1b7f5a7c9b60e6094203921603a62aa13e30705794cac1108b2bc4c036f727bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:22:19.705Z] + go version [2022-06-24T17:22:19.705Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-24T17:22:19.739Z] $ docker stop --time=1 1b7f5a7c9b60e6094203921603a62aa13e30705794cac1108b2bc4c036f727bd [2022-06-24T17:22:21.358Z] $ docker rm -f 1b7f5a7c9b60e6094203921603a62aa13e30705794cac1108b2bc4c036f727bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:22:21.993Z] + docker inspect -f . ci-base-image-arm64 [2022-06-24T17:22:21.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:22:22.234Z] prd-ubuntu20.04-docker-arm64-4c-16g-15544 does not seem to be running inside a container [2022-06-24T17:22:22.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-arm64 cat [2022-06-24T17:22:23.474Z] $ docker top 4e5004f8a830882704de2ad313b528755e81c41f4cc81136417f51b02977bff4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-24T17:22:24.361Z] + make test [2022-06-24T17:22:24.361Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-24T17:22:25.799Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-24T17:23:33.893Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:23:33.893Z] internal/driver/credentials.go:103:140: newline in string [2022-06-24T17:23:33.893Z] internal/driver/credentials.go:103:140: syntax error: unexpected newline, expecting comma or ) [2022-06-24T17:23:40.637Z] # cover github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-24T17:23:40.637Z] 2022/06/24 17:23:39 cover: /w/workspace/device-onvif-camera/5/internal/driver/credentials.go: /w/workspace/device-onvif-camera/5/internal/driver/credentials.go:103:72: string literal not terminated (and 10 more errors) [2022-06-24T17:23:46.068Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2022-06-24T17:24:12.856Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.273s coverage: 13.8% of statements [2022-06-24T17:24:12.856Z] make: *** [Makefile:48: unittest] Error 2 [Pipeline] } [2022-06-24T17:24:12.885Z] $ docker stop --time=1 4e5004f8a830882704de2ad313b528755e81c41f4cc81136417f51b02977bff4 [2022-06-24T17:24:14.592Z] $ docker rm -f 4e5004f8a830882704de2ad313b528755e81c41f4cc81136417f51b02977bff4 [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-24T17:24:15.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:24:15.636Z] [2022-06-24T17:24:15.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:24:15.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:24:16.270Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-24T17:24:16.270Z] 8998bd30e6a1: Pulling fs layer [2022-06-24T17:24:16.270Z] 04944245beec: Pulling fs layer [2022-06-24T17:24:16.270Z] 699f458cf7ca: Pulling fs layer [2022-06-24T17:24:16.270Z] 765212b225bb: Pulling fs layer [2022-06-24T17:24:16.270Z] f23df028b6ca: Pulling fs layer [2022-06-24T17:24:16.270Z] d65c8cfc05b1: Pulling fs layer [2022-06-24T17:24:16.270Z] 2437ff75d9bd: Pulling fs layer [2022-06-24T17:24:16.270Z] 765212b225bb: Waiting [2022-06-24T17:24:16.270Z] f23df028b6ca: Waiting [2022-06-24T17:24:16.270Z] d65c8cfc05b1: Waiting [2022-06-24T17:24:16.270Z] 2437ff75d9bd: Waiting [2022-06-24T17:24:16.270Z] 04944245beec: Verifying Checksum [2022-06-24T17:24:16.270Z] 04944245beec: Download complete [2022-06-24T17:24:16.270Z] 765212b225bb: Verifying Checksum [2022-06-24T17:24:16.270Z] 765212b225bb: Download complete [2022-06-24T17:24:16.543Z] f23df028b6ca: Download complete [2022-06-24T17:24:16.543Z] d65c8cfc05b1: Verifying Checksum [2022-06-24T17:24:16.543Z] d65c8cfc05b1: Download complete [2022-06-24T17:24:16.543Z] 699f458cf7ca: Verifying Checksum [2022-06-24T17:24:16.543Z] 699f458cf7ca: Download complete [2022-06-24T17:24:16.820Z] 8998bd30e6a1: Verifying Checksum [2022-06-24T17:24:16.820Z] 8998bd30e6a1: Download complete [2022-06-24T17:24:19.451Z] 2437ff75d9bd: Verifying Checksum [2022-06-24T17:24:19.451Z] 2437ff75d9bd: Download complete [2022-06-24T17:24:21.436Z] 8998bd30e6a1: Pull complete [2022-06-24T17:24:21.436Z] 04944245beec: Pull complete [2022-06-24T17:24:23.414Z] 699f458cf7ca: Pull complete [2022-06-24T17:24:23.414Z] 765212b225bb: Pull complete [2022-06-24T17:24:24.015Z] f23df028b6ca: Pull complete [2022-06-24T17:24:24.289Z] d65c8cfc05b1: Pull complete [2022-06-24T17:24:39.404Z] 2437ff75d9bd: Pull complete [2022-06-24T17:24:39.404Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-24T17:24:39.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-24T17:24:39.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:24:39.659Z] prd-ubuntu20.04-docker-arm64-4c-16g-15544 does not seem to be running inside a container [2022-06-24T17:24:39.748Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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:arm64 cat [2022-06-24T17:24:42.025Z] $ docker top 1c14e282766b4bed3d853f6f435ba36e2b1df4ca19cd6aefec98f4d34338daff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:42.929Z] ---> job-cost.sh [2022-06-24T17:24:42.929Z] lf-activate-venv: SKIPPING [2022-06-24T17:24:42.929Z] INFO: No Stack... [2022-06-24T17:24:43.523Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-24T17:24:44.113Z] INFO: Archiving Costs [Pipeline] sh [2022-06-24T17:24:44.771Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-06-24T17:24:44.771Z] + cut -d, -f6 [Pipeline] lock [2022-06-24T17:24:44.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] [2022-06-24T17:24:44.839Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] did not exist. Created. [2022-06-24T17:24:44.839Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-24T17:24:45.526Z] /w/workspace/device-onvif-camera/5@tmp/durable-327f8d0b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-24T17:24:46.205Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-24T17:24:46.232Z] Warning: overwriting stash ‘stack-cost’ [2022-06-24T17:24:46.665Z] Stashed 1 file(s) [Pipeline] } [2022-06-24T17:24:46.672Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-24T17:24:46.699Z] $ docker stop --time=1 1c14e282766b4bed3d853f6f435ba36e2b1df4ca19cd6aefec98f4d34338daff [2022-06-24T17:24:48.209Z] $ docker rm -f 1c14e282766b4bed3d853f6f435ba36e2b1df4ca19cd6aefec98f4d34338daff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-24T17:24:48.519Z] 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-24T17:24:49.164Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-24T17:24:49.164Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:24:49.164Z] total 16 [2022-06-24T17:24:49.164Z] drwxr-xr-x 3 root root 4096 Jun 24 17:19 . [2022-06-24T17:24:49.164Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:19 .. [2022-06-24T17:24:49.164Z] drwxr-xr-x 2 root root 4096 Jun 24 17:19 cost [2022-06-24T17:24:49.164Z] -rw-r--r-- 1 root root 89 Jun 24 17:19 cost.csv [2022-06-24T17:24:49.164Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:24:49.164Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-24T17:24:49.164Z] total 16 [2022-06-24T17:24:49.164Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 17:19 . [2022-06-24T17:24:49.164Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 17:19 .. [2022-06-24T17:24:49.164Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 17:19 cost [2022-06-24T17:24:49.164Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 24 17:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:49.462Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:50.326Z] ---> package-listing.sh [2022-06-24T17:24:50.326Z] ++ facter osfamily [2022-06-24T17:24:50.326Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-24T17:24:50.587Z] + OS_FAMILY=debian [2022-06-24T17:24:50.587Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-24T17:24:50.587Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-24T17:24:50.587Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-24T17:24:50.587Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-24T17:24:50.587Z] + PACKAGES=/tmp/packages_start.txt [2022-06-24T17:24:50.587Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T17:24:50.587Z] + PACKAGES=/tmp/packages_end.txt [2022-06-24T17:24:50.587Z] + case "${OS_FAMILY}" in [2022-06-24T17:24:50.587Z] + dpkg -l [2022-06-24T17:24:50.587Z] + grep '^ii' [2022-06-24T17:24:50.587Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-24T17:24:50.587Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-24T17:24:50.587Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-24T17:24:50.587Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-24T17:24:50.587Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-24T17:24:50.587Z] + 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-24T17:24:50.598Z] 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-24T17:24:50.876Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-24T17:24:51.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-24T17:24:51.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-24T17:24:51.529Z] prd-ubuntu20.04-docker-8c-8g-15543 does not seem to be running inside a container [2022-06-24T17:24:51.564Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-24T17:24:51.779Z] $ docker top a486be3a28443df6ff7965f87c0c79cf7f5d000505f570bf6d33ad7d79caf4e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-24T17:24:52.134Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-24T17:24:52.420Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-24T17:24:52.713Z] + ls /var/log/sa-host [2022-06-24T17:24:52.713Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-24T17:24:52.838Z] provisioning config files... [2022-06-24T17:24:52.850Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config5921069547407388408tmp [Pipeline] { [Pipeline] echo [2022-06-24T17:24:52.865Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:53.149Z] ---> create-netrc.sh [Pipeline] } [2022-06-24T17:24:53.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:53.496Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-24T17:24:53.506Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:53.795Z] ---> sudo-logs.sh [2022-06-24T17:24:53.795Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-24T17:24:53.819Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:54.103Z] ---> job-cost.sh [2022-06-24T17:24:54.103Z] lf-activate-venv: SKIPPING [2022-06-24T17:24:54.103Z] DEBUG: total: 0.2199999988079071 [2022-06-24T17:24:54.103Z] INFO: Retrieving Stack Cost... [2022-06-24T17:24:54.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-24T17:24:54.932Z] INFO: Archiving Costs [Pipeline] echo [2022-06-24T17:24:54.944Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-24T17:24:55.231Z] ---> logs-deploy.sh [2022-06-24T17:24:55.231Z] lf-activate-venv: SKIPPING [2022-06-24T17:24:55.231Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/5 [2022-06-24T17:24:55.231Z] INFO: archiving workspace using pattern(s): [2022-06-24T17:24:56.215Z] Archives upload complete. [2022-06-24T17:24:56.215Z] INFO: archiving logs to Nexus