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 25158243e02a82f0eca3e30e1398f9c241df5d70 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-ssh2442142516602239595.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-ssh10246984007681276986.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-ssh6390526186330884600.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-ssh14312267180061760489.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-ssh1008340388195234427.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-16138 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 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 25158243e02a82f0eca3e30e1398f9c241df5d70 Merge succeeded, producing aef6906fddb490c0eda57f7523c48f2880f5ac73 Checking out Revision aef6906fddb490c0eda57f7523c48f2880f5ac73 (PR-90) > 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 25158243e02a82f0eca3e30e1398f9c241df5d70 # 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 aef6906fddb490c0eda57f7523c48f2880f5ac73 # 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-27T20:15:37.075Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk d80a1a9c921fd7e0b7b866a6de74141fb997da8e # timeout=10 [Pipeline] withCredentials [2022-06-27T20:15:37.142Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T20:15:37.159Z] ========================================================= [2022-06-27T20:15:37.159Z] EdgeX Global Pipelines Version Info [2022-06-27T20:15:37.159Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:37.899Z] ------------------- [2022-06-27T20:15:37.900Z] stable info: [2022-06-27T20:15:37.900Z] ------------------- [2022-06-27T20:15:37.900Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T20:15:37.900Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:15:37.900Z] Message: update stable to v1.0.234 [2022-06-27T20:15:38.471Z] ------------------- [2022-06-27T20:15:38.471Z] experimental info: [2022-06-27T20:15:38.471Z] ------------------- [2022-06-27T20:15:38.471Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T20:15:38.471Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T20:15:38.471Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T20:15:38.637Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T20:15:38.647Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T20:15:38.656Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T20:15:38.667Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T20:15:38.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T20:15:38.690Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T20:15:38.700Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T20:15:38.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T20:15:38.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T20:15:38.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T20:15:38.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T20:15:38.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T20:15:38.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T20:15:38.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T20:15:38.793Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:15:38.803Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T20:15:38.815Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:15:38.825Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T20:15:38.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T20:15:38.851Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T20:15:38.861Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T20:15:38.874Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T20:15:38.883Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T20:15:38.893Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T20:15:38.903Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T20:15:38.913Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T20:15:38.923Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T20:15:38.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-90 [Pipeline] echo [2022-06-27T20:15:38.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-90 [Pipeline] echo [2022-06-27T20:15:38.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-90 [Pipeline] echo [2022-06-27T20:15:38.963Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aef6906fddb490c0eda57f7523c48f2880f5ac73 [Pipeline] echo [2022-06-27T20:15:38.973Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aef6906 [Pipeline] echo [2022-06-27T20:15:38.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:15:39.027Z] provisioning config files... [2022-06-27T20:15:39.042Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config4715943485885351636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:39.365Z] ---> docker-login.sh [2022-06-27T20:15:39.365Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:15:39.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:39.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:39.627Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:39.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:39.627Z] [2022-06-27T20:15:39.627Z] Login Succeeded [2022-06-27T20:15:39.627Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:15:39.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:39.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:39.893Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:39.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:39.893Z] [2022-06-27T20:15:39.893Z] Login Succeeded [2022-06-27T20:15:39.893Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:15:39.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:39.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:39.893Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:39.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:39.893Z] [2022-06-27T20:15:39.893Z] Login Succeeded [2022-06-27T20:15:39.893Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:15:40.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:40.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:40.154Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:40.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:40.154Z] [2022-06-27T20:15:40.154Z] Login Succeeded [2022-06-27T20:15:40.154Z] docker.io [2022-06-27T20:15:40.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:40.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:40.418Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:40.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:40.418Z] [2022-06-27T20:15:40.418Z] Login Succeeded [2022-06-27T20:15:40.418Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:15:40.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T20:15:40.810Z] + git rev-list -1 --merges aef6906fddb490c0eda57f7523c48f2880f5ac73~1..aef6906fddb490c0eda57f7523c48f2880f5ac73 [Pipeline] echo [2022-06-27T20:15:40.914Z] -----------> git rev-list -1 --merges aef6906fddb490c0eda57f7523c48f2880f5ac73~1..aef6906fddb490c0eda57f7523c48f2880f5ac73 aef6906fddb490c0eda57f7523c48f2880f5ac73 [2022-06-27T20:15:40.914Z] aef6906fddb490c0eda57f7523c48f2880f5ac73 [false] [Pipeline] sh [2022-06-27T20:15:41.198Z] + git log --format=format:%s -1 aef6906fddb490c0eda57f7523c48f2880f5ac73 [Pipeline] echo [2022-06-27T20:15:41.214Z] ========================================================= [2022-06-27T20:15:41.214Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T20:15:41.214Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:15:41.555Z] + git log --format=format:%s -1 aef6906fddb490c0eda57f7523c48f2880f5ac73 [Pipeline] echo [2022-06-27T20:15:41.570Z] [semverPrep] GIT_COMMIT: aef6906fddb490c0eda57f7523c48f2880f5ac73, Commit Message: Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD [Pipeline] echo [2022-06-27T20:15:41.580Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T20:15:41.927Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T20:15:41.927Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T20:15:41.927Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T20:15:41.927Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T20:15:41.927Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T20:15:41.927Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T20:15:41.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:15:42.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:15:42.359Z] [2022-06-27T20:15:42.359Z] 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-27T20:15:42.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:15:42.669Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T20:15:42.669Z] 42c077c10790: Pulling fs layer [2022-06-27T20:15:42.669Z] f63e77b7563a: Pulling fs layer [2022-06-27T20:15:42.669Z] bd5fdadae976: Pulling fs layer [2022-06-27T20:15:42.669Z] 205491f53016: Pulling fs layer [2022-06-27T20:15:42.669Z] df18705c85c3: Pulling fs layer [2022-06-27T20:15:42.669Z] bdb3f477010e: Pulling fs layer [2022-06-27T20:15:42.669Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T20:15:42.669Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T20:15:42.669Z] bdb8f0575790: Pulling fs layer [2022-06-27T20:15:42.669Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T20:15:42.669Z] 2343380bae48: Pulling fs layer [2022-06-27T20:15:42.669Z] 205491f53016: Waiting [2022-06-27T20:15:42.669Z] df18705c85c3: Waiting [2022-06-27T20:15:42.669Z] bdb8f0575790: Waiting [2022-06-27T20:15:42.669Z] 386e3cb2ff24: Waiting [2022-06-27T20:15:42.669Z] 2343380bae48: Waiting [2022-06-27T20:15:42.669Z] bdb3f477010e: Waiting [2022-06-27T20:15:42.669Z] 2c6e9b1d212d: Waiting [2022-06-27T20:15:42.669Z] c8a8fc8e1c8f: Waiting [2022-06-27T20:15:42.669Z] f63e77b7563a: Verifying Checksum [2022-06-27T20:15:42.669Z] f63e77b7563a: Download complete [2022-06-27T20:15:42.669Z] 205491f53016: Verifying Checksum [2022-06-27T20:15:42.669Z] 205491f53016: Download complete [2022-06-27T20:15:42.930Z] df18705c85c3: Verifying Checksum [2022-06-27T20:15:42.930Z] df18705c85c3: Download complete [2022-06-27T20:15:42.930Z] bd5fdadae976: Verifying Checksum [2022-06-27T20:15:42.930Z] bd5fdadae976: Download complete [2022-06-27T20:15:42.930Z] bdb3f477010e: Verifying Checksum [2022-06-27T20:15:42.930Z] bdb3f477010e: Download complete [2022-06-27T20:15:42.930Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T20:15:42.930Z] 2c6e9b1d212d: Download complete [2022-06-27T20:15:42.930Z] bdb8f0575790: Download complete [2022-06-27T20:15:42.930Z] 386e3cb2ff24: Download complete [2022-06-27T20:15:42.930Z] 2343380bae48: Download complete [2022-06-27T20:15:42.930Z] 42c077c10790: Verifying Checksum [2022-06-27T20:15:42.930Z] 42c077c10790: Download complete [2022-06-27T20:15:43.190Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-27T20:15:43.190Z] c8a8fc8e1c8f: Download complete [2022-06-27T20:15:44.574Z] 42c077c10790: Pull complete [2022-06-27T20:15:44.574Z] f63e77b7563a: Pull complete [2022-06-27T20:15:44.836Z] bd5fdadae976: Pull complete [2022-06-27T20:15:44.836Z] 205491f53016: Pull complete [2022-06-27T20:15:45.407Z] df18705c85c3: Pull complete [2022-06-27T20:15:45.407Z] bdb3f477010e: Pull complete [2022-06-27T20:15:47.319Z] c8a8fc8e1c8f: Pull complete [2022-06-27T20:15:47.319Z] 2c6e9b1d212d: Pull complete [2022-06-27T20:15:47.319Z] bdb8f0575790: Pull complete [2022-06-27T20:15:47.319Z] 386e3cb2ff24: Pull complete [2022-06-27T20:15:47.319Z] 2343380bae48: Pull complete [2022-06-27T20:15:47.319Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T20:15:47.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T20:15:47.319Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:15:47.416Z] prd-ubuntu20.04-docker-8c-8g-16138 does not seem to be running inside a container [2022-06-27T20:15:47.454Z] $ 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-27T20:15:48.954Z] $ docker top 2ccc6a746f48319cf8c7ad2221bbb7a64e3baac7c7bc1c34a4b0e186a21823e7 -eo pid,comm [2022-06-27T20:15:49.027Z] 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-27T20:15:49.027Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T20:15:49.062Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:15:49.062Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:15:49.184Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:15:49.190Z] $ docker exec 2ccc6a746f48319cf8c7ad2221bbb7a64e3baac7c7bc1c34a4b0e186a21823e7 ssh-agent [2022-06-27T20:15:49.316Z] SSH_AUTH_SOCK=/tmp/ssh-Kl1vSw7XAlOy/agent.33 [2022-06-27T20:15:49.316Z] SSH_AGENT_PID=39 [2022-06-27T20:15:49.322Z] Running ssh-add (command line suppressed) [2022-06-27T20:15:49.449Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1781721788690156072.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_1781721788690156072.key) [2022-06-27T20:15:49.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:15:49.757Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T20:15:49.779Z] $ docker exec --env ******** --env ******** 2ccc6a746f48319cf8c7ad2221bbb7a64e3baac7c7bc1c34a4b0e186a21823e7 ssh-agent -k [2022-06-27T20:15:49.904Z] unset SSH_AUTH_SOCK; [2022-06-27T20:15:49.904Z] unset SSH_AGENT_PID; [2022-06-27T20:15:49.904Z] echo Agent pid 39 killed; [2022-06-27T20:15:49.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T20:15:49.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T20:15:49.938Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T20:15:50.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T20:15:50.089Z] $ docker exec 2ccc6a746f48319cf8c7ad2221bbb7a64e3baac7c7bc1c34a4b0e186a21823e7 ssh-agent [2022-06-27T20:15:50.217Z] SSH_AUTH_SOCK=/tmp/ssh-NAyWEs21aeeW/agent.74 [2022-06-27T20:15:50.217Z] SSH_AGENT_PID=81 [2022-06-27T20:15:50.223Z] Running ssh-add (command line suppressed) [2022-06-27T20:15:50.331Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5361570604012679902.key (/w/workspace/oundry_device-onvif-camera_PR-90@tmp/private_key_5361570604012679902.key) [2022-06-27T20:15:50.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T20:15:50.635Z] + git semver init [2022-06-27T20:15:50.896Z] 2022-06-27 20:15:50,850 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T20:15:50.896Z] 2022-06-27 20:15:50,850 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-90/.semver [2022-06-27T20:15:50.896Z] 2022-06-27 20:15:50,851 [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-27T20:15:50.896Z] 2022-06-27 20:15:50,851 [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-27T20:15:51.840Z] 2022-06-27 20:15:51,609 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-90/.git/info/exclude [2022-06-27T20:15:51.840Z] 2022-06-27 20:15:51,610 [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-27T20:15:51.840Z] 2022-06-27 20:15:51,610 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T20:15:51.840Z] 2022-06-27 20:15:51,615 [execute] INFO git cat-file --batch-check [2022-06-27T20:15:51.840Z] 2022-06-27 20:15:51,615 [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-27T20:15:51.840Z] 2022-06-27 20:15:51,622 [execute] INFO git cat-file --batch [2022-06-27T20:15:51.840Z] 2022-06-27 20:15:51,622 [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-27T20:15:51.840Z] 2022-06-27 20:15:51,628 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-90/.semver/PR-90 [2022-06-27T20:15:51.840Z] 0.0.0 [Pipeline] } [2022-06-27T20:15:51.854Z] $ docker exec --env ******** --env ******** 2ccc6a746f48319cf8c7ad2221bbb7a64e3baac7c7bc1c34a4b0e186a21823e7 ssh-agent -k [2022-06-27T20:15:51.971Z] unset SSH_AUTH_SOCK; [2022-06-27T20:15:51.972Z] unset SSH_AGENT_PID; [2022-06-27T20:15:51.972Z] echo Agent pid 81 killed; [2022-06-27T20:15:51.982Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T20:15:52.296Z] + git semver [Pipeline] } [2022-06-27T20:15:52.573Z] $ docker stop --time=1 2ccc6a746f48319cf8c7ad2221bbb7a64e3baac7c7bc1c34a4b0e186a21823e7 [2022-06-27T20:15:53.942Z] $ docker rm -f 2ccc6a746f48319cf8c7ad2221bbb7a64e3baac7c7bc1c34a4b0e186a21823e7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T20:15:54.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T20:15:54.542Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T20:15:54.544Z] [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-27T20:15:54.664Z] provisioning config files... [2022-06-27T20:15:54.675Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config7247901577009823357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:15:54.974Z] ---> docker-login.sh [2022-06-27T20:15:54.974Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:15:54.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:54.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:54.974Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:54.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:54.974Z] [2022-06-27T20:15:54.974Z] Login Succeeded [2022-06-27T20:15:54.974Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:15:54.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:55.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:55.234Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:55.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:55.234Z] [2022-06-27T20:15:55.234Z] Login Succeeded [2022-06-27T20:15:55.234Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:15:55.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:55.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:55.234Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:55.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:55.234Z] [2022-06-27T20:15:55.234Z] Login Succeeded [2022-06-27T20:15:55.234Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:15:55.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:55.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:55.495Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:55.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:55.495Z] [2022-06-27T20:15:55.495Z] Login Succeeded [2022-06-27T20:15:55.495Z] docker.io [2022-06-27T20:15:55.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:15:55.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:15:55.756Z] Configure a credential helper to remove this warning. See [2022-06-27T20:15:55.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:15:55.756Z] [2022-06-27T20:15:55.756Z] Login Succeeded [2022-06-27T20:15:55.756Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:15:55.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:15:55.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:15:55.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:15:55.850Z] ========================================================= [2022-06-27T20:15:55.850Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T20:15:55.850Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:15:56.169Z] + 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-27T20:15:56.169Z] Sending build context to Docker daemon 8.849MB [2022-06-27T20:15:56.169Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:15:56.169Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T20:15:56.169Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T20:15:56.169Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T20:15:56.169Z] 666ba61612fd: Pulling fs layer [2022-06-27T20:15:56.169Z] 8ed8ca486205: Pulling fs layer [2022-06-27T20:15:56.169Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T20:15:56.169Z] c516ae0d96e1: Pulling fs layer [2022-06-27T20:15:56.169Z] 684cea983483: Pulling fs layer [2022-06-27T20:15:56.169Z] dd3240ac7de5: Pulling fs layer [2022-06-27T20:15:56.169Z] b1e948a4e11c: Pulling fs layer [2022-06-27T20:15:56.169Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T20:15:56.169Z] 646ad004c059: Pulling fs layer [2022-06-27T20:15:56.169Z] a8fd76ee1af6: Waiting [2022-06-27T20:15:56.169Z] 684cea983483: Waiting [2022-06-27T20:15:56.169Z] 646ad004c059: Waiting [2022-06-27T20:15:56.169Z] dd3240ac7de5: Waiting [2022-06-27T20:15:56.169Z] cc1cd167ecdc: Waiting [2022-06-27T20:15:56.169Z] c516ae0d96e1: Waiting [2022-06-27T20:15:56.169Z] b1e948a4e11c: Waiting [2022-06-27T20:15:56.169Z] 8ed8ca486205: Download complete [2022-06-27T20:15:56.169Z] 666ba61612fd: Verifying Checksum [2022-06-27T20:15:56.169Z] 666ba61612fd: Download complete [2022-06-27T20:15:56.438Z] c516ae0d96e1: Verifying Checksum [2022-06-27T20:15:56.438Z] c516ae0d96e1: Download complete [2022-06-27T20:15:56.438Z] 684cea983483: Download complete [2022-06-27T20:15:56.438Z] dd3240ac7de5: Download complete [2022-06-27T20:15:56.438Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T20:15:56.438Z] 59bf1c3509f3: Download complete [2022-06-27T20:15:56.438Z] b1e948a4e11c: Verifying Checksum [2022-06-27T20:15:56.438Z] b1e948a4e11c: Download complete [2022-06-27T20:15:56.438Z] 59bf1c3509f3: Pull complete [2022-06-27T20:15:56.714Z] 666ba61612fd: Pull complete [2022-06-27T20:15:56.714Z] 8ed8ca486205: Pull complete [2022-06-27T20:15:57.302Z] 646ad004c059: Download complete [2022-06-27T20:15:57.302Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T20:15:57.302Z] cc1cd167ecdc: Download complete [2022-06-27T20:15:57.302Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T20:15:57.302Z] a8fd76ee1af6: Download complete [2022-06-27T20:16:00.596Z] cc1cd167ecdc: Pull complete [2022-06-27T20:16:00.855Z] c516ae0d96e1: Pull complete [2022-06-27T20:16:00.855Z] 684cea983483: Pull complete [2022-06-27T20:16:00.855Z] dd3240ac7de5: Pull complete [2022-06-27T20:16:01.113Z] b1e948a4e11c: Pull complete [2022-06-27T20:16:03.647Z] a8fd76ee1af6: Pull complete [2022-06-27T20:16:03.907Z] 646ad004c059: Pull complete [2022-06-27T20:16:03.907Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T20:16:03.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T20:16:03.907Z] ---> 8f69c11f6b0c [2022-06-27T20:16:03.907Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T20:16:05.826Z] ---> Running in 109e20a7eef8 [2022-06-27T20:16:05.826Z] Removing intermediate container 109e20a7eef8 [2022-06-27T20:16:05.826Z] ---> 17247fdbd42f [2022-06-27T20:16:05.826Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:16:05.826Z] ---> Running in 8f70f6a43864 [2022-06-27T20:16:05.826Z] Removing intermediate container 8f70f6a43864 [2022-06-27T20:16:05.826Z] ---> ae776115cc36 [2022-06-27T20:16:05.826Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:16:05.826Z] ---> Running in e23fb75b6db3 [2022-06-27T20:16:05.826Z] Removing intermediate container e23fb75b6db3 [2022-06-27T20:16:05.826Z] ---> 8dcc938550b0 [2022-06-27T20:16:05.826Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T20:16:05.826Z] ---> Running in ac0607026359 [2022-06-27T20:16:06.087Z] Removing intermediate container ac0607026359 [2022-06-27T20:16:06.087Z] ---> 3b1674bc3ad9 [2022-06-27T20:16:06.087Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:16:06.087Z] ---> Running in 645c24e42e85 [2022-06-27T20:16:06.660Z] Removing intermediate container 645c24e42e85 [2022-06-27T20:16:06.660Z] ---> 4332e9d51b1c [2022-06-27T20:16:06.660Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:16:06.660Z] ---> Running in dada931a94f6 [2022-06-27T20:16:06.921Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T20:16:07.865Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T20:16:08.125Z] OK: 221 MiB in 52 packages [2022-06-27T20:16:08.386Z] Removing intermediate container dada931a94f6 [2022-06-27T20:16:08.386Z] ---> 1eb35640df3f [2022-06-27T20:16:08.386Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T20:16:08.647Z] ---> Running in bc89fb28816e [2022-06-27T20:16:08.647Z] Removing intermediate container bc89fb28816e [2022-06-27T20:16:08.647Z] ---> 0b36180e5823 [2022-06-27T20:16:08.647Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T20:16:08.907Z] ---> a164b97d9a7d [2022-06-27T20:16:08.907Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:16:08.907Z] ---> Running in 9d3611935cd4 [2022-06-27T20:16:09.628Z] Still waiting to schedule task [2022-06-27T20:16:09.628Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-27T20:16:23.811Z] Removing intermediate container 9d3611935cd4 [2022-06-27T20:16:23.811Z] ---> f9fe5cdbb10b [2022-06-27T20:16:23.811Z] Step 12/13 : COPY . . [2022-06-27T20:16:23.811Z] ---> c0f48f0915e2 [2022-06-27T20:16:23.811Z] Step 13/13 : RUN ${MAKE} [2022-06-27T20:16:23.811Z] ---> Running in 642b6ff205a6 [2022-06-27T20:16:23.811Z] noop [2022-06-27T20:16:23.811Z] Removing intermediate container 642b6ff205a6 [2022-06-27T20:16:23.811Z] ---> 92449a7652b9 [2022-06-27T20:16:23.811Z] Successfully built 92449a7652b9 [2022-06-27T20:16:23.811Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:16:24.138Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:16:24.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:16:24.232Z] prd-ubuntu20.04-docker-8c-8g-16138 does not seem to be running inside a container [2022-06-27T20:16:24.271Z] $ 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-27T20:16:24.677Z] $ docker top 6ddcca0889ceb0b1189358fafe4abe578a17e0e124bc548db740d48f007322e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:16:25.029Z] + go version [2022-06-27T20:16:25.029Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T20:16:25.043Z] $ docker stop --time=1 6ddcca0889ceb0b1189358fafe4abe578a17e0e124bc548db740d48f007322e0 [2022-06-27T20:16:26.344Z] $ docker rm -f 6ddcca0889ceb0b1189358fafe4abe578a17e0e124bc548db740d48f007322e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:16:26.766Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T20:16:26.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:16:26.846Z] prd-ubuntu20.04-docker-8c-8g-16138 does not seem to be running inside a container [2022-06-27T20:16:26.878Z] $ 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-27T20:16:27.256Z] $ docker top 358a47ca9423c68bd86cfbe6e908d703f4de791c404cab4aba6d3bad19cb3b49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:16:27.635Z] + make test [2022-06-27T20:16:27.635Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:16:27.907Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T20:16:27.907Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T20:16:27.907Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T20:16:27.907Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T20:16:37.995Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T20:16:41.293Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.686s coverage: 13.8% of statements [2022-06-27T20:16:41.293Z] FAIL [2022-06-27T20:16:41.293Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-27T20:16:41.310Z] $ docker stop --time=1 358a47ca9423c68bd86cfbe6e908d703f4de791c404cab4aba6d3bad19cb3b49 [2022-06-27T20:16:43.039Z] $ docker rm -f 358a47ca9423c68bd86cfbe6e908d703f4de791c404cab4aba6d3bad19cb3b49 [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-27T20:16:43.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:16:43.542Z] [2022-06-27T20:16:43.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:16:43.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:16:43.846Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T20:16:43.846Z] 5eb5b503b376: Pulling fs layer [2022-06-27T20:16:43.846Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T20:16:43.846Z] ec43610c2a17: Pulling fs layer [2022-06-27T20:16:43.846Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T20:16:43.846Z] 33b1e0a273af: Pulling fs layer [2022-06-27T20:16:43.846Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T20:16:43.846Z] 2f39f015ded8: Pulling fs layer [2022-06-27T20:16:43.846Z] 3a2ae6a8a46f: Waiting [2022-06-27T20:16:43.846Z] 33b1e0a273af: Waiting [2022-06-27T20:16:43.846Z] 5d3b04190fa2: Waiting [2022-06-27T20:16:43.846Z] 2f39f015ded8: Waiting [2022-06-27T20:16:43.846Z] 5c69ac0246d0: Verifying Checksum [2022-06-27T20:16:43.846Z] 5c69ac0246d0: Download complete [2022-06-27T20:16:43.846Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T20:16:43.846Z] 3a2ae6a8a46f: Download complete [2022-06-27T20:16:44.113Z] 33b1e0a273af: Verifying Checksum [2022-06-27T20:16:44.113Z] 33b1e0a273af: Download complete [2022-06-27T20:16:44.114Z] 5d3b04190fa2: Download complete [2022-06-27T20:16:44.114Z] ec43610c2a17: Verifying Checksum [2022-06-27T20:16:44.114Z] ec43610c2a17: Download complete [2022-06-27T20:16:44.114Z] 5eb5b503b376: Verifying Checksum [2022-06-27T20:16:44.114Z] 5eb5b503b376: Download complete [2022-06-27T20:16:44.686Z] 2f39f015ded8: Download complete [2022-06-27T20:16:45.621Z] 5eb5b503b376: Pull complete [2022-06-27T20:16:45.621Z] 5c69ac0246d0: Pull complete [2022-06-27T20:16:45.882Z] ec43610c2a17: Pull complete [2022-06-27T20:16:46.142Z] 3a2ae6a8a46f: Pull complete [2022-06-27T20:16:46.402Z] 33b1e0a273af: Pull complete [2022-06-27T20:16:46.402Z] 5d3b04190fa2: Pull complete [2022-06-27T20:16:50.597Z] 2f39f015ded8: Pull complete [2022-06-27T20:16:50.597Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T20:16:50.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:16:50.597Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:16:50.689Z] prd-ubuntu20.04-docker-8c-8g-16138 does not seem to be running inside a container [2022-06-27T20:16:50.725Z] $ 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-27T20:16:52.411Z] $ docker top 3b0bb5f1b49af9ea1128bcfe131f29a43d21acabe4fa603b3dc65860bb342e5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:16:52.805Z] ---> job-cost.sh [2022-06-27T20:16:52.805Z] lf-activate-venv: SKIPPING [2022-06-27T20:16:52.805Z] INFO: No Stack... [2022-06-27T20:16:53.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:16:53.637Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:16:53.931Z] + cat /w/workspace/oundry_device-onvif-camera_PR-90/archives/cost.csv [2022-06-27T20:16:53.931Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T20:16:53.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] [2022-06-27T20:16:53.951Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] did not exist. Created. [2022-06-27T20:16:53.951Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:16:54.252Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T20:16:54.287Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:16:54.293Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:16:54.316Z] $ docker stop --time=1 3b0bb5f1b49af9ea1128bcfe131f29a43d21acabe4fa603b3dc65860bb342e5e [2022-06-27T20:16:55.490Z] $ docker rm -f 3b0bb5f1b49af9ea1128bcfe131f29a43d21acabe4fa603b3dc65860bb342e5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:16:55.604Z] Failed in branch amd64 [2022-06-27T20:18:10.413Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16139 in /w/workspace/oundry_device-onvif-camera_PR-90 [Pipeline] { [Pipeline] ws [2022-06-27T20:18:10.426Z] Running in /w/workspace/device-onvif-camera/17 [Pipeline] { [Pipeline] checkout [2022-06-27T20:18:10.469Z] Selected Git installation does not exist. Using Default [2022-06-27T20:18:10.469Z] The recommended git tool is: NONE [2022-06-27T20:18:16.668Z] using credential edgex-jenkins-ssh [2022-06-27T20:18:16.685Z] Cloning the remote Git repository [2022-06-27T20:18:16.747Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:18:16.829Z] > git init /w/workspace/device-onvif-camera/17 # timeout=10 [2022-06-27T20:18:16.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:18:16.960Z] > git --version # timeout=10 [2022-06-27T20:18:17.010Z] > git --version # 'git version 2.25.1' [2022-06-27T20:18:17.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:18:17.133Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:18:18.771Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 25158243e02a82f0eca3e30e1398f9c241df5d70 [2022-06-27T20:18:19.143Z] Merge succeeded, producing 61ce53615c5f4fa442b73a6596cf6df9b9be2c3a [2022-06-27T20:18:19.143Z] Checking out Revision 61ce53615c5f4fa442b73a6596cf6df9b9be2c3a (PR-90) [2022-06-27T20:18:18.008Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T20:18:18.030Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T20:18:18.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T20:18:18.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T20:18:18.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:18:18.123Z] > 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-27T20:18:18.792Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:18:18.817Z] > git checkout -f 25158243e02a82f0eca3e30e1398f9c241df5d70 # timeout=10 [2022-06-27T20:18:18.942Z] > git remote # timeout=10 [2022-06-27T20:18:18.961Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T20:18:18.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T20:18:19.001Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T20:18:19.128Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T20:18:19.151Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T20:18:19.168Z] > git checkout -f 61ce53615c5f4fa442b73a6596cf6df9b9be2c3a # timeout=10 [2022-06-27T20:18:23.305Z] Commit message: "Merge commit '8374ad439d5c8571ae7424cc77de71a785d5a0ca' into HEAD" [2022-06-27T20:18:23.330Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T20:18:23.315Z] > git rev-list --no-walk d80a1a9c921fd7e0b7b866a6de74141fb997da8e # timeout=10 [2022-06-27T20:18:24.142Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T20:18:24.142Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T20:18:24.142Z] Dload Upload Total Spent Left Speed [2022-06-27T20:18:24.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-06-27T20:18:24.911Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T20:18:25.253Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T20:18:25.253Z] + sudo tee /etc/docker/daemon.new [2022-06-27T20:18:25.253Z] { [2022-06-27T20:18:25.253Z] "registry-mirrors": [ [2022-06-27T20:18:25.253Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T20:18:25.253Z] ], [2022-06-27T20:18:25.253Z] "bip": "10.250.0.254/24", [2022-06-27T20:18:25.253Z] "hosts": [ [2022-06-27T20:18:25.253Z] "tcp://0.0.0.0:5555", [2022-06-27T20:18:25.253Z] "unix:///var/run/docker.sock" [2022-06-27T20:18:25.253Z] ], [2022-06-27T20:18:25.253Z] "mtu": 1458, [2022-06-27T20:18:25.253Z] "selinux-enabled": true, [2022-06-27T20:18:25.253Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T20:18:25.253Z] } [Pipeline] sh [2022-06-27T20:18:25.598Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T20:18:25.936Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:18:44.279Z] provisioning config files... [2022-06-27T20:18:44.305Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/17@tmp/config2967453809741375245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:18:44.663Z] ---> docker-login.sh [2022-06-27T20:18:44.663Z] nexus3.edgexfoundry.org:10001 [2022-06-27T20:18:45.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:18:45.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:18:45.538Z] Configure a credential helper to remove this warning. See [2022-06-27T20:18:45.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:18:45.538Z] [2022-06-27T20:18:45.538Z] Login Succeeded [2022-06-27T20:18:45.538Z] nexus3.edgexfoundry.org:10002 [2022-06-27T20:18:45.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:18:46.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:18:46.095Z] Configure a credential helper to remove this warning. See [2022-06-27T20:18:46.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:18:46.095Z] [2022-06-27T20:18:46.095Z] Login Succeeded [2022-06-27T20:18:46.095Z] nexus3.edgexfoundry.org:10003 [2022-06-27T20:18:46.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:18:46.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:18:46.371Z] Configure a credential helper to remove this warning. See [2022-06-27T20:18:46.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:18:46.371Z] [2022-06-27T20:18:46.371Z] Login Succeeded [2022-06-27T20:18:46.371Z] nexus3.edgexfoundry.org:10004 [2022-06-27T20:18:46.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:18:46.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:18:46.922Z] Configure a credential helper to remove this warning. See [2022-06-27T20:18:46.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:18:46.922Z] [2022-06-27T20:18:46.922Z] Login Succeeded [2022-06-27T20:18:46.922Z] docker.io [2022-06-27T20:18:47.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T20:18:47.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T20:18:47.790Z] Configure a credential helper to remove this warning. See [2022-06-27T20:18:47.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T20:18:47.790Z] [2022-06-27T20:18:47.790Z] Login Succeeded [2022-06-27T20:18:47.790Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T20:18:47.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T20:18:48.364Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:18:48.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T20:18:48.388Z] ========================================================= [2022-06-27T20:18:48.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T20:18:48.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:18:48.744Z] + 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-27T20:18:49.020Z] Sending build context to Docker daemon 6.057MB [2022-06-27T20:18:49.020Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T20:18:49.020Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T20:18:49.303Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T20:18:49.303Z] 9b3977197b4f: Pulling fs layer [2022-06-27T20:18:49.303Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T20:18:49.303Z] 94645a83ff95: Pulling fs layer [2022-06-27T20:18:49.303Z] e6fb740bc735: Pulling fs layer [2022-06-27T20:18:49.303Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T20:18:49.303Z] e6fb740bc735: Waiting [2022-06-27T20:18:49.303Z] 355e64cbe906: Pulling fs layer [2022-06-27T20:18:49.303Z] 63ab81a10011: Pulling fs layer [2022-06-27T20:18:49.303Z] 555d1d1c4555: Pulling fs layer [2022-06-27T20:18:49.303Z] 7d9057610161: Pulling fs layer [2022-06-27T20:18:49.303Z] 3a77bd46dcc9: Waiting [2022-06-27T20:18:49.303Z] 555d1d1c4555: Waiting [2022-06-27T20:18:49.303Z] 355e64cbe906: Waiting [2022-06-27T20:18:49.304Z] 7d9057610161: Waiting [2022-06-27T20:18:49.304Z] 63ab81a10011: Waiting [2022-06-27T20:18:49.304Z] 94645a83ff95: Download complete [2022-06-27T20:18:49.304Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T20:18:49.304Z] 1a89e8eeedd5: Download complete [2022-06-27T20:18:49.304Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T20:18:49.304Z] 3a77bd46dcc9: Download complete [2022-06-27T20:18:49.304Z] 355e64cbe906: Download complete [2022-06-27T20:18:49.304Z] 9b3977197b4f: Verifying Checksum [2022-06-27T20:18:49.304Z] 9b3977197b4f: Download complete [2022-06-27T20:18:49.304Z] 63ab81a10011: Verifying Checksum [2022-06-27T20:18:49.304Z] 63ab81a10011: Download complete [2022-06-27T20:18:50.304Z] 9b3977197b4f: Pull complete [2022-06-27T20:18:50.582Z] 7d9057610161: Verifying Checksum [2022-06-27T20:18:50.582Z] 7d9057610161: Download complete [2022-06-27T20:18:50.865Z] 1a89e8eeedd5: Pull complete [2022-06-27T20:18:51.140Z] 94645a83ff95: Pull complete [2022-06-27T20:18:51.739Z] 555d1d1c4555: Verifying Checksum [2022-06-27T20:18:51.739Z] 555d1d1c4555: Download complete [2022-06-27T20:18:52.011Z] e6fb740bc735: Verifying Checksum [2022-06-27T20:18:52.011Z] e6fb740bc735: Download complete [2022-06-27T20:19:04.413Z] e6fb740bc735: Pull complete [2022-06-27T20:19:04.413Z] 3a77bd46dcc9: Pull complete [2022-06-27T20:19:04.689Z] 355e64cbe906: Pull complete [2022-06-27T20:19:04.968Z] 63ab81a10011: Pull complete [2022-06-27T20:19:11.699Z] 555d1d1c4555: Pull complete [2022-06-27T20:19:13.143Z] 7d9057610161: Pull complete [2022-06-27T20:19:13.143Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T20:19:13.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T20:19:13.143Z] ---> 819e984ddca1 [2022-06-27T20:19:13.143Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T20:19:14.590Z] ---> Running in 9f19d5c261f9 [2022-06-27T20:19:14.866Z] Removing intermediate container 9f19d5c261f9 [2022-06-27T20:19:14.866Z] ---> fde6d95a9128 [2022-06-27T20:19:14.866Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T20:19:15.144Z] ---> Running in 485a10f5464b [2022-06-27T20:19:15.422Z] Removing intermediate container 485a10f5464b [2022-06-27T20:19:15.422Z] ---> 018977eb4203 [2022-06-27T20:19:15.422Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T20:19:15.422Z] ---> Running in 7331cda93de9 [2022-06-27T20:19:15.700Z] Removing intermediate container 7331cda93de9 [2022-06-27T20:19:15.700Z] ---> 4ba03ebf3532 [2022-06-27T20:19:15.700Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T20:19:16.001Z] ---> Running in f383941f36e0 [2022-06-27T20:19:17.439Z] Removing intermediate container f383941f36e0 [2022-06-27T20:19:17.439Z] ---> 995f345c061b [2022-06-27T20:19:17.439Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T20:19:17.439Z] ---> Running in 41bd4f961774 [2022-06-27T20:19:19.419Z] Removing intermediate container 41bd4f961774 [2022-06-27T20:19:19.419Z] ---> 6a5b6bd9fce0 [2022-06-27T20:19:19.419Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T20:19:19.419Z] ---> Running in 1404e72f3262 [2022-06-27T20:19:20.017Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T20:19:20.996Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T20:19:21.976Z] OK: 220 MiB in 52 packages [2022-06-27T20:19:22.579Z] Removing intermediate container 1404e72f3262 [2022-06-27T20:19:22.579Z] ---> bc801f91eb90 [2022-06-27T20:19:22.579Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T20:19:22.579Z] ---> Running in e36762669415 [2022-06-27T20:19:22.856Z] Removing intermediate container e36762669415 [2022-06-27T20:19:22.856Z] ---> 73caec296b49 [2022-06-27T20:19:22.856Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T20:19:23.461Z] ---> 5cf061ff3248 [2022-06-27T20:19:23.461Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T20:19:23.461Z] ---> Running in 21c2275e57e5 [2022-06-27T20:20:10.453Z] Removing intermediate container 21c2275e57e5 [2022-06-27T20:20:10.453Z] ---> c2a24d35a6fe [2022-06-27T20:20:10.453Z] Step 12/13 : COPY . . [2022-06-27T20:20:10.453Z] ---> 3977e2471c30 [2022-06-27T20:20:10.453Z] Step 13/13 : RUN ${MAKE} [2022-06-27T20:20:10.453Z] ---> Running in f8339b2749aa [2022-06-27T20:20:10.453Z] noop [2022-06-27T20:20:10.727Z] Removing intermediate container f8339b2749aa [2022-06-27T20:20:10.728Z] ---> 27fb7c21f2d1 [2022-06-27T20:20:10.728Z] Successfully built 27fb7c21f2d1 [2022-06-27T20:20:10.728Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:20:11.093Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:20:11.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:20:11.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-16139 does not seem to be running inside a container [2022-06-27T20:20:11.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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-27T20:20:12.692Z] $ docker top 87f5841cc2d02e6cb6e1606a8f6ccfa4f0744b89b2d392a4c3fc1630f2902328 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:20:13.577Z] + go version [2022-06-27T20:20:13.577Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T20:20:13.606Z] $ docker stop --time=1 87f5841cc2d02e6cb6e1606a8f6ccfa4f0744b89b2d392a4c3fc1630f2902328 [2022-06-27T20:20:15.206Z] $ docker rm -f 87f5841cc2d02e6cb6e1606a8f6ccfa4f0744b89b2d392a4c3fc1630f2902328 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:20:15.788Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T20:20:15.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:20:16.042Z] prd-ubuntu20.04-docker-arm64-4c-16g-16139 does not seem to be running inside a container [2022-06-27T20:20:16.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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-27T20:20:17.417Z] $ docker top 7667b22c5ab4ff2ac440c8ae97d733375e4ed998830c8b39cd867a9125f90c0e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T20:20:18.314Z] + make test [2022-06-27T20:20:18.314Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T20:20:19.750Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2022-06-27T20:20:19.750Z] internal/driver/macmapper_test.go:54:4: expected statement, found ')' [2022-06-27T20:20:19.750Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [setup failed] [2022-06-27T20:20:20.027Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T20:21:41.890Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T20:22:08.684Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.787s coverage: 13.8% of statements [2022-06-27T20:22:08.684Z] FAIL [2022-06-27T20:22:08.684Z] make: *** [Makefile:48: unittest] Error 1 [Pipeline] } [2022-06-27T20:22:08.712Z] $ docker stop --time=1 7667b22c5ab4ff2ac440c8ae97d733375e4ed998830c8b39cd867a9125f90c0e [2022-06-27T20:22:10.419Z] $ docker rm -f 7667b22c5ab4ff2ac440c8ae97d733375e4ed998830c8b39cd867a9125f90c0e [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-27T20:22:11.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:22:11.464Z] [2022-06-27T20:22:11.464Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:22:11.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:22:12.086Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T20:22:12.086Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T20:22:12.086Z] 04944245beec: Pulling fs layer [2022-06-27T20:22:12.086Z] 699f458cf7ca: Pulling fs layer [2022-06-27T20:22:12.086Z] 765212b225bb: Pulling fs layer [2022-06-27T20:22:12.086Z] f23df028b6ca: Pulling fs layer [2022-06-27T20:22:12.086Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T20:22:12.086Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T20:22:12.086Z] f23df028b6ca: Waiting [2022-06-27T20:22:12.086Z] 2437ff75d9bd: Waiting [2022-06-27T20:22:12.086Z] 765212b225bb: Waiting [2022-06-27T20:22:12.086Z] 04944245beec: Verifying Checksum [2022-06-27T20:22:12.086Z] 04944245beec: Download complete [2022-06-27T20:22:12.086Z] 765212b225bb: Verifying Checksum [2022-06-27T20:22:12.086Z] 765212b225bb: Download complete [2022-06-27T20:22:12.375Z] f23df028b6ca: Verifying Checksum [2022-06-27T20:22:12.375Z] f23df028b6ca: Download complete [2022-06-27T20:22:12.375Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T20:22:12.375Z] d65c8cfc05b1: Download complete [2022-06-27T20:22:12.375Z] 699f458cf7ca: Verifying Checksum [2022-06-27T20:22:12.376Z] 699f458cf7ca: Download complete [2022-06-27T20:22:12.649Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T20:22:12.649Z] 8998bd30e6a1: Download complete [2022-06-27T20:22:15.265Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T20:22:15.265Z] 2437ff75d9bd: Download complete [2022-06-27T20:22:17.242Z] 8998bd30e6a1: Pull complete [2022-06-27T20:22:17.516Z] 04944245beec: Pull complete [2022-06-27T20:22:18.958Z] 699f458cf7ca: Pull complete [2022-06-27T20:22:19.231Z] 765212b225bb: Pull complete [2022-06-27T20:22:19.827Z] f23df028b6ca: Pull complete [2022-06-27T20:22:20.107Z] d65c8cfc05b1: Pull complete [2022-06-27T20:22:35.210Z] 2437ff75d9bd: Pull complete [2022-06-27T20:22:35.210Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T20:22:35.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T20:22:35.210Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:22:35.470Z] prd-ubuntu20.04-docker-arm64-4c-16g-16139 does not seem to be running inside a container [2022-06-27T20:22:35.558Z] $ 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/17 -v /w/workspace/device-onvif-camera/17:/w/workspace/device-onvif-camera/17:rw,z -v /w/workspace/device-onvif-camera/17@tmp:/w/workspace/device-onvif-camera/17@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-27T20:22:38.142Z] $ docker top fd4f9689342f37278bb44426f666958017ddd8ad856daebc6e3ea452803f7953 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:39.071Z] ---> job-cost.sh [2022-06-27T20:22:39.071Z] lf-activate-venv: SKIPPING [2022-06-27T20:22:39.071Z] INFO: No Stack... [2022-06-27T20:22:39.664Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T20:22:40.262Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T20:22:40.933Z] + cat /w/workspace/device-onvif-camera/17/archives/cost.csv [2022-06-27T20:22:40.933Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T20:22:41.007Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] [2022-06-27T20:22:41.013Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] did not exist. Created. [2022-06-27T20:22:41.013Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T20:22:41.695Z] /w/workspace/device-onvif-camera/17@tmp/durable-45991d18/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T20:22:42.384Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T20:22:42.405Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T20:22:42.856Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T20:22:42.863Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-90-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T20:22:42.891Z] $ docker stop --time=1 fd4f9689342f37278bb44426f666958017ddd8ad856daebc6e3ea452803f7953 [2022-06-27T20:22:44.420Z] $ docker rm -f fd4f9689342f37278bb44426f666958017ddd8ad856daebc6e3ea452803f7953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T20:22:44.707Z] 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-27T20:22:45.293Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-90/archives ] [2022-06-27T20:22:45.293Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:22:45.293Z] total 16 [2022-06-27T20:22:45.293Z] drwxr-xr-x 3 root root 4096 Jun 27 20:16 . [2022-06-27T20:22:45.293Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:16 .. [2022-06-27T20:22:45.293Z] drwxr-xr-x 2 root root 4096 Jun 27 20:16 cost [2022-06-27T20:22:45.293Z] -rw-r--r-- 1 root root 90 Jun 27 20:16 cost.csv [2022-06-27T20:22:45.293Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:22:45.293Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-90/archives [2022-06-27T20:22:45.293Z] total 16 [2022-06-27T20:22:45.293Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 20:16 . [2022-06-27T20:22:45.293Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 20:16 .. [2022-06-27T20:22:45.293Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 20:16 cost [2022-06-27T20:22:45.293Z] -rw-r--r-- 1 jenkins jenkins 90 Jun 27 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:45.589Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:46.460Z] ---> package-listing.sh [2022-06-27T20:22:46.460Z] ++ facter osfamily [2022-06-27T20:22:46.460Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T20:22:46.722Z] + OS_FAMILY=debian [2022-06-27T20:22:46.722Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-90 [2022-06-27T20:22:46.722Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T20:22:46.722Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T20:22:46.722Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T20:22:46.722Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T20:22:46.722Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T20:22:46.722Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T20:22:46.722Z] + case "${OS_FAMILY}" in [2022-06-27T20:22:46.722Z] + dpkg -l [2022-06-27T20:22:46.722Z] + grep '^ii' [2022-06-27T20:22:46.722Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T20:22:46.722Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T20:22:46.722Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T20:22:46.722Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-90 ']' [2022-06-27T20:22:46.722Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-90/archives/ [2022-06-27T20:22:46.722Z] + 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-27T20:22:46.735Z] 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-27T20:22:47.014Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T20:22:47.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T20:22:47.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T20:22:47.673Z] prd-ubuntu20.04-docker-8c-8g-16138 does not seem to be running inside a container [2022-06-27T20:22:47.713Z] $ 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-27T20:22:47.991Z] $ docker top 2b13c1074a846abbc42c8a3b536c4c7cc29b046bdb4df387dbd8e2726e03bab7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T20:22:48.358Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T20:22:48.649Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T20:22:48.938Z] + ls /var/log/sa-host [2022-06-27T20:22:48.938Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T20:22:49.005Z] provisioning config files... [2022-06-27T20:22:49.013Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-90@tmp/config8191039367806971475tmp [Pipeline] { [Pipeline] echo [2022-06-27T20:22:49.026Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:49.313Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T20:22:49.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:49.694Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T20:22:49.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:49.999Z] ---> sudo-logs.sh [2022-06-27T20:22:49.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T20:22:50.021Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:50.307Z] ---> job-cost.sh [2022-06-27T20:22:50.307Z] lf-activate-venv: SKIPPING [2022-06-27T20:22:50.307Z] DEBUG: total: 0.2199999988079071 [2022-06-27T20:22:50.307Z] INFO: Retrieving Stack Cost... [2022-06-27T20:22:50.879Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T20:22:51.140Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T20:22:51.152Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T20:22:51.440Z] ---> logs-deploy.sh [2022-06-27T20:22:51.440Z] lf-activate-venv: SKIPPING [2022-06-27T20:22:51.440Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-90/17 [2022-06-27T20:22:51.440Z] INFO: archiving workspace using pattern(s): [2022-06-27T20:22:52.384Z] Archives upload complete. [2022-06-27T20:22:52.384Z] INFO: archiving logs to Nexus