Pull request #163 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7219f81415a0cd39efed2f9b0e95028f91163a76+d3157763bdfd8f49e0a7266dceddd97d249ca275 (7d7b5f87ea4a13b06a953aa47b1914ab96156d81) 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-ssh3401962670030790456.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-ssh4779388044855621410.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-163/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-163/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15820182701693687334.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-163/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13120641510675946930.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-ssh12912229530534459640.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-163/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-163/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10064509225375042643.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-1121 in /w/workspace/undry_device-onvif-camera_PR-163 [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-163 # 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/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 7219f81415a0cd39efed2f9b0e95028f91163a76 Merge succeeded, producing 7219f81415a0cd39efed2f9b0e95028f91163a76 Checking out Revision 7219f81415a0cd39efed2f9b0e95028f91163a76 (PR-163) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 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 03:24:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:24:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # 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 d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:24:03 ========================================================= 03:24:03 EdgeX Global Pipelines Version Info 03:24:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:24:04 ------------------- 03:24:04 stable info: 03:24:04 ------------------- 03:24:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:24:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:24:04 Message: update stable to v1.0.239 03:24:04 ------------------- 03:24:04 experimental info: 03:24:04 ------------------- 03:24:04 Commited By: **** collab-it+edgex@linuxfoundation.org 03:24:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:24:04 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:24:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-163 [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-163 [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-163 [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7219f81 [Pipeline] echo 03:24:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:06 provisioning config files... 03:24:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config15602121951185974318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:06 ---> docker-login.sh 03:24:06 nexus3.edgexfoundry.org:10001 03:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:07 Configure a credential helper to remove this warning. See 03:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:07 03:24:07 Login Succeeded 03:24:07 nexus3.edgexfoundry.org:10002 03:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:07 Configure a credential helper to remove this warning. See 03:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:07 03:24:07 Login Succeeded 03:24:07 nexus3.edgexfoundry.org:10003 03:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:07 Configure a credential helper to remove this warning. See 03:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:07 03:24:07 Login Succeeded 03:24:07 nexus3.edgexfoundry.org:10004 03:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:07 Configure a credential helper to remove this warning. See 03:24:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:07 03:24:07 Login Succeeded 03:24:07 docker.io 03:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:08 Configure a credential helper to remove this warning. See 03:24:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:08 03:24:08 Login Succeeded 03:24:08 ---> docker-login.sh ends [Pipeline] } 03:24:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:24:08 + git rev-list -1 --merges 7219f81415a0cd39efed2f9b0e95028f91163a76~1..7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo 03:24:08 -----------> git rev-list -1 --merges 7219f81415a0cd39efed2f9b0e95028f91163a76~1..7219f81415a0cd39efed2f9b0e95028f91163a76 7219f81415a0cd39efed2f9b0e95028f91163a76 [false] [Pipeline] sh 03:24:09 + git log --format=format:%s -1 7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo 03:24:09 ========================================================= 03:24:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:24:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:09 + git log --format=format:%s -1 7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] echo 03:24:09 [semverPrep] GIT_COMMIT: 7219f81415a0cd39efed2f9b0e95028f91163a76, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 03:24:09 [semverPrep] This is not a build commit. [Pipeline] sh 03:24:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:24:10 + grep -v github /etc/ssh/ssh_known_hosts 03:24:10 + [ -e /tmp/ssh_known_hosts ] 03:24:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:24:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:24:10 + sudo tee -a /etc/ssh/ssh_known_hosts 03:24:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:10 03:24:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:10 0.1.4: Pulling from edgex-devops/py-git-semver 03:24:10 b85a868b505f: Pulling fs layer 03:24:10 e2be974225ed: Pulling fs layer 03:24:10 339a4e72a1f5: Pulling fs layer 03:24:10 988bab9f4d93: Pulling fs layer 03:24:10 1469e6f7b9e6: Pulling fs layer 03:24:10 eaf3925da568: Pulling fs layer 03:24:10 bab4dde63d76: Pulling fs layer 03:24:10 bde34c3a00c8: Pulling fs layer 03:24:10 b352a97aabf1: Pulling fs layer 03:24:10 4872d77fe225: Pulling fs layer 03:24:10 5851b861e8e6: Pulling fs layer 03:24:10 1469e6f7b9e6: Waiting 03:24:10 b352a97aabf1: Waiting 03:24:10 eaf3925da568: Waiting 03:24:10 bab4dde63d76: Waiting 03:24:10 bde34c3a00c8: Waiting 03:24:10 4872d77fe225: Waiting 03:24:10 5851b861e8e6: Waiting 03:24:10 e2be974225ed: Verifying Checksum 03:24:10 e2be974225ed: Download complete 03:24:10 988bab9f4d93: Verifying Checksum 03:24:10 988bab9f4d93: Download complete 03:24:11 1469e6f7b9e6: Verifying Checksum 03:24:11 1469e6f7b9e6: Download complete 03:24:11 eaf3925da568: Verifying Checksum 03:24:11 eaf3925da568: Download complete 03:24:11 339a4e72a1f5: Verifying Checksum 03:24:11 339a4e72a1f5: Download complete 03:24:11 bde34c3a00c8: Verifying Checksum 03:24:11 bde34c3a00c8: Download complete 03:24:11 b352a97aabf1: Verifying Checksum 03:24:11 b352a97aabf1: Download complete 03:24:11 4872d77fe225: Verifying Checksum 03:24:11 4872d77fe225: Download complete 03:24:11 5851b861e8e6: Verifying Checksum 03:24:11 5851b861e8e6: Download complete 03:24:11 b85a868b505f: Verifying Checksum 03:24:11 b85a868b505f: Download complete 03:24:11 bab4dde63d76: Verifying Checksum 03:24:11 bab4dde63d76: Download complete 03:24:12 b85a868b505f: Pull complete 03:24:12 e2be974225ed: Pull complete 03:24:13 339a4e72a1f5: Pull complete 03:24:13 988bab9f4d93: Pull complete 03:24:13 1469e6f7b9e6: Pull complete 03:24:13 eaf3925da568: Pull complete 03:24:15 bab4dde63d76: Pull complete 03:24:15 bde34c3a00c8: Pull complete 03:24:15 b352a97aabf1: Pull complete 03:24:15 4872d77fe225: Pull complete 03:24:15 5851b861e8e6: Pull complete 03:24:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:24:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:15 prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container 03:24:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:24:17 $ docker top bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 -eo pid,comm 03:24:17 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). 03:24:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:24:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:17 [ssh-agent] Looking for ssh-agent implementation... 03:24:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:17 $ docker exec bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent 03:24:17 SSH_AUTH_SOCK=/tmp/ssh-AE5y8k796vkn/agent.33 03:24:17 SSH_AGENT_PID=40 03:24:17 Running ssh-add (command line suppressed) 03:24:17 Identity added: /w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_10675429307957840465.key (/w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_10675429307957840465.key) 03:24:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:17 + git tag --points-at HEAD [Pipeline] } 03:24:17 $ docker exec --env ******** --env ******** bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent -k 03:24:18 unset SSH_AUTH_SOCK; 03:24:18 unset SSH_AGENT_PID; 03:24:18 echo Agent pid 40 killed; 03:24:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:24:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:18 [ssh-agent] Looking for ssh-agent implementation... 03:24:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:18 $ docker exec bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent 03:24:18 SSH_AUTH_SOCK=/tmp/ssh-K2wto0BbssEX/agent.72 03:24:18 SSH_AGENT_PID=78 03:24:18 Running ssh-add (command line suppressed) 03:24:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_4219045651700319467.key (/w/workspace/undry_device-onvif-camera_PR-163@tmp/private_key_4219045651700319467.key) 03:24:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:18 + git semver init 03:24:19 2022-09-26 03:24:18,984 [run_init] DEBUG init version:0.0.0 force:False 03:24:19 2022-09-26 03:24:18,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-163/.semver 03:24:19 2022-09-26 03:24:18,985 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-163/.semver 03:24:19 2022-09-26 03:24:18,986 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-163/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-163, universal_newlines=False, shell=None, istream=None) 03:24:19 2022-09-26 03:24:19,939 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-163/.git/info/exclude 03:24:19 2022-09-26 03:24:19,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-163/.semver/PR-163 with force:False 03:24:19 2022-09-26 03:24:19,939 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-163/.semver/PR-163 03:24:19 2022-09-26 03:24:19,944 [execute] INFO git cat-file --batch-check 03:24:19 2022-09-26 03:24:19,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-163/.semver, universal_newlines=False, shell=None, istream=) 03:24:19 2022-09-26 03:24:19,949 [execute] INFO git cat-file --batch 03:24:19 2022-09-26 03:24:19,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-163/.semver, universal_newlines=False, shell=None, istream=) 03:24:19 2022-09-26 03:24:19,954 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-163/.semver/PR-163 03:24:19 0.0.0 [Pipeline] } 03:24:20 $ docker exec --env ******** --env ******** bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 ssh-agent -k 03:24:20 unset SSH_AUTH_SOCK; 03:24:20 unset SSH_AGENT_PID; 03:24:20 echo Agent pid 78 killed; 03:24:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:24:20 + git semver [Pipeline] } 03:24:20 $ docker stop --time=1 bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 03:24:22 $ docker rm -f bf7b12bff57f96aa08d4f25a8b6cf34f6d6892b3b0e31145c7a03dd8297a5da5 [Pipeline] // withDockerContainer [Pipeline] sh 03:24:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:24:22 Stashed 1 file(s) [Pipeline] echo 03:24:22 [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 03:24:23 provisioning config files... 03:24:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config18128179333123242447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:23 ---> docker-login.sh 03:24:23 nexus3.edgexfoundry.org:10001 03:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:23 Configure a credential helper to remove this warning. See 03:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:23 03:24:23 Login Succeeded 03:24:23 nexus3.edgexfoundry.org:10002 03:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:23 Configure a credential helper to remove this warning. See 03:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:23 03:24:23 Login Succeeded 03:24:23 nexus3.edgexfoundry.org:10003 03:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:23 Configure a credential helper to remove this warning. See 03:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:23 03:24:23 Login Succeeded 03:24:23 nexus3.edgexfoundry.org:10004 03:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:23 Configure a credential helper to remove this warning. See 03:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:23 03:24:23 Login Succeeded 03:24:23 docker.io 03:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:24 Configure a credential helper to remove this warning. See 03:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:24 03:24:24 Login Succeeded 03:24:24 ---> docker-login.sh ends [Pipeline] } 03:24:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:24:24 ========================================================= 03:24:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:24:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:25 + 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 . 03:24:25 Sending build context to Docker daemon 20.7MB 03:24:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:24:25 Step 2/13 : FROM ${BASE} AS builder 03:24:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:24:25 2408cc74d12b: Pulling fs layer 03:24:25 ea60b727a1ce: Pulling fs layer 03:24:25 30c4a7721957: Pulling fs layer 03:24:25 370296b7ddb6: Pulling fs layer 03:24:25 7c6cee850709: Pulling fs layer 03:24:25 370296b7ddb6: Waiting 03:24:25 39a5fcdaea64: Pulling fs layer 03:24:25 7c6cee850709: Waiting 03:24:25 d94ebbe4e438: Pulling fs layer 03:24:25 39a5fcdaea64: Waiting 03:24:25 d94ebbe4e438: Waiting 03:24:25 bcfd1f05c69d: Pulling fs layer 03:24:25 59ccb84bbe0f: Pulling fs layer 03:24:25 30c4a7721957: Verifying Checksum 03:24:25 30c4a7721957: Download complete 03:24:25 ea60b727a1ce: Verifying Checksum 03:24:25 ea60b727a1ce: Download complete 03:24:25 7c6cee850709: Verifying Checksum 03:24:25 7c6cee850709: Download complete 03:24:25 39a5fcdaea64: Download complete 03:24:25 2408cc74d12b: Download complete 03:24:25 d94ebbe4e438: Verifying Checksum 03:24:25 d94ebbe4e438: Download complete 03:24:25 2408cc74d12b: Pull complete 03:24:25 ea60b727a1ce: Pull complete 03:24:25 30c4a7721957: Pull complete 03:24:26 59ccb84bbe0f: Verifying Checksum 03:24:26 59ccb84bbe0f: Download complete 03:24:26 370296b7ddb6: Verifying Checksum 03:24:26 370296b7ddb6: Download complete 03:24:26 bcfd1f05c69d: Verifying Checksum 03:24:26 bcfd1f05c69d: Download complete 03:24:29 370296b7ddb6: Pull complete 03:24:29 7c6cee850709: Pull complete 03:24:29 39a5fcdaea64: Pull complete 03:24:29 d94ebbe4e438: Pull complete 03:24:31 bcfd1f05c69d: Pull complete 03:24:32 59ccb84bbe0f: Pull complete 03:24:32 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 03:24:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:24:32 ---> a4fb48ad2a94 03:24:32 Step 3/13 : ARG MAKE="make build" 03:24:34 ---> Running in cfb20b06e999 03:24:34 Removing intermediate container cfb20b06e999 03:24:34 ---> b8d69602dd8e 03:24:34 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:24:34 ---> Running in df008654c430 03:24:34 Removing intermediate container df008654c430 03:24:34 ---> 3d1a19213b7b 03:24:34 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:24:34 ---> Running in d56faffcdf43 03:24:34 Removing intermediate container d56faffcdf43 03:24:34 ---> e0f83909ca67 03:24:34 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:24:34 ---> Running in 95b7461c23b1 03:24:34 Removing intermediate container 95b7461c23b1 03:24:34 ---> 62fb09dfe3bf 03:24:34 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:24:34 ---> Running in 1cda12260d75 03:24:35 Removing intermediate container 1cda12260d75 03:24:35 ---> 9f8445ccb1fd 03:24:35 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:35 ---> Running in 860e3405fdde 03:24:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:24:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:24:36 OK: 211 MiB in 51 packages 03:24:37 Removing intermediate container 860e3405fdde 03:24:37 ---> 0f7defcb96e7 03:24:37 Step 9/13 : WORKDIR /device-onvif-camera 03:24:37 ---> Running in 36348ae6715a 03:24:37 Removing intermediate container 36348ae6715a 03:24:37 ---> 3c278563d42a 03:24:37 Step 10/13 : COPY go.mod vendor* ./ 03:24:37 ---> 8a723b30a2c3 03:24:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:37 ---> Running in e77bde48077c 03:24:38 Still waiting to schedule task 03:24:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:24:55 Removing intermediate container e77bde48077c 03:24:55 ---> 92060adef4be 03:24:55 Step 12/13 : COPY . . 03:24:55 ---> cac8cddcf010 03:24:55 Step 13/13 : RUN ${MAKE} 03:24:55 ---> Running in 288b26e60443 03:24:55 noop 03:24:55 Removing intermediate container 288b26e60443 03:24:55 ---> 786cf17ff70f 03:24:55 Successfully built 786cf17ff70f 03:24:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:56 + docker inspect -f . ci-base-image-x86_64 03:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:56 prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container 03:24:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@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 ******** ci-base-image-x86_64 cat 03:24:56 $ docker top 0240f1ee5ad6f9da39b9bd2406dfd91a89095e8681eaea4bf2aff06255eff101 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:56 + go version 03:24:56 go version go1.18.3 linux/amd64 [Pipeline] } 03:24:57 $ docker stop --time=1 0240f1ee5ad6f9da39b9bd2406dfd91a89095e8681eaea4bf2aff06255eff101 03:24:58 $ docker rm -f 0240f1ee5ad6f9da39b9bd2406dfd91a89095e8681eaea4bf2aff06255eff101 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:59 + docker inspect -f . ci-base-image-x86_64 03:24:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:59 prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container 03:24:59 $ 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-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@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 ******** ci-base-image-x86_64 cat 03:24:59 $ docker top f4d212525f9f53f9214584f1159844146a65da76e33bdd8df37b760232bf4256 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:59 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-163 [Pipeline] fileExists [Pipeline] sh 03:25:00 + make test 03:25:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:25:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:25:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:25:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.6% of statements 03:25:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:25:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.587s coverage: 86.5% of statements 03:25:21 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." 03:25:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:25:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:25:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:25:25 ./bin/test-attribution-txt.sh [Pipeline] echo 03:25:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:25:25 $ docker stop --time=1 f4d212525f9f53f9214584f1159844146a65da76e33bdd8df37b760232bf4256 03:25:27 $ docker rm -f f4d212525f9f53f9214584f1159844146a65da76e33bdd8df37b760232bf4256 [Pipeline] // withDockerContainer [Pipeline] sh 03:25:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:25:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:25:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:25:29 + ls -al . 03:25:29 total 236 03:25:29 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 03:25 . 03:25:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:24 .. 03:25:29 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 03:25 .git 03:25:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:24 .github 03:25:29 -rw-rw-r-- 1 jenkins jenkins 418 Sep 26 03:24 .gitignore 03:25:29 -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 03:24 .golangci.yml 03:25:29 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 03:24 .semver 03:25:29 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 26 03:24 Attribution.txt 03:25:29 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 26 03:24 CHANGELOG.md 03:25:29 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 26 03:24 Dockerfile 03:25:29 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 03:24 GOVERNANCE.md 03:25:29 -rw-rw-r-- 1 jenkins jenkins 734 Sep 26 03:24 Jenkinsfile 03:25:29 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 03:24 LICENSE 03:25:29 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 26 03:24 Makefile 03:25:29 -rw-rw-r-- 1 jenkins jenkins 625 Sep 26 03:24 OWNERS.md 03:25:29 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 26 03:24 README.md 03:25:29 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 03:24 VERSION 03:25:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 03:24 bin 03:25:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:24 cmd 03:25:29 -rw-r--r-- 1 jenkins jenkins 79818 Sep 26 03:25 coverage.out 03:25:29 drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 03:24 doc 03:25:29 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 26 03:24 go.mod 03:25:29 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 26 03:24 go.sum 03:25:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:24 internal 03:25:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:24 snap 03:25:29 -rw-rw-r-- 1 jenkins jenkins 236 Sep 26 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:29 + 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=7219f81415a0cd39efed2f9b0e95028f91163a76 --label arch=amd64 --label version=0.0.0 . 03:25:29 Sending build context to Docker daemon 20.78MB 03:25:29 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:25:29 Step 2/26 : FROM ${BASE} AS builder 03:25:29 ---> 786cf17ff70f 03:25:29 Step 3/26 : ARG MAKE="make build" 03:25:30 ---> Running in f42e5e58711e 03:25:30 Removing intermediate container f42e5e58711e 03:25:30 ---> 2ba3133cbbdc 03:25:30 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:25:30 ---> Running in 121fb19ed112 03:25:30 Removing intermediate container 121fb19ed112 03:25:30 ---> d6c043f8cfe2 03:25:30 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:25:30 ---> Running in 28a2769f6c2a 03:25:30 Removing intermediate container 28a2769f6c2a 03:25:30 ---> 7582b1b8b2af 03:25:30 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:25:30 ---> Running in 2cf3104f8568 03:25:30 Removing intermediate container 2cf3104f8568 03:25:30 ---> e0e5c10b2ca0 03:25:30 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:25:30 ---> Running in 3464287455e4 03:25:31 Removing intermediate container 3464287455e4 03:25:31 ---> e9d309c5489f 03:25:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:25:31 ---> Running in 4422d5fd2c66 03:25:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:25:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:25:32 OK: 211 MiB in 51 packages 03:25:32 Removing intermediate container 4422d5fd2c66 03:25:32 ---> 491601b0c45a 03:25:32 Step 9/26 : WORKDIR /device-onvif-camera 03:25:33 ---> Running in 627ae181052c 03:25:33 Removing intermediate container 627ae181052c 03:25:33 ---> 2b974bfa4636 03:25:33 Step 10/26 : COPY go.mod vendor* ./ 03:25:33 ---> 9e27f516cb33 03:25:33 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:33 ---> Running in 50c9ae2b5115 03:25:33 Removing intermediate container 50c9ae2b5115 03:25:33 ---> 8e48fbf085bc 03:25:33 Step 12/26 : COPY . . 03:25:34 ---> cc1200774d50 03:25:34 Step 13/26 : RUN ${MAKE} 03:25:34 ---> Running in 32e5ab6f6c34 03:25:34 CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:26:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1122 in /w/workspace/undry_device-onvif-camera_PR-163 [Pipeline] { [Pipeline] ws 03:26:01 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { 03:26:01 Removing intermediate container 32e5ab6f6c34 03:26:01 ---> 364cf7192789 03:26:01 Step 14/26 : FROM alpine:3.16 03:26:01 3.16: Pulling from library/alpine 03:26:01 213ec9aee27d: Pulling fs layer 03:26:01 213ec9aee27d: Download complete 03:26:01 213ec9aee27d: Pull complete 03:26:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:26:01 Status: Downloaded newer image for alpine:3.16 03:26:01 ---> 9c6f07244728 03:26:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:26:01 ---> Running in 77082ef90307 03:26:01 Removing intermediate container 77082ef90307 03:26:01 ---> 181ef12a80cc 03:26:01 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:26:01 ---> Running in 1361e3071ec7 03:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:26:01 (1/6) Installing dumb-init (1.2.5-r1) 03:26:01 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:26:01 (3/6) Installing libsodium (1.0.18-r0) 03:26:01 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:26:01 (5/6) Installing libzmq (4.3.4-r0) 03:26:01 (6/6) Installing zeromq (4.3.4-r0) 03:26:01 Executing busybox-1.35.0-r17.trigger 03:26:01 OK: 8 MiB in 20 packages 03:26:01 Removing intermediate container 1361e3071ec7 03:26:01 ---> 73b91983cb5e 03:26:01 Step 17/26 : WORKDIR / 03:26:01 ---> Running in 6e7c94a881ea 03:26:01 Removing intermediate container 6e7c94a881ea 03:26:01 ---> 873e6bc2100d 03:26:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:26:01 ---> 91126fce143f 03:26:01 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:26:01 ---> e38bfaea6a55 03:26:01 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:26:01 ---> 80e855919c90 03:26:01 Step 21/26 : EXPOSE 59984 03:26:01 ---> Running in 444c6f47ffdc 03:26:01 Removing intermediate container 444c6f47ffdc 03:26:01 ---> dfa15f81e4fa 03:26:01 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:26:01 ---> Running in b2dc1a14d0b3 03:26:01 Removing intermediate container b2dc1a14d0b3 03:26:01 ---> b81ec79b881a 03:26:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:26:01 ---> Running in 88b1b8c3bbf8 [Pipeline] checkout 03:26:01 The recommended git tool is: git 03:26:01 Removing intermediate container 88b1b8c3bbf8 03:26:01 ---> e8eeae812d5b 03:26:01 Step 24/26 : LABEL arch=amd64 03:26:01 ---> Running in 5c5ddced6942 03:26:01 Removing intermediate container 5c5ddced6942 03:26:01 ---> 7fde9b04d8f5 03:26:01 Step 25/26 : LABEL git_sha=7219f81415a0cd39efed2f9b0e95028f91163a76 03:26:01 ---> Running in aae1ebec7f3c 03:26:01 Removing intermediate container aae1ebec7f3c 03:26:01 ---> 50639920d253 03:26:01 Step 26/26 : LABEL version=0.0.0 03:26:01 ---> Running in 3f0a373cf787 03:26:01 Removing intermediate container 3f0a373cf787 03:26:01 ---> 6428fdf8c3e4 03:26:01 [Warning] One or more build-args [ARCH] were not consumed 03:26:01 Successfully built 6428fdf8c3e4 03:26:01 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 03:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:02 03:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:03 latest: Pulling from edgex-lftools-log-publisher 03:26:03 5eb5b503b376: Pulling fs layer 03:26:03 5c69ac0246d0: Pulling fs layer 03:26:03 ec43610c2a17: Pulling fs layer 03:26:03 3a2ae6a8a46f: Pulling fs layer 03:26:03 33b1e0a273af: Pulling fs layer 03:26:03 5d3b04190fa2: Pulling fs layer 03:26:03 2f39f015ded8: Pulling fs layer 03:26:03 3a2ae6a8a46f: Waiting 03:26:03 2f39f015ded8: Waiting 03:26:03 5d3b04190fa2: Waiting 03:26:03 33b1e0a273af: Waiting 03:26:03 5c69ac0246d0: Verifying Checksum 03:26:03 5c69ac0246d0: Download complete 03:26:03 3a2ae6a8a46f: Verifying Checksum 03:26:03 3a2ae6a8a46f: Download complete 03:26:03 33b1e0a273af: Verifying Checksum 03:26:03 33b1e0a273af: Download complete 03:26:03 ec43610c2a17: Verifying Checksum 03:26:03 ec43610c2a17: Download complete 03:26:03 5d3b04190fa2: Verifying Checksum 03:26:03 5d3b04190fa2: Download complete 03:26:03 5eb5b503b376: Verifying Checksum 03:26:03 5eb5b503b376: Download complete 03:26:03 2f39f015ded8: Verifying Checksum 03:26:03 2f39f015ded8: Download complete 03:26:04 5eb5b503b376: Pull complete 03:26:04 5c69ac0246d0: Pull complete 03:26:05 ec43610c2a17: Pull complete 03:26:05 3a2ae6a8a46f: Pull complete 03:26:05 33b1e0a273af: Pull complete 03:26:05 5d3b04190fa2: Pull complete 03:26:06 using credential edgex-jenkins-ssh 03:26:06 Cloning the remote Git repository 03:26:06 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:26:06 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:26:06 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:26:06 > git --version # timeout=10 03:26:06 > git --version # 'git version 2.25.1' 03:26:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:06 Verifying host key using known hosts file 03:26:06 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. 03:26:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:26:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:26:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:26:09 Merging remotes/origin/main commit d3157763bdfd8f49e0a7266dceddd97d249ca275 into PR head commit 7219f81415a0cd39efed2f9b0e95028f91163a76 03:26:09 Merge succeeded, producing 7219f81415a0cd39efed2f9b0e95028f91163a76 03:26:09 Checking out Revision 7219f81415a0cd39efed2f9b0e95028f91163a76 (PR-163) 03:26:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:26:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:26:08 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:08 Verifying host key using known hosts file 03:26:08 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. 03:26:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:26:09 > git config core.sparsecheckout # timeout=10 03:26:09 > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # timeout=10 03:26:09 > git remote # timeout=10 03:26:09 > git config --get remote.origin.url # timeout=10 03:26:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:26:09 Verifying host key using known hosts file 03:26:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 03:26:09 > git merge d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 03:26:09 > git rev-parse HEAD^{commit} # timeout=10 03:26:09 > git config core.sparsecheckout # timeout=10 03:26:09 > git checkout -f 7219f81415a0cd39efed2f9b0e95028f91163a76 # timeout=10 03:26:10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 03:26:10 > git --version # timeout=10 03:26:10 > git --version # 'git version 2.25.1' 03:26:10 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 03:26:10 2f39f015ded8: Pull complete 03:26:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:26:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:10 03:26:10 GitHub has been notified of this commit’s build result 03:26:10 03:26:11 prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container 03:26:11 $ 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-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:13 $ docker top 8abfcb69da619005cf99e71c7282386dbb95ab330754daf74434463708951880 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:26:14 ---> job-cost.sh 03:26:14 lf-activate-venv: SKIPPING 03:26:14 INFO: No Stack... 03:26:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:26:14 % Total % Received % Xferd Average Speed Time Time Time Current 03:26:14 Dload Upload Total Spent Left Speed 03:26:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81303 0 --:--:-- --:--:-- --:--:-- 81831 03:26:14 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 03:26:14 INFO: Archiving Costs [Pipeline] sh 03:26:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:26:15 + cat /w/workspace/undry_device-onvif-camera_PR-163/archives/cost.csv 03:26:15 + cut -d, -f6 [Pipeline] lock 03:26:15 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] 03:26:15 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] did not exist. Created. 03:26:15 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:15 + sudo tee /etc/docker/daemon.new 03:26:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:26:15 { 03:26:15 "registry-mirrors": [ 03:26:15 "https://nexus3.edgexfoundry.org:10001" 03:26:15 ], 03:26:15 "bip": "10.250.0.254/24", 03:26:15 "hosts": [ 03:26:15 "tcp://0.0.0.0:5555", 03:26:15 "unix:///var/run/docker.sock" 03:26:15 ], 03:26:15 "mtu": 1458, 03:26:15 "selinux-enabled": true, 03:26:15 "seccomp-profile": "/etc/docker/seccomp.json" 03:26:15 } [Pipeline] sh 03:26:15 + echo total: 0.2199999988079071 [Pipeline] stash 03:26:15 Stashed 1 file(s) [Pipeline] } 03:26:15 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] 03:26:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } 03:26:15 $ docker stop --time=1 8abfcb69da619005cf99e71c7282386dbb95ab330754daf74434463708951880 03:26:16 $ docker rm -f 8abfcb69da619005cf99e71c7282386dbb95ab330754daf74434463708951880 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:26:17 + sudo service docker restart [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:36 provisioning config files... 03:26:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11188083224176122857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:36 ---> docker-login.sh 03:26:36 nexus3.edgexfoundry.org:10001 03:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:37 Configure a credential helper to remove this warning. See 03:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:37 03:26:37 Login Succeeded 03:26:37 nexus3.edgexfoundry.org:10002 03:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:37 Configure a credential helper to remove this warning. See 03:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:37 03:26:37 Login Succeeded 03:26:37 nexus3.edgexfoundry.org:10003 03:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:38 Configure a credential helper to remove this warning. See 03:26:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:38 03:26:38 Login Succeeded 03:26:38 nexus3.edgexfoundry.org:10004 03:26:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:38 Configure a credential helper to remove this warning. See 03:26:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:38 03:26:38 Login Succeeded 03:26:38 docker.io 03:26:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:38 Configure a credential helper to remove this warning. See 03:26:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:38 03:26:38 Login Succeeded 03:26:38 ---> docker-login.sh ends [Pipeline] } 03:26:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:26:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:26:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:26:39 ========================================================= 03:26:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:26:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:39 + 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 . 03:26:40 Sending build context to Docker daemon 14.16MB 03:26:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:26:40 Step 2/13 : FROM ${BASE} AS builder 03:26:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:26:40 b3c136eddcbf: Pulling fs layer 03:26:40 c0a3192eca97: Pulling fs layer 03:26:40 a050256f5b6f: Pulling fs layer 03:26:40 656be50a0ddc: Pulling fs layer 03:26:40 2bbca73fdf42: Pulling fs layer 03:26:40 46d945488cbd: Pulling fs layer 03:26:40 8a5474983e97: Pulling fs layer 03:26:40 329c88fbcd65: Pulling fs layer 03:26:40 46d945488cbd: Waiting 03:26:40 8a5474983e97: Waiting 03:26:40 329c88fbcd65: Waiting 03:26:40 656be50a0ddc: Waiting 03:26:40 2bbca73fdf42: Waiting 03:26:40 a050256f5b6f: Download complete 03:26:40 c0a3192eca97: Verifying Checksum 03:26:40 c0a3192eca97: Download complete 03:26:40 2bbca73fdf42: Verifying Checksum 03:26:40 2bbca73fdf42: Download complete 03:26:40 46d945488cbd: Verifying Checksum 03:26:40 46d945488cbd: Download complete 03:26:40 b3c136eddcbf: Verifying Checksum 03:26:41 b3c136eddcbf: Pull complete 03:26:41 329c88fbcd65: Verifying Checksum 03:26:41 329c88fbcd65: Download complete 03:26:42 c0a3192eca97: Pull complete 03:26:42 a050256f5b6f: Pull complete 03:26:42 8a5474983e97: Verifying Checksum 03:26:42 8a5474983e97: Download complete 03:26:43 656be50a0ddc: Verifying Checksum 03:26:43 656be50a0ddc: Download complete 03:26:56 656be50a0ddc: Pull complete 03:26:56 2bbca73fdf42: Pull complete 03:26:56 46d945488cbd: Pull complete 03:27:01 8a5474983e97: Pull complete 03:27:03 329c88fbcd65: Pull complete 03:27:03 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 03:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:27:03 ---> ff4287adb874 03:27:03 Step 3/13 : ARG MAKE="make build" 03:27:05 ---> Running in bb065f8e33ec 03:27:05 Removing intermediate container bb065f8e33ec 03:27:05 ---> a3bc5b6d7894 03:27:05 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:27:05 ---> Running in f9ce70885d6b 03:27:05 Removing intermediate container f9ce70885d6b 03:27:05 ---> 22b3351799ed 03:27:05 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 03:27:05 ---> Running in b7790cef148e 03:27:06 Removing intermediate container b7790cef148e 03:27:06 ---> 7822b5c09ffe 03:27:06 Step 6/13 : LABEL Name=edgex-device-onvif-camera 03:27:06 ---> Running in 0dcb28451126 03:27:06 Removing intermediate container 0dcb28451126 03:27:06 ---> d24995d1569a 03:27:06 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:27:06 ---> Running in 517fa87c5ee0 03:27:08 Removing intermediate container 517fa87c5ee0 03:27:08 ---> da580b967339 03:27:08 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:27:08 ---> Running in c3fb14d68a69 03:27:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:27:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:27:11 OK: 221 MiB in 51 packages 03:27:12 Removing intermediate container c3fb14d68a69 03:27:12 ---> c97c63bb934c 03:27:12 Step 9/13 : WORKDIR /device-onvif-camera 03:27:12 ---> Running in c053c53c10e2 03:27:12 Removing intermediate container c053c53c10e2 03:27:12 ---> 77ae92896224 03:27:12 Step 10/13 : COPY go.mod vendor* ./ 03:27:13 ---> ea3484f47e5c 03:27:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:27:13 ---> Running in 1b09362a51c6 03:27:59 Removing intermediate container 1b09362a51c6 03:27:59 ---> 1d70975780f5 03:27:59 Step 12/13 : COPY . . 03:28:00 ---> b5015c3044af 03:28:00 Step 13/13 : RUN ${MAKE} 03:28:00 ---> Running in f4613b6de331 03:28:01 noop 03:28:02 Removing intermediate container f4613b6de331 03:28:02 ---> 8819bcc43d5a 03:28:02 Successfully built 8819bcc43d5a 03:28:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:03 + docker inspect -f . ci-base-image-arm64 03:28:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:03 prd-ubuntu20.04-docker-arm64-4c-16g-1122 does not seem to be running inside a container 03:28: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 ******** ci-base-image-arm64 cat 03:28:04 $ docker top 41ba5c42318bec8307940887e2c3030f5eed5874532809a49abf1c9daac050d0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:05 + go version 03:28:05 go version go1.18.3 linux/arm64 [Pipeline] } 03:28:05 $ docker stop --time=1 41ba5c42318bec8307940887e2c3030f5eed5874532809a49abf1c9daac050d0 03:28:07 $ docker rm -f 41ba5c42318bec8307940887e2c3030f5eed5874532809a49abf1c9daac050d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:08 + docker inspect -f . ci-base-image-arm64 03:28:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:08 prd-ubuntu20.04-docker-arm64-4c-16g-1122 does not seem to be running inside a container 03:28: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 ******** ci-base-image-arm64 cat 03:28:09 $ docker top 5a64dce1ed79dd5597f3653d34b98524812fb0dc367544ec8e7b11ee8f04b283 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:28:10 + make test 03:28:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:28:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:29:49 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:29:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.198s coverage: 28.6% of statements 03:29:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:30:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.937s coverage: 86.5% of statements 03:30:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:30:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:30:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:30:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:30:31 ./bin/test-attribution-txt.sh [Pipeline] echo 03:30:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:30:31 $ docker stop --time=1 5a64dce1ed79dd5597f3653d34b98524812fb0dc367544ec8e7b11ee8f04b283 03:30:33 $ docker rm -f 5a64dce1ed79dd5597f3653d34b98524812fb0dc367544ec8e7b11ee8f04b283 [Pipeline] // withDockerContainer [Pipeline] sh 03:30:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:30:34 Warning: overwriting stash ‘coverage-report’ 03:30:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:30:35 + ls -al . 03:30:35 total 232 03:30:35 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 03:28 . 03:30:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:26 .. 03:30:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 03:26 .git 03:30:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:26 .github 03:30:35 -rw-rw-r-- 1 jenkins jenkins 418 Sep 26 03:26 .gitignore 03:30:35 -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 03:26 .golangci.yml 03:30:35 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 26 03:26 Attribution.txt 03:30:35 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 26 03:26 CHANGELOG.md 03:30:35 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 26 03:26 Dockerfile 03:30:35 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 03:26 GOVERNANCE.md 03:30:35 -rw-rw-r-- 1 jenkins jenkins 734 Sep 26 03:26 Jenkinsfile 03:30:35 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 03:26 LICENSE 03:30:35 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 26 03:26 Makefile 03:30:35 -rw-rw-r-- 1 jenkins jenkins 625 Sep 26 03:26 OWNERS.md 03:30:35 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 26 03:26 README.md 03:30:35 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 03:24 VERSION 03:30:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 03:26 bin 03:30:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 03:26 cmd 03:30:35 -rw-r--r-- 1 jenkins jenkins 79818 Sep 26 03:30 coverage.out 03:30:35 drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 03:26 doc 03:30:35 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 26 03:26 go.mod 03:30:35 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 26 03:26 go.sum 03:30:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:26 internal 03:30:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 03:26 snap 03:30:35 -rw-rw-r-- 1 jenkins jenkins 236 Sep 26 03:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:36 + 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=7219f81415a0cd39efed2f9b0e95028f91163a76 --label arch=arm64 --label version=0.0.0 . 03:30:36 Sending build context to Docker daemon 14.24MB 03:30:36 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:30:36 Step 2/26 : FROM ${BASE} AS builder 03:30:36 ---> 8819bcc43d5a 03:30:36 Step 3/26 : ARG MAKE="make build" 03:30:37 ---> Running in 78f01752156f 03:30:37 Removing intermediate container 78f01752156f 03:30:37 ---> ad94ad91297a 03:30:37 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:30:37 ---> Running in ac4826fcb399 03:30:37 Removing intermediate container ac4826fcb399 03:30:37 ---> 7bf292bc41f5 03:30:37 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 03:30:37 ---> Running in 3316575dd86e 03:30:38 Removing intermediate container 3316575dd86e 03:30:38 ---> 89a89dd0ad78 03:30:38 Step 6/26 : LABEL Name=edgex-device-onvif-camera 03:30:38 ---> Running in 1802e71b2004 03:30:38 Removing intermediate container 1802e71b2004 03:30:38 ---> 30ab50334e39 03:30:38 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:30:38 ---> Running in 7be307816d40 03:30:40 Removing intermediate container 7be307816d40 03:30:40 ---> ccf27c61beed 03:30:40 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:40 ---> Running in 18df7cea1625 03:30:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:30:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:30:44 OK: 221 MiB in 51 packages 03:30:45 Removing intermediate container 18df7cea1625 03:30:45 ---> 7b2adfca9525 03:30:45 Step 9/26 : WORKDIR /device-onvif-camera 03:30:45 ---> Running in d448dd306d88 03:30:45 Removing intermediate container d448dd306d88 03:30:45 ---> db2b3f7655e9 03:30:45 Step 10/26 : COPY go.mod vendor* ./ 03:30:46 ---> e23fdd856c9a 03:30:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:46 ---> Running in c4da45af29ed 03:30:48 Removing intermediate container c4da45af29ed 03:30:48 ---> 33e72ac19479 03:30:48 Step 12/26 : COPY . . 03:30:49 ---> 997898bf4356 03:30:49 Step 13/26 : RUN ${MAKE} 03:30:50 ---> Running in fdc651798d95 03:30:51 CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:33:27 Removing intermediate container fdc651798d95 03:33:27 ---> 99f3617b3a2a 03:33:27 Step 14/26 : FROM alpine:3.16 03:33:27 3.16: Pulling from library/alpine 03:33:27 9b18e9b68314: Pulling fs layer 03:33:27 9b18e9b68314: Verifying Checksum 03:33:27 9b18e9b68314: Download complete 03:33:27 9b18e9b68314: Pull complete 03:33:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:33:27 Status: Downloaded newer image for alpine:3.16 03:33:27 ---> a6215f271958 03:33:27 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:33:27 ---> Running in 2ea28dc92d5c 03:33:27 Removing intermediate container 2ea28dc92d5c 03:33:27 ---> 557c9d75275f 03:33:27 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:33:27 ---> Running in faed07678ea8 03:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:33:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:33:27 (1/6) Installing dumb-init (1.2.5-r1) 03:33:27 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:33:27 (3/6) Installing libsodium (1.0.18-r0) 03:33:27 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:33:27 (5/6) Installing libzmq (4.3.4-r0) 03:33:27 (6/6) Installing zeromq (4.3.4-r0) 03:33:27 Executing busybox-1.35.0-r17.trigger 03:33:27 OK: 8 MiB in 20 packages 03:33:27 Removing intermediate container faed07678ea8 03:33:27 ---> 354e672a350f 03:33:27 Step 17/26 : WORKDIR / 03:33:27 ---> Running in b1f9059a4438 03:33:27 Removing intermediate container b1f9059a4438 03:33:27 ---> e7d6550df263 03:33:27 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:33:27 ---> 7a1b4dbf2dd5 03:33:27 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:33:27 ---> 553b35b04a3d 03:33:27 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:33:27 ---> 0d044922d47e 03:33:27 Step 21/26 : EXPOSE 59984 03:33:27 ---> Running in 6c772f77c282 03:33:27 Removing intermediate container 6c772f77c282 03:33:27 ---> 7755f6eebb62 03:33:27 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:33:27 ---> Running in 91a9a6b1e50c 03:33:27 Removing intermediate container 91a9a6b1e50c 03:33:27 ---> 407743555ec3 03:33:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:33:27 ---> Running in e74a98d30394 03:33:27 Removing intermediate container e74a98d30394 03:33:27 ---> 24d772d3abb8 03:33:27 Step 24/26 : LABEL arch=arm64 03:33:27 ---> Running in 73c20c1258ba 03:33:27 Removing intermediate container 73c20c1258ba 03:33:27 ---> 2646e6211ea3 03:33:27 Step 25/26 : LABEL git_sha=7219f81415a0cd39efed2f9b0e95028f91163a76 03:33:27 ---> Running in f91928a25336 03:33:27 Removing intermediate container f91928a25336 03:33:27 ---> 4857e2e3246a 03:33:27 Step 26/26 : LABEL version=0.0.0 03:33:27 ---> Running in c1e5e1dd660d 03:33:27 Removing intermediate container c1e5e1dd660d 03:33:27 ---> 93a0ae2a71d6 03:33:27 [Warning] One or more build-args [ARCH] were not consumed 03:33:27 Successfully built 93a0ae2a71d6 03:33:27 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 03:33:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:28 03:33:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:28 arm64: Pulling from edgex-lftools-log-publisher 03:33:28 8998bd30e6a1: Pulling fs layer 03:33:28 04944245beec: Pulling fs layer 03:33:28 699f458cf7ca: Pulling fs layer 03:33:28 765212b225bb: Pulling fs layer 03:33:28 f23df028b6ca: Pulling fs layer 03:33:28 d65c8cfc05b1: Pulling fs layer 03:33:28 2437ff75d9bd: Pulling fs layer 03:33:28 765212b225bb: Waiting 03:33:28 f23df028b6ca: Waiting 03:33:28 d65c8cfc05b1: Waiting 03:33:28 2437ff75d9bd: Waiting 03:33:29 04944245beec: Verifying Checksum 03:33:29 04944245beec: Download complete 03:33:29 765212b225bb: Verifying Checksum 03:33:29 765212b225bb: Download complete 03:33:29 f23df028b6ca: Verifying Checksum 03:33:29 f23df028b6ca: Download complete 03:33:29 d65c8cfc05b1: Verifying Checksum 03:33:29 d65c8cfc05b1: Download complete 03:33:29 699f458cf7ca: Download complete 03:33:29 8998bd30e6a1: Verifying Checksum 03:33:29 8998bd30e6a1: Download complete 03:33:31 2437ff75d9bd: Verifying Checksum 03:33:31 2437ff75d9bd: Download complete 03:33:33 8998bd30e6a1: Pull complete 03:33:33 04944245beec: Pull complete 03:33:35 699f458cf7ca: Pull complete 03:33:35 765212b225bb: Pull complete 03:33:35 f23df028b6ca: Pull complete 03:33:36 d65c8cfc05b1: Pull complete 03:33:51 2437ff75d9bd: Pull complete 03:33:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:51 prd-ubuntu20.04-docker-arm64-4c-16g-1122 does not seem to be running inside a container 03:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:33:54 $ docker top 9c7f1a86c07759c48a256de8f0c1678848cc889597b84b5d12baf079c05d8d7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:54 ---> job-cost.sh 03:33:55 lf-activate-venv: SKIPPING 03:33:55 INFO: No Stack... 03:33:55 INFO: Retrieving Pricing Info for: v3-standard-4 03:33:56 INFO: Archiving Costs [Pipeline] sh 03:33:56 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:33:56 + cut -d, -f6 [Pipeline] lock 03:33:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] 03:33:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] did not exist. Created. 03:33:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:33:57 /w/workspace/device-onvif-camera/1@tmp/durable-bef53f65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:33:57 + echo total: 0.10999999940395355 [Pipeline] stash 03:33:57 Warning: overwriting stash ‘stack-cost’ 03:33:57 Stashed 1 file(s) [Pipeline] } 03:33:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:33:57 $ docker stop --time=1 9c7f1a86c07759c48a256de8f0c1678848cc889597b84b5d12baf079c05d8d7f 03:33:59 $ docker rm -f 9c7f1a86c07759c48a256de8f0c1678848cc889597b84b5d12baf079c05d8d7f [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 03:34:00 provisioning config files... 03:34:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config10513117290740435395tmp [Pipeline] { [Pipeline] sh 03:34:00 + set +x 03:34:00 + + bash -s -- 03:34:00 curl -s https://codecov.io/bash 03:34:00 03:34:00 _____ _ 03:34:00 / ____| | | 03:34:00 | | ___ __| | ___ ___ _____ __ 03:34:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:34:00 | |___| (_) | (_| | __/ (_| (_) \ V / 03:34:00 \_____\___/ \__,_|\___|\___\___/ \_/ 03:34:00 Bash-1.0.6 03:34:00 03:34:00 03:34:00 ==> git version 2.25.1 found 03:34:00 ==> 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 03:34:00 Release-Date: 2020-01-08 03:34:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:34:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:34:00 ==> Jenkins CI detected. 03:34:00 current dir:  /w/workspace/undry_device-onvif-camera_PR-163 03:34:00 project root: . 03:34:00 --> token set from env 03:34:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:34:00 ==> Running gcov in . (disable via -X gcov) 03:34:00 ==> Python coveragepy not found 03:34:00 ==> Searching for coverage reports in: 03:34:00 + . 03:34:00 -> Found 1 reports 03:34:00 ==> Detecting git/mercurial file structure 03:34:00 ==> Reading reports 03:34:00 + ./coverage.out bytes=79818 03:34:00 ==> Appending adjustments 03:34:00 https://docs.codecov.io/docs/fixing-reports 03:34:00 + Found adjustments 03:34:00 ==> Gzipping contents 03:34:00 12K /tmp/codecov.UbiX9k.gz 03:34:00 ==> Uploading reports 03:34:00 url: https://codecov.io 03:34:00 query: branch=PR-163&commit=7219f81415a0cd39efed2f9b0e95028f91163a76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=163&job=&cmd_args= 03:34:00 -> Pinging Codecov 03:34:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-163&commit=7219f81415a0cd39efed2f9b0e95028f91163a76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=163&job=&cmd_args= 03:34:00 -> Uploading to 03:34:00 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/F29A59C45E3A92E06B3E522C9905F8EF/7219f81415a0cd39efed2f9b0e95028f91163a76/44e39e9e-bde2-42b8-a229-eec4c4adfbfd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T033400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fa3d62d463e8e8ae65de02b66c2ed1cf2049e1ac3507dc9600965f37fc92a43 03:34:00 % Total % Received % Xferd Average Speed Time Time Time Current 03:34:00 Dload Upload Total Spent Left Speed 03:34:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10937 0 0 100 10937 0 44279 --:--:-- --:--:-- --:--:-- 44279 03:34:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7219f81415a0cd39efed2f9b0e95028f91163a76 [Pipeline] } 03:34:01 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 03:34:02 + [ -d /w/workspace/undry_device-onvif-camera_PR-163/archives ] 03:34:02 + ls -al /w/workspace/undry_device-onvif-camera_PR-163/archives 03:34:02 total 16 03:34:02 drwxr-xr-x 3 root root 4096 Sep 26 03:26 . 03:34:02 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 03:26 .. 03:34:02 drwxr-xr-x 2 root root 4096 Sep 26 03:26 cost 03:34:02 -rw-r--r-- 1 root root 91 Sep 26 03:26 cost.csv 03:34:02 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-163/archives 03:34:02 + ls -al /w/workspace/undry_device-onvif-camera_PR-163/archives 03:34:02 total 16 03:34:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 03:26 . 03:34:02 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 03:26 .. 03:34:02 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 03:26 cost 03:34:02 -rw-r--r-- 1 jenkins jenkins 91 Sep 26 03:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:34:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:34:04 ---> package-listing.sh 03:34:04 ++ facter osfamily 03:34:04 ++ tr '[:upper:]' '[:lower:]' 03:34:04 + OS_FAMILY=debian 03:34:04 + workspace=/w/workspace/undry_device-onvif-camera_PR-163 03:34:04 + START_PACKAGES=/tmp/packages_start.txt 03:34:04 + END_PACKAGES=/tmp/packages_end.txt 03:34:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:34:04 + PACKAGES=/tmp/packages_start.txt 03:34:04 + '[' /w/workspace/undry_device-onvif-camera_PR-163 ']' 03:34:04 + PACKAGES=/tmp/packages_end.txt 03:34:04 + case "${OS_FAMILY}" in 03:34:04 + dpkg -l 03:34:04 + grep '^ii' 03:34:04 + '[' -f /tmp/packages_start.txt ']' 03:34:04 + '[' -f /tmp/packages_end.txt ']' 03:34:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:34:04 + '[' /w/workspace/undry_device-onvif-camera_PR-163 ']' 03:34:04 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-163/archives/ 03:34:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-163/archives/ [Pipeline] echo 03:34:04 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-163/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:34:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:34:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:05 prd-ubuntu20.04-docker-8c-8g-1121 does not seem to be running inside a container 03:34:05 $ 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-163/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-163 -v /w/workspace/undry_device-onvif-camera_PR-163:/w/workspace/undry_device-onvif-camera_PR-163:rw,z -v /w/workspace/undry_device-onvif-camera_PR-163@tmp:/w/workspace/undry_device-onvif-camera_PR-163@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:34:05 $ docker top 484e8cc82c781e9af84377fb421678e791e41e1ed6c91a4e940b4ca9e59183f5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:06 + touch /tmp/pre-build-complete [Pipeline] sh 03:34:06 + mkdir -p /var/log/sysstat [Pipeline] sh 03:34:06 + ls /var/log/sa-host 03:34:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:34:06 provisioning config files... 03:34:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-163@tmp/config10744593011951178346tmp [Pipeline] { [Pipeline] echo 03:34:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:34:07 ---> create-netrc.sh [Pipeline] } 03:34:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:34:07 ---> python-tools-install.sh [Pipeline] echo 03:34:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:34:08 ---> sudo-logs.sh 03:34:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:34:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:34:08 ---> job-cost.sh 03:34:08 lf-activate-venv: SKIPPING 03:34:08 DEBUG: total: 0.2199999988079071 03:34:08 INFO: Retrieving Stack Cost... 03:34:08 INFO: Retrieving Pricing Info for: v3-standard-8 03:34:09 INFO: Archiving Costs [Pipeline] echo 03:34:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:34:09 ---> logs-deploy.sh 03:34:09 lf-activate-venv: SKIPPING 03:34:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-163/1 03:34:09 INFO: archiving workspace using pattern(s): 03:34:10 Archives upload complete. 03:34:10 INFO: archiving logs to Nexus 03:34:11 ---> uname -a: 03:34:11 Linux prd-ubuntu20-04-docker-8c-8g-1121 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:34:11 03:34:11 03:34:11 ---> lscpu: 03:34:11 Architecture: x86_64 03:34:11 CPU op-mode(s): 32-bit, 64-bit 03:34:11 Byte Order: Little Endian 03:34:11 Address sizes: 40 bits physical, 48 bits virtual 03:34:11 CPU(s): 8 03:34:11 On-line CPU(s) list: 0-7 03:34:11 Thread(s) per core: 1 03:34:11 Core(s) per socket: 1 03:34:11 Socket(s): 8 03:34:11 NUMA node(s): 1 03:34:11 Vendor ID: AuthenticAMD 03:34:11 CPU family: 23 03:34:11 Model: 49 03:34:11 Model name: AMD EPYC-Rome Processor 03:34:11 Stepping: 0 03:34:11 CPU MHz: 2799.998 03:34:11 BogoMIPS: 5599.99 03:34:11 Virtualization: AMD-V 03:34:11 Hypervisor vendor: KVM 03:34:11 Virtualization type: full 03:34:11 L1d cache: 256 KiB 03:34:11 L1i cache: 256 KiB 03:34:11 L2 cache: 4 MiB 03:34:11 L3 cache: 128 MiB 03:34:11 NUMA node0 CPU(s): 0-7 03:34:11 Vulnerability Itlb multihit: Not affected 03:34:11 Vulnerability L1tf: Not affected 03:34:11 Vulnerability Mds: Not affected 03:34:11 Vulnerability Meltdown: Not affected 03:34:11 Vulnerability Mmio stale data: Not affected 03:34:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:34:11 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:34:11 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:34:11 Vulnerability Srbds: Not affected 03:34:11 Vulnerability Tsx async abort: Not affected 03:34:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:34:11 03:34:11 03:34:11 ---> nproc: 03:34:11 8 03:34:11 03:34:11 03:34:11 ---> df -h: 03:34:11 Filesystem Size Used Avail Use% Mounted on 03:34:11 overlay 155G 12G 144G 8% / 03:34:11 tmpfs 64M 0 64M 0% /dev 03:34:11 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:34:11 shm 64M 0 64M 0% /dev/shm 03:34:11 /dev/vda1 155G 12G 144G 8% /facter-os 03:34:11 03:34:11