Pull request #172 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than f38a481477b2af14cdf4ed3ed60998a429af99ef Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh14459749847905364178.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5372809557908220550.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11098325191301432506.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2627279519759883781.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15005586325092211719.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-7231 in /w/workspace/undry_device-onvif-camera_PR-172 [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-172 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f38a481477b2af14cdf4ed3ed60998a429af99ef Merge succeeded, producing f38a481477b2af14cdf4ed3ed60998a429af99ef Checking out Revision f38a481477b2af14cdf4ed3ed60998a429af99ef (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f f38a481477b2af14cdf4ed3ed60998a429af99ef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f38a481477b2af14cdf4ed3ed60998a429af99ef # timeout=10 Commit message: "Update onvifdiscovery.go" > git rev-list --no-walk 4896b7e1bf5e417d1c850a864d4dc7652e7a0c25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-06T02:20:31.255Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-06T02:20:31.319Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-06T02:20:31.336Z] ========================================================= [2022-10-06T02:20:31.336Z] EdgeX Global Pipelines Version Info [2022-10-06T02:20:31.336Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:20:32.042Z] ------------------- [2022-10-06T02:20:32.042Z] stable info: [2022-10-06T02:20:32.042Z] ------------------- [2022-10-06T02:20:32.042Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-06T02:20:32.042Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T02:20:32.042Z] Message: update stable to v1.0.239 [2022-10-06T02:20:32.613Z] ------------------- [2022-10-06T02:20:32.613Z] experimental info: [2022-10-06T02:20:32.614Z] ------------------- [2022-10-06T02:20:32.614Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-06T02:20:32.614Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T02:20:32.614Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-06T02:20:32.809Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-06T02:20:32.825Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-06T02:20:32.845Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-06T02:20:32.864Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-06T02:20:32.878Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-06T02:20:32.894Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-06T02:20:32.910Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-06T02:20:32.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-06T02:20:32.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-06T02:20:32.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-06T02:20:32.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-06T02:20:33.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-06T02:20:33.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-06T02:20:33.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-06T02:20:33.049Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T02:20:33.064Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T02:20:33.081Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T02:20:33.097Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T02:20:33.117Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-06T02:20:33.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-06T02:20:33.147Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-06T02:20:33.166Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-06T02:20:33.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-06T02:20:33.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-06T02:20:33.227Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-06T02:20:33.242Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-06T02:20:33.260Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-06T02:20:33.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-06T02:20:33.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-06T02:20:33.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-06T02:20:33.334Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f38a481477b2af14cdf4ed3ed60998a429af99ef [Pipeline] echo [2022-10-06T02:20:33.351Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f38a481 [Pipeline] echo [2022-10-06T02:20:33.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T02:20:33.417Z] provisioning config files... [2022-10-06T02:20:33.434Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config13053600300566568931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:20:34.266Z] ---> docker-login.sh [2022-10-06T02:20:34.266Z] nexus3.edgexfoundry.org:10001 [2022-10-06T02:20:34.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:34.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:34.802Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:34.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:34.802Z] [2022-10-06T02:20:34.802Z] Login Succeeded [2022-10-06T02:20:34.802Z] nexus3.edgexfoundry.org:10002 [2022-10-06T02:20:34.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:34.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:34.802Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:34.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:34.802Z] [2022-10-06T02:20:34.802Z] Login Succeeded [2022-10-06T02:20:34.802Z] nexus3.edgexfoundry.org:10003 [2022-10-06T02:20:34.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:35.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:35.063Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:35.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:35.063Z] [2022-10-06T02:20:35.063Z] Login Succeeded [2022-10-06T02:20:35.063Z] nexus3.edgexfoundry.org:10004 [2022-10-06T02:20:35.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:35.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:35.063Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:35.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:35.063Z] [2022-10-06T02:20:35.063Z] Login Succeeded [2022-10-06T02:20:35.063Z] docker.io [2022-10-06T02:20:35.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:35.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:35.635Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:35.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:35.635Z] [2022-10-06T02:20:35.635Z] Login Succeeded [2022-10-06T02:20:35.635Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T02:20:35.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-06T02:20:36.012Z] + git rev-list -1 --merges f38a481477b2af14cdf4ed3ed60998a429af99ef~1..f38a481477b2af14cdf4ed3ed60998a429af99ef [Pipeline] echo [2022-10-06T02:20:36.037Z] -----------> git rev-list -1 --merges f38a481477b2af14cdf4ed3ed60998a429af99ef~1..f38a481477b2af14cdf4ed3ed60998a429af99ef f38a481477b2af14cdf4ed3ed60998a429af99ef [false] [Pipeline] sh [2022-10-06T02:20:36.328Z] + git log --format=format:%s -1 f38a481477b2af14cdf4ed3ed60998a429af99ef [Pipeline] echo [2022-10-06T02:20:36.345Z] ========================================================= [2022-10-06T02:20:36.345Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-06T02:20:36.345Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T02:20:36.672Z] + git log --format=format:%s -1 f38a481477b2af14cdf4ed3ed60998a429af99ef [Pipeline] echo [2022-10-06T02:20:36.683Z] [semverPrep] GIT_COMMIT: f38a481477b2af14cdf4ed3ed60998a429af99ef, Commit Message: Update onvifdiscovery.go [Pipeline] echo [2022-10-06T02:20:36.692Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-06T02:20:37.105Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-06T02:20:37.106Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-06T02:20:37.106Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-06T02:20:37.106Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-06T02:20:37.106Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-06T02:20:37.106Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-06T02:20:37.106Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:20:37.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T02:20:37.562Z] [2022-10-06T02:20:37.562Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:20:37.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T02:20:37.871Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-06T02:20:37.871Z] b85a868b505f: Pulling fs layer [2022-10-06T02:20:37.871Z] e2be974225ed: Pulling fs layer [2022-10-06T02:20:37.871Z] 339a4e72a1f5: Pulling fs layer [2022-10-06T02:20:37.871Z] 988bab9f4d93: Pulling fs layer [2022-10-06T02:20:37.871Z] 1469e6f7b9e6: Pulling fs layer [2022-10-06T02:20:37.871Z] eaf3925da568: Pulling fs layer [2022-10-06T02:20:37.871Z] bab4dde63d76: Pulling fs layer [2022-10-06T02:20:37.871Z] bde34c3a00c8: Pulling fs layer [2022-10-06T02:20:37.871Z] b352a97aabf1: Pulling fs layer [2022-10-06T02:20:37.871Z] 4872d77fe225: Pulling fs layer [2022-10-06T02:20:37.871Z] 5851b861e8e6: Pulling fs layer [2022-10-06T02:20:37.871Z] 988bab9f4d93: Waiting [2022-10-06T02:20:37.871Z] 1469e6f7b9e6: Waiting [2022-10-06T02:20:37.871Z] eaf3925da568: Waiting [2022-10-06T02:20:37.871Z] bab4dde63d76: Waiting [2022-10-06T02:20:37.871Z] bde34c3a00c8: Waiting [2022-10-06T02:20:37.871Z] b352a97aabf1: Waiting [2022-10-06T02:20:37.871Z] 4872d77fe225: Waiting [2022-10-06T02:20:37.871Z] 5851b861e8e6: Waiting [2022-10-06T02:20:37.871Z] e2be974225ed: Verifying Checksum [2022-10-06T02:20:37.871Z] e2be974225ed: Download complete [2022-10-06T02:20:37.871Z] 988bab9f4d93: Verifying Checksum [2022-10-06T02:20:37.871Z] 988bab9f4d93: Download complete [2022-10-06T02:20:38.132Z] 1469e6f7b9e6: Verifying Checksum [2022-10-06T02:20:38.132Z] 1469e6f7b9e6: Download complete [2022-10-06T02:20:38.132Z] 339a4e72a1f5: Verifying Checksum [2022-10-06T02:20:38.132Z] 339a4e72a1f5: Download complete [2022-10-06T02:20:38.132Z] eaf3925da568: Download complete [2022-10-06T02:20:38.132Z] bde34c3a00c8: Verifying Checksum [2022-10-06T02:20:38.132Z] bde34c3a00c8: Download complete [2022-10-06T02:20:38.132Z] b352a97aabf1: Download complete [2022-10-06T02:20:38.132Z] 4872d77fe225: Verifying Checksum [2022-10-06T02:20:38.132Z] 4872d77fe225: Download complete [2022-10-06T02:20:38.132Z] 5851b861e8e6: Download complete [2022-10-06T02:20:38.132Z] b85a868b505f: Download complete [2022-10-06T02:20:38.392Z] bab4dde63d76: Verifying Checksum [2022-10-06T02:20:38.392Z] bab4dde63d76: Download complete [2022-10-06T02:20:39.772Z] b85a868b505f: Pull complete [2022-10-06T02:20:39.772Z] e2be974225ed: Pull complete [2022-10-06T02:20:40.030Z] 339a4e72a1f5: Pull complete [2022-10-06T02:20:40.289Z] 988bab9f4d93: Pull complete [2022-10-06T02:20:40.548Z] 1469e6f7b9e6: Pull complete [2022-10-06T02:20:40.548Z] eaf3925da568: Pull complete [2022-10-06T02:20:42.449Z] bab4dde63d76: Pull complete [2022-10-06T02:20:42.450Z] bde34c3a00c8: Pull complete [2022-10-06T02:20:42.708Z] b352a97aabf1: Pull complete [2022-10-06T02:20:42.708Z] 4872d77fe225: Pull complete [2022-10-06T02:20:42.708Z] 5851b861e8e6: Pull complete [2022-10-06T02:20:42.708Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-06T02:20:42.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T02:20:42.708Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:20:42.804Z] prd-ubuntu20.04-docker-8c-8g-7231 does not seem to be running inside a container [2022-10-06T02:20:42.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-06T02:20:44.353Z] $ docker top 2b14ef64917360900d60d0918fe89a62d9bced6b453d721eb99b7cb294a9b5d3 -eo pid,comm [2022-10-06T02:20:44.410Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-06T02:20:44.410Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-06T02:20:44.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T02:20:44.446Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T02:20:44.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T02:20:44.564Z] $ docker exec 2b14ef64917360900d60d0918fe89a62d9bced6b453d721eb99b7cb294a9b5d3 ssh-agent [2022-10-06T02:20:44.690Z] SSH_AUTH_SOCK=/tmp/ssh-WTU65JlYzpfS/agent.32 [2022-10-06T02:20:44.690Z] SSH_AGENT_PID=38 [2022-10-06T02:20:44.697Z] Running ssh-add (command line suppressed) [2022-10-06T02:20:44.809Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14744781724607420051.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_14744781724607420051.key) [2022-10-06T02:20:44.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T02:20:45.114Z] + git tag --points-at HEAD [Pipeline] } [2022-10-06T02:20:45.163Z] $ docker exec --env ******** --env ******** 2b14ef64917360900d60d0918fe89a62d9bced6b453d721eb99b7cb294a9b5d3 ssh-agent -k [2022-10-06T02:20:45.263Z] unset SSH_AUTH_SOCK; [2022-10-06T02:20:45.264Z] unset SSH_AGENT_PID; [2022-10-06T02:20:45.264Z] echo Agent pid 38 killed; [2022-10-06T02:20:45.273Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-06T02:20:45.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T02:20:45.299Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T02:20:45.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T02:20:45.437Z] $ docker exec 2b14ef64917360900d60d0918fe89a62d9bced6b453d721eb99b7cb294a9b5d3 ssh-agent [2022-10-06T02:20:45.551Z] SSH_AUTH_SOCK=/tmp/ssh-fLQpa8ol7RrJ/agent.70 [2022-10-06T02:20:45.551Z] SSH_AGENT_PID=76 [2022-10-06T02:20:45.557Z] Running ssh-add (command line suppressed) [2022-10-06T02:20:45.668Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_7968946253997086064.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_7968946253997086064.key) [2022-10-06T02:20:45.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T02:20:45.976Z] + git semver init [2022-10-06T02:20:46.236Z] 2022-10-06 02:20:46,191 [run_init] DEBUG init version:0.0.0 force:False [2022-10-06T02:20:46.236Z] 2022-10-06 02:20:46,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T02:20:46.236Z] 2022-10-06 02:20:46,193 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T02:20:46.236Z] 2022-10-06 02:20:46,194 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-06T02:20:47.177Z] 2022-10-06 02:20:47,177 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-06T02:20:47.177Z] 2022-10-06 02:20:47,178 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-06T02:20:47.439Z] 2022-10-06 02:20:47,178 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T02:20:47.439Z] 2022-10-06 02:20:47,182 [execute] INFO git cat-file --batch-check [2022-10-06T02:20:47.439Z] 2022-10-06 02:20:47,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T02:20:47.439Z] 2022-10-06 02:20:47,189 [execute] INFO git cat-file --batch [2022-10-06T02:20:47.439Z] 2022-10-06 02:20:47,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-06T02:20:47.439Z] 2022-10-06 02:20:47,195 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T02:20:47.439Z] 0.0.0 [Pipeline] } [2022-10-06T02:20:47.452Z] $ docker exec --env ******** --env ******** 2b14ef64917360900d60d0918fe89a62d9bced6b453d721eb99b7cb294a9b5d3 ssh-agent -k [2022-10-06T02:20:47.549Z] unset SSH_AUTH_SOCK; [2022-10-06T02:20:47.550Z] unset SSH_AGENT_PID; [2022-10-06T02:20:47.550Z] echo Agent pid 76 killed; [2022-10-06T02:20:47.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-06T02:20:47.875Z] + git semver [Pipeline] } [2022-10-06T02:20:48.152Z] $ docker stop --time=1 2b14ef64917360900d60d0918fe89a62d9bced6b453d721eb99b7cb294a9b5d3 [2022-10-06T02:20:49.541Z] $ docker rm -f 2b14ef64917360900d60d0918fe89a62d9bced6b453d721eb99b7cb294a9b5d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T02:20:49.883Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-06T02:20:50.096Z] Stashed 1 file(s) [Pipeline] echo [2022-10-06T02:20:50.100Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T02:20:50.265Z] provisioning config files... [2022-10-06T02:20:50.274Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2035437658536402579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:20:50.580Z] ---> docker-login.sh [2022-10-06T02:20:50.580Z] nexus3.edgexfoundry.org:10001 [2022-10-06T02:20:50.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:50.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:50.580Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:50.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:50.580Z] [2022-10-06T02:20:50.580Z] Login Succeeded [2022-10-06T02:20:50.580Z] nexus3.edgexfoundry.org:10002 [2022-10-06T02:20:50.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:50.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:50.580Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:50.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:50.580Z] [2022-10-06T02:20:50.580Z] Login Succeeded [2022-10-06T02:20:50.580Z] nexus3.edgexfoundry.org:10003 [2022-10-06T02:20:50.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:50.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:50.840Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:50.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:50.840Z] [2022-10-06T02:20:50.840Z] Login Succeeded [2022-10-06T02:20:50.840Z] nexus3.edgexfoundry.org:10004 [2022-10-06T02:20:50.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:50.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:50.840Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:50.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:50.840Z] [2022-10-06T02:20:50.840Z] Login Succeeded [2022-10-06T02:20:50.840Z] docker.io [2022-10-06T02:20:51.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:20:51.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:20:51.359Z] Configure a credential helper to remove this warning. See [2022-10-06T02:20:51.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:20:51.359Z] [2022-10-06T02:20:51.359Z] Login Succeeded [2022-10-06T02:20:51.359Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T02:20:51.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T02:20:51.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T02:20:51.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T02:20:51.468Z] ========================================================= [2022-10-06T02:20:51.468Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-06T02:20:51.468Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:20:51.786Z] + 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 . [2022-10-06T02:20:51.787Z] Sending build context to Docker daemon 20.96MB [2022-10-06T02:20:51.787Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T02:20:51.787Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T02:20:52.048Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-06T02:20:52.048Z] 2408cc74d12b: Pulling fs layer [2022-10-06T02:20:52.048Z] ea60b727a1ce: Pulling fs layer [2022-10-06T02:20:52.048Z] 30c4a7721957: Pulling fs layer [2022-10-06T02:20:52.048Z] 370296b7ddb6: Pulling fs layer [2022-10-06T02:20:52.048Z] 7c6cee850709: Pulling fs layer [2022-10-06T02:20:52.048Z] aa9baa53a306: Pulling fs layer [2022-10-06T02:20:52.048Z] 8b309c321861: Pulling fs layer [2022-10-06T02:20:52.048Z] d8d76fd02f46: Pulling fs layer [2022-10-06T02:20:52.048Z] fa31f396de31: Pulling fs layer [2022-10-06T02:20:52.048Z] aa9baa53a306: Waiting [2022-10-06T02:20:52.048Z] 8b309c321861: Waiting [2022-10-06T02:20:52.048Z] 370296b7ddb6: Waiting [2022-10-06T02:20:52.048Z] d8d76fd02f46: Waiting [2022-10-06T02:20:52.048Z] 7c6cee850709: Waiting [2022-10-06T02:20:52.048Z] fa31f396de31: Waiting [2022-10-06T02:20:52.048Z] 30c4a7721957: Verifying Checksum [2022-10-06T02:20:52.048Z] 30c4a7721957: Download complete [2022-10-06T02:20:52.048Z] ea60b727a1ce: Verifying Checksum [2022-10-06T02:20:52.048Z] ea60b727a1ce: Download complete [2022-10-06T02:20:52.048Z] 7c6cee850709: Download complete [2022-10-06T02:20:52.048Z] aa9baa53a306: Verifying Checksum [2022-10-06T02:20:52.048Z] aa9baa53a306: Download complete [2022-10-06T02:20:52.048Z] 2408cc74d12b: Verifying Checksum [2022-10-06T02:20:52.048Z] 2408cc74d12b: Download complete [2022-10-06T02:20:52.048Z] 8b309c321861: Download complete [2022-10-06T02:20:52.317Z] 2408cc74d12b: Pull complete [2022-10-06T02:20:52.317Z] ea60b727a1ce: Pull complete [2022-10-06T02:20:52.317Z] 30c4a7721957: Pull complete [2022-10-06T02:20:52.589Z] fa31f396de31: Verifying Checksum [2022-10-06T02:20:52.589Z] fa31f396de31: Download complete [2022-10-06T02:20:52.851Z] 370296b7ddb6: Verifying Checksum [2022-10-06T02:20:52.851Z] 370296b7ddb6: Download complete [2022-10-06T02:20:52.851Z] d8d76fd02f46: Download complete [2022-10-06T02:20:57.048Z] 370296b7ddb6: Pull complete [2022-10-06T02:20:57.048Z] 7c6cee850709: Pull complete [2022-10-06T02:20:57.048Z] aa9baa53a306: Pull complete [2022-10-06T02:20:57.308Z] 8b309c321861: Pull complete [2022-10-06T02:20:59.216Z] d8d76fd02f46: Pull complete [2022-10-06T02:21:00.154Z] fa31f396de31: Pull complete [2022-10-06T02:21:00.154Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-06T02:21:00.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-06T02:21:00.154Z] ---> cef68f9685f8 [2022-10-06T02:21:00.154Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T02:21:02.084Z] ---> Running in f38448cdc5c9 [2022-10-06T02:21:02.084Z] Removing intermediate container f38448cdc5c9 [2022-10-06T02:21:02.084Z] ---> 2c3b05b7649b [2022-10-06T02:21:02.084Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T02:21:02.346Z] ---> Running in 349ebf1ded9c [2022-10-06T02:21:02.346Z] Removing intermediate container 349ebf1ded9c [2022-10-06T02:21:02.346Z] ---> a1e7d71228c4 [2022-10-06T02:21:02.346Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T02:21:02.605Z] ---> Running in 880aaeaf637f [2022-10-06T02:21:02.605Z] Removing intermediate container 880aaeaf637f [2022-10-06T02:21:02.605Z] ---> 64ba4938853d [2022-10-06T02:21:02.605Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T02:21:02.605Z] ---> Running in 19c612d66dcb [2022-10-06T02:21:02.864Z] Removing intermediate container 19c612d66dcb [2022-10-06T02:21:02.864Z] ---> f97ce1f39f3e [2022-10-06T02:21:02.864Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T02:21:02.864Z] ---> Running in 2a2bc9e5a942 [2022-10-06T02:21:02.864Z] Removing intermediate container 2a2bc9e5a942 [2022-10-06T02:21:02.864Z] ---> 18b3b6f1abd9 [2022-10-06T02:21:02.864Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T02:21:03.123Z] ---> Running in 94efd265fcf5 [2022-10-06T02:21:03.693Z] Removing intermediate container 94efd265fcf5 [2022-10-06T02:21:03.693Z] ---> 55fa52ca81d0 [2022-10-06T02:21:03.693Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T02:21:03.693Z] ---> Running in 90401f4e7092 [2022-10-06T02:21:03.954Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T02:21:04.897Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T02:21:05.156Z] OK: 211 MiB in 51 packages [2022-10-06T02:21:05.228Z] Still waiting to schedule task [2022-10-06T02:21:05.228Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-06T02:21:05.732Z] Removing intermediate container 90401f4e7092 [2022-10-06T02:21:05.732Z] ---> 89dc6571956e [2022-10-06T02:21:05.732Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T02:21:05.732Z] ---> Running in 6516d3e617fc [2022-10-06T02:21:05.732Z] Removing intermediate container 6516d3e617fc [2022-10-06T02:21:05.732Z] ---> d0ca1886ad13 [2022-10-06T02:21:05.732Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T02:21:05.732Z] ---> 126c59afa14e [2022-10-06T02:21:05.732Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T02:21:05.991Z] ---> Running in 7cb770fab39b [2022-10-06T02:21:24.075Z] Removing intermediate container 7cb770fab39b [2022-10-06T02:21:24.075Z] ---> be4750641ddb [2022-10-06T02:21:24.075Z] Step 13/14 : COPY . . [2022-10-06T02:21:24.075Z] ---> ac81550f8afa [2022-10-06T02:21:24.075Z] Step 14/14 : RUN ${MAKE} [2022-10-06T02:21:24.075Z] ---> Running in 06028c7fce4f [2022-10-06T02:21:24.075Z] noop [2022-10-06T02:21:24.075Z] Removing intermediate container 06028c7fce4f [2022-10-06T02:21:24.075Z] ---> a353e40d449b [2022-10-06T02:21:24.075Z] Successfully built a353e40d449b [2022-10-06T02:21:24.075Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:21:24.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T02:21:24.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:21:24.478Z] prd-ubuntu20.04-docker-8c-8g-7231 does not seem to be running inside a container [2022-10-06T02:21:24.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-06T02:21:24.928Z] $ docker top 11bf4cf7e02a88fe33cc75065510cfeb243c11708cc18de8dbfc11b13ae68991 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T02:21:25.265Z] + go version [2022-10-06T02:21:25.265Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-06T02:21:25.276Z] $ docker stop --time=1 11bf4cf7e02a88fe33cc75065510cfeb243c11708cc18de8dbfc11b13ae68991 [2022-10-06T02:21:26.554Z] $ docker rm -f 11bf4cf7e02a88fe33cc75065510cfeb243c11708cc18de8dbfc11b13ae68991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:21:26.955Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T02:21:26.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:21:27.024Z] prd-ubuntu20.04-docker-8c-8g-7231 does not seem to be running inside a container [2022-10-06T02:21:27.057Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-06T02:21:27.403Z] $ docker top 17bb786fee3476696d0f722dbba9c37f1ace45a38376458234c1cf34468fd843 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T02:21:27.746Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-06T02:21:28.047Z] + make test [2022-10-06T02:21:28.048Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T02:21:28.307Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T02:21:38.281Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T02:21:38.848Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 28.2% of statements [2022-10-06T02:21:38.848Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T02:21:39.108Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.122s coverage: 86.5% of statements [2022-10-06T02:21:45.674Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-06T02:21:45.674Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T02:21:48.959Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T02:21:48.959Z] ./internal/driver/onvifdiscovery.go [2022-10-06T02:21:48.959Z] ./internal/driver/driver.go [2022-10-06T02:21:48.959Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T02:21:48.959Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T02:21:48.976Z] $ docker stop --time=1 17bb786fee3476696d0f722dbba9c37f1ace45a38376458234c1cf34468fd843 [2022-10-06T02:21:50.922Z] $ docker rm -f 17bb786fee3476696d0f722dbba9c37f1ace45a38376458234c1cf34468fd843 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:21:51.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T02:21:51.471Z] [2022-10-06T02:21:51.471Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:21:51.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T02:21:51.761Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-06T02:21:51.761Z] 5eb5b503b376: Pulling fs layer [2022-10-06T02:21:51.761Z] 5c69ac0246d0: Pulling fs layer [2022-10-06T02:21:51.761Z] ec43610c2a17: Pulling fs layer [2022-10-06T02:21:51.761Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-06T02:21:51.761Z] 33b1e0a273af: Pulling fs layer [2022-10-06T02:21:51.761Z] 5d3b04190fa2: Pulling fs layer [2022-10-06T02:21:51.761Z] 2f39f015ded8: Pulling fs layer [2022-10-06T02:21:51.761Z] 33b1e0a273af: Waiting [2022-10-06T02:21:51.761Z] 5d3b04190fa2: Waiting [2022-10-06T02:21:51.761Z] 2f39f015ded8: Waiting [2022-10-06T02:21:51.761Z] 3a2ae6a8a46f: Waiting [2022-10-06T02:21:51.761Z] 5c69ac0246d0: Verifying Checksum [2022-10-06T02:21:51.761Z] 5c69ac0246d0: Download complete [2022-10-06T02:21:51.761Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-06T02:21:51.761Z] 3a2ae6a8a46f: Download complete [2022-10-06T02:21:52.020Z] 33b1e0a273af: Verifying Checksum [2022-10-06T02:21:52.020Z] 33b1e0a273af: Download complete [2022-10-06T02:21:52.020Z] 5d3b04190fa2: Download complete [2022-10-06T02:21:52.020Z] ec43610c2a17: Verifying Checksum [2022-10-06T02:21:52.020Z] ec43610c2a17: Download complete [2022-10-06T02:21:52.020Z] 5eb5b503b376: Verifying Checksum [2022-10-06T02:21:52.020Z] 5eb5b503b376: Download complete [2022-10-06T02:21:52.955Z] 2f39f015ded8: Download complete [2022-10-06T02:21:53.213Z] 5eb5b503b376: Pull complete [2022-10-06T02:21:53.213Z] 5c69ac0246d0: Pull complete [2022-10-06T02:21:53.778Z] ec43610c2a17: Pull complete [2022-10-06T02:21:53.778Z] 3a2ae6a8a46f: Pull complete [2022-10-06T02:21:54.037Z] 33b1e0a273af: Pull complete [2022-10-06T02:21:54.037Z] 5d3b04190fa2: Pull complete [2022-10-06T02:21:58.225Z] 2f39f015ded8: Pull complete [2022-10-06T02:21:58.225Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-06T02:21:58.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T02:21:58.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:21:58.312Z] prd-ubuntu20.04-docker-8c-8g-7231 does not seem to be running inside a container [2022-10-06T02:21:58.342Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T02:22:00.221Z] $ docker top f7ab5441d0b76a33f8b69e025e1e365e6b70dd3a89327e32d83eb4031cced3ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:22:00.624Z] ---> job-cost.sh [2022-10-06T02:22:00.625Z] lf-activate-venv: SKIPPING [2022-10-06T02:22:00.625Z] INFO: No Stack... [2022-10-06T02:22:00.885Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T02:22:01.456Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T02:22:01.753Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-06T02:22:01.753Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T02:22:01.766Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] [2022-10-06T02:22:01.772Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] did not exist. Created. [2022-10-06T02:22:01.772Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T02:22:02.068Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-06T02:22:02.100Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T02:22:02.107Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T02:22:02.132Z] $ docker stop --time=1 f7ab5441d0b76a33f8b69e025e1e365e6b70dd3a89327e32d83eb4031cced3ef [2022-10-06T02:22:03.319Z] $ docker rm -f f7ab5441d0b76a33f8b69e025e1e365e6b70dd3a89327e32d83eb4031cced3ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T02:22:03.436Z] Failed in branch amd64 [2022-10-06T02:22:39.145Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7232 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-06T02:22:39.155Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-10-06T02:22:39.193Z] The recommended git tool is: git [2022-10-06T02:22:43.933Z] using credential edgex-jenkins-ssh [2022-10-06T02:22:43.954Z] Cloning the remote Git repository [2022-10-06T02:22:44.000Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T02:22:44.065Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-10-06T02:22:44.198Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T02:22:44.199Z] > git --version # timeout=10 [2022-10-06T02:22:44.220Z] > git --version # 'git version 2.25.1' [2022-10-06T02:22:44.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T02:22:44.272Z] Verifying host key using known hosts file [2022-10-06T02:22:44.453Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T02:22:44.469Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T02:22:45.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T02:22:45.695Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T02:22:46.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T02:22:47.223Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit f38a481477b2af14cdf4ed3ed60998a429af99ef [2022-10-06T02:22:47.580Z] Merge succeeded, producing f38a481477b2af14cdf4ed3ed60998a429af99ef [2022-10-06T02:22:47.581Z] Checking out Revision f38a481477b2af14cdf4ed3ed60998a429af99ef (PR-172) [2022-10-06T02:22:46.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T02:22:46.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T02:22:46.572Z] Verifying host key using known hosts file [2022-10-06T02:22:46.578Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T02:22:46.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-06T02:22:47.238Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T02:22:47.259Z] > git checkout -f f38a481477b2af14cdf4ed3ed60998a429af99ef # timeout=10 [2022-10-06T02:22:47.480Z] > git remote # timeout=10 [2022-10-06T02:22:47.497Z] > git config --get remote.origin.url # timeout=10 [2022-10-06T02:22:47.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T02:22:47.522Z] Verifying host key using known hosts file [2022-10-06T02:22:47.525Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-06T02:22:47.535Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-06T02:22:47.559Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-06T02:22:47.583Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T02:22:47.596Z] > git checkout -f f38a481477b2af14cdf4ed3ed60998a429af99ef # timeout=10 [2022-10-06T02:22:51.274Z] Commit message: "Update onvifdiscovery.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T02:22:52.244Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-06T02:22:52.244Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T02:22:52.244Z] Dload Upload Total Spent Left Speed [2022-10-06T02:22:52.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh [2022-10-06T02:22:52.939Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-06T02:22:53.272Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-06T02:22:53.272Z] + sudo tee /etc/docker/daemon.new [2022-10-06T02:22:53.272Z] { [2022-10-06T02:22:53.272Z] "registry-mirrors": [ [2022-10-06T02:22:53.272Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-06T02:22:53.272Z] ], [2022-10-06T02:22:53.272Z] "bip": "10.250.0.254/24", [2022-10-06T02:22:53.272Z] "hosts": [ [2022-10-06T02:22:53.272Z] "tcp://0.0.0.0:5555", [2022-10-06T02:22:53.272Z] "unix:///var/run/docker.sock" [2022-10-06T02:22:53.272Z] ], [2022-10-06T02:22:53.272Z] "mtu": 1458, [2022-10-06T02:22:53.272Z] "selinux-enabled": true, [2022-10-06T02:22:53.272Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-06T02:22:53.272Z] } [Pipeline] sh [2022-10-06T02:22:53.597Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-06T02:22:53.935Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T02:23:12.198Z] provisioning config files... [2022-10-06T02:23:12.226Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config4632272153661075866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:23:12.580Z] ---> docker-login.sh [2022-10-06T02:23:12.580Z] nexus3.edgexfoundry.org:10001 [2022-10-06T02:23:13.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:23:13.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:23:13.175Z] Configure a credential helper to remove this warning. See [2022-10-06T02:23:13.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:23:13.175Z] [2022-10-06T02:23:13.175Z] Login Succeeded [2022-10-06T02:23:13.175Z] nexus3.edgexfoundry.org:10002 [2022-10-06T02:23:13.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:23:13.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:23:13.717Z] Configure a credential helper to remove this warning. See [2022-10-06T02:23:13.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:23:13.717Z] [2022-10-06T02:23:13.717Z] Login Succeeded [2022-10-06T02:23:13.717Z] nexus3.edgexfoundry.org:10003 [2022-10-06T02:23:13.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:23:13.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:23:13.989Z] Configure a credential helper to remove this warning. See [2022-10-06T02:23:13.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:23:13.989Z] [2022-10-06T02:23:13.989Z] Login Succeeded [2022-10-06T02:23:13.989Z] nexus3.edgexfoundry.org:10004 [2022-10-06T02:23:14.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:23:14.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:23:14.260Z] Configure a credential helper to remove this warning. See [2022-10-06T02:23:14.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:23:14.260Z] [2022-10-06T02:23:14.260Z] Login Succeeded [2022-10-06T02:23:14.260Z] docker.io [2022-10-06T02:23:14.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T02:23:15.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T02:23:15.118Z] Configure a credential helper to remove this warning. See [2022-10-06T02:23:15.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T02:23:15.118Z] [2022-10-06T02:23:15.118Z] Login Succeeded [2022-10-06T02:23:15.118Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T02:23:15.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T02:23:15.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T02:23:15.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T02:23:15.302Z] ========================================================= [2022-10-06T02:23:15.302Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-06T02:23:15.302Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:23:15.646Z] + 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 . [2022-10-06T02:23:16.239Z] Sending build context to Docker daemon 14.38MB [2022-10-06T02:23:16.239Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T02:23:16.239Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T02:23:16.239Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-06T02:23:16.239Z] b3c136eddcbf: Pulling fs layer [2022-10-06T02:23:16.239Z] c0a3192eca97: Pulling fs layer [2022-10-06T02:23:16.239Z] a050256f5b6f: Pulling fs layer [2022-10-06T02:23:16.239Z] 656be50a0ddc: Pulling fs layer [2022-10-06T02:23:16.239Z] 2bbca73fdf42: Pulling fs layer [2022-10-06T02:23:16.239Z] f607e4fc86c3: Pulling fs layer [2022-10-06T02:23:16.239Z] 4d572c569a2c: Pulling fs layer [2022-10-06T02:23:16.239Z] fcf976331f73: Pulling fs layer [2022-10-06T02:23:16.239Z] f607e4fc86c3: Waiting [2022-10-06T02:23:16.239Z] 4d572c569a2c: Waiting [2022-10-06T02:23:16.239Z] fcf976331f73: Waiting [2022-10-06T02:23:16.239Z] 656be50a0ddc: Waiting [2022-10-06T02:23:16.239Z] 2bbca73fdf42: Waiting [2022-10-06T02:23:16.239Z] a050256f5b6f: Verifying Checksum [2022-10-06T02:23:16.239Z] a050256f5b6f: Download complete [2022-10-06T02:23:16.239Z] c0a3192eca97: Verifying Checksum [2022-10-06T02:23:16.239Z] c0a3192eca97: Download complete [2022-10-06T02:23:16.239Z] 2bbca73fdf42: Verifying Checksum [2022-10-06T02:23:16.239Z] 2bbca73fdf42: Download complete [2022-10-06T02:23:16.239Z] f607e4fc86c3: Verifying Checksum [2022-10-06T02:23:16.239Z] f607e4fc86c3: Download complete [2022-10-06T02:23:16.510Z] b3c136eddcbf: Verifying Checksum [2022-10-06T02:23:16.510Z] b3c136eddcbf: Download complete [2022-10-06T02:23:17.500Z] b3c136eddcbf: Pull complete [2022-10-06T02:23:17.500Z] fcf976331f73: Verifying Checksum [2022-10-06T02:23:17.500Z] fcf976331f73: Download complete [2022-10-06T02:23:17.772Z] c0a3192eca97: Pull complete [2022-10-06T02:23:18.053Z] a050256f5b6f: Pull complete [2022-10-06T02:23:18.641Z] 4d572c569a2c: Download complete [2022-10-06T02:23:19.232Z] 656be50a0ddc: Download complete [2022-10-06T02:23:31.567Z] 656be50a0ddc: Pull complete [2022-10-06T02:23:31.567Z] 2bbca73fdf42: Pull complete [2022-10-06T02:23:31.567Z] f607e4fc86c3: Pull complete [2022-10-06T02:23:38.239Z] 4d572c569a2c: Pull complete [2022-10-06T02:23:39.204Z] fcf976331f73: Pull complete [2022-10-06T02:23:39.204Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-06T02:23:39.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-06T02:23:39.204Z] ---> 3970a7415f9e [2022-10-06T02:23:39.204Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T02:23:41.154Z] ---> Running in 53a01538e268 [2022-10-06T02:23:41.421Z] Removing intermediate container 53a01538e268 [2022-10-06T02:23:41.421Z] ---> c48851343379 [2022-10-06T02:23:41.421Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T02:23:41.421Z] ---> Running in 0fe549b09475 [2022-10-06T02:23:41.692Z] Removing intermediate container 0fe549b09475 [2022-10-06T02:23:41.692Z] ---> 05191c44ec77 [2022-10-06T02:23:41.692Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T02:23:41.693Z] ---> Running in cc6d5a165635 [2022-10-06T02:23:41.961Z] Removing intermediate container cc6d5a165635 [2022-10-06T02:23:41.961Z] ---> 94ee52445e57 [2022-10-06T02:23:41.961Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T02:23:42.232Z] ---> Running in 9fe06324fb80 [2022-10-06T02:23:42.501Z] Removing intermediate container 9fe06324fb80 [2022-10-06T02:23:42.501Z] ---> b537adb9499e [2022-10-06T02:23:42.501Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T02:23:42.501Z] ---> Running in 0ef6e53ef173 [2022-10-06T02:23:42.779Z] Removing intermediate container 0ef6e53ef173 [2022-10-06T02:23:42.779Z] ---> 067356f53888 [2022-10-06T02:23:42.779Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T02:23:42.779Z] ---> Running in 015317688c22 [2022-10-06T02:23:44.734Z] Removing intermediate container 015317688c22 [2022-10-06T02:23:44.734Z] ---> 61510b347232 [2022-10-06T02:23:44.734Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T02:23:44.734Z] ---> Running in 69e6dba84d2b [2022-10-06T02:23:45.693Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T02:23:46.658Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T02:23:47.246Z] OK: 221 MiB in 51 packages [2022-10-06T02:23:48.658Z] Removing intermediate container 69e6dba84d2b [2022-10-06T02:23:48.658Z] ---> 37bd82686787 [2022-10-06T02:23:48.658Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T02:23:48.658Z] ---> Running in 5291279c67ce [2022-10-06T02:23:48.928Z] Removing intermediate container 5291279c67ce [2022-10-06T02:23:48.928Z] ---> 10e399045289 [2022-10-06T02:23:48.928Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T02:23:49.514Z] ---> 4e0867521788 [2022-10-06T02:23:49.514Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T02:23:49.514Z] ---> Running in e2f8db9c7b48 [2022-10-06T02:24:45.946Z] Removing intermediate container e2f8db9c7b48 [2022-10-06T02:24:45.946Z] ---> ff3cacc40cf7 [2022-10-06T02:24:45.946Z] Step 13/14 : COPY . . [2022-10-06T02:24:45.946Z] ---> 1f5bc720ad53 [2022-10-06T02:24:45.946Z] Step 14/14 : RUN ${MAKE} [2022-10-06T02:24:45.946Z] ---> Running in 57e524de0ae6 [2022-10-06T02:24:45.946Z] noop [2022-10-06T02:24:45.946Z] Removing intermediate container 57e524de0ae6 [2022-10-06T02:24:45.946Z] ---> 6b48f0481705 [2022-10-06T02:24:45.946Z] Successfully built 6b48f0481705 [2022-10-06T02:24:45.946Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:24:46.292Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T02:24:46.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:24:46.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-7232 does not seem to be running inside a container [2022-10-06T02:24:46.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T02:24:47.752Z] $ docker top 9cc5524e1ca315c089176b0446afaa8aa6dd72ed836533a8a1af7a84ed2a3519 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T02:24:48.572Z] + go version [2022-10-06T02:24:48.572Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-06T02:24:48.589Z] $ docker stop --time=1 9cc5524e1ca315c089176b0446afaa8aa6dd72ed836533a8a1af7a84ed2a3519 [2022-10-06T02:24:50.210Z] $ docker rm -f 9cc5524e1ca315c089176b0446afaa8aa6dd72ed836533a8a1af7a84ed2a3519 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:24:50.756Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T02:24:50.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:24:50.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-7232 does not seem to be running inside a container [2022-10-06T02:24:50.995Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T02:24:52.096Z] $ docker top da9f9c1b530becb836e0c9a6a41c95e3ac995376b31e76a89a0ebc849a86ed5e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T02:24:52.593Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-10-06T02:24:52.925Z] + make test [2022-10-06T02:24:52.925Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T02:24:54.883Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T02:26:31.546Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T02:26:31.546Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.201s coverage: 28.2% of statements [2022-10-06T02:26:31.546Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T02:26:53.608Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.264s coverage: 86.5% of statements [2022-10-06T02:26:53.608Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-06T02:26:53.608Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T02:27:20.304Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T02:27:20.304Z] ./internal/driver/onvifdiscovery.go [2022-10-06T02:27:20.304Z] ./internal/driver/driver.go [2022-10-06T02:27:20.304Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T02:27:20.304Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T02:27:20.321Z] $ docker stop --time=1 da9f9c1b530becb836e0c9a6a41c95e3ac995376b31e76a89a0ebc849a86ed5e [2022-10-06T02:27:22.102Z] $ docker rm -f da9f9c1b530becb836e0c9a6a41c95e3ac995376b31e76a89a0ebc849a86ed5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:27:23.171Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T02:27:23.171Z] [2022-10-06T02:27:23.171Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:27:23.500Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T02:27:23.771Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-06T02:27:23.771Z] 8998bd30e6a1: Pulling fs layer [2022-10-06T02:27:23.771Z] 04944245beec: Pulling fs layer [2022-10-06T02:27:23.771Z] 699f458cf7ca: Pulling fs layer [2022-10-06T02:27:23.771Z] 765212b225bb: Pulling fs layer [2022-10-06T02:27:23.771Z] f23df028b6ca: Pulling fs layer [2022-10-06T02:27:23.771Z] d65c8cfc05b1: Pulling fs layer [2022-10-06T02:27:23.771Z] 2437ff75d9bd: Pulling fs layer [2022-10-06T02:27:23.771Z] f23df028b6ca: Waiting [2022-10-06T02:27:23.771Z] d65c8cfc05b1: Waiting [2022-10-06T02:27:23.771Z] 2437ff75d9bd: Waiting [2022-10-06T02:27:23.771Z] 765212b225bb: Waiting [2022-10-06T02:27:23.771Z] 04944245beec: Verifying Checksum [2022-10-06T02:27:23.771Z] 04944245beec: Download complete [2022-10-06T02:27:23.771Z] 765212b225bb: Verifying Checksum [2022-10-06T02:27:23.771Z] 765212b225bb: Download complete [2022-10-06T02:27:24.038Z] f23df028b6ca: Verifying Checksum [2022-10-06T02:27:24.038Z] f23df028b6ca: Download complete [2022-10-06T02:27:24.038Z] d65c8cfc05b1: Verifying Checksum [2022-10-06T02:27:24.038Z] d65c8cfc05b1: Download complete [2022-10-06T02:27:24.038Z] 699f458cf7ca: Verifying Checksum [2022-10-06T02:27:24.038Z] 699f458cf7ca: Download complete [2022-10-06T02:27:24.621Z] 8998bd30e6a1: Verifying Checksum [2022-10-06T02:27:24.621Z] 8998bd30e6a1: Download complete [2022-10-06T02:27:27.195Z] 2437ff75d9bd: Verifying Checksum [2022-10-06T02:27:27.195Z] 2437ff75d9bd: Download complete [2022-10-06T02:27:29.772Z] 8998bd30e6a1: Pull complete [2022-10-06T02:27:30.041Z] 04944245beec: Pull complete [2022-10-06T02:27:33.387Z] 699f458cf7ca: Pull complete [2022-10-06T02:27:33.387Z] 765212b225bb: Pull complete [2022-10-06T02:27:33.967Z] f23df028b6ca: Pull complete [2022-10-06T02:27:34.240Z] d65c8cfc05b1: Pull complete [2022-10-06T02:27:52.453Z] 2437ff75d9bd: Pull complete [2022-10-06T02:27:52.453Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-06T02:27:52.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T02:27:52.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:27:52.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-7232 does not seem to be running inside a container [2022-10-06T02:27:52.889Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-06T02:27:54.661Z] $ docker top c0a9a49d6031f371e66b3e3153c80d0bc60263ed4a367473220d3a6321cfddec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:27:55.529Z] ---> job-cost.sh [2022-10-06T02:27:55.529Z] lf-activate-venv: SKIPPING [2022-10-06T02:27:55.529Z] INFO: No Stack... [2022-10-06T02:27:56.133Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-06T02:27:57.108Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T02:27:57.794Z] + cat /w/workspace/device-onvif-camera/6/archives/cost.csv [2022-10-06T02:27:57.794Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T02:27:57.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] [2022-10-06T02:27:57.865Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] did not exist. Created. [2022-10-06T02:27:57.866Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T02:27:58.519Z] /w/workspace/device-onvif-camera/6@tmp/durable-2d68961a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-06T02:27:58.846Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-06T02:27:58.865Z] Warning: overwriting stash ‘stack-cost’ [2022-10-06T02:27:59.222Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T02:27:59.228Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T02:27:59.242Z] $ docker stop --time=1 c0a9a49d6031f371e66b3e3153c80d0bc60263ed4a367473220d3a6321cfddec [2022-10-06T02:28:00.709Z] $ docker rm -f c0a9a49d6031f371e66b3e3153c80d0bc60263ed4a367473220d3a6321cfddec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T02:28:00.929Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-06T02:28:01.629Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-06T02:28:01.629Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T02:28:01.629Z] total 16 [2022-10-06T02:28:01.629Z] drwxr-xr-x 3 root root 4096 Oct 6 02:22 . [2022-10-06T02:28:01.629Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 02:22 .. [2022-10-06T02:28:01.629Z] drwxr-xr-x 2 root root 4096 Oct 6 02:22 cost [2022-10-06T02:28:01.629Z] -rw-r--r-- 1 root root 91 Oct 6 02:22 cost.csv [2022-10-06T02:28:01.629Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T02:28:01.629Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T02:28:01.629Z] total 16 [2022-10-06T02:28:01.629Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 02:22 . [2022-10-06T02:28:01.629Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 02:22 .. [2022-10-06T02:28:01.629Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 02:22 cost [2022-10-06T02:28:01.629Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 6 02:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:28:01.920Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:28:02.780Z] ---> package-listing.sh [2022-10-06T02:28:02.780Z] ++ facter osfamily [2022-10-06T02:28:02.780Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-06T02:28:03.038Z] + OS_FAMILY=debian [2022-10-06T02:28:03.038Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-06T02:28:03.038Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-06T02:28:03.038Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-06T02:28:03.038Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-06T02:28:03.038Z] + PACKAGES=/tmp/packages_start.txt [2022-10-06T02:28:03.038Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T02:28:03.038Z] + PACKAGES=/tmp/packages_end.txt [2022-10-06T02:28:03.038Z] + case "${OS_FAMILY}" in [2022-10-06T02:28:03.038Z] + dpkg -l [2022-10-06T02:28:03.038Z] + grep '^ii' [2022-10-06T02:28:03.038Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-06T02:28:03.038Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-06T02:28:03.038Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-06T02:28:03.038Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T02:28:03.038Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-06T02:28:03.038Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-06T02:28:03.048Z] 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-06T02:28:03.326Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T02:28:03.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T02:28:03.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T02:28:03.957Z] prd-ubuntu20.04-docker-8c-8g-7231 does not seem to be running inside a container [2022-10-06T02:28:04.098Z] $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T02:28:04.317Z] $ docker top 53f6f97e5c64295bf58166263966a237234b3b99618b48246df85b7ad2866944 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T02:28:04.737Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-06T02:28:05.053Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-06T02:28:05.338Z] + ls /var/log/sa-host [2022-10-06T02:28:05.338Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T02:28:05.488Z] provisioning config files... [2022-10-06T02:28:05.497Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config8041108352767802500tmp [Pipeline] { [Pipeline] echo [2022-10-06T02:28:05.514Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:28:05.797Z] ---> create-netrc.sh [Pipeline] } [2022-10-06T02:28:05.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:28:06.130Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-06T02:28:06.138Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:28:06.419Z] ---> sudo-logs.sh [2022-10-06T02:28:06.419Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-06T02:28:06.448Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:28:06.730Z] ---> job-cost.sh [2022-10-06T02:28:06.730Z] lf-activate-venv: SKIPPING [2022-10-06T02:28:06.730Z] DEBUG: total: 0.2199999988079071 [2022-10-06T02:28:06.730Z] INFO: Retrieving Stack Cost... [2022-10-06T02:28:06.989Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T02:28:07.556Z] INFO: Archiving Costs [Pipeline] echo [2022-10-06T02:28:07.565Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T02:28:07.843Z] ---> logs-deploy.sh [2022-10-06T02:28:07.843Z] lf-activate-venv: SKIPPING [2022-10-06T02:28:07.843Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/6 [2022-10-06T02:28:07.843Z] INFO: archiving workspace using pattern(s): [2022-10-06T02:28:08.777Z] Archives upload complete. [2022-10-06T02:28:08.777Z] INFO: archiving logs to Nexus