Pull request #172 updated 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 c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 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-ssh17940112936992620678.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-ssh17313447423457217934.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-ssh12722217848172662709.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-ssh7506553559254917661.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-ssh9483174386175970411.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7222 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 c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 Merge succeeded, producing c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 Checking out Revision c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 # 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 c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 # timeout=10 Commit message: "Update driver.go" > git rev-list --no-walk 00390c5193602e0a0613b5ae301e8851446d9856 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-06T01:39:04.255Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-06T01:39:04.320Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-06T01:39:04.336Z] ========================================================= [2022-10-06T01:39:04.336Z] EdgeX Global Pipelines Version Info [2022-10-06T01:39:04.336Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:39:05.052Z] ------------------- [2022-10-06T01:39:05.052Z] stable info: [2022-10-06T01:39:05.052Z] ------------------- [2022-10-06T01:39:05.052Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-06T01:39:05.052Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T01:39:05.052Z] Message: update stable to v1.0.239 [2022-10-06T01:39:05.626Z] ------------------- [2022-10-06T01:39:05.626Z] experimental info: [2022-10-06T01:39:05.626Z] ------------------- [2022-10-06T01:39:05.626Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-06T01:39:05.626Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-06T01:39:05.626Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-06T01:39:05.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-06T01:39:05.774Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-06T01:39:05.795Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-06T01:39:05.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-06T01:39:05.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-06T01:39:05.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-06T01:39:05.851Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-06T01:39:05.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-06T01:39:05.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-06T01:39:05.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-06T01:39:05.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-06T01:39:05.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-06T01:39:05.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-06T01:39:05.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-06T01:39:05.973Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T01:39:05.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-06T01:39:06.002Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T01:39:06.018Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-06T01:39:06.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-06T01:39:06.046Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-06T01:39:06.057Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-06T01:39:06.074Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-06T01:39:06.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-06T01:39:06.105Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-06T01:39:06.124Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-06T01:39:06.140Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-06T01:39:06.157Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-06T01:39:06.165Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-06T01:39:06.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-06T01:39:06.196Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-06T01:39:06.213Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 [Pipeline] echo [2022-10-06T01:39:06.223Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9496bc [Pipeline] echo [2022-10-06T01:39:06.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:39:06.275Z] provisioning config files... [2022-10-06T01:39:06.289Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2726608053191801093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:39:06.591Z] ---> docker-login.sh [2022-10-06T01:39:06.591Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:39:06.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:06.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:06.852Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:06.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:06.852Z] [2022-10-06T01:39:06.852Z] Login Succeeded [2022-10-06T01:39:06.852Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:39:06.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:06.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:06.852Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:06.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:06.852Z] [2022-10-06T01:39:06.852Z] Login Succeeded [2022-10-06T01:39:06.852Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:39:07.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:07.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:07.112Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:07.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:07.112Z] [2022-10-06T01:39:07.112Z] Login Succeeded [2022-10-06T01:39:07.112Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:39:07.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:07.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:07.112Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:07.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:07.112Z] [2022-10-06T01:39:07.112Z] Login Succeeded [2022-10-06T01:39:07.112Z] docker.io [2022-10-06T01:39:07.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:07.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:07.632Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:07.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:07.632Z] [2022-10-06T01:39:07.632Z] Login Succeeded [2022-10-06T01:39:07.632Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:39:07.639Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-06T01:39:08.027Z] + git rev-list -1 --merges c9496bc4cc87a6fbe041a8b97f4edecc3593dca5~1..c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 [Pipeline] echo [2022-10-06T01:39:08.055Z] -----------> git rev-list -1 --merges c9496bc4cc87a6fbe041a8b97f4edecc3593dca5~1..c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 [false] [Pipeline] sh [2022-10-06T01:39:08.343Z] + git log --format=format:%s -1 c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 [Pipeline] echo [2022-10-06T01:39:08.357Z] ========================================================= [2022-10-06T01:39:08.357Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-06T01:39:08.357Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T01:39:08.681Z] + git log --format=format:%s -1 c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 [Pipeline] echo [2022-10-06T01:39:08.691Z] [semverPrep] GIT_COMMIT: c9496bc4cc87a6fbe041a8b97f4edecc3593dca5, Commit Message: Update driver.go [Pipeline] echo [2022-10-06T01:39:08.701Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-06T01:39:09.111Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-06T01:39:09.111Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-06T01:39:09.111Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-06T01:39:09.111Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-06T01:39:09.111Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-06T01:39:09.111Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-06T01:39:09.111Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:39:09.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:39:09.454Z] [2022-10-06T01:39:09.454Z] 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-06T01:39:09.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:39:09.768Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-06T01:39:09.768Z] b85a868b505f: Pulling fs layer [2022-10-06T01:39:09.768Z] e2be974225ed: Pulling fs layer [2022-10-06T01:39:09.768Z] 339a4e72a1f5: Pulling fs layer [2022-10-06T01:39:09.768Z] 988bab9f4d93: Pulling fs layer [2022-10-06T01:39:09.768Z] 1469e6f7b9e6: Pulling fs layer [2022-10-06T01:39:09.768Z] eaf3925da568: Pulling fs layer [2022-10-06T01:39:09.768Z] bab4dde63d76: Pulling fs layer [2022-10-06T01:39:09.768Z] bde34c3a00c8: Pulling fs layer [2022-10-06T01:39:09.768Z] b352a97aabf1: Pulling fs layer [2022-10-06T01:39:09.768Z] 4872d77fe225: Pulling fs layer [2022-10-06T01:39:09.768Z] 5851b861e8e6: Pulling fs layer [2022-10-06T01:39:09.768Z] eaf3925da568: Waiting [2022-10-06T01:39:09.768Z] bab4dde63d76: Waiting [2022-10-06T01:39:09.768Z] bde34c3a00c8: Waiting [2022-10-06T01:39:09.768Z] b352a97aabf1: Waiting [2022-10-06T01:39:09.768Z] 1469e6f7b9e6: Waiting [2022-10-06T01:39:09.768Z] 4872d77fe225: Waiting [2022-10-06T01:39:09.768Z] 5851b861e8e6: Waiting [2022-10-06T01:39:09.768Z] 988bab9f4d93: Waiting [2022-10-06T01:39:09.769Z] e2be974225ed: Verifying Checksum [2022-10-06T01:39:09.769Z] e2be974225ed: Download complete [2022-10-06T01:39:09.769Z] 988bab9f4d93: Verifying Checksum [2022-10-06T01:39:09.769Z] 988bab9f4d93: Download complete [2022-10-06T01:39:10.027Z] 339a4e72a1f5: Verifying Checksum [2022-10-06T01:39:10.027Z] 339a4e72a1f5: Download complete [2022-10-06T01:39:10.027Z] 1469e6f7b9e6: Verifying Checksum [2022-10-06T01:39:10.027Z] 1469e6f7b9e6: Download complete [2022-10-06T01:39:10.027Z] eaf3925da568: Verifying Checksum [2022-10-06T01:39:10.027Z] eaf3925da568: Download complete [2022-10-06T01:39:10.027Z] bde34c3a00c8: Download complete [2022-10-06T01:39:10.027Z] b352a97aabf1: Verifying Checksum [2022-10-06T01:39:10.027Z] b352a97aabf1: Download complete [2022-10-06T01:39:10.027Z] 4872d77fe225: Download complete [2022-10-06T01:39:10.027Z] 5851b861e8e6: Verifying Checksum [2022-10-06T01:39:10.027Z] 5851b861e8e6: Download complete [2022-10-06T01:39:10.027Z] b85a868b505f: Verifying Checksum [2022-10-06T01:39:10.027Z] b85a868b505f: Download complete [2022-10-06T01:39:10.285Z] bab4dde63d76: Verifying Checksum [2022-10-06T01:39:10.285Z] bab4dde63d76: Download complete [2022-10-06T01:39:11.220Z] b85a868b505f: Pull complete [2022-10-06T01:39:11.478Z] e2be974225ed: Pull complete [2022-10-06T01:39:11.738Z] 339a4e72a1f5: Pull complete [2022-10-06T01:39:11.998Z] 988bab9f4d93: Pull complete [2022-10-06T01:39:12.259Z] 1469e6f7b9e6: Pull complete [2022-10-06T01:39:12.259Z] eaf3925da568: Pull complete [2022-10-06T01:39:14.180Z] bab4dde63d76: Pull complete [2022-10-06T01:39:14.180Z] bde34c3a00c8: Pull complete [2022-10-06T01:39:14.180Z] b352a97aabf1: Pull complete [2022-10-06T01:39:14.180Z] 4872d77fe225: Pull complete [2022-10-06T01:39:14.180Z] 5851b861e8e6: Pull complete [2022-10-06T01:39:14.180Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-06T01:39:14.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-06T01:39:14.180Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:39:14.271Z] prd-ubuntu20.04-docker-8c-8g-7222 does not seem to be running inside a container [2022-10-06T01:39:14.301Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-06T01:39:15.958Z] $ docker top e982153dc19d9e8473ade8693870a9749c0fb1b05d6f1b7ebf2a72b13dc696c4 -eo pid,comm [2022-10-06T01:39:16.018Z] 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-06T01:39:16.018Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-06T01:39:16.048Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T01:39:16.048Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T01:39:16.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T01:39:16.157Z] $ docker exec e982153dc19d9e8473ade8693870a9749c0fb1b05d6f1b7ebf2a72b13dc696c4 ssh-agent [2022-10-06T01:39:16.327Z] SSH_AUTH_SOCK=/tmp/ssh-TwD2givDRmZM/agent.32 [2022-10-06T01:39:16.327Z] SSH_AGENT_PID=38 [2022-10-06T01:39:16.341Z] Running ssh-add (command line suppressed) [2022-10-06T01:39:16.434Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_17584407582240875561.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_17584407582240875561.key) [2022-10-06T01:39:16.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T01:39:16.741Z] + git tag --points-at HEAD [Pipeline] } [2022-10-06T01:39:16.747Z] $ docker exec --env ******** --env ******** e982153dc19d9e8473ade8693870a9749c0fb1b05d6f1b7ebf2a72b13dc696c4 ssh-agent -k [2022-10-06T01:39:16.857Z] unset SSH_AUTH_SOCK; [2022-10-06T01:39:16.858Z] unset SSH_AGENT_PID; [2022-10-06T01:39:16.858Z] echo Agent pid 38 killed; [2022-10-06T01:39:16.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-06T01:39:16.895Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-06T01:39:16.895Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-06T01:39:17.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-06T01:39:17.001Z] $ docker exec e982153dc19d9e8473ade8693870a9749c0fb1b05d6f1b7ebf2a72b13dc696c4 ssh-agent [2022-10-06T01:39:17.115Z] SSH_AUTH_SOCK=/tmp/ssh-DdwTB6noP1yK/agent.70 [2022-10-06T01:39:17.115Z] SSH_AGENT_PID=76 [2022-10-06T01:39:17.119Z] Running ssh-add (command line suppressed) [2022-10-06T01:39:17.231Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_5283589025624828191.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_5283589025624828191.key) [2022-10-06T01:39:17.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-06T01:39:17.535Z] + git semver init [2022-10-06T01:39:17.793Z] 2022-10-06 01:39:17,717 [run_init] DEBUG init version:0.0.0 force:False [2022-10-06T01:39:17.793Z] 2022-10-06 01:39:17,717 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-06T01:39:17.793Z] 2022-10-06 01:39:17,718 [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-06T01:39:17.793Z] 2022-10-06 01:39:17,718 [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-06T01:39:18.732Z] 2022-10-06 01:39:18,678 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-06T01:39:18.732Z] 2022-10-06 01:39:18,679 [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-06T01:39:18.732Z] 2022-10-06 01:39:18,679 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T01:39:18.732Z] 2022-10-06 01:39:18,684 [execute] INFO git cat-file --batch-check [2022-10-06T01:39:18.732Z] 2022-10-06 01:39:18,684 [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-06T01:39:18.733Z] 2022-10-06 01:39:18,690 [execute] INFO git cat-file --batch [2022-10-06T01:39:18.733Z] 2022-10-06 01:39:18,690 [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-06T01:39:18.733Z] 2022-10-06 01:39:18,695 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-06T01:39:18.733Z] 0.0.0 [Pipeline] } [2022-10-06T01:39:18.738Z] $ docker exec --env ******** --env ******** e982153dc19d9e8473ade8693870a9749c0fb1b05d6f1b7ebf2a72b13dc696c4 ssh-agent -k [2022-10-06T01:39:18.833Z] unset SSH_AUTH_SOCK; [2022-10-06T01:39:18.833Z] unset SSH_AGENT_PID; [2022-10-06T01:39:18.833Z] echo Agent pid 76 killed; [2022-10-06T01:39:18.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-06T01:39:19.147Z] + git semver [Pipeline] } [2022-10-06T01:39:19.413Z] $ docker stop --time=1 e982153dc19d9e8473ade8693870a9749c0fb1b05d6f1b7ebf2a72b13dc696c4 [2022-10-06T01:39:20.747Z] $ docker rm -f e982153dc19d9e8473ade8693870a9749c0fb1b05d6f1b7ebf2a72b13dc696c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-06T01:39:21.082Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-06T01:39:21.257Z] Stashed 1 file(s) [Pipeline] echo [2022-10-06T01:39:21.259Z] [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-06T01:39:21.397Z] provisioning config files... [2022-10-06T01:39:21.406Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config10525578603651845106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:39:21.701Z] ---> docker-login.sh [2022-10-06T01:39:21.701Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:39:21.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:21.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:21.960Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:21.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:21.960Z] [2022-10-06T01:39:21.960Z] Login Succeeded [2022-10-06T01:39:21.960Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:39:21.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:21.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:21.960Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:21.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:21.960Z] [2022-10-06T01:39:21.960Z] Login Succeeded [2022-10-06T01:39:21.960Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:39:21.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:22.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:22.219Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:22.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:22.219Z] [2022-10-06T01:39:22.219Z] Login Succeeded [2022-10-06T01:39:22.219Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:39:22.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:22.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:22.219Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:22.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:22.219Z] [2022-10-06T01:39:22.219Z] Login Succeeded [2022-10-06T01:39:22.219Z] docker.io [2022-10-06T01:39:22.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:39:22.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:39:22.788Z] Configure a credential helper to remove this warning. See [2022-10-06T01:39:22.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:39:22.788Z] [2022-10-06T01:39:22.788Z] Login Succeeded [2022-10-06T01:39:22.788Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:39:22.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T01:39:22.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:39:22.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:39:22.891Z] ========================================================= [2022-10-06T01:39:22.891Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-06T01:39:22.891Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:39:23.201Z] + 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-06T01:39:23.201Z] Sending build context to Docker daemon 20.86MB [2022-10-06T01:39:23.201Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T01:39:23.201Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T01:39:23.201Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-06T01:39:23.201Z] 2408cc74d12b: Pulling fs layer [2022-10-06T01:39:23.201Z] ea60b727a1ce: Pulling fs layer [2022-10-06T01:39:23.201Z] 30c4a7721957: Pulling fs layer [2022-10-06T01:39:23.201Z] 370296b7ddb6: Pulling fs layer [2022-10-06T01:39:23.201Z] 7c6cee850709: Pulling fs layer [2022-10-06T01:39:23.201Z] aa9baa53a306: Pulling fs layer [2022-10-06T01:39:23.201Z] 8b309c321861: Pulling fs layer [2022-10-06T01:39:23.201Z] d8d76fd02f46: Pulling fs layer [2022-10-06T01:39:23.201Z] fa31f396de31: Pulling fs layer [2022-10-06T01:39:23.201Z] 7c6cee850709: Waiting [2022-10-06T01:39:23.201Z] aa9baa53a306: Waiting [2022-10-06T01:39:23.201Z] 8b309c321861: Waiting [2022-10-06T01:39:23.201Z] d8d76fd02f46: Waiting [2022-10-06T01:39:23.201Z] fa31f396de31: Waiting [2022-10-06T01:39:23.201Z] 370296b7ddb6: Waiting [2022-10-06T01:39:23.460Z] 30c4a7721957: Verifying Checksum [2022-10-06T01:39:23.460Z] 30c4a7721957: Download complete [2022-10-06T01:39:23.460Z] ea60b727a1ce: Verifying Checksum [2022-10-06T01:39:23.460Z] ea60b727a1ce: Download complete [2022-10-06T01:39:23.460Z] 7c6cee850709: Verifying Checksum [2022-10-06T01:39:23.460Z] 7c6cee850709: Download complete [2022-10-06T01:39:23.460Z] aa9baa53a306: Verifying Checksum [2022-10-06T01:39:23.460Z] aa9baa53a306: Download complete [2022-10-06T01:39:23.460Z] 2408cc74d12b: Download complete [2022-10-06T01:39:23.460Z] 8b309c321861: Download complete [2022-10-06T01:39:23.460Z] 2408cc74d12b: Pull complete [2022-10-06T01:39:23.720Z] ea60b727a1ce: Pull complete [2022-10-06T01:39:23.720Z] 30c4a7721957: Pull complete [2022-10-06T01:39:23.979Z] d8d76fd02f46: Verifying Checksum [2022-10-06T01:39:23.979Z] d8d76fd02f46: Download complete [2022-10-06T01:39:24.238Z] fa31f396de31: Verifying Checksum [2022-10-06T01:39:24.238Z] fa31f396de31: Download complete [2022-10-06T01:39:24.238Z] 370296b7ddb6: Verifying Checksum [2022-10-06T01:39:24.238Z] 370296b7ddb6: Download complete [2022-10-06T01:39:28.421Z] 370296b7ddb6: Pull complete [2022-10-06T01:39:28.421Z] 7c6cee850709: Pull complete [2022-10-06T01:39:28.421Z] aa9baa53a306: Pull complete [2022-10-06T01:39:28.421Z] 8b309c321861: Pull complete [2022-10-06T01:39:29.803Z] d8d76fd02f46: Pull complete [2022-10-06T01:39:30.745Z] fa31f396de31: Pull complete [2022-10-06T01:39:30.745Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-06T01:39:30.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-06T01:39:30.745Z] ---> cef68f9685f8 [2022-10-06T01:39:30.745Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T01:39:32.657Z] ---> Running in 7b98ad2e3613 [2022-10-06T01:39:32.657Z] Removing intermediate container 7b98ad2e3613 [2022-10-06T01:39:32.657Z] ---> 2ceb6383d3ef [2022-10-06T01:39:32.657Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T01:39:32.657Z] ---> Running in 659f22809e19 [2022-10-06T01:39:32.657Z] Removing intermediate container 659f22809e19 [2022-10-06T01:39:32.657Z] ---> c9e9fd3d1232 [2022-10-06T01:39:32.657Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T01:39:32.657Z] ---> Running in 7886fed22efc [2022-10-06T01:39:32.917Z] Removing intermediate container 7886fed22efc [2022-10-06T01:39:32.917Z] ---> 6e5916e0ce60 [2022-10-06T01:39:32.917Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T01:39:32.917Z] ---> Running in 4929b36d27d6 [2022-10-06T01:39:32.917Z] Removing intermediate container 4929b36d27d6 [2022-10-06T01:39:32.917Z] ---> 0e2277fa3a79 [2022-10-06T01:39:32.917Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T01:39:32.917Z] ---> Running in b0ecb0d48e85 [2022-10-06T01:39:33.177Z] Removing intermediate container b0ecb0d48e85 [2022-10-06T01:39:33.177Z] ---> 53511bbf0d98 [2022-10-06T01:39:33.177Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T01:39:33.177Z] ---> Running in 19e7c59d47f3 [2022-10-06T01:39:33.743Z] Removing intermediate container 19e7c59d47f3 [2022-10-06T01:39:33.743Z] ---> 2b7717f04e63 [2022-10-06T01:39:33.743Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T01:39:33.743Z] ---> Running in a6b163a30546 [2022-10-06T01:39:34.003Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-06T01:39:34.939Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-06T01:39:35.197Z] OK: 211 MiB in 51 packages [2022-10-06T01:39:35.456Z] Removing intermediate container a6b163a30546 [2022-10-06T01:39:35.456Z] ---> a476ad7b6d0e [2022-10-06T01:39:35.456Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T01:39:35.456Z] ---> Running in 7b512610a56d [2022-10-06T01:39:35.715Z] Removing intermediate container 7b512610a56d [2022-10-06T01:39:35.715Z] ---> 3482404f2497 [2022-10-06T01:39:35.715Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T01:39:35.715Z] ---> 85b5595e0861 [2022-10-06T01:39:35.715Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T01:39:35.974Z] ---> Running in 4b04092f8349 [2022-10-06T01:39:36.356Z] Still waiting to schedule task [2022-10-06T01:39:36.357Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-06T01:39:54.079Z] Removing intermediate container 4b04092f8349 [2022-10-06T01:39:54.079Z] ---> e0c7fa69b552 [2022-10-06T01:39:54.079Z] Step 13/14 : COPY . . [2022-10-06T01:39:54.337Z] ---> 21ae9cb32e11 [2022-10-06T01:39:54.337Z] Step 14/14 : RUN ${MAKE} [2022-10-06T01:39:54.337Z] ---> Running in 446426ce33d4 [2022-10-06T01:39:54.598Z] noop [2022-10-06T01:39:54.857Z] Removing intermediate container 446426ce33d4 [2022-10-06T01:39:54.857Z] ---> 9a8a754f1228 [2022-10-06T01:39:54.857Z] Successfully built 9a8a754f1228 [2022-10-06T01:39:54.857Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:39:55.160Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T01:39:55.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:39:55.225Z] prd-ubuntu20.04-docker-8c-8g-7222 does not seem to be running inside a container [2022-10-06T01:39:55.257Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-06T01:39:55.624Z] $ docker top 9c2ef23c8f31dbb2bf6ad7f4acc5991383b4a2e27d502636fadaccfbf4e30fd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:39:55.966Z] + go version [2022-10-06T01:39:55.966Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-06T01:39:55.977Z] $ docker stop --time=1 9c2ef23c8f31dbb2bf6ad7f4acc5991383b4a2e27d502636fadaccfbf4e30fd9 [2022-10-06T01:39:57.299Z] $ docker rm -f 9c2ef23c8f31dbb2bf6ad7f4acc5991383b4a2e27d502636fadaccfbf4e30fd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:39:57.712Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-06T01:39:57.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:39:57.772Z] prd-ubuntu20.04-docker-8c-8g-7222 does not seem to be running inside a container [2022-10-06T01:39:57.800Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-06T01:39:58.167Z] $ docker top 60cf4348cc88a5ff9d63ee5b53bcf0c93f4b3f97a1cb3d3e33993dd3cc7c3b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:39:58.505Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-06T01:39:58.797Z] + make test [2022-10-06T01:39:58.797Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T01:39:59.058Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T01:40:09.036Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T01:40:09.972Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.2% of statements [2022-10-06T01:40:09.972Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T01:40:09.972Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.291s coverage: 86.5% of statements [2022-10-06T01:40:18.072Z] 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-06T01:40:18.072Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T01:40:21.351Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T01:40:21.351Z] ./internal/driver/onvifdiscovery.go [2022-10-06T01:40:21.352Z] ./internal/driver/driver.go [2022-10-06T01:40:21.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T01:40:21.352Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T01:40:21.364Z] $ docker stop --time=1 60cf4348cc88a5ff9d63ee5b53bcf0c93f4b3f97a1cb3d3e33993dd3cc7c3b36 [2022-10-06T01:40:23.245Z] $ docker rm -f 60cf4348cc88a5ff9d63ee5b53bcf0c93f4b3f97a1cb3d3e33993dd3cc7c3b36 [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-06T01:40:23.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:40:23.813Z] [2022-10-06T01:40:23.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:40:24.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:40:24.114Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-06T01:40:24.114Z] 5eb5b503b376: Pulling fs layer [2022-10-06T01:40:24.114Z] 5c69ac0246d0: Pulling fs layer [2022-10-06T01:40:24.114Z] ec43610c2a17: Pulling fs layer [2022-10-06T01:40:24.114Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-06T01:40:24.114Z] 33b1e0a273af: Pulling fs layer [2022-10-06T01:40:24.114Z] 5d3b04190fa2: Pulling fs layer [2022-10-06T01:40:24.114Z] 2f39f015ded8: Pulling fs layer [2022-10-06T01:40:24.114Z] 3a2ae6a8a46f: Waiting [2022-10-06T01:40:24.114Z] 5d3b04190fa2: Waiting [2022-10-06T01:40:24.114Z] 2f39f015ded8: Waiting [2022-10-06T01:40:24.114Z] 33b1e0a273af: Waiting [2022-10-06T01:40:24.114Z] 5c69ac0246d0: Verifying Checksum [2022-10-06T01:40:24.114Z] 5c69ac0246d0: Download complete [2022-10-06T01:40:24.114Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-06T01:40:24.114Z] 3a2ae6a8a46f: Download complete [2022-10-06T01:40:24.375Z] 33b1e0a273af: Verifying Checksum [2022-10-06T01:40:24.375Z] 33b1e0a273af: Download complete [2022-10-06T01:40:24.375Z] 5d3b04190fa2: Download complete [2022-10-06T01:40:24.375Z] ec43610c2a17: Verifying Checksum [2022-10-06T01:40:24.375Z] ec43610c2a17: Download complete [2022-10-06T01:40:24.375Z] 5eb5b503b376: Verifying Checksum [2022-10-06T01:40:24.375Z] 5eb5b503b376: Download complete [2022-10-06T01:40:25.747Z] 5eb5b503b376: Pull complete [2022-10-06T01:40:25.747Z] 5c69ac0246d0: Pull complete [2022-10-06T01:40:26.006Z] ec43610c2a17: Pull complete [2022-10-06T01:40:26.006Z] 3a2ae6a8a46f: Pull complete [2022-10-06T01:40:26.263Z] 33b1e0a273af: Pull complete [2022-10-06T01:40:26.263Z] 5d3b04190fa2: Pull complete [2022-10-06T01:40:30.440Z] 2f39f015ded8: Pull complete [2022-10-06T01:40:30.440Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-06T01:40:30.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:40:30.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:40:30.510Z] prd-ubuntu20.04-docker-8c-8g-7222 does not seem to be running inside a container [2022-10-06T01:40:30.541Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T01:40:32.121Z] $ docker top 2236103462e2a28246600686d6d8ab5a0fd673500d1012921080e3049a11d3fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:40:32.477Z] ---> job-cost.sh [2022-10-06T01:40:32.477Z] lf-activate-venv: SKIPPING [2022-10-06T01:40:32.477Z] INFO: No Stack... [2022-10-06T01:40:32.736Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T01:40:32.995Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T01:40:33.278Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-06T01:40:33.278Z] + cut -d, -f6 [Pipeline] lock [2022-10-06T01:40:33.291Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] [2022-10-06T01:40:33.298Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] did not exist. Created. [2022-10-06T01:40:33.298Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T01:40:33.594Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-06T01:40:33.632Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T01:40:33.638Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T01:40:33.652Z] $ docker stop --time=1 2236103462e2a28246600686d6d8ab5a0fd673500d1012921080e3049a11d3fe [2022-10-06T01:40:34.807Z] $ docker rm -f 2236103462e2a28246600686d6d8ab5a0fd673500d1012921080e3049a11d3fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T01:40:34.914Z] Failed in branch amd64 [2022-10-06T01:43:42.038Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7224 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-06T01:43:42.051Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-06T01:43:42.092Z] The recommended git tool is: git [2022-10-06T01:43:47.452Z] using credential edgex-jenkins-ssh [2022-10-06T01:43:47.471Z] Cloning the remote Git repository [2022-10-06T01:43:47.512Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:43:47.585Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-06T01:43:47.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:43:47.721Z] > git --version # timeout=10 [2022-10-06T01:43:47.741Z] > git --version # 'git version 2.25.1' [2022-10-06T01:43:47.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:43:47.802Z] Verifying host key using known hosts file [2022-10-06T01:43:48.004Z] 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-06T01:43:48.018Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T01:43:49.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T01:43:49.284Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-06T01:43:50.893Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 [2022-10-06T01:43:50.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-06T01:43:50.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-06T01:43:50.244Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:43:50.251Z] Verifying host key using known hosts file [2022-10-06T01:43:50.259Z] 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-06T01:43:50.270Z] > 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-06T01:43:50.911Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T01:43:50.939Z] > git checkout -f c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 # timeout=10 [2022-10-06T01:43:51.288Z] Merge succeeded, producing c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 [2022-10-06T01:43:51.289Z] Checking out Revision c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 (PR-172) [2022-10-06T01:43:51.180Z] > git remote # timeout=10 [2022-10-06T01:43:51.200Z] > git config --get remote.origin.url # timeout=10 [2022-10-06T01:43:51.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-06T01:43:51.223Z] Verifying host key using known hosts file [2022-10-06T01:43:51.229Z] 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-06T01:43:51.239Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-06T01:43:51.267Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-06T01:43:51.294Z] > git config core.sparsecheckout # timeout=10 [2022-10-06T01:43:51.310Z] > git checkout -f c9496bc4cc87a6fbe041a8b97f4edecc3593dca5 # timeout=10 [2022-10-06T01:43:54.980Z] Commit message: "Update driver.go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-06T01:43:55.868Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-06T01:43:55.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-06T01:43:55.868Z] Dload Upload Total Spent Left Speed [2022-10-06T01:43:55.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 96938 [Pipeline] sh [2022-10-06T01:43:56.728Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-06T01:43:57.068Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-06T01:43:57.068Z] sudo tee /etc/docker/daemon.new [2022-10-06T01:43:57.068Z] { [2022-10-06T01:43:57.068Z] "registry-mirrors": [ [2022-10-06T01:43:57.068Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-06T01:43:57.068Z] ], [2022-10-06T01:43:57.068Z] "bip": "10.250.0.254/24", [2022-10-06T01:43:57.068Z] "hosts": [ [2022-10-06T01:43:57.068Z] "tcp://0.0.0.0:5555", [2022-10-06T01:43:57.068Z] "unix:///var/run/docker.sock" [2022-10-06T01:43:57.068Z] ], [2022-10-06T01:43:57.068Z] "mtu": 1458, [2022-10-06T01:43:57.068Z] "selinux-enabled": true, [2022-10-06T01:43:57.068Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-06T01:43:57.068Z] } [Pipeline] sh [2022-10-06T01:43:57.398Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-06T01:43:57.721Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:44:16.001Z] provisioning config files... [2022-10-06T01:44:16.027Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config7861553669660447927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:44:16.382Z] ---> docker-login.sh [2022-10-06T01:44:16.382Z] nexus3.edgexfoundry.org:10001 [2022-10-06T01:44:16.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:44:16.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:44:16.970Z] Configure a credential helper to remove this warning. See [2022-10-06T01:44:16.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:44:16.970Z] [2022-10-06T01:44:16.970Z] Login Succeeded [2022-10-06T01:44:16.970Z] nexus3.edgexfoundry.org:10002 [2022-10-06T01:44:17.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:44:17.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:44:17.239Z] Configure a credential helper to remove this warning. See [2022-10-06T01:44:17.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:44:17.239Z] [2022-10-06T01:44:17.239Z] Login Succeeded [2022-10-06T01:44:17.508Z] nexus3.edgexfoundry.org:10003 [2022-10-06T01:44:17.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:44:17.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:44:17.779Z] Configure a credential helper to remove this warning. See [2022-10-06T01:44:17.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:44:17.779Z] [2022-10-06T01:44:17.779Z] Login Succeeded [2022-10-06T01:44:17.779Z] nexus3.edgexfoundry.org:10004 [2022-10-06T01:44:18.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:44:18.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:44:18.050Z] Configure a credential helper to remove this warning. See [2022-10-06T01:44:18.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:44:18.050Z] [2022-10-06T01:44:18.050Z] Login Succeeded [2022-10-06T01:44:18.050Z] docker.io [2022-10-06T01:44:18.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-06T01:44:18.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-06T01:44:18.912Z] Configure a credential helper to remove this warning. See [2022-10-06T01:44:18.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-06T01:44:18.912Z] [2022-10-06T01:44:18.912Z] Login Succeeded [2022-10-06T01:44:18.912Z] ---> docker-login.sh ends [Pipeline] } [2022-10-06T01:44:18.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-06T01:44:19.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:44:19.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-06T01:44:19.109Z] ========================================================= [2022-10-06T01:44:19.109Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-06T01:44:19.109Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:44:19.454Z] + 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-06T01:44:20.044Z] Sending build context to Docker daemon 14.29MB [2022-10-06T01:44:20.044Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-06T01:44:20.045Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-06T01:44:20.045Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-06T01:44:20.045Z] b3c136eddcbf: Pulling fs layer [2022-10-06T01:44:20.045Z] c0a3192eca97: Pulling fs layer [2022-10-06T01:44:20.045Z] a050256f5b6f: Pulling fs layer [2022-10-06T01:44:20.045Z] 656be50a0ddc: Pulling fs layer [2022-10-06T01:44:20.045Z] 2bbca73fdf42: Pulling fs layer [2022-10-06T01:44:20.045Z] f607e4fc86c3: Pulling fs layer [2022-10-06T01:44:20.045Z] 4d572c569a2c: Pulling fs layer [2022-10-06T01:44:20.045Z] fcf976331f73: Pulling fs layer [2022-10-06T01:44:20.045Z] 656be50a0ddc: Waiting [2022-10-06T01:44:20.045Z] 2bbca73fdf42: Waiting [2022-10-06T01:44:20.045Z] f607e4fc86c3: Waiting [2022-10-06T01:44:20.045Z] 4d572c569a2c: Waiting [2022-10-06T01:44:20.045Z] fcf976331f73: Waiting [2022-10-06T01:44:20.045Z] a050256f5b6f: Verifying Checksum [2022-10-06T01:44:20.045Z] a050256f5b6f: Download complete [2022-10-06T01:44:20.313Z] c0a3192eca97: Verifying Checksum [2022-10-06T01:44:20.313Z] c0a3192eca97: Download complete [2022-10-06T01:44:20.313Z] 2bbca73fdf42: Download complete [2022-10-06T01:44:20.313Z] f607e4fc86c3: Verifying Checksum [2022-10-06T01:44:20.313Z] f607e4fc86c3: Download complete [2022-10-06T01:44:20.313Z] b3c136eddcbf: Verifying Checksum [2022-10-06T01:44:20.313Z] b3c136eddcbf: Download complete [2022-10-06T01:44:21.307Z] b3c136eddcbf: Pull complete [2022-10-06T01:44:21.578Z] fcf976331f73: Verifying Checksum [2022-10-06T01:44:21.578Z] fcf976331f73: Download complete [2022-10-06T01:44:21.849Z] c0a3192eca97: Pull complete [2022-10-06T01:44:22.129Z] a050256f5b6f: Pull complete [2022-10-06T01:44:22.400Z] 4d572c569a2c: Verifying Checksum [2022-10-06T01:44:22.400Z] 4d572c569a2c: Download complete [2022-10-06T01:44:23.368Z] 656be50a0ddc: Verifying Checksum [2022-10-06T01:44:23.368Z] 656be50a0ddc: Download complete [2022-10-06T01:44:35.706Z] 656be50a0ddc: Pull complete [2022-10-06T01:44:35.706Z] 2bbca73fdf42: Pull complete [2022-10-06T01:44:35.706Z] f607e4fc86c3: Pull complete [2022-10-06T01:44:41.078Z] 4d572c569a2c: Pull complete [2022-10-06T01:44:43.041Z] fcf976331f73: Pull complete [2022-10-06T01:44:43.041Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-06T01:44:43.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-06T01:44:43.041Z] ---> 3970a7415f9e [2022-10-06T01:44:43.041Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-06T01:44:45.014Z] ---> Running in f3c3a7d322f9 [2022-10-06T01:44:45.015Z] Removing intermediate container f3c3a7d322f9 [2022-10-06T01:44:45.015Z] ---> 25dbe6e370ce [2022-10-06T01:44:45.015Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-06T01:44:45.015Z] ---> Running in 04dac648d0cd [2022-10-06T01:44:45.285Z] Removing intermediate container 04dac648d0cd [2022-10-06T01:44:45.285Z] ---> a23c9ae12d9a [2022-10-06T01:44:45.285Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-06T01:44:45.561Z] ---> Running in 22e4e0810f25 [2022-10-06T01:44:45.831Z] Removing intermediate container 22e4e0810f25 [2022-10-06T01:44:45.831Z] ---> f00cc11a8fe1 [2022-10-06T01:44:45.831Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-06T01:44:45.831Z] ---> Running in 8c8e91a07823 [2022-10-06T01:44:46.107Z] Removing intermediate container 8c8e91a07823 [2022-10-06T01:44:46.107Z] ---> 2b9ea17f8161 [2022-10-06T01:44:46.107Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-06T01:44:46.376Z] ---> Running in 10c6224354e7 [2022-10-06T01:44:46.646Z] Removing intermediate container 10c6224354e7 [2022-10-06T01:44:46.646Z] ---> 23b88c83fc35 [2022-10-06T01:44:46.646Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-06T01:44:46.646Z] ---> Running in 9b5941272a5e [2022-10-06T01:44:48.601Z] Removing intermediate container 9b5941272a5e [2022-10-06T01:44:48.601Z] ---> d72b034e122e [2022-10-06T01:44:48.601Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-06T01:44:48.955Z] ---> Running in 1699fc7afbeb [2022-10-06T01:44:49.921Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-06T01:44:50.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-06T01:44:51.870Z] OK: 221 MiB in 51 packages [2022-10-06T01:44:52.851Z] Removing intermediate container 1699fc7afbeb [2022-10-06T01:44:52.851Z] ---> 74fc3932f756 [2022-10-06T01:44:52.851Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-06T01:44:52.851Z] ---> Running in 64db089c52b1 [2022-10-06T01:44:53.121Z] Removing intermediate container 64db089c52b1 [2022-10-06T01:44:53.121Z] ---> 6668a012b40f [2022-10-06T01:44:53.121Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-06T01:44:53.708Z] ---> 9ec58f824f19 [2022-10-06T01:44:53.708Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-06T01:44:53.708Z] ---> Running in 23b9022c701f [2022-10-06T01:45:50.142Z] Removing intermediate container 23b9022c701f [2022-10-06T01:45:50.142Z] ---> e27c1751e0bd [2022-10-06T01:45:50.142Z] Step 13/14 : COPY . . [2022-10-06T01:45:50.142Z] ---> 3667952a47f9 [2022-10-06T01:45:50.142Z] Step 14/14 : RUN ${MAKE} [2022-10-06T01:45:50.142Z] ---> Running in 2a600a39b4a1 [2022-10-06T01:45:50.142Z] noop [2022-10-06T01:45:50.142Z] Removing intermediate container 2a600a39b4a1 [2022-10-06T01:45:50.142Z] ---> 5c0e1928613e [2022-10-06T01:45:50.142Z] Successfully built 5c0e1928613e [2022-10-06T01:45:50.142Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:45:50.505Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T01:45:50.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:45:50.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container [2022-10-06T01:45:50.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T01:45:51.909Z] $ docker top 2b5447285c2e7b66a23e44a049c7022152722daa54930bcae04c274b3773d04c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:45:52.725Z] + go version [2022-10-06T01:45:52.725Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-06T01:45:52.743Z] $ docker stop --time=1 2b5447285c2e7b66a23e44a049c7022152722daa54930bcae04c274b3773d04c [2022-10-06T01:45:54.360Z] $ docker rm -f 2b5447285c2e7b66a23e44a049c7022152722daa54930bcae04c274b3773d04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:45:54.901Z] + docker inspect -f . ci-base-image-arm64 [2022-10-06T01:45:54.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:45:55.062Z] prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container [2022-10-06T01:45:55.121Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-06T01:45:56.248Z] $ docker top 735d40fa87b9ad9e387f09c7ef2b73ead039d8f1ce186f72250fd338ab4bc6c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:45:56.735Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-06T01:45:57.065Z] + make test [2022-10-06T01:45:57.065Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-06T01:45:59.010Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-06T01:47:35.695Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-06T01:47:37.110Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 28.2% of statements [2022-10-06T01:47:37.110Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-06T01:47:59.241Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.158s coverage: 86.5% of statements [2022-10-06T01:47:59.242Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-06T01:47:59.242Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-06T01:48:31.479Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-06T01:48:31.480Z] ./internal/driver/onvifdiscovery.go [2022-10-06T01:48:31.480Z] ./internal/driver/driver.go [2022-10-06T01:48:31.480Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-06T01:48:31.480Z] make: *** [Makefile:70: test] Error 1 [Pipeline] } [2022-10-06T01:48:31.515Z] $ docker stop --time=1 735d40fa87b9ad9e387f09c7ef2b73ead039d8f1ce186f72250fd338ab4bc6c7 [2022-10-06T01:48:33.564Z] $ docker rm -f 735d40fa87b9ad9e387f09c7ef2b73ead039d8f1ce186f72250fd338ab4bc6c7 [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-06T01:48:34.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T01:48:34.812Z] [2022-10-06T01:48:34.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:48:35.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T01:48:35.416Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-06T01:48:35.416Z] 8998bd30e6a1: Pulling fs layer [2022-10-06T01:48:35.416Z] 04944245beec: Pulling fs layer [2022-10-06T01:48:35.416Z] 699f458cf7ca: Pulling fs layer [2022-10-06T01:48:35.416Z] 765212b225bb: Pulling fs layer [2022-10-06T01:48:35.416Z] f23df028b6ca: Pulling fs layer [2022-10-06T01:48:35.416Z] d65c8cfc05b1: Pulling fs layer [2022-10-06T01:48:35.416Z] 2437ff75d9bd: Pulling fs layer [2022-10-06T01:48:35.416Z] 2437ff75d9bd: Waiting [2022-10-06T01:48:35.416Z] f23df028b6ca: Waiting [2022-10-06T01:48:35.416Z] d65c8cfc05b1: Waiting [2022-10-06T01:48:35.416Z] 765212b225bb: Waiting [2022-10-06T01:48:35.416Z] 04944245beec: Verifying Checksum [2022-10-06T01:48:35.416Z] 04944245beec: Download complete [2022-10-06T01:48:35.416Z] 765212b225bb: Verifying Checksum [2022-10-06T01:48:35.416Z] 765212b225bb: Download complete [2022-10-06T01:48:35.684Z] f23df028b6ca: Verifying Checksum [2022-10-06T01:48:35.684Z] f23df028b6ca: Download complete [2022-10-06T01:48:35.684Z] d65c8cfc05b1: Verifying Checksum [2022-10-06T01:48:35.684Z] d65c8cfc05b1: Download complete [2022-10-06T01:48:35.684Z] 699f458cf7ca: Verifying Checksum [2022-10-06T01:48:35.684Z] 699f458cf7ca: Download complete [2022-10-06T01:48:36.276Z] 8998bd30e6a1: Verifying Checksum [2022-10-06T01:48:36.276Z] 8998bd30e6a1: Download complete [2022-10-06T01:48:39.643Z] 2437ff75d9bd: Verifying Checksum [2022-10-06T01:48:39.643Z] 2437ff75d9bd: Download complete [2022-10-06T01:48:41.587Z] 8998bd30e6a1: Pull complete [2022-10-06T01:48:41.854Z] 04944245beec: Pull complete [2022-10-06T01:48:43.265Z] 699f458cf7ca: Pull complete [2022-10-06T01:48:43.532Z] 765212b225bb: Pull complete [2022-10-06T01:48:44.494Z] f23df028b6ca: Pull complete [2022-10-06T01:48:44.494Z] d65c8cfc05b1: Pull complete [2022-10-06T01:49:06.687Z] 2437ff75d9bd: Pull complete [2022-10-06T01:49:06.687Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-06T01:49:06.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-06T01:49:06.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:49:06.872Z] prd-ubuntu20.04-docker-arm64-4c-16g-7224 does not seem to be running inside a container [2022-10-06T01:49:06.948Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-06T01:49:08.847Z] $ docker top fc7f3991142ba97b12e038a6d88085b28a3b0375e56a4bbc97589b5e9f11f3d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:09.753Z] ---> job-cost.sh [2022-10-06T01:49:09.753Z] lf-activate-venv: SKIPPING [2022-10-06T01:49:09.753Z] INFO: No Stack... [2022-10-06T01:49:10.028Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-06T01:49:11.022Z] INFO: Archiving Costs [Pipeline] sh [2022-10-06T01:49:11.684Z] + + cut -d, -f6 [2022-10-06T01:49:11.684Z] cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2022-10-06T01:49:11.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] [2022-10-06T01:49:11.765Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] did not exist. Created. [2022-10-06T01:49:11.765Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-06T01:49:12.438Z] /w/workspace/device-onvif-camera/3@tmp/durable-8c38f51a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-06T01:49:13.101Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-06T01:49:13.132Z] Warning: overwriting stash ‘stack-cost’ [2022-10-06T01:49:13.563Z] Stashed 1 file(s) [Pipeline] } [2022-10-06T01:49:13.571Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-06T01:49:13.585Z] $ docker stop --time=1 fc7f3991142ba97b12e038a6d88085b28a3b0375e56a4bbc97589b5e9f11f3d7 [2022-10-06T01:49:15.090Z] $ docker rm -f fc7f3991142ba97b12e038a6d88085b28a3b0375e56a4bbc97589b5e9f11f3d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-06T01:49:15.367Z] 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-06T01:49:16.087Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-06T01:49:16.087Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T01:49:16.087Z] total 16 [2022-10-06T01:49:16.087Z] drwxr-xr-x 3 root root 4096 Oct 6 01:40 . [2022-10-06T01:49:16.087Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 01:40 .. [2022-10-06T01:49:16.087Z] drwxr-xr-x 2 root root 4096 Oct 6 01:40 cost [2022-10-06T01:49:16.087Z] -rw-r--r-- 1 root root 91 Oct 6 01:40 cost.csv [2022-10-06T01:49:16.087Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T01:49:16.087Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-06T01:49:16.087Z] total 16 [2022-10-06T01:49:16.087Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 01:40 . [2022-10-06T01:49:16.087Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 01:40 .. [2022-10-06T01:49:16.087Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 01:40 cost [2022-10-06T01:49:16.087Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 6 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:16.376Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:17.233Z] ---> package-listing.sh [2022-10-06T01:49:17.233Z] ++ facter osfamily [2022-10-06T01:49:17.233Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-06T01:49:17.492Z] + OS_FAMILY=debian [2022-10-06T01:49:17.492Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-06T01:49:17.492Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-06T01:49:17.492Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-06T01:49:17.492Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-06T01:49:17.492Z] + PACKAGES=/tmp/packages_start.txt [2022-10-06T01:49:17.492Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T01:49:17.492Z] + PACKAGES=/tmp/packages_end.txt [2022-10-06T01:49:17.492Z] + case "${OS_FAMILY}" in [2022-10-06T01:49:17.492Z] + dpkg -l [2022-10-06T01:49:17.492Z] + grep '^ii' [2022-10-06T01:49:17.492Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-06T01:49:17.492Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-06T01:49:17.492Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-06T01:49:17.492Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-06T01:49:17.492Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-06T01:49:17.492Z] + 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-06T01:49:17.503Z] 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-06T01:49:17.780Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-06T01:49:18.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-06T01:49:18.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-06T01:49:18.404Z] prd-ubuntu20.04-docker-8c-8g-7222 does not seem to be running inside a container [2022-10-06T01:49:18.435Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-06T01:49:18.654Z] $ docker top 131acd456e7971a2b93cab3b981f1bdcfaa06575446ac6794c823d8e605097cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-06T01:49:19.000Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-06T01:49:19.283Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-06T01:49:19.564Z] + ls /var/log/sa-host [2022-10-06T01:49:19.564Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-06T01:49:19.628Z] provisioning config files... [2022-10-06T01:49:19.636Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config4116858155719951989tmp [Pipeline] { [Pipeline] echo [2022-10-06T01:49:19.648Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:19.930Z] ---> create-netrc.sh [Pipeline] } [2022-10-06T01:49:19.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:20.263Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-06T01:49:20.272Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:20.554Z] ---> sudo-logs.sh [2022-10-06T01:49:20.554Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-06T01:49:20.577Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:20.857Z] ---> job-cost.sh [2022-10-06T01:49:20.857Z] lf-activate-venv: SKIPPING [2022-10-06T01:49:20.857Z] DEBUG: total: 0.2199999988079071 [2022-10-06T01:49:20.857Z] INFO: Retrieving Stack Cost... [2022-10-06T01:49:21.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-06T01:49:21.681Z] INFO: Archiving Costs [Pipeline] echo [2022-10-06T01:49:21.690Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-06T01:49:21.973Z] ---> logs-deploy.sh [2022-10-06T01:49:21.973Z] lf-activate-venv: SKIPPING [2022-10-06T01:49:21.973Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/3 [2022-10-06T01:49:21.973Z] INFO: archiving workspace using pattern(s): [2022-10-06T01:49:22.981Z] Archives upload complete. [2022-10-06T01:49:22.981Z] INFO: archiving logs to Nexus