Pull request #197 opened 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 lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from c1b75f94bf465599af031118e7b7fcc8d1969457+ef0e1dc43e01e3af63e43192147483735d9789c0 (3bf38b8aebd5f5e0a2d56a04f4ee82629103a55f) 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-ssh8948579443696228681.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9816723470299848746.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15484441229830653774.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13908575840558723258.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17524896765608414792.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15773154304901976669.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118921 in /w/workspace/undry_device-onvif-camera_PR-197 [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-197 # 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 Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit c1b75f94bf465599af031118e7b7fcc8d1969457 Merge succeeded, producing c1b75f94bf465599af031118e7b7fcc8d1969457 Checking out Revision c1b75f94bf465599af031118e7b7fcc8d1969457 (PR-197) > 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/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # 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 ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 Commit message: "docs: Bump Swagger version for Levski to 2.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:52:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:52:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:52:01 ========================================================= 13:52:01 EdgeX Global Pipelines Version Info 13:52:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:52:02 ------------------- 13:52:02 stable info: 13:52:02 ------------------- 13:52:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:52:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:52:02 Message: update stable to v1.0.244 13:52:03 ------------------- 13:52:03 experimental info: 13:52:03 ------------------- 13:52:03 Commited By: **** collab-it+edgex@linuxfoundation.org 13:52:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:52:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:52:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1b75f9 [Pipeline] echo 13:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:52:04 provisioning config files... 13:52:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config5639800230710284289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:52:05 ---> docker-login.sh 13:52:05 nexus3.edgexfoundry.org:10001 13:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:05 Configure a credential helper to remove this warning. See 13:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:05 13:52:05 Login Succeeded 13:52:05 nexus3.edgexfoundry.org:10002 13:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:05 Configure a credential helper to remove this warning. See 13:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:05 13:52:05 Login Succeeded 13:52:05 nexus3.edgexfoundry.org:10003 13:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:05 Configure a credential helper to remove this warning. See 13:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:05 13:52:05 Login Succeeded 13:52:05 nexus3.edgexfoundry.org:10004 13:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:05 Configure a credential helper to remove this warning. See 13:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:05 13:52:05 Login Succeeded 13:52:05 docker.io 13:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:06 Configure a credential helper to remove this warning. See 13:52:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:06 13:52:06 Login Succeeded 13:52:06 ---> docker-login.sh ends [Pipeline] } 13:52:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:52:06 + git rev-list -1 --merges c1b75f94bf465599af031118e7b7fcc8d1969457~1..c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo 13:52:06 -----------> git rev-list -1 --merges c1b75f94bf465599af031118e7b7fcc8d1969457~1..c1b75f94bf465599af031118e7b7fcc8d1969457 c1b75f94bf465599af031118e7b7fcc8d1969457 [false] [Pipeline] sh 13:52:07 + git log --format=format:%s -1 c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo 13:52:07 ========================================================= 13:52:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:52:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:52:07 + git log --format=format:%s -1 c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo 13:52:07 [semverPrep] GIT_COMMIT: c1b75f94bf465599af031118e7b7fcc8d1969457, Commit Message: docs: Bump Swagger version for Levski to 2.3.0 [Pipeline] echo 13:52:07 [semverPrep] This is not a build commit. [Pipeline] sh 13:52:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:52:08 + grep -v github /etc/ssh/ssh_known_hosts 13:52:08 + [ -e /tmp/ssh_known_hosts ] 13:52:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:52:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:52:08 + sudo tee -a /etc/ssh/ssh_known_hosts 13:52:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:52:08 13:52:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:52:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:52:08 0.1.4: Pulling from edgex-devops/py-git-semver 13:52:08 b85a868b505f: Pulling fs layer 13:52:08 e2be974225ed: Pulling fs layer 13:52:08 339a4e72a1f5: Pulling fs layer 13:52:08 988bab9f4d93: Pulling fs layer 13:52:08 1469e6f7b9e6: Pulling fs layer 13:52:08 eaf3925da568: Pulling fs layer 13:52:08 bab4dde63d76: Pulling fs layer 13:52:08 bde34c3a00c8: Pulling fs layer 13:52:08 b352a97aabf1: Pulling fs layer 13:52:08 4872d77fe225: Pulling fs layer 13:52:08 5851b861e8e6: Pulling fs layer 13:52:08 1469e6f7b9e6: Waiting 13:52:08 988bab9f4d93: Waiting 13:52:08 b352a97aabf1: Waiting 13:52:08 5851b861e8e6: Waiting 13:52:08 eaf3925da568: Waiting 13:52:08 bab4dde63d76: Waiting 13:52:08 bde34c3a00c8: Waiting 13:52:08 4872d77fe225: Waiting 13:52:08 e2be974225ed: Download complete 13:52:08 988bab9f4d93: Download complete 13:52:09 1469e6f7b9e6: Verifying Checksum 13:52:09 1469e6f7b9e6: Download complete 13:52:09 339a4e72a1f5: Verifying Checksum 13:52:09 339a4e72a1f5: Download complete 13:52:09 eaf3925da568: Verifying Checksum 13:52:09 eaf3925da568: Download complete 13:52:09 bde34c3a00c8: Download complete 13:52:09 b352a97aabf1: Download complete 13:52:09 4872d77fe225: Verifying Checksum 13:52:09 4872d77fe225: Download complete 13:52:09 5851b861e8e6: Verifying Checksum 13:52:09 5851b861e8e6: Download complete 13:52:09 b85a868b505f: Verifying Checksum 13:52:09 b85a868b505f: Download complete 13:52:09 bab4dde63d76: Verifying Checksum 13:52:09 bab4dde63d76: Download complete 13:52:10 b85a868b505f: Pull complete 13:52:10 e2be974225ed: Pull complete 13:52:10 339a4e72a1f5: Pull complete 13:52:10 988bab9f4d93: Pull complete 13:52:11 1469e6f7b9e6: Pull complete 13:52:11 eaf3925da568: Pull complete 13:52:13 bab4dde63d76: Pull complete 13:52:13 bde34c3a00c8: Pull complete 13:52:13 b352a97aabf1: Pull complete 13:52:13 4872d77fe225: Pull complete 13:52:13 5851b861e8e6: Pull complete 13:52:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:52:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:52:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:52:13 prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container 13:52:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 13:52:15 $ docker top 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 -eo pid,comm 13:52:15 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). 13:52:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:52:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:52:15 [ssh-agent] Looking for ssh-agent implementation... 13:52:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:52:15 $ docker exec 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent 13:52:15 SSH_AUTH_SOCK=/tmp/ssh-RZ9lCmMp2boz/agent.31 13:52:15 SSH_AGENT_PID=37 13:52:15 Running ssh-add (command line suppressed) 13:52:15 Identity added: /w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_1884728908069499952.key (/w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_1884728908069499952.key) 13:52:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:52:16 + git tag --points-at HEAD [Pipeline] } 13:52:16 $ docker exec --env ******** --env ******** 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent -k 13:52:16 unset SSH_AUTH_SOCK; 13:52:16 unset SSH_AGENT_PID; 13:52:16 echo Agent pid 37 killed; 13:52:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:52:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:52:16 [ssh-agent] Looking for ssh-agent implementation... 13:52:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:52:16 $ docker exec 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent 13:52:16 SSH_AUTH_SOCK=/tmp/ssh-3AxNLRjXxUuW/agent.69 13:52:16 SSH_AGENT_PID=75 13:52:16 Running ssh-add (command line suppressed) 13:52:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_15700213749597655886.key (/w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_15700213749597655886.key) 13:52:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:52:17 + git semver init 13:52:17 2022-11-10 13:52:17,427 [run_init] DEBUG init version:0.0.0 force:False 13:52:17 2022-11-10 13:52:17,428 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-197/.semver 13:52:17 2022-11-10 13:52:17,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-197/.semver 13:52:17 2022-11-10 13:52:17,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-197/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-197, universal_newlines=False, shell=None, istream=None) 13:52:18 2022-11-10 13:52:18,562 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-197/.git/info/exclude 13:52:18 2022-11-10 13:52:18,563 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 with force:False 13:52:18 2022-11-10 13:52:18,563 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 13:52:18 2022-11-10 13:52:18,567 [execute] INFO git cat-file --batch-check 13:52:18 2022-11-10 13:52:18,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-197/.semver, universal_newlines=False, shell=None, istream=) 13:52:18 2022-11-10 13:52:18,575 [execute] INFO git cat-file --batch 13:52:18 2022-11-10 13:52:18,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-197/.semver, universal_newlines=False, shell=None, istream=) 13:52:18 2022-11-10 13:52:18,580 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 13:52:18 0.0.0 [Pipeline] } 13:52:18 $ docker exec --env ******** --env ******** 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 ssh-agent -k 13:52:19 unset SSH_AUTH_SOCK; 13:52:19 unset SSH_AGENT_PID; 13:52:19 echo Agent pid 75 killed; 13:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:52:19 + git semver [Pipeline] } 13:52:19 $ docker stop --time=1 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 13:52:21 $ docker rm -f 235cc2c6d6c03b9feae94ddb753fc10c65166f1c53ecdc534ef274eb2c217471 [Pipeline] // withDockerContainer [Pipeline] sh 13:52:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:52:21 Stashed 1 file(s) [Pipeline] echo 13:52:21 [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 13:52:22 provisioning config files... 13:52:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config10729084064303297649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:52:22 ---> docker-login.sh 13:52:22 nexus3.edgexfoundry.org:10001 13:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:22 Configure a credential helper to remove this warning. See 13:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:22 13:52:22 Login Succeeded 13:52:22 nexus3.edgexfoundry.org:10002 13:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:22 Configure a credential helper to remove this warning. See 13:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:22 13:52:22 Login Succeeded 13:52:22 nexus3.edgexfoundry.org:10003 13:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:22 Configure a credential helper to remove this warning. See 13:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:22 13:52:22 Login Succeeded 13:52:22 nexus3.edgexfoundry.org:10004 13:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:22 Configure a credential helper to remove this warning. See 13:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:22 13:52:22 Login Succeeded 13:52:23 docker.io 13:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:23 Configure a credential helper to remove this warning. See 13:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:23 13:52:23 Login Succeeded 13:52:23 ---> docker-login.sh ends [Pipeline] } 13:52:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:52:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:52:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:52:23 ========================================================= 13:52:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:52:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:52:24 + 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 . 13:52:24 Sending build context to Docker daemon 27.61MB 13:52:24 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:52:24 Step 2/13 : FROM ${BASE} AS builder 13:52:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:52:24 213ec9aee27d: Pulling fs layer 13:52:24 4583459ba037: Pulling fs layer 13:52:24 93c1e223e6f2: Pulling fs layer 13:52:24 53926ce57604: Pulling fs layer 13:52:24 21b2b0c7a3f4: Pulling fs layer 13:52:24 22ff95d597cd: Pulling fs layer 13:52:24 12d6caf4c0d1: Pulling fs layer 13:52:24 96b7cbca73a9: Pulling fs layer 13:52:24 a7acece74701: Pulling fs layer 13:52:24 96b7cbca73a9: Waiting 13:52:24 12d6caf4c0d1: Waiting 13:52:24 22ff95d597cd: Waiting 13:52:24 a7acece74701: Waiting 13:52:24 53926ce57604: Waiting 13:52:24 21b2b0c7a3f4: Waiting 13:52:24 93c1e223e6f2: Verifying Checksum 13:52:24 93c1e223e6f2: Download complete 13:52:24 4583459ba037: Download complete 13:52:24 21b2b0c7a3f4: Verifying Checksum 13:52:24 21b2b0c7a3f4: Download complete 13:52:24 22ff95d597cd: Verifying Checksum 13:52:24 213ec9aee27d: Download complete 13:52:24 12d6caf4c0d1: Download complete 13:52:24 213ec9aee27d: Pull complete 13:52:24 4583459ba037: Pull complete 13:52:25 93c1e223e6f2: Pull complete 13:52:25 a7acece74701: Verifying Checksum 13:52:25 a7acece74701: Download complete 13:52:25 53926ce57604: Verifying Checksum 13:52:25 53926ce57604: Download complete 13:52:25 96b7cbca73a9: Verifying Checksum 13:52:29 53926ce57604: Pull complete 13:52:29 21b2b0c7a3f4: Pull complete 13:52:29 22ff95d597cd: Pull complete 13:52:29 12d6caf4c0d1: Pull complete 13:52:31 96b7cbca73a9: Pull complete 13:52:32 a7acece74701: Pull complete 13:52:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 13:52:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:52:32 ---> db6d94c90886 13:52:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 13:52:36 ---> Running in 041bacad7b2a 13:52:36 Removing intermediate container 041bacad7b2a 13:52:36 ---> 8e6181e82622 13:52:36 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:52:36 ---> Running in 5590f65fc8be 13:52:36 Removing intermediate container 5590f65fc8be 13:52:36 ---> 8f3a46af5c63 13:52:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:52:36 ---> Running in 165fc6b8dd70 13:52:36 Removing intermediate container 165fc6b8dd70 13:52:36 ---> 4558ae3d790d 13:52:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 13:52:36 ---> Running in 3468a30543e3 13:52:36 Removing intermediate container 3468a30543e3 13:52:36 ---> 864cca8099de 13:52:36 Step 7/13 : LABEL Name=edgex-device-onvif-camera 13:52:36 ---> Running in 6c3678dc21b5 13:52:36 Removing intermediate container 6c3678dc21b5 13:52:36 ---> fa44074ef2a2 13:52:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:52:36 ---> Running in 9acc7e0e4936 13:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:52:37 Still waiting to schedule task 13:52:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:52:37 OK: 211 MiB in 51 packages 13:52:37 Removing intermediate container 9acc7e0e4936 13:52:37 ---> dbc8c4c041f2 13:52:37 Step 9/13 : WORKDIR /device-onvif-camera 13:52:37 ---> Running in 683b4960ca45 13:52:37 Removing intermediate container 683b4960ca45 13:52:37 ---> f7f76ebebd6a 13:52:37 Step 10/13 : COPY go.mod vendor* ./ 13:52:37 ---> 64e27ec7eb9c 13:52:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:52:37 ---> Running in ab4df69046b8 13:53:04 Removing intermediate container ab4df69046b8 13:53:04 ---> 4241e3d634a7 13:53:04 Step 12/13 : COPY . . 13:53:04 ---> e47131e7c15f 13:53:04 Step 13/13 : RUN ${MAKE} 13:53:04 ---> Running in 7fe9f07f6f00 13:53:04 noop 13:53:04 Removing intermediate container 7fe9f07f6f00 13:53:04 ---> 02f9f7b88e3b 13:53:04 Successfully built 02f9f7b88e3b 13:53:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:53:04 + docker inspect -f . ci-base-image-x86_64 13:53:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:53:04 prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container 13:53:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 13:53:05 $ docker top e723136c9a3f8f8dd98b245caa49959947cb6ea342284ef330c8dfa67910a212 -eo pid,comm [Pipeline] { [Pipeline] sh 13:53:05 + go version 13:53:05 go version go1.18.7 linux/amd64 [Pipeline] } 13:53:05 $ docker stop --time=1 e723136c9a3f8f8dd98b245caa49959947cb6ea342284ef330c8dfa67910a212 13:53:06 $ docker rm -f e723136c9a3f8f8dd98b245caa49959947cb6ea342284ef330c8dfa67910a212 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:53:07 + docker inspect -f . ci-base-image-x86_64 13:53:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:53:07 prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container 13:53:07 $ 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-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 13:53:08 $ docker top aca10d22c90ca73cd21a5137d47dff0f97bca84d51b8c5cd146e9ee71c815bb4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:53:08 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-197 [Pipeline] fileExists [Pipeline] sh 13:53:09 + make test 13:53:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:53:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:53:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:53:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 29.3% of statements 13:53:23 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 13:53:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.270s coverage: 86.5% of statements 13:53:29 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." 13:53:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:53:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:53:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:53:32 ./bin/test-attribution-txt.sh [Pipeline] echo 13:53:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:53:32 $ docker stop --time=1 aca10d22c90ca73cd21a5137d47dff0f97bca84d51b8c5cd146e9ee71c815bb4 13:53:34 $ docker rm -f aca10d22c90ca73cd21a5137d47dff0f97bca84d51b8c5cd146e9ee71c815bb4 [Pipeline] // withDockerContainer [Pipeline] sh 13:53:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:53:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:53:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:53:36 + ls -al . 13:53:36 total 248 13:53:36 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 13:53 . 13:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 13:51 .. 13:53:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 13:53 .git 13:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 13:51 .github 13:53:36 -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 13:51 .gitignore 13:53:36 -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 13:51 .golangci.yml 13:53:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 13:52 .semver 13:53:36 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 13:51 Attribution.txt 13:53:36 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 13:51 CHANGELOG.md 13:53:36 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 13:51 Dockerfile 13:53:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 13:51 GOVERNANCE.md 13:53:36 -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 13:51 Jenkinsfile 13:53:36 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 13:51 LICENSE 13:53:36 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 13:51 Makefile 13:53:36 -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 13:51 OWNERS.md 13:53:36 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 13:51 README.md 13:53:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 13:52 VERSION 13:53:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 13:51 bin 13:53:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 13:51 cmd 13:53:36 -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 13:53 coverage.out 13:53:36 drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 13:51 doc 13:53:36 -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 13:51 go.mod 13:53:36 -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 13:51 go.sum 13:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 13:51 internal 13:53:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 13:51 snap 13:53:36 -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 13:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:53:36 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c1b75f94bf465599af031118e7b7fcc8d1969457 --label arch=amd64 --label version=0.0.0 . 13:53:36 Sending build context to Docker daemon 27.69MB 13:53:36 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:53:36 Step 2/26 : FROM ${BASE} AS builder 13:53:36 ---> 02f9f7b88e3b 13:53:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 13:53:37 ---> Running in 0bd5351c4869 13:53:37 Removing intermediate container 0bd5351c4869 13:53:37 ---> 77ad15b3761a 13:53:37 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:53:37 ---> Running in 1dc26d5fb0d1 13:53:37 Removing intermediate container 1dc26d5fb0d1 13:53:37 ---> 8ba46d19e3de 13:53:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:53:37 ---> Running in 12c5cf11109b 13:53:37 Removing intermediate container 12c5cf11109b 13:53:37 ---> b29a83b19cf2 13:53:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 13:53:37 ---> Running in d870896edcba 13:53:37 Removing intermediate container d870896edcba 13:53:37 ---> 24f3410c8fb2 13:53:37 Step 7/26 : LABEL Name=edgex-device-onvif-camera 13:53:37 ---> Running in 5579c5686d73 13:53:37 Removing intermediate container 5579c5686d73 13:53:37 ---> 9a671f3ea122 13:53:37 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:53:37 ---> Running in 0c7cab577f36 13:53:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:53:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:53:38 OK: 211 MiB in 51 packages 13:53:38 Removing intermediate container 0c7cab577f36 13:53:38 ---> 7ebaa1cdd3c4 13:53:38 Step 9/26 : WORKDIR /device-onvif-camera 13:53:38 ---> Running in 5a6e38c185de 13:53:38 Removing intermediate container 5a6e38c185de 13:53:38 ---> f03ea8e2381d 13:53:38 Step 10/26 : COPY go.mod vendor* ./ 13:53:38 ---> f6dfec3553de 13:53:38 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:53:38 ---> Running in 790b186bca06 13:53:39 Removing intermediate container 790b186bca06 13:53:39 ---> 1c9c43e01063 13:53:39 Step 12/26 : COPY . . 13:53:40 ---> 625203cc3acc 13:53:40 Step 13/26 : RUN ${MAKE} 13:53:40 ---> Running in e548354d87e1 13:53:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 13:54:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118922 in /w/workspace/undry_device-onvif-camera_PR-197 [Pipeline] { [Pipeline] ws 13:54:03 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 13:54:03 The recommended git tool is: git 13:54:07 Removing intermediate container e548354d87e1 13:54:07 ---> b5b66bba2c68 13:54:07 Step 14/26 : FROM alpine:3.16 13:54:07 3.16: Pulling from library/alpine 13:54:07 213ec9aee27d: Already exists 13:54:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 13:54:07 Status: Downloaded newer image for alpine:3.16 13:54:07 ---> 9c6f07244728 13:54:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:54:07 ---> Running in 418cd6c54c1a 13:54:07 Removing intermediate container 418cd6c54c1a 13:54:07 ---> 0d5c68fd4496 13:54:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:54:07 ---> Running in e83096403bdd 13:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:54:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:54:07 (1/6) Installing dumb-init (1.2.5-r1) 13:54:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:54:07 (3/6) Installing libsodium (1.0.18-r0) 13:54:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:54:07 (5/6) Installing libzmq (4.3.4-r0) 13:54:07 (6/6) Installing zeromq (4.3.4-r0) 13:54:07 Executing busybox-1.35.0-r17.trigger 13:54:07 OK: 8 MiB in 20 packages 13:54:07 Removing intermediate container e83096403bdd 13:54:07 ---> 82d5c064c86d 13:54:07 Step 17/26 : WORKDIR / 13:54:07 ---> Running in 40258bbe66bb 13:54:07 Removing intermediate container 40258bbe66bb 13:54:07 ---> 23f901ef74d4 13:54:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 13:54:07 ---> dbb7bd0621b7 13:54:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 13:54:07 ---> 2305b8146b15 13:54:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 13:54:07 ---> 830d46d2cdb1 13:54:07 Step 21/26 : EXPOSE 59984 13:54:07 ---> Running in d617b2d04ff1 13:54:07 Removing intermediate container d617b2d04ff1 13:54:07 ---> db87223a080c 13:54:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 13:54:07 ---> Running in 76f86551be52 13:54:07 Removing intermediate container 76f86551be52 13:54:07 ---> 6d8b436c9c93 13:54:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:54:07 ---> Running in 264accda8862 13:54:07 Removing intermediate container 264accda8862 13:54:07 ---> bd70cc269346 13:54:07 Step 24/26 : LABEL arch=amd64 13:54:07 ---> Running in 4724b5831122 13:54:07 Removing intermediate container 4724b5831122 13:54:07 ---> 3043d4a538a9 13:54:07 Step 25/26 : LABEL git_sha=c1b75f94bf465599af031118e7b7fcc8d1969457 13:54:07 ---> Running in 806e82be4bf4 13:54:07 Removing intermediate container 806e82be4bf4 13:54:07 ---> 98cf371d9712 13:54:07 Step 26/26 : LABEL version=0.0.0 13:54:07 ---> Running in cde89f465c02 13:54:07 Removing intermediate container cde89f465c02 13:54:07 ---> 5f6ac6b1e2b7 13:54:07 [Warning] One or more build-args [ARCH] were not consumed 13:54:07 Successfully built 5f6ac6b1e2b7 13:54:07 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:54:07 13:54:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:54:08 latest: Pulling from edgex-lftools-log-publisher 13:54:08 5eb5b503b376: Pulling fs layer 13:54:08 5c69ac0246d0: Pulling fs layer 13:54:08 ec43610c2a17: Pulling fs layer 13:54:08 3a2ae6a8a46f: Pulling fs layer 13:54:08 33b1e0a273af: Pulling fs layer 13:54:08 5d3b04190fa2: Pulling fs layer 13:54:08 2f39f015ded8: Pulling fs layer 13:54:08 33b1e0a273af: Waiting 13:54:08 5d3b04190fa2: Waiting 13:54:08 3a2ae6a8a46f: Waiting 13:54:08 2f39f015ded8: Waiting 13:54:08 5c69ac0246d0: Verifying Checksum 13:54:08 5c69ac0246d0: Download complete 13:54:08 3a2ae6a8a46f: Download complete 13:54:08 33b1e0a273af: Verifying Checksum 13:54:08 33b1e0a273af: Download complete 13:54:08 5d3b04190fa2: Verifying Checksum 13:54:08 5d3b04190fa2: Download complete 13:54:08 ec43610c2a17: Verifying Checksum 13:54:08 ec43610c2a17: Download complete 13:54:08 5eb5b503b376: Verifying Checksum 13:54:08 5eb5b503b376: Download complete 13:54:08 using credential edgex-jenkins-ssh 13:54:08 Cloning the remote Git repository 13:54:09 2f39f015ded8: Download complete 13:54:09 5eb5b503b376: Pull complete 13:54:10 5c69ac0246d0: Pull complete 13:54:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 13:54:08 > git init /w/workspace/device-onvif-camera/1 # timeout=10 13:54:09 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:54:09 > git --version # timeout=10 13:54:09 > git --version # 'git version 2.25.1' 13:54:09 using GIT_SSH to set credentials SSH Credentials for GitHub 13:54:09 Verifying host key using known hosts file 13:54:09 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. 13:54:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:54:10 ec43610c2a17: Pull complete 13:54:10 3a2ae6a8a46f: Pull complete 13:54:10 33b1e0a273af: Pull complete 13:54:10 5d3b04190fa2: Pull complete 13:54:10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:54:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:54:12 Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit c1b75f94bf465599af031118e7b7fcc8d1969457 13:54:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 13:54:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 13:54:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:54:11 Verifying host key using known hosts file 13:54:11 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. 13:54:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:54:13 Merge succeeded, producing c1b75f94bf465599af031118e7b7fcc8d1969457 13:54:13 Checking out Revision c1b75f94bf465599af031118e7b7fcc8d1969457 (PR-197) 13:54:12 > git config core.sparsecheckout # timeout=10 13:54:12 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 13:54:12 > git remote # timeout=10 13:54:12 > git config --get remote.origin.url # timeout=10 13:54:12 using GIT_SSH to set credentials SSH Credentials for GitHub 13:54:12 Verifying host key using known hosts file 13:54:12 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. 13:54:13 > git merge ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 13:54:13 > git rev-parse HEAD^{commit} # timeout=10 13:54:13 > git config core.sparsecheckout # timeout=10 13:54:13 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 13:54:14 2f39f015ded8: Pull complete 13:54:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:54:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:54:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:54:15 prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container 13:54:15 $ 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-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 13:54:16 Commit message: "docs: Bump Swagger version for Levski to 2.3.0" 13:54:16 > git --version # timeout=10 13:54:16 > git --version # 'git version 2.25.1' 13:54:16 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:54:17 13:54:17 GitHub has been notified of this commit’s build result 13:54:17 13:54:18 $ docker top bdd65d18202debfe4763771b18504916ca7c41ec02b88efc222dc4137cfd9eae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:54:18 ---> job-cost.sh 13:54:18 lf-activate-venv: SKIPPING 13:54:18 INFO: No Stack... 13:54:18 INFO: Retrieving Pricing Info for: v3-standard-8 13:54:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:54:19 % Total % Received % Xferd Average Speed Time Time Time Current 13:54:19 Dload Upload Total Spent Left Speed 13:54:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10502 0 0 66891 0 --:--:-- --:--:-- --:--:-- 66468 100 12602 100 12602 0 0 79257 0 --:--:-- --:--:-- --:--:-- 78762 13:54:19 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 13:54:19 + cat /w/workspace/undry_device-onvif-camera_PR-197/archives/cost.csv 13:54:19 + cut -d, -f6 [Pipeline] lock 13:54:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] 13:54:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] did not exist. Created. 13:54:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] { 13:54:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] unstash [Pipeline] sh 13:54:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:54:20 + sudo tee /etc/docker/daemon.new 13:54:20 { 13:54:20 "registry-mirrors": [ 13:54:20 "https://nexus3.edgexfoundry.org:10001" 13:54:20 ], 13:54:20 "bip": "10.250.0.254/24", 13:54:20 "hosts": [ 13:54:20 "tcp://0.0.0.0:5555", 13:54:20 "unix:///var/run/docker.sock" 13:54:20 ], 13:54:20 "mtu": 1458, 13:54:20 "selinux-enabled": true, 13:54:20 "seccomp-profile": "/etc/docker/seccomp.json" 13:54:20 } [Pipeline] sh 13:54:20 + echo total: 0.2199999988079071 [Pipeline] stash 13:54:20 Stashed 1 file(s) [Pipeline] } 13:54:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:54:20 $ docker stop --time=1 bdd65d18202debfe4763771b18504916ca7c41ec02b88efc222dc4137cfd9eae 13:54:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 13:54:21 $ docker rm -f bdd65d18202debfe4763771b18504916ca7c41ec02b88efc222dc4137cfd9eae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:54:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:54:40 provisioning config files... 13:54:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11864143653287342881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:54:40 ---> docker-login.sh 13:54:40 nexus3.edgexfoundry.org:10001 13:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:41 Configure a credential helper to remove this warning. See 13:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:41 13:54:41 Login Succeeded 13:54:41 nexus3.edgexfoundry.org:10002 13:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:41 Configure a credential helper to remove this warning. See 13:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:41 13:54:41 Login Succeeded 13:54:41 nexus3.edgexfoundry.org:10003 13:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:42 Configure a credential helper to remove this warning. See 13:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:42 13:54:42 Login Succeeded 13:54:42 nexus3.edgexfoundry.org:10004 13:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:42 Configure a credential helper to remove this warning. See 13:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:42 13:54:42 Login Succeeded 13:54:42 docker.io 13:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:43 Configure a credential helper to remove this warning. See 13:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:43 13:54:43 Login Succeeded 13:54:43 ---> docker-login.sh ends [Pipeline] } 13:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:43 ========================================================= 13:54:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:54:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:43 + 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 . 13:54:44 Sending build context to Docker daemon 20.54MB 13:54:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 13:54:44 Step 2/13 : FROM ${BASE} AS builder 13:54:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:54:44 9b18e9b68314: Pulling fs layer 13:54:44 35d82f9e3411: Pulling fs layer 13:54:44 e16973657156: Pulling fs layer 13:54:44 fc693d55d65f: Pulling fs layer 13:54:44 7e9fc2657dce: Pulling fs layer 13:54:44 dda99020689f: Pulling fs layer 13:54:44 db1c61fa0a46: Pulling fs layer 13:54:44 891c053d2c06: Pulling fs layer 13:54:44 fc693d55d65f: Waiting 13:54:44 7e9fc2657dce: Waiting 13:54:44 dda99020689f: Waiting 13:54:44 db1c61fa0a46: Waiting 13:54:44 891c053d2c06: Waiting 13:54:44 e16973657156: Verifying Checksum 13:54:44 e16973657156: Download complete 13:54:44 35d82f9e3411: Verifying Checksum 13:54:44 35d82f9e3411: Download complete 13:54:44 7e9fc2657dce: Verifying Checksum 13:54:44 7e9fc2657dce: Download complete 13:54:44 dda99020689f: Verifying Checksum 13:54:44 dda99020689f: Download complete 13:54:44 9b18e9b68314: Verifying Checksum 13:54:44 9b18e9b68314: Download complete 13:54:45 9b18e9b68314: Pull complete 13:54:45 891c053d2c06: Verifying Checksum 13:54:45 891c053d2c06: Download complete 13:54:46 35d82f9e3411: Pull complete 13:54:46 e16973657156: Pull complete 13:54:46 db1c61fa0a46: Verifying Checksum 13:54:46 db1c61fa0a46: Download complete 13:54:47 fc693d55d65f: Download complete 13:54:59 fc693d55d65f: Pull complete 13:54:59 7e9fc2657dce: Pull complete 13:54:59 dda99020689f: Pull complete 13:55:06 db1c61fa0a46: Pull complete 13:55:07 891c053d2c06: Pull complete 13:55:07 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:55:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:55:07 ---> f96f9c87975a 13:55:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 13:55:09 ---> Running in fbd0e36ad36f 13:55:09 Removing intermediate container fbd0e36ad36f 13:55:09 ---> f5fd7533e0d2 13:55:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:55:09 ---> Running in 4569b77b010d 13:55:10 Removing intermediate container 4569b77b010d 13:55:10 ---> a459ea615840 13:55:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 13:55:10 ---> Running in 97f4d8fc9da4 13:55:10 Removing intermediate container 97f4d8fc9da4 13:55:10 ---> e18ff663f889 13:55:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 13:55:10 ---> Running in 24c4d8a564ab 13:55:10 Removing intermediate container 24c4d8a564ab 13:55:10 ---> 1c979b2fc7ee 13:55:10 Step 7/13 : LABEL Name=edgex-device-onvif-camera 13:55:10 ---> Running in 155bfe1875b2 13:55:11 Removing intermediate container 155bfe1875b2 13:55:11 ---> 9461a981cf0d 13:55:11 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:55:11 ---> Running in 2b9eeb105fde 13:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:55:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:55:13 OK: 221 MiB in 51 packages 13:55:14 Removing intermediate container 2b9eeb105fde 13:55:14 ---> c1bbb67beb9c 13:55:14 Step 9/13 : WORKDIR /device-onvif-camera 13:55:14 ---> Running in 6a9cd28a1891 13:55:14 Removing intermediate container 6a9cd28a1891 13:55:14 ---> de9ac141b5e8 13:55:14 Step 10/13 : COPY go.mod vendor* ./ 13:55:16 ---> 7a42d487bfd5 13:55:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:55:16 ---> Running in e182a8fa3985 13:56:13 Removing intermediate container e182a8fa3985 13:56:13 ---> 65f2b27720a5 13:56:13 Step 12/13 : COPY . . 13:56:13 ---> 3076bbfe6a8e 13:56:13 Step 13/13 : RUN ${MAKE} 13:56:13 ---> Running in 32b0d567be5b 13:56:13 noop 13:56:13 Removing intermediate container 32b0d567be5b 13:56:13 ---> 8b72965098a2 13:56:13 Successfully built 8b72965098a2 13:56:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:14 + docker inspect -f . ci-base-image-arm64 13:56:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:14 prd-ubuntu20.04-docker-arm64-4c-16g-118922 does not seem to be running inside a container 13:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:56:15 $ docker top 2eb6fc95d874f6125beabf8399bfb4a437fc08ad35d1cb86b7692beda0329396 -eo pid,comm [Pipeline] { [Pipeline] sh 13:56:16 + go version 13:56:16 go version go1.18.7 linux/arm64 [Pipeline] } 13:56:16 $ docker stop --time=1 2eb6fc95d874f6125beabf8399bfb4a437fc08ad35d1cb86b7692beda0329396 13:56:18 $ docker rm -f 2eb6fc95d874f6125beabf8399bfb4a437fc08ad35d1cb86b7692beda0329396 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:18 + docker inspect -f . ci-base-image-arm64 13:56:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:19 prd-ubuntu20.04-docker-arm64-4c-16g-118922 does not seem to be running inside a container 13:56:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:56:20 $ docker top ffccd3162d6c35f46d2849da6efb2931994ffd0d4dc1c1cf800142e057804daa -eo pid,comm [Pipeline] { [Pipeline] sh 13:56:20 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 13:56:21 + make test 13:56:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:56:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 13:57:59 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 13:57:59 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.209s coverage: 29.3% of statements 13:57:59 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 13:58:21 --- FAIL: TestIpGenerator (0.00s) 13:58:21 --- FAIL: TestIpGenerator/basic_/8_subnet (30.21s) 13:58:21 util_test.go:180: 13:58:21 Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:180 13:58:21 Error: Not equal: 13:58:21 expected: 0xfffffe 13:58:21 actual : 0xfd6039 13:58:21 Test: TestIpGenerator/basic_/8_subnet 13:58:21 util_test.go:183: 13:58:21 Error Trace: /w/workspace/device-onvif-camera/1/internal/netscan/util_test.go:183 13:58:21 Error: Not equal: 13:58:21 expected: "10.255.255.254" 13:58:21 actual : "10.253.96.57" 13:58:21 13:58:21 Diff: 13:58:21 --- Expected 13:58:21 +++ Actual 13:58:21 @@ -1 +1 @@ 13:58:21 -10.255.255.254 13:58:21 +10.253.96.57 13:58:21 Test: TestIpGenerator/basic_/8_subnet 13:58:21 FAIL 13:58:21 coverage: 86.5% of statements 13:58:21 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.419s 13:58:21 FAIL 13:58:21 make: *** [Makefile:61: unittest] Error 1 [Pipeline] } 13:58:21 $ docker stop --time=1 ffccd3162d6c35f46d2849da6efb2931994ffd0d4dc1c1cf800142e057804daa 13:58:23 $ docker rm -f ffccd3162d6c35f46d2849da6efb2931994ffd0d4dc1c1cf800142e057804daa [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 13:58:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:58:25 13:58:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:58:25 arm64: Pulling from edgex-lftools-log-publisher 13:58:25 8998bd30e6a1: Pulling fs layer 13:58:25 04944245beec: Pulling fs layer 13:58:25 699f458cf7ca: Pulling fs layer 13:58:25 765212b225bb: Pulling fs layer 13:58:25 f23df028b6ca: Pulling fs layer 13:58:25 d65c8cfc05b1: Pulling fs layer 13:58:25 2437ff75d9bd: Pulling fs layer 13:58:25 765212b225bb: Waiting 13:58:25 d65c8cfc05b1: Waiting 13:58:25 f23df028b6ca: Waiting 13:58:25 2437ff75d9bd: Waiting 13:58:25 04944245beec: Verifying Checksum 13:58:25 04944245beec: Download complete 13:58:25 765212b225bb: Verifying Checksum 13:58:25 765212b225bb: Download complete 13:58:25 f23df028b6ca: Verifying Checksum 13:58:25 f23df028b6ca: Download complete 13:58:25 d65c8cfc05b1: Verifying Checksum 13:58:25 d65c8cfc05b1: Download complete 13:58:26 699f458cf7ca: Verifying Checksum 13:58:26 699f458cf7ca: Download complete 13:58:26 8998bd30e6a1: Verifying Checksum 13:58:26 8998bd30e6a1: Download complete 13:58:29 2437ff75d9bd: Verifying Checksum 13:58:29 2437ff75d9bd: Download complete 13:58:33 8998bd30e6a1: Pull complete 13:58:33 04944245beec: Pull complete 13:58:34 699f458cf7ca: Pull complete 13:58:34 765212b225bb: Pull complete 13:58:35 f23df028b6ca: Pull complete 13:58:35 d65c8cfc05b1: Pull complete 13:58:54 2437ff75d9bd: Pull complete 13:58:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:58:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:58:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:54 prd-ubuntu20.04-docker-arm64-4c-16g-118922 does not seem to be running inside a container 13:58:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:58:57 $ docker top 57db2d0c892a1401bbfa809511b99c5089710a62ebaae317bc237a62f3c4cbf7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:58:57 ---> job-cost.sh 13:58:58 lf-activate-venv: SKIPPING 13:58:58 INFO: No Stack... 13:58:58 INFO: Retrieving Pricing Info for: v3-standard-4 13:58:59 INFO: Archiving Costs [Pipeline] sh 13:59:00 + + cat /w/workspace/device-onvif-camera/1/archives/cost.csvcut 13:59:00 -d, -f6 [Pipeline] lock 13:59:00 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] 13:59:00 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] did not exist. Created. 13:59:00 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:59:00 /w/workspace/device-onvif-camera/1@tmp/durable-704f1cab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:59:01 + echo total: 0.10999999940395355 [Pipeline] stash 13:59:01 Warning: overwriting stash ‘stack-cost’ 13:59:02 Stashed 1 file(s) [Pipeline] } 13:59:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:59:02 $ docker stop --time=1 57db2d0c892a1401bbfa809511b99c5089710a62ebaae317bc237a62f3c4cbf7 13:59:04 $ docker rm -f 57db2d0c892a1401bbfa809511b99c5089710a62ebaae317bc237a62f3c4cbf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 13:59:04 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 13:59:06 + [ -d /w/workspace/undry_device-onvif-camera_PR-197/archives ] 13:59:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-197/archives 13:59:06 total 16 13:59:06 drwxr-xr-x 3 root root 4096 Nov 10 13:54 . 13:59:06 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 13:54 .. 13:59:06 drwxr-xr-x 2 root root 4096 Nov 10 13:54 cost 13:59:06 -rw-r--r-- 1 root root 91 Nov 10 13:54 cost.csv 13:59:06 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-197/archives 13:59:06 + ls -al /w/workspace/undry_device-onvif-camera_PR-197/archives 13:59:06 total 16 13:59:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 13:54 . 13:59:06 drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 13:54 .. 13:59:06 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 13:54 cost 13:59:06 -rw-r--r-- 1 jenkins jenkins 91 Nov 10 13:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:59:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:59:08 ---> package-listing.sh 13:59:08 ++ facter osfamily 13:59:08 ++ tr '[:upper:]' '[:lower:]' 13:59:08 + OS_FAMILY=debian 13:59:08 + workspace=/w/workspace/undry_device-onvif-camera_PR-197 13:59:08 + START_PACKAGES=/tmp/packages_start.txt 13:59:08 + END_PACKAGES=/tmp/packages_end.txt 13:59:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:59:08 + PACKAGES=/tmp/packages_start.txt 13:59:08 + '[' /w/workspace/undry_device-onvif-camera_PR-197 ']' 13:59:08 + PACKAGES=/tmp/packages_end.txt 13:59:08 + case "${OS_FAMILY}" in 13:59:08 + dpkg -l 13:59:08 + grep '^ii' 13:59:08 + '[' -f /tmp/packages_start.txt ']' 13:59:08 + '[' -f /tmp/packages_end.txt ']' 13:59:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:59:08 + '[' /w/workspace/undry_device-onvif-camera_PR-197 ']' 13:59:08 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-197/archives/ 13:59:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-197/archives/ [Pipeline] echo 13:59:08 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:59:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:59:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:59:09 prd-ubuntu20.04-docker-8c-8g-118921 does not seem to be running inside a container 13:59:09 $ 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-197/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-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 13:59:09 $ docker top e23f8bdacb04a63394a34c0dd871dfd4df09302230759c8a6b6be3431cb29314 -eo pid,comm [Pipeline] { [Pipeline] sh 13:59:10 + touch /tmp/pre-build-complete [Pipeline] sh 13:59:10 + mkdir -p /var/log/sysstat [Pipeline] sh 13:59:10 + ls /var/log/sa-host 13:59:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:59:10 provisioning config files... 13:59:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config6463785537544781311tmp [Pipeline] { [Pipeline] echo 13:59:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:59:11 ---> create-netrc.sh [Pipeline] } 13:59:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:59:11 ---> python-tools-install.sh [Pipeline] echo 13:59:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:59:12 ---> sudo-logs.sh 13:59:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:59:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:59:12 ---> job-cost.sh 13:59:12 lf-activate-venv: SKIPPING 13:59:12 DEBUG: total: 0.2199999988079071 13:59:12 INFO: Retrieving Stack Cost... 13:59:13 INFO: Retrieving Pricing Info for: v3-standard-8 13:59:13 INFO: Archiving Costs [Pipeline] echo 13:59:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:59:13 ---> logs-deploy.sh 13:59:13 lf-activate-venv: SKIPPING 13:59:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-197/1 13:59:13 INFO: archiving workspace using pattern(s): 13:59:14 Archives upload complete. 13:59:14 INFO: archiving logs to Nexus