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 c4303a3ff7b197d9c8a582dc0963b7953f4c60ef 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-ssh8087372160035605632.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-ssh14177629479545550949.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-ssh6835674302889681168.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-ssh2583207216492403668.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-ssh5245589322021531120.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16112 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 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit c4303a3ff7b197d9c8a582dc0963b7953f4c60ef Merge succeeded, producing 5a56323d0f1826789cf7b5400d1d2ba39933aec6 Checking out Revision 5a56323d0f1826789cf7b5400d1d2ba39933aec6 (PR-90) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f c4303a3ff7b197d9c8a582dc0963b7953f4c60ef # 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 5a56323d0f1826789cf7b5400d1d2ba39933aec6 # 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-27T15:51:30.142Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f # timeout=10 [Pipeline] withCredentials [2022-06-27T15:51:30.198Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T15:51:30.209Z] ========================================================= [2022-06-27T15:51:30.209Z] EdgeX Global Pipelines Version Info [2022-06-27T15:51:30.209Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:51:30.969Z] ------------------- [2022-06-27T15:51:30.969Z] stable info: [2022-06-27T15:51:30.969Z] ------------------- [2022-06-27T15:51:30.969Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T15:51:30.969Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T15:51:30.969Z] Message: update stable to v1.0.234 [2022-06-27T15:51:31.543Z] ------------------- [2022-06-27T15:51:31.543Z] experimental info: [2022-06-27T15:51:31.543Z] ------------------- [2022-06-27T15:51:31.543Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T15:51:31.543Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T15:51:31.543Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T15:51:31.726Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T15:51:31.737Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T15:51:31.748Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T15:51:31.761Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T15:51:31.772Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T15:51:31.782Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T15:51:31.794Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T15:51:31.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T15:51:31.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T15:51:31.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T15:51:31.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T15:51:31.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T15:51:31.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T15:51:31.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T15:51:31.862Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T15:51:31.870Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T15:51:31.879Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T15:51:31.894Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T15:51:31.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T15:51:31.917Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T15:51:31.928Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T15:51:31.939Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T15:51:31.949Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T15:51:31.957Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T15:51:31.974Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T15:51:31.990Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T15:51:32.006Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T15:51:32.015Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-27T15:51:32.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-27T15:51:32.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-27T15:51:32.050Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo [2022-06-27T15:51:32.058Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a56323 [Pipeline] echo [2022-06-27T15:51:32.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T15:51:32.101Z] provisioning config files... [2022-06-27T15:51:32.117Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config1887393376002045626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:51:32.421Z] ---> docker-login.sh [2022-06-27T15:51:32.421Z] nexus3.edgexfoundry.org:10001 [2022-06-27T15:51:32.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:32.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:32.683Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:32.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:32.683Z] [2022-06-27T15:51:32.683Z] Login Succeeded [2022-06-27T15:51:32.683Z] nexus3.edgexfoundry.org:10002 [2022-06-27T15:51:32.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:32.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:32.945Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:32.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:32.945Z] [2022-06-27T15:51:32.945Z] Login Succeeded [2022-06-27T15:51:32.945Z] nexus3.edgexfoundry.org:10003 [2022-06-27T15:51:32.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:32.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:32.945Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:32.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:32.945Z] [2022-06-27T15:51:32.945Z] Login Succeeded [2022-06-27T15:51:32.945Z] nexus3.edgexfoundry.org:10004 [2022-06-27T15:51:33.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:33.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:33.206Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:33.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:33.206Z] [2022-06-27T15:51:33.206Z] Login Succeeded [2022-06-27T15:51:33.206Z] docker.io [2022-06-27T15:51:33.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:33.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:33.466Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:33.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:33.466Z] [2022-06-27T15:51:33.466Z] Login Succeeded [2022-06-27T15:51:33.466Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T15:51:33.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T15:51:33.844Z] + git rev-list -1 --merges 5a56323d0f1826789cf7b5400d1d2ba39933aec6~1..5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo [2022-06-27T15:51:33.875Z] -----------> git rev-list -1 --merges 5a56323d0f1826789cf7b5400d1d2ba39933aec6~1..5a56323d0f1826789cf7b5400d1d2ba39933aec6 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [2022-06-27T15:51:33.875Z] 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [false] [Pipeline] sh [2022-06-27T15:51:34.170Z] + git log --format=format:%s -1 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo [2022-06-27T15:51:34.187Z] ========================================================= [2022-06-27T15:51:34.187Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T15:51:34.187Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T15:51:34.526Z] + git log --format=format:%s -1 5a56323d0f1826789cf7b5400d1d2ba39933aec6 [Pipeline] echo [2022-06-27T15:51:34.538Z] [semverPrep] GIT_COMMIT: 5a56323d0f1826789cf7b5400d1d2ba39933aec6, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-27T15:51:34.546Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T15:51:34.888Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T15:51:34.888Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T15:51:34.888Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T15:51:34.888Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T15:51:34.888Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T15:51:34.888Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T15:51:34.888Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:51:35.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T15:51:35.244Z] [2022-06-27T15:51:35.244Z] 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-27T15:51:35.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T15:51:35.552Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T15:51:35.552Z] 42c077c10790: Pulling fs layer [2022-06-27T15:51:35.552Z] f63e77b7563a: Pulling fs layer [2022-06-27T15:51:35.552Z] bd5fdadae976: Pulling fs layer [2022-06-27T15:51:35.552Z] 205491f53016: Pulling fs layer [2022-06-27T15:51:35.552Z] df18705c85c3: Pulling fs layer [2022-06-27T15:51:35.552Z] bdb3f477010e: Pulling fs layer [2022-06-27T15:51:35.552Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T15:51:35.552Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T15:51:35.552Z] bdb8f0575790: Pulling fs layer [2022-06-27T15:51:35.552Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T15:51:35.552Z] 2343380bae48: Pulling fs layer [2022-06-27T15:51:35.552Z] c8a8fc8e1c8f: Waiting [2022-06-27T15:51:35.552Z] bdb8f0575790: Waiting [2022-06-27T15:51:35.553Z] 386e3cb2ff24: Waiting [2022-06-27T15:51:35.553Z] 2343380bae48: Waiting [2022-06-27T15:51:35.553Z] df18705c85c3: Waiting [2022-06-27T15:51:35.553Z] bdb3f477010e: Waiting [2022-06-27T15:51:35.553Z] f63e77b7563a: Download complete [2022-06-27T15:51:35.553Z] 205491f53016: Verifying Checksum [2022-06-27T15:51:35.553Z] 205491f53016: Download complete [2022-06-27T15:51:35.813Z] bd5fdadae976: Verifying Checksum [2022-06-27T15:51:35.813Z] bd5fdadae976: Download complete [2022-06-27T15:51:35.813Z] df18705c85c3: Verifying Checksum [2022-06-27T15:51:35.813Z] df18705c85c3: Download complete [2022-06-27T15:51:35.813Z] bdb3f477010e: Verifying Checksum [2022-06-27T15:51:35.813Z] bdb3f477010e: Download complete [2022-06-27T15:51:35.813Z] 2c6e9b1d212d: Download complete [2022-06-27T15:51:35.813Z] bdb8f0575790: Download complete [2022-06-27T15:51:35.813Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T15:51:35.813Z] 386e3cb2ff24: Download complete [2022-06-27T15:51:35.813Z] 2343380bae48: Verifying Checksum [2022-06-27T15:51:35.813Z] 2343380bae48: Download complete [2022-06-27T15:51:35.813Z] 42c077c10790: Verifying Checksum [2022-06-27T15:51:35.813Z] 42c077c10790: Download complete [2022-06-27T15:51:36.073Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T15:51:36.073Z] c8a8fc8e1c8f: Download complete [2022-06-27T15:51:37.457Z] 42c077c10790: Pull complete [2022-06-27T15:51:37.457Z] f63e77b7563a: Pull complete [2022-06-27T15:51:38.027Z] bd5fdadae976: Pull complete [2022-06-27T15:51:38.027Z] 205491f53016: Pull complete [2022-06-27T15:51:38.290Z] df18705c85c3: Pull complete [2022-06-27T15:51:38.290Z] bdb3f477010e: Pull complete [2022-06-27T15:51:40.198Z] c8a8fc8e1c8f: Pull complete [2022-06-27T15:51:40.458Z] 2c6e9b1d212d: Pull complete [2022-06-27T15:51:40.458Z] bdb8f0575790: Pull complete [2022-06-27T15:51:40.719Z] 386e3cb2ff24: Pull complete [2022-06-27T15:51:40.719Z] 2343380bae48: Pull complete [2022-06-27T15:51:40.719Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T15:51:40.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T15:51:40.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:51:40.826Z] prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container [2022-06-27T15:51:40.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T15:51:42.132Z] $ docker top 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 -eo pid,comm [2022-06-27T15:51:42.197Z] 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-27T15:51:42.197Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T15:51:42.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T15:51:42.234Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T15:51:42.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T15:51:42.362Z] $ docker exec 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent [2022-06-27T15:51:42.516Z] SSH_AUTH_SOCK=/tmp/ssh-tQFmxmcgXZjh/agent.32 [2022-06-27T15:51:42.516Z] SSH_AGENT_PID=39 [2022-06-27T15:51:42.522Z] Running ssh-add (command line suppressed) [2022-06-27T15:51:42.646Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1144287396034523127.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1144287396034523127.key) [2022-06-27T15:51:42.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T15:51:42.959Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T15:51:42.984Z] $ docker exec --env ******** --env ******** 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent -k [2022-06-27T15:51:43.107Z] unset SSH_AUTH_SOCK; [2022-06-27T15:51:43.108Z] unset SSH_AGENT_PID; [2022-06-27T15:51:43.108Z] echo Agent pid 39 killed; [2022-06-27T15:51:43.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T15:51:43.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T15:51:43.143Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T15:51:43.285Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T15:51:43.292Z] $ docker exec 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent [2022-06-27T15:51:43.414Z] SSH_AUTH_SOCK=/tmp/ssh-uC0dBoy6hazU/agent.73 [2022-06-27T15:51:43.414Z] SSH_AGENT_PID=79 [2022-06-27T15:51:43.420Z] Running ssh-add (command line suppressed) [2022-06-27T15:51:43.551Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4485207142741560226.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_4485207142741560226.key) [2022-06-27T15:51:43.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T15:51:43.859Z] + git semver init [2022-06-27T15:51:44.121Z] 2022-06-27 15:51:44,066 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T15:51:44.121Z] 2022-06-27 15:51:44,067 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-27T15:51:44.121Z] 2022-06-27 15:51:44,067 [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-27T15:51:44.121Z] 2022-06-27 15:51:44,067 [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-27T15:51:45.063Z] 2022-06-27 15:51:44,779 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-27T15:51:45.063Z] 2022-06-27 15:51:44,779 [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-27T15:51:45.063Z] 2022-06-27 15:51:44,779 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T15:51:45.063Z] 2022-06-27 15:51:44,784 [execute] INFO git cat-file --batch-check [2022-06-27T15:51:45.063Z] 2022-06-27 15:51:44,784 [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-27T15:51:45.063Z] 2022-06-27 15:51:44,791 [execute] INFO git cat-file --batch [2022-06-27T15:51:45.063Z] 2022-06-27 15:51:44,791 [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-27T15:51:45.063Z] 2022-06-27 15:51:44,797 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T15:51:45.063Z] 0.0.0 [Pipeline] } [2022-06-27T15:51:45.078Z] $ docker exec --env ******** --env ******** 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 ssh-agent -k [2022-06-27T15:51:45.181Z] unset SSH_AUTH_SOCK; [2022-06-27T15:51:45.182Z] unset SSH_AGENT_PID; [2022-06-27T15:51:45.182Z] echo Agent pid 79 killed; [2022-06-27T15:51:45.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T15:51:45.498Z] + git semver [Pipeline] } [2022-06-27T15:51:45.775Z] $ docker stop --time=1 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 [2022-06-27T15:51:47.076Z] $ docker rm -f 6c706dfc5024f283e3c0fd53cc27b0629e43dcac27bce71717c7cd03cf68e237 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T15:51:47.422Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T15:51:47.677Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T15:51:47.680Z] [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-27T15:51:47.831Z] provisioning config files... [2022-06-27T15:51:47.843Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config3964855659937750490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:51:48.141Z] ---> docker-login.sh [2022-06-27T15:51:48.141Z] nexus3.edgexfoundry.org:10001 [2022-06-27T15:51:48.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:48.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:48.141Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:48.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:48.141Z] [2022-06-27T15:51:48.141Z] Login Succeeded [2022-06-27T15:51:48.141Z] nexus3.edgexfoundry.org:10002 [2022-06-27T15:51:48.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:48.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:48.402Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:48.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:48.402Z] [2022-06-27T15:51:48.402Z] Login Succeeded [2022-06-27T15:51:48.402Z] nexus3.edgexfoundry.org:10003 [2022-06-27T15:51:48.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:48.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:48.402Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:48.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:48.402Z] [2022-06-27T15:51:48.402Z] Login Succeeded [2022-06-27T15:51:48.402Z] nexus3.edgexfoundry.org:10004 [2022-06-27T15:51:48.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:48.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:48.663Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:48.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:48.663Z] [2022-06-27T15:51:48.663Z] Login Succeeded [2022-06-27T15:51:48.663Z] docker.io [2022-06-27T15:51:48.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:51:48.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:51:48.924Z] Configure a credential helper to remove this warning. See [2022-06-27T15:51:48.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:51:48.924Z] [2022-06-27T15:51:48.924Z] Login Succeeded [2022-06-27T15:51:48.924Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T15:51:48.932Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T15:51:48.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:51:49.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:51:49.016Z] ========================================================= [2022-06-27T15:51:49.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T15:51:49.016Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:51:49.337Z] + 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-27T15:51:49.337Z] Sending build context to Docker daemon 8.849MB [2022-06-27T15:51:49.337Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T15:51:49.337Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T15:51:49.337Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T15:51:49.337Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T15:51:49.337Z] 666ba61612fd: Pulling fs layer [2022-06-27T15:51:49.337Z] 8ed8ca486205: Pulling fs layer [2022-06-27T15:51:49.337Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T15:51:49.337Z] c516ae0d96e1: Pulling fs layer [2022-06-27T15:51:49.337Z] 684cea983483: Pulling fs layer [2022-06-27T15:51:49.337Z] dd3240ac7de5: Pulling fs layer [2022-06-27T15:51:49.337Z] b1e948a4e11c: Pulling fs layer [2022-06-27T15:51:49.337Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T15:51:49.337Z] 646ad004c059: Pulling fs layer [2022-06-27T15:51:49.337Z] cc1cd167ecdc: Waiting [2022-06-27T15:51:49.337Z] c516ae0d96e1: Waiting [2022-06-27T15:51:49.337Z] 684cea983483: Waiting [2022-06-27T15:51:49.337Z] dd3240ac7de5: Waiting [2022-06-27T15:51:49.337Z] b1e948a4e11c: Waiting [2022-06-27T15:51:49.337Z] a8fd76ee1af6: Waiting [2022-06-27T15:51:49.337Z] 646ad004c059: Waiting [2022-06-27T15:51:49.337Z] 8ed8ca486205: Verifying Checksum [2022-06-27T15:51:49.337Z] 8ed8ca486205: Download complete [2022-06-27T15:51:49.337Z] 666ba61612fd: Download complete [2022-06-27T15:51:49.600Z] c516ae0d96e1: Download complete [2022-06-27T15:51:49.600Z] 684cea983483: Download complete [2022-06-27T15:51:49.600Z] dd3240ac7de5: Verifying Checksum [2022-06-27T15:51:49.600Z] dd3240ac7de5: Download complete [2022-06-27T15:51:49.600Z] 59bf1c3509f3: Download complete [2022-06-27T15:51:49.600Z] b1e948a4e11c: Verifying Checksum [2022-06-27T15:51:49.600Z] b1e948a4e11c: Download complete [2022-06-27T15:51:49.600Z] 59bf1c3509f3: Pull complete [2022-06-27T15:51:49.865Z] 666ba61612fd: Pull complete [2022-06-27T15:51:49.865Z] 8ed8ca486205: Pull complete [2022-06-27T15:51:50.138Z] 646ad004c059: Verifying Checksum [2022-06-27T15:51:50.138Z] 646ad004c059: Download complete [2022-06-27T15:51:50.402Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T15:51:50.402Z] a8fd76ee1af6: Download complete [2022-06-27T15:51:50.402Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T15:51:50.402Z] cc1cd167ecdc: Download complete [2022-06-27T15:51:53.704Z] cc1cd167ecdc: Pull complete [2022-06-27T15:51:53.963Z] c516ae0d96e1: Pull complete [2022-06-27T15:51:53.963Z] 684cea983483: Pull complete [2022-06-27T15:51:53.963Z] dd3240ac7de5: Pull complete [2022-06-27T15:51:54.222Z] b1e948a4e11c: Pull complete [2022-06-27T15:51:56.129Z] a8fd76ee1af6: Pull complete [2022-06-27T15:51:57.075Z] 646ad004c059: Pull complete [2022-06-27T15:51:57.075Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T15:51:57.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T15:51:57.075Z] ---> 8f69c11f6b0c [2022-06-27T15:51:57.075Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T15:51:58.017Z] ---> Running in 26ff2ad57ac6 [2022-06-27T15:51:58.280Z] Removing intermediate container 26ff2ad57ac6 [2022-06-27T15:51:58.280Z] ---> 4d280878c861 [2022-06-27T15:51:58.280Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T15:51:58.280Z] ---> Running in e05671394ecd [2022-06-27T15:51:58.280Z] Removing intermediate container e05671394ecd [2022-06-27T15:51:58.280Z] ---> 9b02fd12951f [2022-06-27T15:51:58.280Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T15:51:58.280Z] ---> Running in 6cbb75ba323b [2022-06-27T15:51:58.280Z] Removing intermediate container 6cbb75ba323b [2022-06-27T15:51:58.280Z] ---> f01140fa91c4 [2022-06-27T15:51:58.280Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T15:51:58.539Z] ---> Running in 1744cd51117f [2022-06-27T15:51:58.539Z] Removing intermediate container 1744cd51117f [2022-06-27T15:51:58.539Z] ---> 939879a4f3b6 [2022-06-27T15:51:58.539Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T15:51:58.539Z] ---> Running in 4b2150163f54 [2022-06-27T15:51:59.112Z] Removing intermediate container 4b2150163f54 [2022-06-27T15:51:59.112Z] ---> 5f01b9fb93d0 [2022-06-27T15:51:59.112Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T15:51:59.112Z] ---> Running in c86ad73e6764 [2022-06-27T15:51:59.373Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T15:52:00.316Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T15:52:00.577Z] OK: 221 MiB in 52 packages [2022-06-27T15:52:00.838Z] Removing intermediate container c86ad73e6764 [2022-06-27T15:52:00.838Z] ---> b693569de4d7 [2022-06-27T15:52:00.838Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T15:52:00.838Z] ---> Running in 0ef4e3f884a2 [2022-06-27T15:52:00.838Z] Removing intermediate container 0ef4e3f884a2 [2022-06-27T15:52:00.838Z] ---> 49dd230fb4be [2022-06-27T15:52:00.838Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T15:52:01.100Z] ---> 7c0acb2d2181 [2022-06-27T15:52:01.100Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T15:52:01.100Z] ---> Running in 0108d691ec9b [2022-06-27T15:52:02.782Z] Still waiting to schedule task [2022-06-27T15:52:02.782Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-27T15:52:19.222Z] Removing intermediate container 0108d691ec9b [2022-06-27T15:52:19.222Z] ---> 4ec684da23e0 [2022-06-27T15:52:19.222Z] Step 12/13 : COPY . . [2022-06-27T15:52:19.222Z] ---> 80f18ccdf27b [2022-06-27T15:52:19.222Z] Step 13/13 : RUN ${MAKE} [2022-06-27T15:52:19.222Z] ---> Running in 87ce57bf5e33 [2022-06-27T15:52:19.222Z] noop [2022-06-27T15:52:19.222Z] Removing intermediate container 87ce57bf5e33 [2022-06-27T15:52:19.222Z] ---> f82cf70c15db [2022-06-27T15:52:19.222Z] Successfully built f82cf70c15db [2022-06-27T15:52:19.222Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:52:19.539Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T15:52:19.539Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:52:19.622Z] prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container [2022-06-27T15:52:19.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T15:52:20.041Z] $ docker top 3ee41668300c5a63e74cce4fe06446b976698fd9a21e196692cb081461a36f34 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T15:52:20.388Z] + go version [2022-06-27T15:52:20.388Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T15:52:20.405Z] $ docker stop --time=1 3ee41668300c5a63e74cce4fe06446b976698fd9a21e196692cb081461a36f34 [2022-06-27T15:52:21.722Z] $ docker rm -f 3ee41668300c5a63e74cce4fe06446b976698fd9a21e196692cb081461a36f34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:52:22.126Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T15:52:22.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:52:22.209Z] prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container [2022-06-27T15:52:22.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T15:52:22.687Z] $ docker top fac0d6b94dd5b7ccd888e2904ea625b1566a3efb1f2e697abce82303f70609a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T15:52:23.077Z] + make test [2022-06-27T15:52:23.077Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T15:52:23.334Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T15:52:23.334Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T15:52:23.334Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T15:52:23.593Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T15:52:33.577Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T15:52:37.794Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.314s coverage: 13.8% of statements [2022-06-27T15:52:37.794Z] FAIL [2022-06-27T15:52:37.794Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-27T15:52:37.812Z] $ docker stop --time=1 fac0d6b94dd5b7ccd888e2904ea625b1566a3efb1f2e697abce82303f70609a0 [2022-06-27T15:52:39.570Z] $ docker rm -f fac0d6b94dd5b7ccd888e2904ea625b1566a3efb1f2e697abce82303f70609a0 [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-27T15:52:40.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T15:52:40.090Z] [2022-06-27T15:52:40.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:52:40.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T15:52:40.395Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T15:52:40.395Z] 5eb5b503b376: Pulling fs layer [2022-06-27T15:52:40.395Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T15:52:40.395Z] ec43610c2a17: Pulling fs layer [2022-06-27T15:52:40.395Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T15:52:40.395Z] 33b1e0a273af: Pulling fs layer [2022-06-27T15:52:40.395Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T15:52:40.395Z] 2f39f015ded8: Pulling fs layer [2022-06-27T15:52:40.395Z] 33b1e0a273af: Waiting [2022-06-27T15:52:40.395Z] 5d3b04190fa2: Waiting [2022-06-27T15:52:40.395Z] 2f39f015ded8: Waiting [2022-06-27T15:52:40.395Z] 3a2ae6a8a46f: Waiting [2022-06-27T15:52:40.395Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T15:52:40.395Z] 5c69ac0246d0: Download complete [2022-06-27T15:52:40.395Z] 3a2ae6a8a46f: Download complete [2022-06-27T15:52:40.395Z] 33b1e0a273af: Verifying Checksum [2022-06-27T15:52:40.395Z] 33b1e0a273af: Download complete [2022-06-27T15:52:40.656Z] ec43610c2a17: Verifying Checksum [2022-06-27T15:52:40.656Z] ec43610c2a17: Download complete [2022-06-27T15:52:40.656Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T15:52:40.656Z] 5d3b04190fa2: Download complete [2022-06-27T15:52:40.656Z] 5eb5b503b376: Download complete [2022-06-27T15:52:41.224Z] 2f39f015ded8: Download complete [2022-06-27T15:52:42.162Z] 5eb5b503b376: Pull complete [2022-06-27T15:52:42.162Z] 5c69ac0246d0: Pull complete [2022-06-27T15:52:42.733Z] ec43610c2a17: Pull complete [2022-06-27T15:52:42.733Z] 3a2ae6a8a46f: Pull complete [2022-06-27T15:52:42.993Z] 33b1e0a273af: Pull complete [2022-06-27T15:52:42.993Z] 5d3b04190fa2: Pull complete [2022-06-27T15:52:48.272Z] 2f39f015ded8: Pull complete [2022-06-27T15:52:48.272Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T15:52:48.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T15:52:48.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:52:48.368Z] prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container [2022-06-27T15:52:48.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T15:52:49.999Z] $ docker top 9df0f2f75b7f130091b6d5c97521f7488674d343455fa4132c39123148680cc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:52:50.377Z] ---> job-cost.sh [2022-06-27T15:52:50.377Z] lf-activate-venv: SKIPPING [2022-06-27T15:52:50.377Z] INFO: No Stack... [2022-06-27T15:52:50.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T15:52:51.209Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T15:52:51.503Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-27T15:52:51.503Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T15:52:51.518Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [2022-06-27T15:52:51.525Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] did not exist. Created. [2022-06-27T15:52:51.525Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T15:52:51.828Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T15:52:51.859Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T15:52:51.868Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T15:52:51.892Z] $ docker stop --time=1 9df0f2f75b7f130091b6d5c97521f7488674d343455fa4132c39123148680cc2 [2022-06-27T15:52:53.073Z] $ docker rm -f 9df0f2f75b7f130091b6d5c97521f7488674d343455fa4132c39123148680cc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T15:52:53.186Z] Failed in branch amd64 [2022-06-27T15:56:13.980Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16113 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-27T15:56:13.991Z] Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout [2022-06-27T15:56:14.023Z] Selected Git installation does not exist. Using Default [2022-06-27T15:56:14.023Z] The recommended git tool is: NONE [2022-06-27T15:56:19.532Z] using credential edgex-jenkins-ssh [2022-06-27T15:56:19.550Z] Cloning the remote Git repository [2022-06-27T15:56:19.697Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T15:56:19.877Z] > git init /w/workspace/device-onvif-camera/14 # timeout=10 [2022-06-27T15:56:19.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T15:56:19.981Z] > git --version # timeout=10 [2022-06-27T15:56:20.001Z] > git --version # 'git version 2.25.1' [2022-06-27T15:56:20.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T15:56:20.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T15:56:20.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T15:56:20.997Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T15:56:21.028Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T15:56:21.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T15:56:21.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T15:56:21.104Z] > 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-27T15:56:21.651Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit c4303a3ff7b197d9c8a582dc0963b7953f4c60ef [2022-06-27T15:56:22.128Z] Merge succeeded, producing 7ea83c088e0b977c86d1de7328a233a4b9bbadfe [2022-06-27T15:56:22.128Z] Checking out Revision 7ea83c088e0b977c86d1de7328a233a4b9bbadfe (PR-90) [2022-06-27T15:56:21.674Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T15:56:21.712Z] > git checkout -f c4303a3ff7b197d9c8a582dc0963b7953f4c60ef # timeout=10 [2022-06-27T15:56:21.876Z] > git remote # timeout=10 [2022-06-27T15:56:21.900Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T15:56:21.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T15:56:21.947Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T15:56:22.109Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T15:56:22.135Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T15:56:22.160Z] > git checkout -f 7ea83c088e0b977c86d1de7328a233a4b9bbadfe # timeout=10 [2022-06-27T15:56:26.398Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-27T15:56:26.425Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T15:56:27.357Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T15:56:27.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T15:56:27.358Z] Dload Upload Total Spent Left Speed [2022-06-27T15:56:27.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 87521 0 --:--:-- --:--:-- --:--:-- 88151 [2022-06-27T15:56:26.406Z] > git rev-list --no-walk e581f0f6c7b04d14d8b6bdb7c2ca27ebb94b2e0f # timeout=10 [Pipeline] sh [2022-06-27T15:56:28.138Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T15:56:28.477Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-06-27T15:56:28.477Z] sudo tee /etc/docker/daemon.new [2022-06-27T15:56:28.477Z] { [2022-06-27T15:56:28.477Z] "registry-mirrors": [ [2022-06-27T15:56:28.477Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T15:56:28.477Z] ], [2022-06-27T15:56:28.477Z] "bip": "10.250.0.254/24", [2022-06-27T15:56:28.477Z] "hosts": [ [2022-06-27T15:56:28.477Z] "tcp://0.0.0.0:5555", [2022-06-27T15:56:28.477Z] "unix:///var/run/docker.sock" [2022-06-27T15:56:28.477Z] ], [2022-06-27T15:56:28.477Z] "mtu": 1458, [2022-06-27T15:56:28.477Z] "selinux-enabled": true, [2022-06-27T15:56:28.477Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T15:56:28.477Z] } [Pipeline] sh [2022-06-27T15:56:28.833Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T15:56:29.173Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T15:56:47.546Z] provisioning config files... [2022-06-27T15:56:47.576Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config2115912628472940880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T15:56:47.970Z] ---> docker-login.sh [2022-06-27T15:56:47.970Z] nexus3.edgexfoundry.org:10001 [2022-06-27T15:56:48.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:56:48.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:56:48.849Z] Configure a credential helper to remove this warning. See [2022-06-27T15:56:48.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:56:48.849Z] [2022-06-27T15:56:48.849Z] Login Succeeded [2022-06-27T15:56:48.849Z] nexus3.edgexfoundry.org:10002 [2022-06-27T15:56:49.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:56:49.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:56:49.400Z] Configure a credential helper to remove this warning. See [2022-06-27T15:56:49.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:56:49.400Z] [2022-06-27T15:56:49.400Z] Login Succeeded [2022-06-27T15:56:49.400Z] nexus3.edgexfoundry.org:10003 [2022-06-27T15:56:49.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:56:49.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:56:49.957Z] Configure a credential helper to remove this warning. See [2022-06-27T15:56:49.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:56:49.957Z] [2022-06-27T15:56:49.957Z] Login Succeeded [2022-06-27T15:56:49.957Z] nexus3.edgexfoundry.org:10004 [2022-06-27T15:56:50.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:56:50.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:56:50.236Z] Configure a credential helper to remove this warning. See [2022-06-27T15:56:50.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:56:50.236Z] [2022-06-27T15:56:50.236Z] Login Succeeded [2022-06-27T15:56:50.511Z] docker.io [2022-06-27T15:56:50.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T15:56:51.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T15:56:51.060Z] Configure a credential helper to remove this warning. See [2022-06-27T15:56:51.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T15:56:51.060Z] [2022-06-27T15:56:51.060Z] Login Succeeded [2022-06-27T15:56:51.060Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T15:56:51.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T15:56:51.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:56:51.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T15:56:51.652Z] ========================================================= [2022-06-27T15:56:51.652Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T15:56:51.652Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:56:52.087Z] + 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-27T15:56:52.360Z] Sending build context to Docker daemon 6.057MB [2022-06-27T15:56:52.652Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T15:56:52.652Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T15:56:52.652Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T15:56:52.652Z] 9b3977197b4f: Pulling fs layer [2022-06-27T15:56:52.652Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T15:56:52.652Z] 94645a83ff95: Pulling fs layer [2022-06-27T15:56:52.652Z] e6fb740bc735: Pulling fs layer [2022-06-27T15:56:52.652Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T15:56:52.652Z] 355e64cbe906: Pulling fs layer [2022-06-27T15:56:52.652Z] 63ab81a10011: Pulling fs layer [2022-06-27T15:56:52.652Z] 555d1d1c4555: Pulling fs layer [2022-06-27T15:56:52.652Z] 7d9057610161: Pulling fs layer [2022-06-27T15:56:52.652Z] e6fb740bc735: Waiting [2022-06-27T15:56:52.652Z] 3a77bd46dcc9: Waiting [2022-06-27T15:56:52.652Z] 355e64cbe906: Waiting [2022-06-27T15:56:52.652Z] 63ab81a10011: Waiting [2022-06-27T15:56:52.652Z] 555d1d1c4555: Waiting [2022-06-27T15:56:52.652Z] 7d9057610161: Waiting [2022-06-27T15:56:52.652Z] 94645a83ff95: Verifying Checksum [2022-06-27T15:56:52.652Z] 94645a83ff95: Download complete [2022-06-27T15:56:52.652Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T15:56:52.652Z] 1a89e8eeedd5: Download complete [2022-06-27T15:56:52.652Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T15:56:52.652Z] 3a77bd46dcc9: Download complete [2022-06-27T15:56:52.652Z] 355e64cbe906: Verifying Checksum [2022-06-27T15:56:52.652Z] 355e64cbe906: Download complete [2022-06-27T15:56:52.652Z] 9b3977197b4f: Download complete [2022-06-27T15:56:52.947Z] 63ab81a10011: Verifying Checksum [2022-06-27T15:56:52.947Z] 63ab81a10011: Download complete [2022-06-27T15:56:53.940Z] 9b3977197b4f: Pull complete [2022-06-27T15:56:53.940Z] 7d9057610161: Verifying Checksum [2022-06-27T15:56:53.940Z] 7d9057610161: Download complete [2022-06-27T15:56:54.544Z] 1a89e8eeedd5: Pull complete [2022-06-27T15:56:54.820Z] 94645a83ff95: Pull complete [2022-06-27T15:56:55.094Z] 555d1d1c4555: Verifying Checksum [2022-06-27T15:56:55.094Z] 555d1d1c4555: Download complete [2022-06-27T15:56:55.691Z] e6fb740bc735: Download complete [2022-06-27T15:57:08.110Z] e6fb740bc735: Pull complete [2022-06-27T15:57:08.110Z] 3a77bd46dcc9: Pull complete [2022-06-27T15:57:08.110Z] 355e64cbe906: Pull complete [2022-06-27T15:57:08.386Z] 63ab81a10011: Pull complete [2022-06-27T15:57:15.156Z] 555d1d1c4555: Pull complete [2022-06-27T15:57:17.792Z] 7d9057610161: Pull complete [2022-06-27T15:57:17.792Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T15:57:17.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T15:57:17.792Z] ---> 819e984ddca1 [2022-06-27T15:57:17.792Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T15:57:19.774Z] ---> Running in 361047a24579 [2022-06-27T15:57:19.774Z] Removing intermediate container 361047a24579 [2022-06-27T15:57:19.774Z] ---> 66f110e24a08 [2022-06-27T15:57:19.774Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T15:57:20.066Z] ---> Running in aae1fc470f40 [2022-06-27T15:57:20.343Z] Removing intermediate container aae1fc470f40 [2022-06-27T15:57:20.343Z] ---> 1d59d6c0f20d [2022-06-27T15:57:20.343Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T15:57:20.343Z] ---> Running in 715900edb5ee [2022-06-27T15:57:20.623Z] Removing intermediate container 715900edb5ee [2022-06-27T15:57:20.623Z] ---> eab39ca69cc2 [2022-06-27T15:57:20.623Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T15:57:20.900Z] ---> Running in f41a1c68f3da [2022-06-27T15:57:21.175Z] Removing intermediate container f41a1c68f3da [2022-06-27T15:57:21.175Z] ---> 5e205024f51c [2022-06-27T15:57:21.175Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T15:57:21.175Z] ---> Running in 5a362f775f3e [2022-06-27T15:57:23.167Z] Removing intermediate container 5a362f775f3e [2022-06-27T15:57:23.167Z] ---> 2b9f55115d56 [2022-06-27T15:57:23.167Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T15:57:23.167Z] ---> Running in 26bbd110f8f9 [2022-06-27T15:57:24.150Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T15:57:25.137Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T15:57:26.124Z] OK: 220 MiB in 52 packages [2022-06-27T15:57:27.122Z] Removing intermediate container 26bbd110f8f9 [2022-06-27T15:57:27.122Z] ---> d978df6e67b8 [2022-06-27T15:57:27.122Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T15:57:27.122Z] ---> Running in af68bd020d22 [2022-06-27T15:57:27.398Z] Removing intermediate container af68bd020d22 [2022-06-27T15:57:27.398Z] ---> e1b7f59c5b92 [2022-06-27T15:57:27.398Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T15:57:28.010Z] ---> 6a299d286351 [2022-06-27T15:57:28.010Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T15:57:28.010Z] ---> Running in f4b2c0bff464 [2022-06-27T15:58:15.035Z] Removing intermediate container f4b2c0bff464 [2022-06-27T15:58:15.035Z] ---> 99ba4ec3cae3 [2022-06-27T15:58:15.035Z] Step 12/13 : COPY . . [2022-06-27T15:58:15.318Z] ---> 522642b53405 [2022-06-27T15:58:15.318Z] Step 13/13 : RUN ${MAKE} [2022-06-27T15:58:15.318Z] ---> Running in 338347fa5835 [2022-06-27T15:58:16.291Z] noop [2022-06-27T15:58:16.894Z] Removing intermediate container 338347fa5835 [2022-06-27T15:58:16.894Z] ---> 96f670dd894c [2022-06-27T15:58:16.894Z] Successfully built 96f670dd894c [2022-06-27T15:58:16.894Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:58:17.252Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T15:58:17.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:58:17.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-16113 does not seem to be running inside a container [2022-06-27T15:58:17.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-27T15:58:18.796Z] $ docker top f3c62cc258a65e133ccee1cb53d7aae731d939a7b3b480ae11b1803ee682131b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T15:58:19.676Z] + go version [2022-06-27T15:58:19.676Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T15:58:19.698Z] $ docker stop --time=1 f3c62cc258a65e133ccee1cb53d7aae731d939a7b3b480ae11b1803ee682131b [2022-06-27T15:58:21.281Z] $ docker rm -f f3c62cc258a65e133ccee1cb53d7aae731d939a7b3b480ae11b1803ee682131b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T15:58:21.877Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T15:58:21.877Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T15:58:22.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-16113 does not seem to be running inside a container [2022-06-27T15:58:22.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-27T15:58:23.425Z] $ docker top 7b87aeb1b800e1220651457c3b83f2efeef78a17412db9ca30eb6d8aac1a2bab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T15:58:24.329Z] + make test [2022-06-27T15:58:24.329Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T15:58:25.761Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T15:58:25.761Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T15:58:25.761Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T15:58:26.036Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T16:00:02.893Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T16:00:13.042Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.435s coverage: 13.8% of statements [2022-06-27T16:00:13.042Z] FAIL [2022-06-27T16:00:13.315Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-27T16:00:13.339Z] $ docker stop --time=1 7b87aeb1b800e1220651457c3b83f2efeef78a17412db9ca30eb6d8aac1a2bab [2022-06-27T16:00:15.072Z] $ docker rm -f 7b87aeb1b800e1220651457c3b83f2efeef78a17412db9ca30eb6d8aac1a2bab [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-27T16:00:16.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T16:00:16.129Z] [2022-06-27T16:00:16.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:00:16.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T16:00:16.758Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T16:00:16.758Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T16:00:16.758Z] 04944245beec: Pulling fs layer [2022-06-27T16:00:16.758Z] 699f458cf7ca: Pulling fs layer [2022-06-27T16:00:16.758Z] 765212b225bb: Pulling fs layer [2022-06-27T16:00:16.758Z] f23df028b6ca: Pulling fs layer [2022-06-27T16:00:16.758Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T16:00:16.758Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T16:00:16.758Z] 765212b225bb: Waiting [2022-06-27T16:00:16.758Z] d65c8cfc05b1: Waiting [2022-06-27T16:00:16.758Z] f23df028b6ca: Waiting [2022-06-27T16:00:16.758Z] 2437ff75d9bd: Waiting [2022-06-27T16:00:16.758Z] 04944245beec: Verifying Checksum [2022-06-27T16:00:16.758Z] 04944245beec: Download complete [2022-06-27T16:00:16.758Z] 765212b225bb: Verifying Checksum [2022-06-27T16:00:16.758Z] 765212b225bb: Download complete [2022-06-27T16:00:16.758Z] f23df028b6ca: Verifying Checksum [2022-06-27T16:00:16.758Z] f23df028b6ca: Download complete [2022-06-27T16:00:16.758Z] d65c8cfc05b1: Download complete [2022-06-27T16:00:17.034Z] 699f458cf7ca: Verifying Checksum [2022-06-27T16:00:17.034Z] 699f458cf7ca: Download complete [2022-06-27T16:00:17.312Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T16:00:17.312Z] 8998bd30e6a1: Download complete [2022-06-27T16:00:19.948Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T16:00:19.948Z] 2437ff75d9bd: Download complete [2022-06-27T16:00:21.930Z] 8998bd30e6a1: Pull complete [2022-06-27T16:00:22.202Z] 04944245beec: Pull complete [2022-06-27T16:00:23.642Z] 699f458cf7ca: Pull complete [2022-06-27T16:00:23.919Z] 765212b225bb: Pull complete [2022-06-27T16:00:24.516Z] f23df028b6ca: Pull complete [2022-06-27T16:00:24.790Z] d65c8cfc05b1: Pull complete [2022-06-27T16:00:39.938Z] 2437ff75d9bd: Pull complete [2022-06-27T16:00:39.938Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T16:00:39.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T16:00:39.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:00:40.276Z] prd-ubuntu20.04-docker-arm64-4c-16g-16113 does not seem to be running inside a container [2022-06-27T16:00:40.411Z] $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-27T16:00:42.874Z] $ docker top ef715b7a2a9b4a55a67469a445ad6d472c6217deac3847a6a30e75e077394b3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:43.808Z] ---> job-cost.sh [2022-06-27T16:00:43.809Z] lf-activate-venv: SKIPPING [2022-06-27T16:00:43.809Z] INFO: No Stack... [2022-06-27T16:00:44.081Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T16:00:45.055Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T16:00:45.713Z] + cat /w/workspace/device-onvif-camera/14/archives/cost.csv [2022-06-27T16:00:45.713Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T16:00:45.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [2022-06-27T16:00:45.778Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] did not exist. Created. [2022-06-27T16:00:45.778Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T16:00:46.452Z] /w/workspace/device-onvif-camera/14@tmp/durable-288cbd55/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T16:00:47.129Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T16:00:47.150Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T16:00:47.607Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T16:00:47.613Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T16:00:47.636Z] $ docker stop --time=1 ef715b7a2a9b4a55a67469a445ad6d472c6217deac3847a6a30e75e077394b3e [2022-06-27T16:00:49.113Z] $ docker rm -f ef715b7a2a9b4a55a67469a445ad6d472c6217deac3847a6a30e75e077394b3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T16:00:49.426Z] 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-27T16:00:50.071Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-27T16:00:50.071Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T16:00:50.071Z] total 16 [2022-06-27T16:00:50.071Z] drwxr-xr-x 3 root root 4096 Jun 27 15:52 . [2022-06-27T16:00:50.071Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:52 .. [2022-06-27T16:00:50.071Z] drwxr-xr-x 2 root root 4096 Jun 27 15:52 cost [2022-06-27T16:00:50.071Z] -rw-r--r-- 1 root root 90 Jun 27 15:52 cost.csv [2022-06-27T16:00:50.071Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T16:00:50.071Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T16:00:50.071Z] total 16 [2022-06-27T16:00:50.071Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 15:52 . [2022-06-27T16:00:50.071Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 15:52 .. [2022-06-27T16:00:50.071Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 15:52 cost [2022-06-27T16:00:50.071Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 27 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:50.364Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:51.225Z] ---> package-listing.sh [2022-06-27T16:00:51.226Z] ++ facter osfamily [2022-06-27T16:00:51.226Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T16:00:51.485Z] + OS_FAMILY=debian [2022-06-27T16:00:51.485Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-27T16:00:51.485Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T16:00:51.485Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T16:00:51.485Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T16:00:51.485Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T16:00:51.485Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T16:00:51.485Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T16:00:51.485Z] + case "${OS_FAMILY}" in [2022-06-27T16:00:51.485Z] + dpkg -l [2022-06-27T16:00:51.485Z] + grep '^ii' [2022-06-27T16:00:51.485Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T16:00:51.485Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T16:00:51.485Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T16:00:51.485Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T16:00:51.485Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-27T16:00:51.485Z] + 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-27T16:00:51.494Z] 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-27T16:00:51.772Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T16:00:52.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T16:00:52.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T16:00:52.415Z] prd-ubuntu20.04-docker-8c-8g-16112 does not seem to be running inside a container [2022-06-27T16:00:52.450Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/oundry_device-onvif-camera_PR-90/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-90 -v /w/workspace/oundry_device-onvif-camera_PR-90:/w/workspace/oundry_device-onvif-camera_PR-90:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-90@tmp:/w/workspace/oundry_device-onvif-camera_PR-90@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T16:00:52.840Z] $ docker top e310a3c28251bb8e2547b744a2d0ddf8fefeb76bc0b48e26bfdca14823e0cb70 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T16:00:53.261Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T16:00:53.551Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T16:00:53.861Z] + ls /var/log/sa-host [2022-06-27T16:00:53.861Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T16:00:54.025Z] provisioning config files... [2022-06-27T16:00:54.055Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config8294962361790329126tmp [Pipeline] { [Pipeline] echo [2022-06-27T16:00:54.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:54.367Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T16:00:54.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:54.706Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T16:00:54.716Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:55.004Z] ---> sudo-logs.sh [2022-06-27T16:00:55.004Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T16:00:55.034Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:55.320Z] ---> job-cost.sh [2022-06-27T16:00:55.320Z] lf-activate-venv: SKIPPING [2022-06-27T16:00:55.320Z] DEBUG: total: 0.2199999988079071 [2022-06-27T16:00:55.320Z] INFO: Retrieving Stack Cost... [2022-06-27T16:00:55.893Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T16:00:56.156Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T16:00:56.169Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T16:00:56.457Z] ---> logs-deploy.sh [2022-06-27T16:00:56.457Z] lf-activate-venv: SKIPPING [2022-06-27T16:00:56.457Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/14 [2022-06-27T16:00:56.457Z] INFO: archiving workspace using pattern(s): [2022-06-27T16:00:57.401Z] Archives upload complete. [2022-06-27T16:00:57.401Z] INFO: archiving logs to Nexus