Pull request #164 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 50a13ee558ba2efde0d9211aba0413d3406de588+93a2116a16fd236fe7cdb3fd99bdb7206e0b648a (b36dcb24cc6d84e5e23b42181ef5be8029832899) 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-ssh8312860616662261034.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-ssh15150006727127561611.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 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-164/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-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17769393831322904962.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-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6777309796732571998.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 > 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-ssh16470068405016429846.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-164/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-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13958911692524777622.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Running on prd-ubuntu20.04-docker-8c-8g-1462 in /w/workspace/undry_device-onvif-camera_PR-164 [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-164 # 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/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit 50a13ee558ba2efde0d9211aba0413d3406de588 Merge succeeded, producing 50a13ee558ba2efde0d9211aba0413d3406de588 Checking out Revision 50a13ee558ba2efde0d9211aba0413d3406de588 (PR-164) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # 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 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:56:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:56:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:56:53 ========================================================= 23:56:53 EdgeX Global Pipelines Version Info 23:56:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:56:54 ------------------- 23:56:54 stable info: 23:56:54 ------------------- 23:56:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:56:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:56:54 Message: update stable to v1.0.239 23:56:55 ------------------- 23:56:55 experimental info: 23:56:55 ------------------- 23:56:55 Commited By: **** collab-it+edgex@linuxfoundation.org 23:56:55 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:56:55 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 50a13ee [Pipeline] echo 23:56:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:56:56 provisioning config files... 23:56:56 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config15140451757949530378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:57 ---> docker-login.sh 23:56:57 nexus3.edgexfoundry.org:10001 23:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:57 Configure a credential helper to remove this warning. See 23:56:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:57 23:56:57 Login Succeeded 23:56:57 nexus3.edgexfoundry.org:10002 23:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:57 Configure a credential helper to remove this warning. See 23:56:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:57 23:56:57 Login Succeeded 23:56:57 nexus3.edgexfoundry.org:10003 23:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:58 Configure a credential helper to remove this warning. See 23:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:58 23:56:58 Login Succeeded 23:56:58 nexus3.edgexfoundry.org:10004 23:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:58 Configure a credential helper to remove this warning. See 23:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:58 23:56:58 Login Succeeded 23:56:58 docker.io 23:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:58 Configure a credential helper to remove this warning. See 23:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:58 23:56:58 Login Succeeded 23:56:58 ---> docker-login.sh ends [Pipeline] } 23:56:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:56:59 + git rev-list -1 --merges 50a13ee558ba2efde0d9211aba0413d3406de588~1..50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo 23:56:59 -----------> git rev-list -1 --merges 50a13ee558ba2efde0d9211aba0413d3406de588~1..50a13ee558ba2efde0d9211aba0413d3406de588 50a13ee558ba2efde0d9211aba0413d3406de588 [false] [Pipeline] sh 23:56:59 + git log --format=format:%s -1 50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo 23:56:59 ========================================================= 23:56:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:56:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:56:59 + git log --format=format:%s -1 50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] echo 23:57:00 [semverPrep] GIT_COMMIT: 50a13ee558ba2efde0d9211aba0413d3406de588, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 23:57:00 [semverPrep] This is not a build commit. [Pipeline] sh 23:57:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:57:00 + grep -v github /etc/ssh/ssh_known_hosts 23:57:00 + [ -e /tmp/ssh_known_hosts ] 23:57:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:57:00 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 23:57:00 tee -a /etc/ssh/ssh_known_hosts 23:57:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:00 23:57:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:01 0.1.4: Pulling from edgex-devops/py-git-semver 23:57:01 b85a868b505f: Pulling fs layer 23:57:01 e2be974225ed: Pulling fs layer 23:57:01 339a4e72a1f5: Pulling fs layer 23:57:01 988bab9f4d93: Pulling fs layer 23:57:01 1469e6f7b9e6: Pulling fs layer 23:57:01 eaf3925da568: Pulling fs layer 23:57:01 bab4dde63d76: Pulling fs layer 23:57:01 bde34c3a00c8: Pulling fs layer 23:57:01 b352a97aabf1: Pulling fs layer 23:57:01 4872d77fe225: Pulling fs layer 23:57:01 5851b861e8e6: Pulling fs layer 23:57:01 988bab9f4d93: Waiting 23:57:01 1469e6f7b9e6: Waiting 23:57:01 eaf3925da568: Waiting 23:57:01 bab4dde63d76: Waiting 23:57:01 4872d77fe225: Waiting 23:57:01 5851b861e8e6: Waiting 23:57:01 bde34c3a00c8: Waiting 23:57:01 b352a97aabf1: Waiting 23:57:01 e2be974225ed: Download complete 23:57:01 988bab9f4d93: Download complete 23:57:01 339a4e72a1f5: Verifying Checksum 23:57:01 339a4e72a1f5: Download complete 23:57:01 1469e6f7b9e6: Verifying Checksum 23:57:01 1469e6f7b9e6: Download complete 23:57:01 eaf3925da568: Verifying Checksum 23:57:01 eaf3925da568: Download complete 23:57:01 bde34c3a00c8: Verifying Checksum 23:57:01 bde34c3a00c8: Download complete 23:57:01 b352a97aabf1: Verifying Checksum 23:57:01 b352a97aabf1: Download complete 23:57:01 4872d77fe225: Verifying Checksum 23:57:01 4872d77fe225: Download complete 23:57:01 5851b861e8e6: Verifying Checksum 23:57:01 5851b861e8e6: Download complete 23:57:01 b85a868b505f: Download complete 23:57:01 bab4dde63d76: Verifying Checksum 23:57:01 bab4dde63d76: Download complete 23:57:02 b85a868b505f: Pull complete 23:57:02 e2be974225ed: Pull complete 23:57:03 339a4e72a1f5: Pull complete 23:57:03 988bab9f4d93: Pull complete 23:57:03 1469e6f7b9e6: Pull complete 23:57:03 eaf3925da568: Pull complete 23:57:05 bab4dde63d76: Pull complete 23:57:05 bde34c3a00c8: Pull complete 23:57:05 b352a97aabf1: Pull complete 23:57:05 4872d77fe225: Pull complete 23:57:05 5851b861e8e6: Pull complete 23:57:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:57:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:57:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:06 prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container 23:57:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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 23:57:07 $ docker top 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d -eo pid,comm 23:57:07 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). 23:57:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:57:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:07 [ssh-agent] Looking for ssh-agent implementation... 23:57:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:07 $ docker exec 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent 23:57:07 SSH_AUTH_SOCK=/tmp/ssh-6DqNbJkPHbWy/agent.32 23:57:07 SSH_AGENT_PID=38 23:57:07 Running ssh-add (command line suppressed) 23:57:07 Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_2438497299178476091.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_2438497299178476091.key) 23:57:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:08 + git tag --points-at HEAD [Pipeline] } 23:57:08 $ docker exec --env ******** --env ******** 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent -k 23:57:08 unset SSH_AUTH_SOCK; 23:57:08 unset SSH_AGENT_PID; 23:57:08 echo Agent pid 38 killed; 23:57:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:57:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:57:08 [ssh-agent] Looking for ssh-agent implementation... 23:57:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:57:08 $ docker exec 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent 23:57:08 SSH_AUTH_SOCK=/tmp/ssh-SCeFH1SMBcbk/agent.70 23:57:08 SSH_AGENT_PID=77 23:57:08 Running ssh-add (command line suppressed) 23:57:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_16287209359739430819.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_16287209359739430819.key) 23:57:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:57:08 + git semver init 23:57:09 2022-09-27 23:57:09,169 [run_init] DEBUG init version:0.0.0 force:False 23:57:09 2022-09-27 23:57:09,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-164/.semver 23:57:09 2022-09-27 23:57:09,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-164/.semver 23:57:09 2022-09-27 23:57:09,171 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-164/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-164, universal_newlines=False, shell=None, istream=None) 23:57:10 2022-09-27 23:57:10,128 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-164/.git/info/exclude 23:57:10 2022-09-27 23:57:10,129 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 with force:False 23:57:10 2022-09-27 23:57:10,129 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 23:57:10 2022-09-27 23:57:10,132 [execute] INFO git cat-file --batch-check 23:57:10 2022-09-27 23:57:10,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) 23:57:10 2022-09-27 23:57:10,139 [execute] INFO git cat-file --batch 23:57:10 2022-09-27 23:57:10,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) 23:57:10 2022-09-27 23:57:10,146 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 23:57:10 0.0.0 [Pipeline] } 23:57:10 $ docker exec --env ******** --env ******** 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d ssh-agent -k 23:57:10 unset SSH_AUTH_SOCK; 23:57:10 unset SSH_AGENT_PID; 23:57:10 echo Agent pid 77 killed; 23:57:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:57:10 + git semver [Pipeline] } 23:57:11 $ docker stop --time=1 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d 23:57:12 $ docker rm -f 0551c8e2e31737a80651f8d25c6efdbcf911e2fdf87928af7fcb050d8c5c673d [Pipeline] // withDockerContainer [Pipeline] sh 23:57:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:57:13 Stashed 1 file(s) [Pipeline] echo 23:57:13 [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 23:57:13 provisioning config files... 23:57:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config7854013622877840937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:13 ---> docker-login.sh 23:57:13 nexus3.edgexfoundry.org:10001 23:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:13 Configure a credential helper to remove this warning. See 23:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:13 23:57:13 Login Succeeded 23:57:13 nexus3.edgexfoundry.org:10002 23:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:13 Configure a credential helper to remove this warning. See 23:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:13 23:57:13 Login Succeeded 23:57:13 nexus3.edgexfoundry.org:10003 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:14 Configure a credential helper to remove this warning. See 23:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:14 23:57:14 Login Succeeded 23:57:14 nexus3.edgexfoundry.org:10004 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:14 Configure a credential helper to remove this warning. See 23:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:14 23:57:14 Login Succeeded 23:57:14 docker.io 23:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:14 Configure a credential helper to remove this warning. See 23:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:14 23:57:14 Login Succeeded 23:57:14 ---> docker-login.sh ends [Pipeline] } 23:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:15 ========================================================= 23:57:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:57:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:15 + 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 . 23:57:15 Sending build context to Docker daemon 20.76MB 23:57:15 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 23:57:15 Step 2/14 : FROM ${BASE} AS builder 23:57:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:57:15 2408cc74d12b: Pulling fs layer 23:57:15 ea60b727a1ce: Pulling fs layer 23:57:15 30c4a7721957: Pulling fs layer 23:57:15 370296b7ddb6: Pulling fs layer 23:57:15 7c6cee850709: Pulling fs layer 23:57:15 39a5fcdaea64: Pulling fs layer 23:57:15 d94ebbe4e438: Pulling fs layer 23:57:15 bcfd1f05c69d: Pulling fs layer 23:57:15 59ccb84bbe0f: Pulling fs layer 23:57:15 39a5fcdaea64: Waiting 23:57:15 370296b7ddb6: Waiting 23:57:15 59ccb84bbe0f: Waiting 23:57:15 7c6cee850709: Waiting 23:57:15 d94ebbe4e438: Waiting 23:57:15 30c4a7721957: Verifying Checksum 23:57:15 30c4a7721957: Download complete 23:57:15 ea60b727a1ce: Verifying Checksum 23:57:15 ea60b727a1ce: Download complete 23:57:15 7c6cee850709: Verifying Checksum 23:57:15 7c6cee850709: Download complete 23:57:15 39a5fcdaea64: Verifying Checksum 23:57:15 39a5fcdaea64: Download complete 23:57:15 2408cc74d12b: Verifying Checksum 23:57:15 2408cc74d12b: Download complete 23:57:15 d94ebbe4e438: Download complete 23:57:15 2408cc74d12b: Pull complete 23:57:16 ea60b727a1ce: Pull complete 23:57:16 30c4a7721957: Pull complete 23:57:16 59ccb84bbe0f: Verifying Checksum 23:57:16 59ccb84bbe0f: Download complete 23:57:16 370296b7ddb6: Verifying Checksum 23:57:16 370296b7ddb6: Download complete 23:57:16 bcfd1f05c69d: Verifying Checksum 23:57:21 370296b7ddb6: Pull complete 23:57:21 7c6cee850709: Pull complete 23:57:21 39a5fcdaea64: Pull complete 23:57:21 d94ebbe4e438: Pull complete 23:57:22 bcfd1f05c69d: Pull complete 23:57:23 59ccb84bbe0f: Pull complete 23:57:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:57:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:57:23 ---> a4fb48ad2a94 23:57:23 Step 3/14 : ARG ADD_BUILD_TAGS="" 23:57:24 ---> Running in e41a369cf45c 23:57:24 Removing intermediate container e41a369cf45c 23:57:24 ---> 477e03b08256 23:57:24 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:24 ---> Running in d638dcc9b8d9 23:57:24 Removing intermediate container d638dcc9b8d9 23:57:24 ---> 445e103cb872 23:57:24 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:57:25 ---> Running in 371521bc946f 23:57:25 Removing intermediate container 371521bc946f 23:57:25 ---> 78a66363eeef 23:57:25 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 23:57:25 ---> Running in dc0b96cb1501 23:57:25 Removing intermediate container dc0b96cb1501 23:57:25 ---> a216eb215bd0 23:57:25 Step 7/14 : LABEL Name=edgex-device-onvif-camera 23:57:25 ---> Running in be4603f1bb1b 23:57:25 Removing intermediate container be4603f1bb1b 23:57:25 ---> bfd894764820 23:57:25 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:25 ---> Running in 36f7cf08d468 23:57:25 Removing intermediate container 36f7cf08d468 23:57:25 ---> e3af55985db3 23:57:25 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:25 ---> Running in 7ab0e6e9bf4f 23:57:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:57:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:57:27 OK: 211 MiB in 51 packages 23:57:27 Removing intermediate container 7ab0e6e9bf4f 23:57:27 ---> f14c73847e5b 23:57:27 Step 10/14 : WORKDIR /device-onvif-camera 23:57:27 ---> Running in 86139e81b3bb 23:57:27 Removing intermediate container 86139e81b3bb 23:57:27 ---> c5041a032f48 23:57:27 Step 11/14 : COPY go.mod vendor* ./ 23:57:28 ---> 4248c3166849 23:57:28 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:28 ---> Running in 95bd0acb6793 23:57:28 Still waiting to schedule task 23:57:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:57:46 Removing intermediate container 95bd0acb6793 23:57:46 ---> 72b2cb584cf2 23:57:46 Step 13/14 : COPY . . 23:57:46 ---> 58c683e4894c 23:57:46 Step 14/14 : RUN ${MAKE} 23:57:46 ---> Running in e622969c42a2 23:57:46 noop 23:57:46 Removing intermediate container e622969c42a2 23:57:46 ---> ac11dbe24b84 23:57:46 Successfully built ac11dbe24b84 23:57:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:46 + docker inspect -f . ci-base-image-x86_64 23:57:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:46 prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container 23:57:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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 23:57:47 $ docker top b64c00d90e46c0355ee015b70db26bfa9fc944598db5b0689b863a5900dd8f24 -eo pid,comm [Pipeline] { [Pipeline] sh 23:57:47 + go version 23:57:47 go version go1.18.3 linux/amd64 [Pipeline] } 23:57:47 $ docker stop --time=1 b64c00d90e46c0355ee015b70db26bfa9fc944598db5b0689b863a5900dd8f24 23:57:48 $ docker rm -f b64c00d90e46c0355ee015b70db26bfa9fc944598db5b0689b863a5900dd8f24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:49 + docker inspect -f . ci-base-image-x86_64 23:57:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:49 prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container 23:57:49 $ 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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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 23:57:50 $ docker top 88990d36a421c5ad9e5eabdabebe86227fa4c1447923a220cd6faf8240c46d59 -eo pid,comm [Pipeline] { [Pipeline] sh 23:57:50 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] fileExists [Pipeline] sh 23:57:50 + make test 23:57:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:57:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:58:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:58:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 28.2% of statements 23:58:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:58:02 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.208s coverage: 86.5% of statements 23:58:08 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." 23:58:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:58:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:58:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:58:12 ./bin/test-attribution-txt.sh [Pipeline] echo 23:58:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:58:12 $ docker stop --time=1 88990d36a421c5ad9e5eabdabebe86227fa4c1447923a220cd6faf8240c46d59 23:58:13 $ docker rm -f 88990d36a421c5ad9e5eabdabebe86227fa4c1447923a220cd6faf8240c46d59 [Pipeline] // withDockerContainer [Pipeline] sh 23:58:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:58:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:58:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:58:15 + ls -al . 23:58:15 total 236 23:58:15 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 23:57 . 23:58:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:56 .. 23:58:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:58 .git 23:58:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:56 .github 23:58:15 -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 23:56 .gitignore 23:58:15 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 23:56 .golangci.yml 23:58:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:57 .semver 23:58:15 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 23:56 Attribution.txt 23:58:15 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 23:56 CHANGELOG.md 23:58:15 -rw-rw-r-- 1 jenkins jenkins 1726 Sep 27 23:56 Dockerfile 23:58:15 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:56 GOVERNANCE.md 23:58:15 -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 23:56 Jenkinsfile 23:58:15 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 23:56 LICENSE 23:58:15 -rw-rw-r-- 1 jenkins jenkins 2858 Sep 27 23:56 Makefile 23:58:15 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:56 OWNERS.md 23:58:15 -rw-rw-r-- 1 jenkins jenkins 6460 Sep 27 23:56 README.md 23:58:15 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 23:57 VERSION 23:58:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:56 bin 23:58:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:56 cmd 23:58:15 -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 23:58 coverage.out 23:58:15 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 23:56 doc 23:58:15 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 23:56 go.mod 23:58:15 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 27 23:56 go.sum 23:58:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:56 internal 23:58:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:56 snap 23:58:15 -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:15 + 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=50a13ee558ba2efde0d9211aba0413d3406de588 --label arch=amd64 --label version=0.0.0 . 23:58:15 Sending build context to Docker daemon 20.84MB 23:58:15 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 23:58:15 Step 2/27 : FROM ${BASE} AS builder 23:58:15 ---> ac11dbe24b84 23:58:15 Step 3/27 : ARG ADD_BUILD_TAGS="" 23:58:16 ---> Running in b03d73dec3d1 23:58:16 Removing intermediate container b03d73dec3d1 23:58:16 ---> c5e65eadb7d7 23:58:16 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:58:16 ---> Running in 95dbcbe9e730 23:58:16 Removing intermediate container 95dbcbe9e730 23:58:16 ---> 53cb7c5865d7 23:58:16 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:58:16 ---> Running in e777226c1cc9 23:58:16 Removing intermediate container e777226c1cc9 23:58:16 ---> 1f93d9e175b1 23:58:16 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 23:58:16 ---> Running in 7b1da31035a3 23:58:16 Removing intermediate container 7b1da31035a3 23:58:16 ---> 33fd976f3af5 23:58:16 Step 7/27 : LABEL Name=edgex-device-onvif-camera 23:58:16 ---> Running in da65e1746f5c 23:58:16 Removing intermediate container da65e1746f5c 23:58:16 ---> 9ecee240c617 23:58:16 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:58:16 ---> Running in ac336e1ec5d0 23:58:17 Removing intermediate container ac336e1ec5d0 23:58:17 ---> 577613110a80 23:58:17 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:17 ---> Running in b91717926828 23:58:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:58:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:58:18 OK: 211 MiB in 51 packages 23:58:18 Removing intermediate container b91717926828 23:58:18 ---> ad450b21dc15 23:58:18 Step 10/27 : WORKDIR /device-onvif-camera 23:58:18 ---> Running in 46d815b57f24 23:58:18 Removing intermediate container 46d815b57f24 23:58:18 ---> f756de99702e 23:58:18 Step 11/27 : COPY go.mod vendor* ./ 23:58:19 ---> 13a38cf7aa96 23:58:19 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:19 ---> Running in 54b69da23bd5 23:58:19 Removing intermediate container 54b69da23bd5 23:58:19 ---> c2f8bc23ab26 23:58:19 Step 13/27 : COPY . . 23:58:20 ---> 7c11c95be6c6 23:58:20 Step 14/27 : RUN ${MAKE} 23:58:20 ---> Running in 31a8d307e0a5 23:58:20 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-dev.28" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:58:42 Removing intermediate container 31a8d307e0a5 23:58:42 ---> 2f0e987375d9 23:58:42 Step 15/27 : FROM alpine:3.16 23:58:42 3.16: Pulling from library/alpine 23:58:42 213ec9aee27d: Pulling fs layer 23:58:42 213ec9aee27d: Verifying Checksum 23:58:42 213ec9aee27d: Download complete 23:58:42 213ec9aee27d: Pull complete 23:58:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:58:42 Status: Downloaded newer image for alpine:3.16 23:58:42 ---> 9c6f07244728 23:58:42 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:58:42 ---> Running in 5a9c6c806f4a 23:58:42 Removing intermediate container 5a9c6c806f4a 23:58:42 ---> de09cbd4996e 23:58:42 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 23:58:42 ---> Running in 9314751539d6 23:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:58:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:58:42 (1/6) Installing dumb-init (1.2.5-r1) 23:58:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:58:43 (3/6) Installing libsodium (1.0.18-r0) 23:58:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:58:43 (5/6) Installing libzmq (4.3.4-r0) 23:58:43 (6/6) Installing zeromq (4.3.4-r0) 23:58:43 Executing busybox-1.35.0-r17.trigger 23:58:43 OK: 8 MiB in 20 packages 23:58:43 Removing intermediate container 9314751539d6 23:58:43 ---> 0e1084c71024 23:58:43 Step 18/27 : WORKDIR / 23:58:43 ---> Running in bed1cffc9144 23:58:43 Removing intermediate container bed1cffc9144 23:58:43 ---> cebe09397376 23:58:43 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 23:58:44 ---> e0c765b93273 23:58:44 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 23:58:44 ---> 352f11e5240e 23:58:44 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:58:44 ---> 702a483d8cd8 23:58:44 Step 22/27 : EXPOSE 59984 23:58:44 ---> Running in 136f03727af4 23:58:44 Removing intermediate container 136f03727af4 23:58:44 ---> 465b1cbc1ed9 23:58:44 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 23:58:44 ---> Running in 86fdc6fd863e 23:58:44 Removing intermediate container 86fdc6fd863e 23:58:44 ---> 18e819660cc3 23:58:44 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:58:44 ---> Running in 7875e2098a2f 23:58:44 Removing intermediate container 7875e2098a2f 23:58:44 ---> a9139aa14d82 23:58:44 Step 25/27 : LABEL arch=amd64 23:58:44 ---> Running in 6f1e2f02cfa4 23:58:45 Removing intermediate container 6f1e2f02cfa4 23:58:45 ---> ff646da7c049 23:58:45 Step 26/27 : LABEL git_sha=50a13ee558ba2efde0d9211aba0413d3406de588 23:58:45 ---> Running in 495fc9b9c7e9 23:58:45 Removing intermediate container 495fc9b9c7e9 23:58:45 ---> 86cef2a36bda 23:58:45 Step 27/27 : LABEL version=0.0.0 23:58:45 ---> Running in 7501aba54d4e 23:58:45 Removing intermediate container 7501aba54d4e 23:58:45 ---> 44dbb1002b25 23:58:45 [Warning] One or more build-args [ARCH] were not consumed 23:58:45 Successfully built 44dbb1002b25 23:58:45 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 23:58:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:58:46 23:58:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:58:46 latest: Pulling from edgex-lftools-log-publisher 23:58:46 5eb5b503b376: Pulling fs layer 23:58:46 5c69ac0246d0: Pulling fs layer 23:58:46 ec43610c2a17: Pulling fs layer 23:58:46 3a2ae6a8a46f: Pulling fs layer 23:58:46 33b1e0a273af: Pulling fs layer 23:58:46 5d3b04190fa2: Pulling fs layer 23:58:46 2f39f015ded8: Pulling fs layer 23:58:46 3a2ae6a8a46f: Waiting 23:58:46 2f39f015ded8: Waiting 23:58:46 33b1e0a273af: Waiting 23:58:46 5d3b04190fa2: Waiting 23:58:46 5c69ac0246d0: Verifying Checksum 23:58:46 5c69ac0246d0: Download complete 23:58:46 3a2ae6a8a46f: Verifying Checksum 23:58:46 3a2ae6a8a46f: Download complete 23:58:46 33b1e0a273af: Verifying Checksum 23:58:46 33b1e0a273af: Download complete 23:58:46 ec43610c2a17: Verifying Checksum 23:58:46 ec43610c2a17: Download complete 23:58:46 5d3b04190fa2: Verifying Checksum 23:58:46 5d3b04190fa2: Download complete 23:58:46 5eb5b503b376: Download complete 23:58:47 2f39f015ded8: Verifying Checksum 23:58:47 2f39f015ded8: Download complete 23:58:47 5eb5b503b376: Pull complete 23:58:47 5c69ac0246d0: Pull complete 23:58:48 ec43610c2a17: Pull complete 23:58:48 3a2ae6a8a46f: Pull complete 23:58:48 33b1e0a273af: Pull complete 23:58:48 5d3b04190fa2: Pull complete 23:58:52 2f39f015ded8: Pull complete 23:58:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:58:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:53 prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container 23:58:53 $ 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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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 23:58:54 $ docker top 3e0da2db92d483b580e77e2003c2aff3bb40964973c8d04d928ba8ee90444fc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:55 ---> job-cost.sh 23:58:55 lf-activate-venv: SKIPPING 23:58:55 INFO: No Stack... 23:58:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:58:56 INFO: Archiving Costs [Pipeline] sh 23:58:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1463 in /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] { [Pipeline] ws 23:58:56 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 23:58:56 The recommended git tool is: git 23:58:56 + cat /w/workspace/undry_device-onvif-camera_PR-164/archives/cost.csv 23:58:56 + cut -d, -f6 [Pipeline] lock 23:58:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] 23:58:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] did not exist. Created. 23:58:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:58:56 + echo total: 0.2199999988079071 [Pipeline] stash 23:58:56 Stashed 1 file(s) [Pipeline] } 23:58:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:58:57 $ docker stop --time=1 3e0da2db92d483b580e77e2003c2aff3bb40964973c8d04d928ba8ee90444fc3 23:58:58 $ docker rm -f 3e0da2db92d483b580e77e2003c2aff3bb40964973c8d04d928ba8ee90444fc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:59:01 using credential edgex-jenkins-ssh 23:59:01 Cloning the remote Git repository 23:59:01 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:59:01 > git init /w/workspace/device-onvif-camera/1 # timeout=10 23:59:01 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:59:01 > git --version # timeout=10 23:59:01 > git --version # 'git version 2.25.1' 23:59:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:01 Verifying host key using known hosts file 23:59:01 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. 23:59:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:59:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:03 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:59:04 Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit 50a13ee558ba2efde0d9211aba0413d3406de588 23:59:04 Merge succeeded, producing 50a13ee558ba2efde0d9211aba0413d3406de588 23:59:04 Checking out Revision 50a13ee558ba2efde0d9211aba0413d3406de588 (PR-164) 23:59:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:59:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:03 Verifying host key using known hosts file 23:59:03 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. 23:59:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:59:04 > git config core.sparsecheckout # timeout=10 23:59:04 > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 23:59:04 > git remote # timeout=10 23:59:04 > git config --get remote.origin.url # timeout=10 23:59:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:04 Verifying host key using known hosts file 23:59:04 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. 23:59:04 > git merge 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 23:59:04 > git rev-parse HEAD^{commit} # timeout=10 23:59:04 > git config core.sparsecheckout # timeout=10 23:59:04 > git checkout -f 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 23:59:08 Commit message: "build: Add option to build Service with NATS Capability" 23:59:08 > git --version # timeout=10 23:59:08 > git --version # 'git version 2.25.1' 23:59:08 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:59:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:59:09 Dload Upload Total Spent Left Speed 23:59:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh 23:59:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:59:10 + sudo tee /etc/docker/daemon.new 23:59:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:59:10 { 23:59:10 "registry-mirrors": [ 23:59:10 "https://nexus3.edgexfoundry.org:10001" 23:59:10 ], 23:59:10 "bip": "10.250.0.254/24", 23:59:10 "hosts": [ 23:59:10 "tcp://0.0.0.0:5555", 23:59:10 "unix:///var/run/docker.sock" 23:59:10 ], 23:59:10 "mtu": 1458, 23:59:10 "selinux-enabled": true, 23:59:10 "seccomp-profile": "/etc/docker/seccomp.json" 23:59:10 } [Pipeline] sh 23:59:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:59:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:59:29 provisioning config files... 23:59:29 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7769597778868672543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:30 ---> docker-login.sh 23:59:30 nexus3.edgexfoundry.org:10001 23:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:30 Configure a credential helper to remove this warning. See 23:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:30 23:59:30 Login Succeeded 23:59:30 nexus3.edgexfoundry.org:10002 23:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:31 Configure a credential helper to remove this warning. See 23:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:31 23:59:31 Login Succeeded 23:59:31 nexus3.edgexfoundry.org:10003 23:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:31 Configure a credential helper to remove this warning. See 23:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:31 23:59:31 Login Succeeded 23:59:31 nexus3.edgexfoundry.org:10004 23:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:31 Configure a credential helper to remove this warning. See 23:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:31 23:59:31 Login Succeeded 23:59:31 docker.io 23:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:32 Configure a credential helper to remove this warning. See 23:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:32 23:59:32 Login Succeeded 23:59:32 ---> docker-login.sh ends [Pipeline] } 23:59:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:32 ========================================================= 23:59:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:59:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:33 + 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 . 23:59:33 Sending build context to Docker daemon 14.21MB 23:59:33 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 23:59:33 Step 2/14 : FROM ${BASE} AS builder 23:59:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:59:33 b3c136eddcbf: Pulling fs layer 23:59:33 c0a3192eca97: Pulling fs layer 23:59:33 a050256f5b6f: Pulling fs layer 23:59:33 656be50a0ddc: Pulling fs layer 23:59:33 2bbca73fdf42: Pulling fs layer 23:59:33 46d945488cbd: Pulling fs layer 23:59:33 8a5474983e97: Pulling fs layer 23:59:33 329c88fbcd65: Pulling fs layer 23:59:33 656be50a0ddc: Waiting 23:59:33 2bbca73fdf42: Waiting 23:59:33 46d945488cbd: Waiting 23:59:33 8a5474983e97: Waiting 23:59:33 a050256f5b6f: Verifying Checksum 23:59:33 a050256f5b6f: Download complete 23:59:33 c0a3192eca97: Verifying Checksum 23:59:33 c0a3192eca97: Download complete 23:59:33 2bbca73fdf42: Verifying Checksum 23:59:33 2bbca73fdf42: Download complete 23:59:33 46d945488cbd: Verifying Checksum 23:59:33 46d945488cbd: Download complete 23:59:33 b3c136eddcbf: Download complete 23:59:34 b3c136eddcbf: Pull complete 23:59:35 329c88fbcd65: Verifying Checksum 23:59:35 329c88fbcd65: Download complete 23:59:35 c0a3192eca97: Pull complete 23:59:35 a050256f5b6f: Pull complete 23:59:36 8a5474983e97: Verifying Checksum 23:59:36 8a5474983e97: Download complete 23:59:36 656be50a0ddc: Verifying Checksum 23:59:36 656be50a0ddc: Download complete 23:59:49 656be50a0ddc: Pull complete 23:59:49 2bbca73fdf42: Pull complete 23:59:49 46d945488cbd: Pull complete 23:59:54 8a5474983e97: Pull complete 23:59:55 329c88fbcd65: Pull complete 23:59:55 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:59:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:59:55 ---> ff4287adb874 23:59:55 Step 3/14 : ARG ADD_BUILD_TAGS="" 23:59:57 ---> Running in d635350a0220 23:59:57 Removing intermediate container d635350a0220 23:59:57 ---> 407e6b170b1a 23:59:57 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:58 ---> Running in d5ced9f26e84 23:59:58 Removing intermediate container d5ced9f26e84 23:59:58 ---> 456a39aaf2c7 23:59:58 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:59:58 ---> Running in d5fb359654b6 23:59:58 Removing intermediate container d5fb359654b6 23:59:58 ---> 575d0f695f2e 23:59:58 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 23:59:58 ---> Running in 6329a5517972 23:59:59 Removing intermediate container 6329a5517972 23:59:59 ---> 14d29a9e0da2 23:59:59 Step 7/14 : LABEL Name=edgex-device-onvif-camera 23:59:59 ---> Running in 719caed47689 23:59:59 Removing intermediate container 719caed47689 23:59:59 ---> 212d486d5a84 23:59:59 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:59:59 ---> Running in 6e9daa5ae8c9 00:00:01 Removing intermediate container 6e9daa5ae8c9 00:00:01 ---> 8887cb95c3fd 00:00:01 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:01 ---> Running in 980d5cdeafa2 00:00:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:00:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:00:04 OK: 221 MiB in 51 packages 00:00:05 Removing intermediate container 980d5cdeafa2 00:00:05 ---> 59293aeb344d 00:00:05 Step 10/14 : WORKDIR /device-onvif-camera 00:00:05 ---> Running in c7232f345241 00:00:05 Removing intermediate container c7232f345241 00:00:05 ---> 712d2f2d48ea 00:00:05 Step 11/14 : COPY go.mod vendor* ./ 00:00:06 ---> d8f55b24e268 00:00:06 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:06 ---> Running in 0058f9492506 00:01:02 Removing intermediate container 0058f9492506 00:01:02 ---> 74ea1d4a813c 00:01:02 Step 13/14 : COPY . . 00:01:02 ---> 4477aefeab86 00:01:02 Step 14/14 : RUN ${MAKE} 00:01:02 ---> Running in 8252607cf3c9 00:01:02 noop 00:01:02 Removing intermediate container 8252607cf3c9 00:01:02 ---> 86151b99caba 00:01:02 Successfully built 86151b99caba 00:01:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:02 + docker inspect -f . ci-base-image-arm64 00:01:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:03 prd-ubuntu20.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container 00:01:03 $ 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 ******** ci-base-image-arm64 cat 00:01:04 $ docker top e8bcf33cb03a3738d36bbfdb4776023a47eecc09e2eb5f7fb8706e4023a0e1f2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:05 + go version 00:01:05 go version go1.18.3 linux/arm64 [Pipeline] } 00:01:05 $ docker stop --time=1 e8bcf33cb03a3738d36bbfdb4776023a47eecc09e2eb5f7fb8706e4023a0e1f2 00:01:06 $ docker rm -f e8bcf33cb03a3738d36bbfdb4776023a47eecc09e2eb5f7fb8706e4023a0e1f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:07 + docker inspect -f . ci-base-image-arm64 00:01:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:01:07 prd-ubuntu20.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container 00:01:08 $ 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 ******** ci-base-image-arm64 cat 00:01:09 $ docker top 3f0b418e01c2c5cef01c55cef337facd48948886a31c907528536f75a9fff530 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 00:01:10 + make test 00:01:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:01:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:02:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:02:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.209s coverage: 28.2% of statements 00:02:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:03:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.459s coverage: 86.5% of statements 00:03:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:03:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:03:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:33 ./bin/test-attribution-txt.sh [Pipeline] echo 00:03:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:03:33 $ docker stop --time=1 3f0b418e01c2c5cef01c55cef337facd48948886a31c907528536f75a9fff530 00:03:35 $ docker rm -f 3f0b418e01c2c5cef01c55cef337facd48948886a31c907528536f75a9fff530 [Pipeline] // withDockerContainer [Pipeline] sh 00:03:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:36 Warning: overwriting stash ‘coverage-report’ 00:03:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:38 + ls -al . 00:03:38 total 232 00:03:38 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 00:01 . 00:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:59 .. 00:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:59 .git 00:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:59 .github 00:03:38 -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 23:59 .gitignore 00:03:38 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 23:59 .golangci.yml 00:03:38 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 23:59 Attribution.txt 00:03:38 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 23:59 CHANGELOG.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 1726 Sep 27 23:59 Dockerfile 00:03:38 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:59 GOVERNANCE.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 23:59 Jenkinsfile 00:03:38 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 23:59 LICENSE 00:03:38 -rw-rw-r-- 1 jenkins jenkins 2858 Sep 27 23:59 Makefile 00:03:38 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:59 OWNERS.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 6460 Sep 27 23:59 README.md 00:03:38 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 23:57 VERSION 00:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:59 bin 00:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:59 cmd 00:03:38 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 00:03 coverage.out 00:03:38 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 23:59 doc 00:03:38 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 23:59 go.mod 00:03:38 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 27 23:59 go.sum 00:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:59 internal 00:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:59 snap 00:03:38 -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 23:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:38 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=50a13ee558ba2efde0d9211aba0413d3406de588 --label arch=arm64 --label version=0.0.0 . 00:03:39 Sending build context to Docker daemon 14.29MB 00:03:39 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 00:03:39 Step 2/27 : FROM ${BASE} AS builder 00:03:39 ---> 86151b99caba 00:03:39 Step 3/27 : ARG ADD_BUILD_TAGS="" 00:03:39 ---> Running in 93d404e53afb 00:03:39 Removing intermediate container 93d404e53afb 00:03:39 ---> 998072b56478 00:03:39 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:03:40 ---> Running in d7f754b0252e 00:03:40 Removing intermediate container d7f754b0252e 00:03:40 ---> 152f2be6a251 00:03:40 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:03:40 ---> Running in a8eba259a5d7 00:03:40 Removing intermediate container a8eba259a5d7 00:03:40 ---> 8af74daea91b 00:03:40 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 00:03:40 ---> Running in 4615466df279 00:03:41 Removing intermediate container 4615466df279 00:03:41 ---> 098b79557f20 00:03:41 Step 7/27 : LABEL Name=edgex-device-onvif-camera 00:03:41 ---> Running in 09425e20bf28 00:03:41 Removing intermediate container 09425e20bf28 00:03:41 ---> ded29674661b 00:03:41 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:03:41 ---> Running in ffd017ed253c 00:03:43 Removing intermediate container ffd017ed253c 00:03:43 ---> fd6849c03262 00:03:43 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:43 ---> Running in b425faef31d6 00:03:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:03:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:03:46 OK: 221 MiB in 51 packages 00:03:47 Removing intermediate container b425faef31d6 00:03:47 ---> 0bebc7b36055 00:03:47 Step 10/27 : WORKDIR /device-onvif-camera 00:03:47 ---> Running in abe1520fa269 00:03:48 Removing intermediate container abe1520fa269 00:03:48 ---> 3c48160f6e5e 00:03:48 Step 11/27 : COPY go.mod vendor* ./ 00:03:48 ---> bf55c3640572 00:03:48 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:48 ---> Running in 75a3078b04e7 00:03:50 Removing intermediate container 75a3078b04e7 00:03:50 ---> aa9c1dc0d7ab 00:03:50 Step 13/27 : COPY . . 00:03:53 ---> 89adfb273b65 00:03:53 Step 14/27 : RUN ${MAKE} 00:03:53 ---> Running in 9b61f417f0a3 00:03:54 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-dev.28" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:06:15 Removing intermediate container 9b61f417f0a3 00:06:15 ---> 56595a734625 00:06:15 Step 15/27 : FROM alpine:3.16 00:06:15 3.16: Pulling from library/alpine 00:06:15 9b18e9b68314: Pulling fs layer 00:06:15 9b18e9b68314: Download complete 00:06:15 9b18e9b68314: Pull complete 00:06:15 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:06:15 Status: Downloaded newer image for alpine:3.16 00:06:15 ---> a6215f271958 00:06:15 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:06:15 ---> Running in 92d7434670fb 00:06:15 Removing intermediate container 92d7434670fb 00:06:15 ---> 04cbcd46c296 00:06:15 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 00:06:15 ---> Running in 9fbae9670212 00:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:06:17 (1/6) Installing dumb-init (1.2.5-r1) 00:06:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:06:17 (3/6) Installing libsodium (1.0.18-r0) 00:06:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:06:17 (5/6) Installing libzmq (4.3.4-r0) 00:06:17 (6/6) Installing zeromq (4.3.4-r0) 00:06:17 Executing busybox-1.35.0-r17.trigger 00:06:17 OK: 8 MiB in 20 packages 00:06:18 Removing intermediate container 9fbae9670212 00:06:18 ---> f6f657e1513b 00:06:18 Step 18/27 : WORKDIR / 00:06:18 ---> Running in 45f27dc7b6ca 00:06:19 Removing intermediate container 45f27dc7b6ca 00:06:19 ---> 06c1af951553 00:06:19 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 00:06:20 ---> 13fc5f49da00 00:06:20 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 00:06:21 ---> 5a9d7918e829 00:06:21 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:06:21 ---> c5d17ed60092 00:06:21 Step 22/27 : EXPOSE 59984 00:06:21 ---> Running in c2f56be500a8 00:06:21 Removing intermediate container c2f56be500a8 00:06:21 ---> 71f3e905a577 00:06:21 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 00:06:21 ---> Running in 600b60d076be 00:06:22 Removing intermediate container 600b60d076be 00:06:22 ---> 663cee0d5f0a 00:06:22 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:06:22 ---> Running in e3d53b7ee0a1 00:06:22 Removing intermediate container e3d53b7ee0a1 00:06:22 ---> 18e64989b334 00:06:22 Step 25/27 : LABEL arch=arm64 00:06:22 ---> Running in c85ef88bfdd9 00:06:22 Removing intermediate container c85ef88bfdd9 00:06:22 ---> de4133e31d15 00:06:22 Step 26/27 : LABEL git_sha=50a13ee558ba2efde0d9211aba0413d3406de588 00:06:22 ---> Running in 7cfee75e105c 00:06:23 Removing intermediate container 7cfee75e105c 00:06:23 ---> 4bf7a4bdde88 00:06:23 Step 27/27 : LABEL version=0.0.0 00:06:23 ---> Running in 99a418a3777d 00:06:23 Removing intermediate container 99a418a3777d 00:06:23 ---> 665838806feb 00:06:23 [Warning] One or more build-args [ARCH] were not consumed 00:06:23 Successfully built 665838806feb 00:06:23 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:24 00:06:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:24 arm64: Pulling from edgex-lftools-log-publisher 00:06:24 8998bd30e6a1: Pulling fs layer 00:06:24 04944245beec: Pulling fs layer 00:06:24 699f458cf7ca: Pulling fs layer 00:06:24 765212b225bb: Pulling fs layer 00:06:24 f23df028b6ca: Pulling fs layer 00:06:24 d65c8cfc05b1: Pulling fs layer 00:06:24 2437ff75d9bd: Pulling fs layer 00:06:24 f23df028b6ca: Waiting 00:06:24 d65c8cfc05b1: Waiting 00:06:24 2437ff75d9bd: Waiting 00:06:24 765212b225bb: Waiting 00:06:24 04944245beec: Verifying Checksum 00:06:24 04944245beec: Download complete 00:06:24 765212b225bb: Verifying Checksum 00:06:24 765212b225bb: Download complete 00:06:24 f23df028b6ca: Verifying Checksum 00:06:24 f23df028b6ca: Download complete 00:06:24 d65c8cfc05b1: Verifying Checksum 00:06:24 d65c8cfc05b1: Download complete 00:06:24 699f458cf7ca: Verifying Checksum 00:06:24 699f458cf7ca: Download complete 00:06:25 8998bd30e6a1: Verifying Checksum 00:06:25 8998bd30e6a1: Download complete 00:06:27 2437ff75d9bd: Verifying Checksum 00:06:27 2437ff75d9bd: Download complete 00:06:29 8998bd30e6a1: Pull complete 00:06:29 04944245beec: Pull complete 00:06:31 699f458cf7ca: Pull complete 00:06:31 765212b225bb: Pull complete 00:06:31 f23df028b6ca: Pull complete 00:06:31 d65c8cfc05b1: Pull complete 00:06:46 2437ff75d9bd: Pull complete 00:06:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:06:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:47 prd-ubuntu20.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container 00:06:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:06:49 $ docker top 1a48cb615f4dedb4696a88b28418f2ffcd6d21f9595536099634511b1e120cd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:50 ---> job-cost.sh 00:06:50 lf-activate-venv: SKIPPING 00:06:50 INFO: No Stack... 00:06:50 INFO: Retrieving Pricing Info for: v3-standard-4 00:06:51 INFO: Archiving Costs [Pipeline] sh 00:06:52 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 00:06:52 + cut -d, -f6 [Pipeline] lock 00:06:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] 00:06:52 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] did not exist. Created. 00:06:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:06:52 /w/workspace/device-onvif-camera/1@tmp/durable-b5e83ea5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:06:53 + echo total: 0.10999999940395355 [Pipeline] stash 00:06:53 Warning: overwriting stash ‘stack-cost’ 00:06:53 Stashed 1 file(s) [Pipeline] } 00:06:53 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:06:53 $ docker stop --time=1 1a48cb615f4dedb4696a88b28418f2ffcd6d21f9595536099634511b1e120cd3 00:06:54 $ docker rm -f 1a48cb615f4dedb4696a88b28418f2ffcd6d21f9595536099634511b1e120cd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:06:55 provisioning config files... 00:06:55 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config15843960087460020648tmp [Pipeline] { [Pipeline] sh 00:06:55 + set +x 00:06:55 + curl -s https://codecov.io/bash 00:06:55 + bash -s -- 00:06:55 00:06:55 _____ _ 00:06:55 / ____| | | 00:06:55 | | ___ __| | ___ ___ _____ __ 00:06:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:06:55 | |___| (_) | (_| | __/ (_| (_) \ V / 00:06:55 \_____\___/ \__,_|\___|\___\___/ \_/ 00:06:55 Bash-1.0.6 00:06:55 00:06:55 00:06:55 ==> git version 2.25.1 found 00:06:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:06:55 Release-Date: 2020-01-08 00:06:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:06:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:06:55 ==> Jenkins CI detected. 00:06:55 current dir:  /w/workspace/undry_device-onvif-camera_PR-164 00:06:55 project root: . 00:06:55 --> token set from env 00:06:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:06:55 ==> Running gcov in . (disable via -X gcov) 00:06:55 ==> Python coveragepy not found 00:06:55 ==> Searching for coverage reports in: 00:06:55 + . 00:06:55 -> Found 1 reports 00:06:55 ==> Detecting git/mercurial file structure 00:06:55 ==> Reading reports 00:06:56 + ./coverage.out bytes=78461 00:06:56 ==> Appending adjustments 00:06:56 https://docs.codecov.io/docs/fixing-reports 00:06:56 + Found adjustments 00:06:56 ==> Gzipping contents 00:06:56 12K /tmp/codecov.LwEVs8.gz 00:06:56 ==> Uploading reports 00:06:56 url: https://codecov.io 00:06:56 query: branch=PR-164&commit=50a13ee558ba2efde0d9211aba0413d3406de588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= 00:06:56 -> Pinging Codecov 00:06:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-164&commit=50a13ee558ba2efde0d9211aba0413d3406de588&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= 00:06:57 -> Uploading to 00:06:57 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/50a13ee558ba2efde0d9211aba0413d3406de588/da6671be-fc80-4e4e-ab15-cb1532ac3463.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T000657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f72866132f27641e55e924869429c8dcff13fb10d0942f57919d7bfdcfa07f4c 00:06:57 % Total % Received % Xferd Average Speed Time Time Time Current 00:06:57 Dload Upload Total Spent Left Speed 00:06:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10742 0 0 100 10742 0 37298 --:--:-- --:--:-- --:--:-- 37298 00:06:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/50a13ee558ba2efde0d9211aba0413d3406de588 [Pipeline] } 00:06:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:06:59 + [ -d /w/workspace/undry_device-onvif-camera_PR-164/archives ] 00:06:59 + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives 00:06:59 total 16 00:06:59 drwxr-xr-x 3 root root 4096 Sep 27 23:58 . 00:06:59 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 23:58 .. 00:06:59 drwxr-xr-x 2 root root 4096 Sep 27 23:58 cost 00:06:59 -rw-r--r-- 1 root root 91 Sep 27 23:58 cost.csv 00:06:59 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-164/archives 00:06:59 + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives 00:06:59 total 16 00:06:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:58 . 00:06:59 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 23:58 .. 00:06:59 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 23:58 cost 00:06:59 -rw-r--r-- 1 jenkins jenkins 91 Sep 27 23:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:06:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:07:00 ---> package-listing.sh 00:07:00 ++ facter osfamily 00:07:00 ++ tr '[:upper:]' '[:lower:]' 00:07:00 + OS_FAMILY=debian 00:07:00 + workspace=/w/workspace/undry_device-onvif-camera_PR-164 00:07:00 + START_PACKAGES=/tmp/packages_start.txt 00:07:00 + END_PACKAGES=/tmp/packages_end.txt 00:07:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:07:00 + PACKAGES=/tmp/packages_start.txt 00:07:00 + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' 00:07:00 + PACKAGES=/tmp/packages_end.txt 00:07:00 + case "${OS_FAMILY}" in 00:07:00 + dpkg -l 00:07:00 + grep '^ii' 00:07:01 + '[' -f /tmp/packages_start.txt ']' 00:07:01 + '[' -f /tmp/packages_end.txt ']' 00:07:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:07:01 + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' 00:07:01 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-164/archives/ 00:07:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-164/archives/ [Pipeline] echo 00:07:01 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:07:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:07:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:02 prd-ubuntu20.04-docker-8c-8g-1462 does not seem to be running inside a container 00:07:02 $ 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-164/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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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 00:07:02 $ docker top 5ffd3ca5ddb9adc339c96f6cca7fbb96dcf63000cf3262638253135c68d2a3a0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:02 + touch /tmp/pre-build-complete [Pipeline] sh 00:07:03 + mkdir -p /var/log/sysstat [Pipeline] sh 00:07:03 + ls /var/log/sa-host 00:07:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:03 provisioning config files... 00:07:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config8022415298179316093tmp [Pipeline] { [Pipeline] echo 00:07:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:07:04 ---> create-netrc.sh [Pipeline] } 00:07:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:07:04 ---> python-tools-install.sh [Pipeline] echo 00:07:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:07:04 ---> sudo-logs.sh 00:07:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:07:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:07:05 ---> job-cost.sh 00:07:05 lf-activate-venv: SKIPPING 00:07:05 DEBUG: total: 0.2199999988079071 00:07:05 INFO: Retrieving Stack Cost... 00:07:05 INFO: Retrieving Pricing Info for: v3-standard-8 00:07:06 INFO: Archiving Costs [Pipeline] echo 00:07:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:07:06 ---> logs-deploy.sh 00:07:06 lf-activate-venv: SKIPPING 00:07:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-164/1 00:07:06 INFO: archiving workspace using pattern(s): 00:07:07 Archives upload complete. 00:07:07 INFO: archiving logs to Nexus