Pull request #228 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab+4452f94286ccb50ed2d81f13c9c71fcde235ba34 (3009889f50751bf328693a69ace077ca6b83dc4f) 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-ssh16067306920867499768.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7666633485680738605.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10531445547488397739.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14973716531695297292.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14443680942230387732.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1414041114313773810.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.18 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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5462 in /w/workspace/undry_device-onvif-camera_PR-228 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-228 # 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 Merging remotes/origin/main commit 4452f94286ccb50ed2d81f13c9c71fcde235ba34 into PR head commit 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab Merge succeeded, producing 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab Checking out Revision 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab (PR-228) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # 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 4452f94286ccb50ed2d81f13c9c71fcde235ba34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T04:06:11.172Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T04:06:11.349Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T04:06:11.451Z] ========================================================= [2023-02-13T04:06:11.451Z] EdgeX Global Pipelines Version Info [2023-02-13T04:06:11.451Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:06:12.188Z] ------------------- [2023-02-13T04:06:12.188Z] stable info: [2023-02-13T04:06:12.188Z] ------------------- [2023-02-13T04:06:12.188Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T04:06:12.188Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T04:06:12.188Z] Message: update stable to v1.0.244 [2023-02-13T04:06:12.758Z] ------------------- [2023-02-13T04:06:12.758Z] experimental info: [2023-02-13T04:06:12.758Z] ------------------- [2023-02-13T04:06:12.758Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T04:06:12.758Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T04:06:12.758Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T04:06:13.083Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-13T04:06:13.123Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-13T04:06:13.162Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T04:06:13.204Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T04:06:13.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T04:06:13.282Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T04:06:13.322Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T04:06:13.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-13T04:06:13.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T04:06:13.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T04:06:13.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T04:06:13.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-13T04:06:13.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T04:06:13.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T04:06:13.647Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T04:06:13.691Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T04:06:13.733Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T04:06:13.778Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T04:06:13.822Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T04:06:13.866Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T04:06:13.915Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-13T04:06:13.957Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-13T04:06:13.996Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T04:06:14.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T04:06:14.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T04:06:14.122Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T04:06:14.161Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T04:06:14.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-228 [Pipeline] echo [2023-02-13T04:06:14.244Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-228 [Pipeline] echo [2023-02-13T04:06:14.290Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-228 [Pipeline] echo [2023-02-13T04:06:14.335Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo [2023-02-13T04:06:14.376Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c5613d [Pipeline] echo [2023-02-13T04:06:14.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T04:06:14.530Z] provisioning config files... [2023-02-13T04:06:14.564Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-228@tmp/config13982856449334542469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:06:14.914Z] ---> docker-login.sh [2023-02-13T04:06:14.914Z] nexus3.edgexfoundry.org:10001 [2023-02-13T04:06:15.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:15.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:15.174Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:15.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:15.174Z] [2023-02-13T04:06:15.174Z] Login Succeeded [2023-02-13T04:06:15.174Z] nexus3.edgexfoundry.org:10002 [2023-02-13T04:06:15.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:15.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:15.436Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:15.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:15.436Z] [2023-02-13T04:06:15.436Z] Login Succeeded [2023-02-13T04:06:15.436Z] nexus3.edgexfoundry.org:10003 [2023-02-13T04:06:15.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:15.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:15.436Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:15.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:15.436Z] [2023-02-13T04:06:15.436Z] Login Succeeded [2023-02-13T04:06:15.436Z] nexus3.edgexfoundry.org:10004 [2023-02-13T04:06:15.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:15.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:15.699Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:15.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:15.699Z] [2023-02-13T04:06:15.699Z] Login Succeeded [2023-02-13T04:06:15.699Z] docker.io [2023-02-13T04:06:15.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:15.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:15.962Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:15.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:15.962Z] [2023-02-13T04:06:15.962Z] Login Succeeded [2023-02-13T04:06:15.962Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T04:06:15.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T04:06:16.633Z] + git rev-list -1 --merges 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab~1..1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo [2023-02-13T04:06:16.740Z] -----------> git rev-list -1 --merges 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab~1..1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [false] [Pipeline] sh [2023-02-13T04:06:17.049Z] + git log --format=format:%s -1 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo [2023-02-13T04:06:17.083Z] ========================================================= [2023-02-13T04:06:17.083Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T04:06:17.083Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T04:06:17.500Z] + git log --format=format:%s -1 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [Pipeline] echo [2023-02-13T04:06:17.533Z] [semverPrep] GIT_COMMIT: 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-13T04:06:17.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T04:06:17.930Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T04:06:17.930Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T04:06:17.930Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T04:06:17.930Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T04:06:17.930Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2023-02-13T04:06:17.930Z] /etc/ssh/ssh_known_hosts [2023-02-13T04:06:17.930Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:06:18.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T04:06:18.354Z] [2023-02-13T04:06:18.354Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:06:18.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T04:06:18.730Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T04:06:18.730Z] b85a868b505f: Pulling fs layer [2023-02-13T04:06:18.730Z] e2be974225ed: Pulling fs layer [2023-02-13T04:06:18.730Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T04:06:18.730Z] 988bab9f4d93: Pulling fs layer [2023-02-13T04:06:18.730Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T04:06:18.730Z] eaf3925da568: Pulling fs layer [2023-02-13T04:06:18.730Z] bab4dde63d76: Pulling fs layer [2023-02-13T04:06:18.730Z] bde34c3a00c8: Pulling fs layer [2023-02-13T04:06:18.730Z] 988bab9f4d93: Waiting [2023-02-13T04:06:18.730Z] 1469e6f7b9e6: Waiting [2023-02-13T04:06:18.730Z] eaf3925da568: Waiting [2023-02-13T04:06:18.730Z] bab4dde63d76: Waiting [2023-02-13T04:06:18.730Z] b352a97aabf1: Pulling fs layer [2023-02-13T04:06:18.730Z] 4872d77fe225: Pulling fs layer [2023-02-13T04:06:18.730Z] bde34c3a00c8: Waiting [2023-02-13T04:06:18.730Z] 5851b861e8e6: Pulling fs layer [2023-02-13T04:06:18.730Z] 4872d77fe225: Waiting [2023-02-13T04:06:18.730Z] b352a97aabf1: Waiting [2023-02-13T04:06:18.730Z] e2be974225ed: Verifying Checksum [2023-02-13T04:06:18.730Z] e2be974225ed: Download complete [2023-02-13T04:06:18.730Z] 988bab9f4d93: Verifying Checksum [2023-02-13T04:06:18.730Z] 988bab9f4d93: Download complete [2023-02-13T04:06:18.996Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T04:06:18.996Z] 339a4e72a1f5: Download complete [2023-02-13T04:06:18.996Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T04:06:18.996Z] 1469e6f7b9e6: Download complete [2023-02-13T04:06:18.996Z] eaf3925da568: Download complete [2023-02-13T04:06:18.996Z] bde34c3a00c8: Verifying Checksum [2023-02-13T04:06:18.996Z] bde34c3a00c8: Download complete [2023-02-13T04:06:19.261Z] b352a97aabf1: Download complete [2023-02-13T04:06:19.261Z] 4872d77fe225: Verifying Checksum [2023-02-13T04:06:19.261Z] 4872d77fe225: Download complete [2023-02-13T04:06:19.261Z] b85a868b505f: Verifying Checksum [2023-02-13T04:06:19.261Z] b85a868b505f: Download complete [2023-02-13T04:06:19.261Z] 5851b861e8e6: Verifying Checksum [2023-02-13T04:06:19.261Z] 5851b861e8e6: Download complete [2023-02-13T04:06:19.523Z] bab4dde63d76: Verifying Checksum [2023-02-13T04:06:19.523Z] bab4dde63d76: Download complete [2023-02-13T04:06:20.461Z] b85a868b505f: Pull complete [2023-02-13T04:06:20.721Z] e2be974225ed: Pull complete [2023-02-13T04:06:21.318Z] 339a4e72a1f5: Pull complete [2023-02-13T04:06:21.318Z] 988bab9f4d93: Pull complete [2023-02-13T04:06:21.578Z] 1469e6f7b9e6: Pull complete [2023-02-13T04:06:21.578Z] eaf3925da568: Pull complete [2023-02-13T04:06:23.499Z] bab4dde63d76: Pull complete [2023-02-13T04:06:23.499Z] bde34c3a00c8: Pull complete [2023-02-13T04:06:23.762Z] b352a97aabf1: Pull complete [2023-02-13T04:06:24.025Z] 4872d77fe225: Pull complete [2023-02-13T04:06:24.025Z] 5851b861e8e6: Pull complete [2023-02-13T04:06:24.025Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T04:06:24.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T04:06:24.025Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:06:24.249Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-02-13T04:06:24.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T04:06:28.817Z] $ docker top a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f -eo pid,comm [2023-02-13T04:06:28.865Z] 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). [2023-02-13T04:06:28.865Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T04:06:28.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T04:06:28.996Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T04:06:29.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T04:06:29.113Z] $ docker exec a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent [2023-02-13T04:06:29.253Z] SSH_AUTH_SOCK=/tmp/ssh-p40p9CHJkqcq/agent.32 [2023-02-13T04:06:29.253Z] SSH_AGENT_PID=38 [2023-02-13T04:06:29.260Z] Running ssh-add (command line suppressed) [2023-02-13T04:06:29.364Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_2099366379949578831.key (/w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_2099366379949578831.key) [2023-02-13T04:06:29.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T04:06:29.716Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T04:06:29.739Z] $ docker exec --env ******** --env ******** a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent -k [2023-02-13T04:06:29.831Z] unset SSH_AUTH_SOCK; [2023-02-13T04:06:29.832Z] unset SSH_AGENT_PID; [2023-02-13T04:06:29.832Z] echo Agent pid 38 killed; [2023-02-13T04:06:29.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T04:06:29.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T04:06:29.928Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T04:06:30.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T04:06:30.062Z] $ docker exec a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent [2023-02-13T04:06:30.173Z] SSH_AUTH_SOCK=/tmp/ssh-wP99TfjCm6Ix/agent.70 [2023-02-13T04:06:30.173Z] SSH_AGENT_PID=77 [2023-02-13T04:06:30.179Z] Running ssh-add (command line suppressed) [2023-02-13T04:06:30.292Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_16868612902112679152.key (/w/workspace/undry_device-onvif-camera_PR-228@tmp/private_key_16868612902112679152.key) [2023-02-13T04:06:30.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T04:06:30.637Z] + git semver init [2023-02-13T04:06:30.898Z] 2023-02-13 04:06:30,839 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T04:06:30.898Z] 2023-02-13 04:06:30,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-228/.semver [2023-02-13T04:06:30.898Z] 2023-02-13 04:06:30,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-228/.semver [2023-02-13T04:06:30.898Z] 2023-02-13 04:06:30,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-228/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-228, universal_newlines=False, shell=None, istream=None) [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,240 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-228/.git/info/exclude [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-228/.semver/PR-228 with force:False [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,241 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-228/.semver/PR-228 [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,245 [execute] INFO git cat-file --batch-check [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-228/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,251 [execute] INFO git cat-file --batch [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-228/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T04:06:32.286Z] 2023-02-13 04:06:32,255 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-228/.semver/PR-228 [2023-02-13T04:06:32.286Z] 0.0.0 [Pipeline] } [2023-02-13T04:06:32.315Z] $ docker exec --env ******** --env ******** a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f ssh-agent -k [2023-02-13T04:06:32.419Z] unset SSH_AUTH_SOCK; [2023-02-13T04:06:32.420Z] unset SSH_AGENT_PID; [2023-02-13T04:06:32.420Z] echo Agent pid 77 killed; [2023-02-13T04:06:32.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T04:06:32.863Z] + git semver [Pipeline] } [2023-02-13T04:06:33.171Z] $ docker stop --time=1 a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f [2023-02-13T04:06:34.537Z] $ docker rm -f --volumes a119845e34a2e0b6901e9db52d5a496ec431d8887bd19ae279b03c0ee95c936f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T04:06:34.944Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T04:06:35.195Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T04:06:35.212Z] [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 [2023-02-13T04:06:35.779Z] provisioning config files... [2023-02-13T04:06:35.788Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-228@tmp/config16125458485654924712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:06:36.129Z] ---> docker-login.sh [2023-02-13T04:06:36.129Z] nexus3.edgexfoundry.org:10001 [2023-02-13T04:06:36.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:36.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:36.129Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:36.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:36.129Z] [2023-02-13T04:06:36.129Z] Login Succeeded [2023-02-13T04:06:36.129Z] nexus3.edgexfoundry.org:10002 [2023-02-13T04:06:36.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:36.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:36.389Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:36.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:36.389Z] [2023-02-13T04:06:36.389Z] Login Succeeded [2023-02-13T04:06:36.389Z] nexus3.edgexfoundry.org:10003 [2023-02-13T04:06:36.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:36.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:36.389Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:36.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:36.389Z] [2023-02-13T04:06:36.389Z] Login Succeeded [2023-02-13T04:06:36.389Z] nexus3.edgexfoundry.org:10004 [2023-02-13T04:06:36.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:36.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:36.649Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:36.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:36.649Z] [2023-02-13T04:06:36.649Z] Login Succeeded [2023-02-13T04:06:36.649Z] docker.io [2023-02-13T04:06:36.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:06:36.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:06:36.909Z] Configure a credential helper to remove this warning. See [2023-02-13T04:06:36.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:06:36.909Z] [2023-02-13T04:06:36.909Z] Login Succeeded [2023-02-13T04:06:36.909Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T04:06:36.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T04:06:37.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:06:37.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:06:37.176Z] ========================================================= [2023-02-13T04:06:37.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T04:06:37.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:06:37.644Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T04:06:37.644Z] Sending build context to Docker daemon 27.7MB [2023-02-13T04:06:37.644Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T04:06:37.644Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-13T04:06:37.906Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T04:06:37.906Z] 213ec9aee27d: Pulling fs layer [2023-02-13T04:06:37.906Z] 4583459ba037: Pulling fs layer [2023-02-13T04:06:37.906Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T04:06:37.906Z] 53926ce57604: Pulling fs layer [2023-02-13T04:06:37.906Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T04:06:37.906Z] 22ff95d597cd: Pulling fs layer [2023-02-13T04:06:37.906Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T04:06:37.906Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T04:06:37.906Z] a7acece74701: Pulling fs layer [2023-02-13T04:06:37.906Z] 53926ce57604: Waiting [2023-02-13T04:06:37.906Z] 21b2b0c7a3f4: Waiting [2023-02-13T04:06:37.906Z] 22ff95d597cd: Waiting [2023-02-13T04:06:37.906Z] a7acece74701: Waiting [2023-02-13T04:06:37.906Z] 12d6caf4c0d1: Waiting [2023-02-13T04:06:37.906Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T04:06:37.906Z] 93c1e223e6f2: Download complete [2023-02-13T04:06:37.906Z] 4583459ba037: Verifying Checksum [2023-02-13T04:06:37.906Z] 4583459ba037: Download complete [2023-02-13T04:06:37.906Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T04:06:37.906Z] 21b2b0c7a3f4: Download complete [2023-02-13T04:06:37.906Z] 22ff95d597cd: Verifying Checksum [2023-02-13T04:06:37.906Z] 22ff95d597cd: Download complete [2023-02-13T04:06:38.173Z] 213ec9aee27d: Verifying Checksum [2023-02-13T04:06:38.173Z] 213ec9aee27d: Download complete [2023-02-13T04:06:38.173Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T04:06:38.173Z] 12d6caf4c0d1: Download complete [2023-02-13T04:06:38.173Z] 213ec9aee27d: Pull complete [2023-02-13T04:06:38.447Z] 4583459ba037: Pull complete [2023-02-13T04:06:38.448Z] 93c1e223e6f2: Pull complete [2023-02-13T04:06:40.018Z] a7acece74701: Verifying Checksum [2023-02-13T04:06:40.018Z] a7acece74701: Download complete [2023-02-13T04:06:40.018Z] 53926ce57604: Verifying Checksum [2023-02-13T04:06:40.018Z] 53926ce57604: Download complete [2023-02-13T04:06:40.018Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T04:06:40.018Z] 96b7cbca73a9: Download complete [2023-02-13T04:06:43.305Z] 53926ce57604: Pull complete [2023-02-13T04:06:43.306Z] 21b2b0c7a3f4: Pull complete [2023-02-13T04:06:43.306Z] 22ff95d597cd: Pull complete [2023-02-13T04:06:43.564Z] 12d6caf4c0d1: Pull complete [2023-02-13T04:06:45.465Z] 96b7cbca73a9: Pull complete [2023-02-13T04:06:46.033Z] a7acece74701: Pull complete [2023-02-13T04:06:46.033Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T04:06:46.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T04:06:46.033Z] ---> db6d94c90886 [2023-02-13T04:06:46.033Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-13T04:06:50.612Z] Still waiting to schedule task [2023-02-13T04:06:50.612Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-13T04:06:54.172Z] ---> Running in 58b4df9fd0c1 [2023-02-13T04:06:54.172Z] Removing intermediate container 58b4df9fd0c1 [2023-02-13T04:06:54.172Z] ---> 9de4025bdc3b [2023-02-13T04:06:54.172Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T04:06:54.172Z] ---> Running in c6183b2cbafc [2023-02-13T04:06:54.172Z] Removing intermediate container c6183b2cbafc [2023-02-13T04:06:54.172Z] ---> ab6668a3548b [2023-02-13T04:06:54.172Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-13T04:06:54.172Z] ---> Running in 31920ac8c3a8 [2023-02-13T04:06:54.172Z] Removing intermediate container 31920ac8c3a8 [2023-02-13T04:06:54.172Z] ---> fbaf3253fd2b [2023-02-13T04:06:54.172Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T04:06:54.172Z] ---> Running in ee94f0ff5ca3 [2023-02-13T04:06:54.172Z] Removing intermediate container ee94f0ff5ca3 [2023-02-13T04:06:54.172Z] ---> 3ec650fabbed [2023-02-13T04:06:54.172Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-13T04:06:54.172Z] ---> Running in ca337e084f3a [2023-02-13T04:06:54.430Z] Removing intermediate container ca337e084f3a [2023-02-13T04:06:54.430Z] ---> 5f911d564536 [2023-02-13T04:06:54.430Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T04:06:54.430Z] ---> Running in 62b2e6f2ee44 [2023-02-13T04:06:54.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T04:06:54.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T04:06:55.208Z] OK: 211 MiB in 51 packages [2023-02-13T04:06:55.466Z] Removing intermediate container 62b2e6f2ee44 [2023-02-13T04:06:55.466Z] ---> 1ca3b40a2885 [2023-02-13T04:06:55.466Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-13T04:06:55.466Z] ---> Running in b4f74e3b406d [2023-02-13T04:06:55.724Z] Removing intermediate container b4f74e3b406d [2023-02-13T04:06:55.724Z] ---> 9f490e5bad59 [2023-02-13T04:06:55.724Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-13T04:06:55.724Z] ---> c2f181947413 [2023-02-13T04:06:55.724Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T04:06:55.724Z] ---> Running in ed9bbeda3011 [2023-02-13T04:07:42.546Z] Removing intermediate container ed9bbeda3011 [2023-02-13T04:07:42.546Z] ---> 940abea87d87 [2023-02-13T04:07:42.546Z] Step 12/13 : COPY . . [2023-02-13T04:07:42.546Z] ---> aa9dae63523f [2023-02-13T04:07:42.546Z] Step 13/13 : RUN ${MAKE} [2023-02-13T04:07:42.546Z] ---> Running in eeafcaf66c0a [2023-02-13T04:07:42.546Z] noop [2023-02-13T04:07:42.546Z] Removing intermediate container eeafcaf66c0a [2023-02-13T04:07:42.546Z] ---> 13dc7781911c [2023-02-13T04:07:42.546Z] Successfully built 13dc7781911c [2023-02-13T04:07:42.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:07:42.971Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T04:07:42.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:07:43.125Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-02-13T04:07:43.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 ******** ci-base-image-x86_64 cat [2023-02-13T04:07:43.502Z] $ docker top 00b0f640c42b486030d28dc943f449d11711fd39a21a80bbd37034ddfd589a38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:07:43.888Z] + go version [2023-02-13T04:07:43.888Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T04:07:43.918Z] $ docker stop --time=1 00b0f640c42b486030d28dc943f449d11711fd39a21a80bbd37034ddfd589a38 [2023-02-13T04:07:45.223Z] $ docker rm -f --volumes 00b0f640c42b486030d28dc943f449d11711fd39a21a80bbd37034ddfd589a38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:07:45.998Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T04:07:45.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:07:46.159Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-02-13T04:07:46.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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 ******** ci-base-image-x86_64 cat [2023-02-13T04:07:46.513Z] $ docker top 209fad6e60bacf25a1fc2b19dc224a99edbb0b38d5ab8161795d3f1cdd3d8ee3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:07:46.906Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-228 [Pipeline] fileExists [Pipeline] sh [2023-02-13T04:07:47.268Z] + make test [2023-02-13T04:07:47.268Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T04:07:47.532Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-13T04:07:57.536Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-13T04:07:57.536Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-13T04:07:57.536Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-13T04:07:57.536Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-13T04:07:57.536Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-02-13T04:07:58.476Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.284s coverage: 86.5% of statements [2023-02-13T04:07:58.738Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-02-13T04:07:58.782Z] $ docker stop --time=1 209fad6e60bacf25a1fc2b19dc224a99edbb0b38d5ab8161795d3f1cdd3d8ee3 [2023-02-13T04:08:02.578Z] $ docker rm -f --volumes 209fad6e60bacf25a1fc2b19dc224a99edbb0b38d5ab8161795d3f1cdd3d8ee3 [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 [2023-02-13T04:08:03.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:08:03.898Z] [2023-02-13T04:08:03.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:08:04.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:08:04.560Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T04:08:04.560Z] 5eb5b503b376: Pulling fs layer [2023-02-13T04:08:04.560Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T04:08:04.560Z] ec43610c2a17: Pulling fs layer [2023-02-13T04:08:04.560Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T04:08:04.560Z] 33b1e0a273af: Pulling fs layer [2023-02-13T04:08:04.560Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T04:08:04.560Z] 2f39f015ded8: Pulling fs layer [2023-02-13T04:08:04.560Z] 3a2ae6a8a46f: Waiting [2023-02-13T04:08:04.560Z] 33b1e0a273af: Waiting [2023-02-13T04:08:04.560Z] 5d3b04190fa2: Waiting [2023-02-13T04:08:04.560Z] 2f39f015ded8: Waiting [2023-02-13T04:08:04.560Z] 5c69ac0246d0: Download complete [2023-02-13T04:08:04.560Z] 3a2ae6a8a46f: Download complete [2023-02-13T04:08:04.821Z] 33b1e0a273af: Verifying Checksum [2023-02-13T04:08:04.821Z] 33b1e0a273af: Download complete [2023-02-13T04:08:04.821Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T04:08:04.821Z] 5d3b04190fa2: Download complete [2023-02-13T04:08:04.821Z] ec43610c2a17: Verifying Checksum [2023-02-13T04:08:04.821Z] ec43610c2a17: Download complete [2023-02-13T04:08:04.821Z] 5eb5b503b376: Verifying Checksum [2023-02-13T04:08:04.821Z] 5eb5b503b376: Download complete [2023-02-13T04:08:05.759Z] 2f39f015ded8: Verifying Checksum [2023-02-13T04:08:05.759Z] 2f39f015ded8: Download complete [2023-02-13T04:08:06.328Z] 5eb5b503b376: Pull complete [2023-02-13T04:08:06.328Z] 5c69ac0246d0: Pull complete [2023-02-13T04:08:06.894Z] ec43610c2a17: Pull complete [2023-02-13T04:08:06.894Z] 3a2ae6a8a46f: Pull complete [2023-02-13T04:08:07.155Z] 33b1e0a273af: Pull complete [2023-02-13T04:08:07.155Z] 5d3b04190fa2: Pull complete [2023-02-13T04:08:11.349Z] 2f39f015ded8: Pull complete [2023-02-13T04:08:11.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T04:08:11.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:08:11.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:08:11.574Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-02-13T04:08:11.599Z] $ 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/undry_device-onvif-camera_PR-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@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-lftools-log-publisher:latest cat [2023-02-13T04:08:16.765Z] $ docker top 00415cebede37fc2b1aaf672e774057065918e4460581c8731e25427de9924ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:08:17.210Z] ---> job-cost.sh [2023-02-13T04:08:17.210Z] lf-activate-venv: SKIPPING [2023-02-13T04:08:17.210Z] INFO: No Stack... [2023-02-13T04:08:17.470Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T04:08:17.729Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T04:08:18.042Z] + cat /w/workspace/undry_device-onvif-camera_PR-228/archives/cost.csv [2023-02-13T04:08:18.042Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T04:08:18.082Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [2023-02-13T04:08:18.087Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] did not exist. Created. [2023-02-13T04:08:18.087Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T04:08:18.464Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T04:08:18.522Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T04:08:18.546Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T04:08:18.625Z] $ docker stop --time=1 00415cebede37fc2b1aaf672e774057065918e4460581c8731e25427de9924ea [2023-02-13T04:08:19.763Z] $ docker rm -f --volumes 00415cebede37fc2b1aaf672e774057065918e4460581c8731e25427de9924ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T04:08:20.186Z] Failed in branch amd64 [2023-02-13T04:08:21.632Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5464 in /w/workspace/undry_device-onvif-camera_PR-228 [Pipeline] { [Pipeline] ws [2023-02-13T04:08:21.688Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-13T04:08:21.806Z] The recommended git tool is: git [2023-02-13T04:08:27.570Z] using credential edgex-jenkins-ssh [2023-02-13T04:08:27.586Z] Cloning the remote Git repository [2023-02-13T04:08:27.631Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-13T04:08:27.714Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-13T04:08:27.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-13T04:08:27.894Z] > git --version # timeout=10 [2023-02-13T04:08:27.916Z] > git --version # 'git version 2.25.1' [2023-02-13T04:08:27.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T04:08:27.984Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T04:08:29.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-13T04:08:29.372Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T04:08:30.249Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-13T04:08:30.290Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-13T04:08:30.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T04:08:30.308Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T04:08:30.889Z] Merging remotes/origin/main commit 4452f94286ccb50ed2d81f13c9c71fcde235ba34 into PR head commit 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [2023-02-13T04:08:31.333Z] Merge succeeded, producing 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab [2023-02-13T04:08:31.333Z] Checking out Revision 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab (PR-228) [2023-02-13T04:08:30.907Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T04:08:30.926Z] > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # timeout=10 [2023-02-13T04:08:31.232Z] > git remote # timeout=10 [2023-02-13T04:08:31.249Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T04:08:31.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T04:08:31.283Z] > git merge 4452f94286ccb50ed2d81f13c9c71fcde235ba34 # timeout=10 [2023-02-13T04:08:31.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T04:08:31.338Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T04:08:31.359Z] > git checkout -f 1c5613d23be14e1a4c95c57d0f7ea7fafd59a1ab # timeout=10 [2023-02-13T04:08:32.141Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-13T04:08:32.188Z] > git --version # timeout=10 [2023-02-13T04:08:32.203Z] > git --version # 'git version 2.25.1' [2023-02-13T04:08:32.235Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T04:08:33.321Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T04:08:33.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T04:08:33.321Z] Dload Upload Total Spent Left Speed [2023-02-13T04:08:33.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-02-13T04:08:34.031Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T04:08:34.373Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-02-13T04:08:34.373Z] [2023-02-13T04:08:34.373Z] { [2023-02-13T04:08:34.373Z] "registry-mirrors": [ [2023-02-13T04:08:34.373Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T04:08:34.373Z] ], [2023-02-13T04:08:34.373Z] "bip": "10.250.0.254/24", [2023-02-13T04:08:34.373Z] "hosts": [ [2023-02-13T04:08:34.373Z] "tcp://0.0.0.0:5555", [2023-02-13T04:08:34.373Z] "unix:///var/run/docker.sock" [2023-02-13T04:08:34.373Z] ], [2023-02-13T04:08:34.373Z] "mtu": 1458, [2023-02-13T04:08:34.373Z] "selinux-enabled": true, [2023-02-13T04:08:34.373Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T04:08:34.373Z] } [Pipeline] sh [2023-02-13T04:08:34.730Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T04:08:35.076Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T04:08:53.424Z] provisioning config files... [2023-02-13T04:08:53.452Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3000552203872737631tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:08:53.848Z] ---> docker-login.sh [2023-02-13T04:08:53.848Z] nexus3.edgexfoundry.org:10001 [2023-02-13T04:08:54.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:08:54.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:08:54.440Z] Configure a credential helper to remove this warning. See [2023-02-13T04:08:54.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:08:54.440Z] [2023-02-13T04:08:54.440Z] Login Succeeded [2023-02-13T04:08:54.440Z] nexus3.edgexfoundry.org:10002 [2023-02-13T04:08:54.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:08:54.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:08:54.979Z] Configure a credential helper to remove this warning. See [2023-02-13T04:08:54.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:08:54.979Z] [2023-02-13T04:08:54.979Z] Login Succeeded [2023-02-13T04:08:54.979Z] nexus3.edgexfoundry.org:10003 [2023-02-13T04:08:55.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:08:55.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:08:55.250Z] Configure a credential helper to remove this warning. See [2023-02-13T04:08:55.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:08:55.250Z] [2023-02-13T04:08:55.250Z] Login Succeeded [2023-02-13T04:08:55.250Z] nexus3.edgexfoundry.org:10004 [2023-02-13T04:08:55.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:08:55.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:08:55.522Z] Configure a credential helper to remove this warning. See [2023-02-13T04:08:55.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:08:55.522Z] [2023-02-13T04:08:55.522Z] Login Succeeded [2023-02-13T04:08:55.795Z] docker.io [2023-02-13T04:08:55.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:08:56.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:08:56.389Z] Configure a credential helper to remove this warning. See [2023-02-13T04:08:56.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:08:56.389Z] [2023-02-13T04:08:56.389Z] Login Succeeded [2023-02-13T04:08:56.389Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T04:08:56.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T04:08:56.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:08:57.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:08:57.075Z] ========================================================= [2023-02-13T04:08:57.075Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T04:08:57.075Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:08:57.662Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T04:08:58.263Z] Sending build context to Docker daemon 20.54MB [2023-02-13T04:08:58.263Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T04:08:58.263Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-13T04:08:58.263Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T04:08:58.263Z] 9b18e9b68314: Pulling fs layer [2023-02-13T04:08:58.263Z] 35d82f9e3411: Pulling fs layer [2023-02-13T04:08:58.263Z] e16973657156: Pulling fs layer [2023-02-13T04:08:58.263Z] fc693d55d65f: Pulling fs layer [2023-02-13T04:08:58.263Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T04:08:58.263Z] dda99020689f: Pulling fs layer [2023-02-13T04:08:58.263Z] db1c61fa0a46: Pulling fs layer [2023-02-13T04:08:58.263Z] 891c053d2c06: Pulling fs layer [2023-02-13T04:08:58.263Z] fc693d55d65f: Waiting [2023-02-13T04:08:58.263Z] 7e9fc2657dce: Waiting [2023-02-13T04:08:58.263Z] dda99020689f: Waiting [2023-02-13T04:08:58.263Z] db1c61fa0a46: Waiting [2023-02-13T04:08:58.263Z] 891c053d2c06: Waiting [2023-02-13T04:08:58.544Z] e16973657156: Verifying Checksum [2023-02-13T04:08:58.544Z] e16973657156: Download complete [2023-02-13T04:08:58.544Z] 35d82f9e3411: Verifying Checksum [2023-02-13T04:08:58.544Z] 35d82f9e3411: Download complete [2023-02-13T04:08:58.544Z] 7e9fc2657dce: Download complete [2023-02-13T04:08:58.544Z] dda99020689f: Verifying Checksum [2023-02-13T04:08:58.544Z] dda99020689f: Download complete [2023-02-13T04:08:58.544Z] 9b18e9b68314: Verifying Checksum [2023-02-13T04:08:59.526Z] 9b18e9b68314: Pull complete [2023-02-13T04:08:59.795Z] 891c053d2c06: Verifying Checksum [2023-02-13T04:08:59.795Z] 891c053d2c06: Download complete [2023-02-13T04:09:00.064Z] 35d82f9e3411: Pull complete [2023-02-13T04:09:00.344Z] e16973657156: Pull complete [2023-02-13T04:09:00.932Z] db1c61fa0a46: Download complete [2023-02-13T04:09:01.518Z] fc693d55d65f: Verifying Checksum [2023-02-13T04:09:01.518Z] fc693d55d65f: Download complete [2023-02-13T04:09:13.848Z] fc693d55d65f: Pull complete [2023-02-13T04:09:13.848Z] 7e9fc2657dce: Pull complete [2023-02-13T04:09:13.848Z] dda99020689f: Pull complete [2023-02-13T04:09:19.220Z] db1c61fa0a46: Pull complete [2023-02-13T04:09:21.935Z] 891c053d2c06: Pull complete [2023-02-13T04:09:21.935Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T04:09:21.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T04:09:21.935Z] ---> f96f9c87975a [2023-02-13T04:09:21.935Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-13T04:09:23.887Z] ---> Running in 0e18720cc7ca [2023-02-13T04:09:24.157Z] Removing intermediate container 0e18720cc7ca [2023-02-13T04:09:24.157Z] ---> 38e11bf80db2 [2023-02-13T04:09:24.157Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-13T04:09:24.429Z] ---> Running in 92f797544d11 [2023-02-13T04:09:24.702Z] Removing intermediate container 92f797544d11 [2023-02-13T04:09:24.702Z] ---> 175d9b0d83cd [2023-02-13T04:09:24.702Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-13T04:09:24.702Z] ---> Running in 42df3054ebc7 [2023-02-13T04:09:24.973Z] Removing intermediate container 42df3054ebc7 [2023-02-13T04:09:24.973Z] ---> ce047a9243ee [2023-02-13T04:09:24.973Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-13T04:09:25.252Z] ---> Running in d3ba9f9c0615 [2023-02-13T04:09:25.521Z] Removing intermediate container d3ba9f9c0615 [2023-02-13T04:09:25.521Z] ---> 061152bd9ce8 [2023-02-13T04:09:25.521Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-13T04:09:25.521Z] ---> Running in 807fa0c0649e [2023-02-13T04:09:25.790Z] Removing intermediate container 807fa0c0649e [2023-02-13T04:09:25.790Z] ---> 31cb3dea87aa [2023-02-13T04:09:25.790Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-13T04:09:26.059Z] ---> Running in b61f5184e4dc [2023-02-13T04:09:27.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T04:09:27.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T04:09:28.209Z] OK: 221 MiB in 51 packages [2023-02-13T04:09:29.178Z] Removing intermediate container b61f5184e4dc [2023-02-13T04:09:29.178Z] ---> 91357cd44a54 [2023-02-13T04:09:29.178Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-13T04:09:29.178Z] ---> Running in c96d6e9d742a [2023-02-13T04:09:29.447Z] Removing intermediate container c96d6e9d742a [2023-02-13T04:09:29.447Z] ---> 2d75826d9ef7 [2023-02-13T04:09:29.447Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-13T04:09:30.033Z] ---> ef8eb1d9e4d3 [2023-02-13T04:09:30.033Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T04:09:30.313Z] ---> Running in 4e14c164efd5 [2023-02-13T04:10:38.206Z] Removing intermediate container 4e14c164efd5 [2023-02-13T04:10:38.206Z] ---> 2441239559a7 [2023-02-13T04:10:38.206Z] Step 12/13 : COPY . . [2023-02-13T04:10:38.206Z] ---> bc1970b9717e [2023-02-13T04:10:38.206Z] Step 13/13 : RUN ${MAKE} [2023-02-13T04:10:38.206Z] ---> Running in f3d22d87f40f [2023-02-13T04:10:38.206Z] noop [2023-02-13T04:10:38.206Z] Removing intermediate container f3d22d87f40f [2023-02-13T04:10:38.206Z] ---> 5b0e72289c9d [2023-02-13T04:10:38.476Z] Successfully built 5b0e72289c9d [2023-02-13T04:10:38.476Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:10:39.310Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T04:10:39.310Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:10:39.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-5464 does not seem to be running inside a container [2023-02-13T04:10:39.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2023-02-13T04:10:40.998Z] $ docker top 385eb22b9a3d6e0970ee622f5cede278e8b61b25c3b125db19d8910f569a41c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:10:41.906Z] + go version [2023-02-13T04:10:41.906Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T04:10:41.937Z] $ docker stop --time=1 385eb22b9a3d6e0970ee622f5cede278e8b61b25c3b125db19d8910f569a41c3 [2023-02-13T04:10:43.585Z] $ docker rm -f --volumes 385eb22b9a3d6e0970ee622f5cede278e8b61b25c3b125db19d8910f569a41c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:10:44.421Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T04:10:44.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:10:44.683Z] prd-ubuntu20.04-docker-arm64-4c-16g-5464 does not seem to be running inside a container [2023-02-13T04:10:44.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2023-02-13T04:10:45.934Z] $ docker top 3e2fdf928d08e74e4d85924f776f6c2a9fec4308cf388ea30513b507c95d0652 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:10:46.821Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T04:10:47.225Z] + make test [2023-02-13T04:10:47.225Z] go test ./... -coverprofile=coverage.out ./... [2023-02-13T04:10:49.179Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-13T04:12:10.847Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-13T04:12:10.847Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-13T04:12:10.847Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-13T04:12:10.847Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-13T04:12:16.203Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-02-13T04:12:42.932Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.804s coverage: 86.5% of statements [2023-02-13T04:12:42.932Z] make: *** [Makefile:53: unittest] Error 2 [Pipeline] } [2023-02-13T04:12:42.978Z] $ docker stop --time=1 3e2fdf928d08e74e4d85924f776f6c2a9fec4308cf388ea30513b507c95d0652 [2023-02-13T04:12:46.334Z] $ docker rm -f --volumes 3e2fdf928d08e74e4d85924f776f6c2a9fec4308cf388ea30513b507c95d0652 [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 [2023-02-13T04:12:47.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T04:12:47.770Z] [2023-02-13T04:12:47.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:12:48.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T04:12:48.461Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T04:12:48.461Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T04:12:48.461Z] 04944245beec: Pulling fs layer [2023-02-13T04:12:48.461Z] 699f458cf7ca: Pulling fs layer [2023-02-13T04:12:48.461Z] 765212b225bb: Pulling fs layer [2023-02-13T04:12:48.461Z] f23df028b6ca: Pulling fs layer [2023-02-13T04:12:48.461Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T04:12:48.461Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T04:12:48.461Z] f23df028b6ca: Waiting [2023-02-13T04:12:48.461Z] 765212b225bb: Waiting [2023-02-13T04:12:48.461Z] d65c8cfc05b1: Waiting [2023-02-13T04:12:48.461Z] 2437ff75d9bd: Waiting [2023-02-13T04:12:48.461Z] 04944245beec: Verifying Checksum [2023-02-13T04:12:48.461Z] 04944245beec: Download complete [2023-02-13T04:12:48.461Z] 765212b225bb: Verifying Checksum [2023-02-13T04:12:48.461Z] 765212b225bb: Download complete [2023-02-13T04:12:48.737Z] f23df028b6ca: Verifying Checksum [2023-02-13T04:12:48.737Z] f23df028b6ca: Download complete [2023-02-13T04:12:48.737Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T04:12:48.737Z] d65c8cfc05b1: Download complete [2023-02-13T04:12:49.007Z] 699f458cf7ca: Verifying Checksum [2023-02-13T04:12:49.007Z] 699f458cf7ca: Download complete [2023-02-13T04:12:49.607Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T04:12:49.607Z] 8998bd30e6a1: Download complete [2023-02-13T04:12:52.190Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T04:12:52.190Z] 2437ff75d9bd: Download complete [2023-02-13T04:12:54.789Z] 8998bd30e6a1: Pull complete [2023-02-13T04:12:57.366Z] 04944245beec: Pull complete [2023-02-13T04:12:58.780Z] 699f458cf7ca: Pull complete [2023-02-13T04:12:59.048Z] 765212b225bb: Pull complete [2023-02-13T04:13:00.013Z] f23df028b6ca: Pull complete [2023-02-13T04:13:00.013Z] d65c8cfc05b1: Pull complete [2023-02-13T04:13:22.099Z] 2437ff75d9bd: Pull complete [2023-02-13T04:13:22.099Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T04:13:22.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T04:13:22.099Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:13:22.474Z] prd-ubuntu20.04-docker-arm64-4c-16g-5464 does not seem to be running inside a container [2023-02-13T04:13:22.543Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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-lftools-log-publisher:arm64 cat [2023-02-13T04:13:23.577Z] $ docker top f6cff4987af32adaa70d4d53db504cf3b12373d705aba5c5573a61e2c8df174d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:24.516Z] ---> job-cost.sh [2023-02-13T04:13:24.516Z] lf-activate-venv: SKIPPING [2023-02-13T04:13:24.516Z] INFO: No Stack... [2023-02-13T04:13:24.794Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T04:13:25.764Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T04:13:26.452Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-13T04:13:26.452Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T04:13:26.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [2023-02-13T04:13:26.551Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] did not exist. Created. [2023-02-13T04:13:26.551Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T04:13:27.303Z] /w/workspace/device-onvif-camera/1@tmp/durable-ee4c393b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T04:13:27.986Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T04:13:28.021Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T04:13:28.504Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T04:13:28.519Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T04:13:28.597Z] $ docker stop --time=1 f6cff4987af32adaa70d4d53db504cf3b12373d705aba5c5573a61e2c8df174d [2023-02-13T04:13:30.506Z] $ docker rm -f --volumes f6cff4987af32adaa70d4d53db504cf3b12373d705aba5c5573a61e2c8df174d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T04:13:31.248Z] 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 [2023-02-13T04:13:33.161Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-228/archives ] [2023-02-13T04:13:33.161Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-228/archives [2023-02-13T04:13:33.161Z] total 16 [2023-02-13T04:13:33.161Z] drwxr-xr-x 3 root root 4096 Feb 13 04:08 . [2023-02-13T04:13:33.161Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 04:08 .. [2023-02-13T04:13:33.161Z] drwxr-xr-x 2 root root 4096 Feb 13 04:08 cost [2023-02-13T04:13:33.162Z] -rw-r--r-- 1 root root 91 Feb 13 04:08 cost.csv [2023-02-13T04:13:33.162Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-228/archives [2023-02-13T04:13:33.162Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-228/archives [2023-02-13T04:13:33.162Z] total 16 [2023-02-13T04:13:33.162Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 04:08 . [2023-02-13T04:13:33.162Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 04:08 .. [2023-02-13T04:13:33.162Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 04:08 cost [2023-02-13T04:13:33.162Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 13 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:33.484Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:34.376Z] ---> package-listing.sh [2023-02-13T04:13:34.376Z] ++ facter osfamily [2023-02-13T04:13:34.376Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T04:13:34.635Z] + OS_FAMILY=debian [2023-02-13T04:13:34.635Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-228 [2023-02-13T04:13:34.635Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T04:13:34.635Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T04:13:34.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T04:13:34.635Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T04:13:34.635Z] + '[' /w/workspace/undry_device-onvif-camera_PR-228 ']' [2023-02-13T04:13:34.635Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T04:13:34.635Z] + case "${OS_FAMILY}" in [2023-02-13T04:13:34.635Z] + dpkg -l [2023-02-13T04:13:34.635Z] + grep '^ii' [2023-02-13T04:13:34.636Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T04:13:34.636Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T04:13:34.636Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T04:13:34.636Z] + '[' /w/workspace/undry_device-onvif-camera_PR-228 ']' [2023-02-13T04:13:34.636Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-228/archives/ [2023-02-13T04:13:34.636Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-228/archives/ [Pipeline] echo [2023-02-13T04:13:34.670Z] 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/undry_device-onvif-camera_PR-228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T04:13:34.961Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:13:35.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:13:35.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:13:35.721Z] prd-ubuntu20.04-docker-8c-8g-5462 does not seem to be running inside a container [2023-02-13T04:13:35.752Z] $ 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/undry_device-onvif-camera_PR-228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-228 -v /w/workspace/undry_device-onvif-camera_PR-228:/w/workspace/undry_device-onvif-camera_PR-228:rw,z -v /w/workspace/undry_device-onvif-camera_PR-228@tmp:/w/workspace/undry_device-onvif-camera_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T04:13:35.955Z] $ docker top 7ea43602deddf75d3b483d7f5b72bee2b2b6f6d3e02b2abcbe9f5265080f8d71 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:13:36.336Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T04:13:36.646Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T04:13:36.953Z] + ls /var/log/sa-host [2023-02-13T04:13:36.953Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T04:13:37.087Z] provisioning config files... [2023-02-13T04:13:37.096Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-228@tmp/config492458328003984741tmp [Pipeline] { [Pipeline] echo [2023-02-13T04:13:37.143Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:37.459Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T04:13:37.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:37.885Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T04:13:37.918Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:38.230Z] ---> sudo-logs.sh [2023-02-13T04:13:38.230Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T04:13:38.311Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:38.623Z] ---> job-cost.sh [2023-02-13T04:13:38.623Z] lf-activate-venv: SKIPPING [2023-02-13T04:13:38.623Z] DEBUG: total: 0.2199999988079071 [2023-02-13T04:13:38.623Z] INFO: Retrieving Stack Cost... [2023-02-13T04:13:39.190Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T04:13:39.449Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T04:13:39.484Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:13:39.796Z] ---> logs-deploy.sh [2023-02-13T04:13:39.796Z] lf-activate-venv: SKIPPING [2023-02-13T04:13:39.796Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-228/1 [2023-02-13T04:13:39.796Z] INFO: archiving workspace using pattern(s): [2023-02-13T04:13:40.735Z] Archives upload complete. [2023-02-13T04:13:40.735Z] INFO: archiving logs to Nexus