Pull request #102 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8+e6cf2f2f80d14c6ff357eccb58ac1fd20041715b (35d4ffad289b585b4e8df29929dc77519630492e) 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-ssh10661057918952185237.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-ssh675512237288725750.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-usb-camera/branches/PR-102/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-usb-camera/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11096794279990521616.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-usb-camera/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7350939899438971815.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-ssh5961778523470462083.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-usb-camera/branches/PR-102/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-usb-camera/branches/PR-102/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5827897710622603685.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7540’ Running on prd-ubuntu20.04-docker-8c-8g-7548 in /w/workspace/foundry_device-usb-camera_PR-102 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-102 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e6cf2f2f80d14c6ff357eccb58ac1fd20041715b into PR head commit 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 Merge succeeded, producing 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 Checking out Revision 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 (PR-102) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # 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 e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/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 17:33:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:33:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:33:37 ========================================================= 17:33:37 EdgeX Global Pipelines Version Info 17:33:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:33:38 ------------------- 17:33:38 stable info: 17:33:38 ------------------- 17:33:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:33:38 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:33:38 Message: update stable to v1.0.239 17:33:39 ------------------- 17:33:39 experimental info: 17:33:39 ------------------- 17:33:39 Commited By: **** collab-it+edgex@linuxfoundation.org 17:33:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:33:39 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:33:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-102 [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-102 [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-102 [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b7a325 [Pipeline] echo 17:33:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:33:40 provisioning config files... 17:33:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config10958805998238682244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:40 ---> docker-login.sh 17:33:40 nexus3.edgexfoundry.org:10001 17:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:41 Configure a credential helper to remove this warning. See 17:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:41 17:33:41 Login Succeeded 17:33:41 nexus3.edgexfoundry.org:10002 17:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:41 Configure a credential helper to remove this warning. See 17:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:41 17:33:41 Login Succeeded 17:33:41 nexus3.edgexfoundry.org:10003 17:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:41 Configure a credential helper to remove this warning. See 17:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:41 17:33:41 Login Succeeded 17:33:41 nexus3.edgexfoundry.org:10004 17:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:41 Configure a credential helper to remove this warning. See 17:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:41 17:33:41 Login Succeeded 17:33:41 docker.io 17:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:42 Configure a credential helper to remove this warning. See 17:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:42 17:33:42 Login Succeeded 17:33:42 ---> docker-login.sh ends [Pipeline] } 17:33:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:33:42 + git rev-list -1 --merges 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8~1..8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo 17:33:42 -----------> git rev-list -1 --merges 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8~1..8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [false] [Pipeline] sh 17:33:43 + git log --format=format:%s -1 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo 17:33:43 ========================================================= 17:33:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:33:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:33:43 + git log --format=format:%s -1 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] echo 17:33:43 [semverPrep] GIT_COMMIT: 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 17:33:43 [semverPrep] This is not a build commit. [Pipeline] sh 17:33:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:33:43 + grep -v github /etc/ssh/ssh_known_hosts 17:33:43 + [ -e /tmp/ssh_known_hosts ] 17:33:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:33:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:33:43 + sudo tee -a /etc/ssh/ssh_known_hosts 17:33:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:33:44 17:33:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:33:44 0.1.4: Pulling from edgex-devops/py-git-semver 17:33:44 b85a868b505f: Pulling fs layer 17:33:44 e2be974225ed: Pulling fs layer 17:33:44 339a4e72a1f5: Pulling fs layer 17:33:44 988bab9f4d93: Pulling fs layer 17:33:44 1469e6f7b9e6: Pulling fs layer 17:33:44 eaf3925da568: Pulling fs layer 17:33:44 bab4dde63d76: Pulling fs layer 17:33:44 bde34c3a00c8: Pulling fs layer 17:33:44 b352a97aabf1: Pulling fs layer 17:33:44 4872d77fe225: Pulling fs layer 17:33:44 5851b861e8e6: Pulling fs layer 17:33:44 988bab9f4d93: Waiting 17:33:44 1469e6f7b9e6: Waiting 17:33:44 eaf3925da568: Waiting 17:33:44 bab4dde63d76: Waiting 17:33:44 bde34c3a00c8: Waiting 17:33:44 b352a97aabf1: Waiting 17:33:44 4872d77fe225: Waiting 17:33:44 5851b861e8e6: Waiting 17:33:44 e2be974225ed: Verifying Checksum 17:33:44 e2be974225ed: Download complete 17:33:44 988bab9f4d93: Verifying Checksum 17:33:44 988bab9f4d93: Download complete 17:33:44 1469e6f7b9e6: Verifying Checksum 17:33:44 1469e6f7b9e6: Download complete 17:33:44 eaf3925da568: Verifying Checksum 17:33:44 eaf3925da568: Download complete 17:33:44 339a4e72a1f5: Verifying Checksum 17:33:44 339a4e72a1f5: Download complete 17:33:44 bde34c3a00c8: Download complete 17:33:44 b352a97aabf1: Verifying Checksum 17:33:44 b352a97aabf1: Download complete 17:33:44 4872d77fe225: Verifying Checksum 17:33:44 4872d77fe225: Download complete 17:33:44 5851b861e8e6: Verifying Checksum 17:33:44 5851b861e8e6: Download complete 17:33:44 b85a868b505f: Verifying Checksum 17:33:44 b85a868b505f: Download complete 17:33:45 bab4dde63d76: Verifying Checksum 17:33:45 bab4dde63d76: Download complete 17:33:46 b85a868b505f: Pull complete 17:33:46 e2be974225ed: Pull complete 17:33:46 339a4e72a1f5: Pull complete 17:33:46 988bab9f4d93: Pull complete 17:33:47 1469e6f7b9e6: Pull complete 17:33:47 eaf3925da568: Pull complete 17:33:49 bab4dde63d76: Pull complete 17:33:49 bde34c3a00c8: Pull complete 17:33:49 b352a97aabf1: Pull complete 17:33:49 4872d77fe225: Pull complete 17:33:49 5851b861e8e6: Pull complete 17:33:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:33:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:33:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:49 prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container 17:33:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:33:51 $ docker top e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a -eo pid,comm 17:33:51 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). 17:33:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:33:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:33:51 [ssh-agent] Looking for ssh-agent implementation... 17:33:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:33:51 $ docker exec e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent 17:33:51 SSH_AUTH_SOCK=/tmp/ssh-lAcNU5c4F3oB/agent.31 17:33:51 SSH_AGENT_PID=37 17:33:51 Running ssh-add (command line suppressed) 17:33:52 Identity added: /w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_13333768873564448009.key (/w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_13333768873564448009.key) 17:33:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:33:52 + git tag --points-at HEAD [Pipeline] } 17:33:52 $ docker exec --env ******** --env ******** e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent -k 17:33:52 unset SSH_AUTH_SOCK; 17:33:52 unset SSH_AGENT_PID; 17:33:52 echo Agent pid 37 killed; 17:33:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:33:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:33:52 [ssh-agent] Looking for ssh-agent implementation... 17:33:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:33:52 $ docker exec e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent 17:33:52 SSH_AUTH_SOCK=/tmp/ssh-Uba5dAKeHV4q/agent.70 17:33:52 SSH_AGENT_PID=76 17:33:52 Running ssh-add (command line suppressed) 17:33:52 Identity added: /w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_2480374505717484064.key (/w/workspace/foundry_device-usb-camera_PR-102@tmp/private_key_2480374505717484064.key) 17:33:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:33:53 + git semver init 17:33:53 2022-10-10 17:33:53,505 [run_init] DEBUG init version:0.0.0 force:False 17:33:53 2022-10-10 17:33:53,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-102/.semver 17:33:53 2022-10-10 17:33:53,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-102/.semver 17:33:53 2022-10-10 17:33:53,506 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-102/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-102, universal_newlines=False, shell=None, istream=None) 17:33:54 2022-10-10 17:33:54,271 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-102/.git/info/exclude 17:33:54 2022-10-10 17:33:54,272 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-102/.semver/PR-102 with force:False 17:33:54 2022-10-10 17:33:54,272 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-102/.semver/PR-102 17:33:54 2022-10-10 17:33:54,276 [execute] INFO git cat-file --batch-check 17:33:54 2022-10-10 17:33:54,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-102/.semver, universal_newlines=False, shell=None, istream=) 17:33:54 2022-10-10 17:33:54,283 [execute] INFO git cat-file --batch 17:33:54 2022-10-10 17:33:54,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-102/.semver, universal_newlines=False, shell=None, istream=) 17:33:54 2022-10-10 17:33:54,289 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-102/.semver/PR-102 17:33:54 0.0.0 [Pipeline] } 17:33:54 $ docker exec --env ******** --env ******** e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a ssh-agent -k 17:33:54 unset SSH_AUTH_SOCK; 17:33:54 unset SSH_AGENT_PID; 17:33:54 echo Agent pid 76 killed; 17:33:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:33:55 + git semver [Pipeline] } 17:33:55 $ docker stop --time=1 e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a 17:33:56 $ docker rm -f e6c06bf53c7366dc662fbe2fee2eab87c419d59b4fff452dcfc7da0fe936eb4a [Pipeline] // withDockerContainer [Pipeline] sh 17:33:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:33:57 Stashed 1 file(s) [Pipeline] echo 17:33:57 [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 17:33:57 provisioning config files... 17:33:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config7675415958687209123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:58 ---> docker-login.sh 17:33:58 nexus3.edgexfoundry.org:10001 17:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:58 Configure a credential helper to remove this warning. See 17:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:58 17:33:58 Login Succeeded 17:33:58 nexus3.edgexfoundry.org:10002 17:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:58 Configure a credential helper to remove this warning. See 17:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:58 17:33:58 Login Succeeded 17:33:58 nexus3.edgexfoundry.org:10003 17:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:58 Configure a credential helper to remove this warning. See 17:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:58 17:33:58 Login Succeeded 17:33:58 nexus3.edgexfoundry.org:10004 17:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:58 Configure a credential helper to remove this warning. See 17:33:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:58 17:33:58 Login Succeeded 17:33:58 docker.io 17:33:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:59 Configure a credential helper to remove this warning. See 17:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:59 17:33:59 Login Succeeded 17:33:59 ---> docker-login.sh ends [Pipeline] } 17:33:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:33:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:33:59 ========================================================= 17:33:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:33:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:59 + 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 . 17:33:59 Sending build context to Docker daemon 1.505MB 17:33:59 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:33:59 Step 2/14 : FROM ${BASE} AS builder 17:33:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:33:59 2408cc74d12b: Pulling fs layer 17:33:59 ea60b727a1ce: Pulling fs layer 17:33:59 30c4a7721957: Pulling fs layer 17:33:59 370296b7ddb6: Pulling fs layer 17:33:59 7c6cee850709: Pulling fs layer 17:33:59 aa9baa53a306: Pulling fs layer 17:33:59 8b309c321861: Pulling fs layer 17:33:59 d8d76fd02f46: Pulling fs layer 17:33:59 fa31f396de31: Pulling fs layer 17:33:59 370296b7ddb6: Waiting 17:33:59 7c6cee850709: Waiting 17:33:59 aa9baa53a306: Waiting 17:33:59 8b309c321861: Waiting 17:33:59 d8d76fd02f46: Waiting 17:33:59 fa31f396de31: Waiting 17:33:59 30c4a7721957: Download complete 17:33:59 ea60b727a1ce: Verifying Checksum 17:33:59 ea60b727a1ce: Download complete 17:33:59 7c6cee850709: Verifying Checksum 17:33:59 7c6cee850709: Download complete 17:33:59 aa9baa53a306: Verifying Checksum 17:33:59 aa9baa53a306: Download complete 17:34:00 2408cc74d12b: Verifying Checksum 17:34:00 2408cc74d12b: Download complete 17:34:00 8b309c321861: Download complete 17:34:00 2408cc74d12b: Pull complete 17:34:00 ea60b727a1ce: Pull complete 17:34:00 30c4a7721957: Pull complete 17:34:00 fa31f396de31: Verifying Checksum 17:34:00 fa31f396de31: Download complete 17:34:00 d8d76fd02f46: Download complete 17:34:00 370296b7ddb6: Verifying Checksum 17:34:00 370296b7ddb6: Download complete 17:34:04 370296b7ddb6: Pull complete 17:34:04 7c6cee850709: Pull complete 17:34:04 aa9baa53a306: Pull complete 17:34:04 8b309c321861: Pull complete 17:34:07 d8d76fd02f46: Pull complete 17:34:07 fa31f396de31: Pull complete 17:34:07 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 17:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:34:07 ---> cef68f9685f8 17:34:07 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:34:11 ---> Running in 1471af318244 17:34:11 Removing intermediate container 1471af318244 17:34:11 ---> 02bce360cc70 17:34:11 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:34:11 ---> Running in 12e634015cde 17:34:11 Removing intermediate container 12e634015cde 17:34:11 ---> 82ea8e5be00a 17:34:11 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:34:11 ---> Running in 42a72d635946 17:34:11 Removing intermediate container 42a72d635946 17:34:11 ---> 7bfa1039aaa1 17:34:11 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:34:11 ---> Running in 5ac4c99ff4d4 17:34:11 Removing intermediate container 5ac4c99ff4d4 17:34:11 ---> d8b0c175580e 17:34:11 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:34:11 ---> Running in 03c34e038754 17:34:11 Removing intermediate container 03c34e038754 17:34:11 ---> 6d0d82f23901 17:34:11 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:34:11 ---> Running in 23542746ecd0 17:34:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:34:12 Still waiting to schedule task 17:34:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:34:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:34:13 (1/80) Installing mesa (21.3.8-r2) 17:34:13 (2/80) Installing libxau (1.0.9-r0) 17:34:13 (3/80) Installing libxdmcp (1.1.3-r0) 17:34:13 (4/80) Installing libxcb (1.15-r0) 17:34:13 (5/80) Installing libx11 (1.8-r0) 17:34:13 (6/80) Installing libxext (1.3.4-r0) 17:34:13 (7/80) Installing libxfixes (6.0.0-r0) 17:34:13 (8/80) Installing libxxf86vm (1.1.4-r2) 17:34:13 (9/80) Installing libpciaccess (0.16-r0) 17:34:14 (10/80) Installing libdrm (2.4.110-r0) 17:34:14 (11/80) Installing mesa-glapi (21.3.8-r2) 17:34:14 (12/80) Installing libxshmfence (1.3-r1) 17:34:14 (13/80) Installing mesa-gl (21.3.8-r2) 17:34:14 (14/80) Installing icu-data-full (71.1-r2) 17:34:15 (15/80) Installing libice (1.0.10-r0) 17:34:15 (16/80) Installing libuuid (2.38-r1) 17:34:15 (17/80) Installing libsm (1.2.3-r0) 17:34:15 (18/80) Installing libxt (1.2.1-r0) 17:34:15 (19/80) Installing libxmu (1.1.3-r0) 17:34:15 (20/80) Installing xset (1.2.4-r0) 17:34:15 (21/80) Installing xprop (1.2.5-r0) 17:34:15 (22/80) Installing xdg-utils (1.1.3-r3) 17:34:15 (23/80) Installing dbus-libs (1.14.4-r0) 17:34:16 (24/80) Installing libffi (3.4.2-r1) 17:34:16 (25/80) Installing libintl (0.21-r2) 17:34:16 (26/80) Installing libblkid (2.38-r1) 17:34:16 (27/80) Installing libmount (2.38-r1) 17:34:16 (28/80) Installing pcre (8.45-r2) 17:34:16 (29/80) Installing glib (2.72.1-r0) 17:34:16 (30/80) Installing icu-libs (71.1-r2) 17:34:16 (31/80) Installing libpcre2-16 (10.40-r0) 17:34:16 (32/80) Installing zstd-libs (1.5.2-r1) 17:34:16 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 17:34:17 (34/80) Installing hicolor-icon-theme (0.17-r1) 17:34:17 (35/80) Installing wayland-libs-server (1.20.0-r0) 17:34:17 (36/80) Installing mesa-gbm (21.3.8-r2) 17:34:17 (37/80) Installing wayland-libs-client (1.20.0-r0) 17:34:17 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 17:34:18 (39/80) Installing libxcomposite (0.4.5-r0) 17:34:18 (40/80) Installing libbz2 (1.0.8-r1) 17:34:18 (41/80) Installing libpng (1.6.37-r1) 17:34:18 (42/80) Installing freetype (2.12.1-r0) 17:34:18 (43/80) Installing fontconfig (2.14.0-r0) 17:34:18 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 17:34:18 (45/80) Installing wayland-libs-egl (1.20.0-r0) 17:34:18 (46/80) Installing xkeyboard-config (2.35.1-r0) 17:34:18 (47/80) Installing xz-libs (5.2.5-r1) 17:34:19 (48/80) Installing libxml2 (2.9.14-r1) 17:34:19 (49/80) Installing libxkbcommon (1.4.1-r0) 17:34:19 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 17:34:19 (51/80) Installing mesa-egl (21.3.8-r2) 17:34:19 (52/80) Installing avahi-libs (0.8-r6) 17:34:19 (53/80) Installing nettle (3.7.3-r0) 17:34:19 (54/80) Installing p11-kit (0.24.1-r0) 17:34:19 (55/80) Installing libtasn1 (4.18.0-r0) 17:34:19 (56/80) Installing libunistring (1.0-r0) 17:34:19 (57/80) Installing gnutls (3.7.7-r0) 17:34:20 (58/80) Installing cups-libs (2.4.2-r0) 17:34:20 (59/80) Installing graphite2 (1.3.14-r1) 17:34:20 (60/80) Installing harfbuzz (4.3.0-r0) 17:34:20 (61/80) Installing libevdev (1.12.1-r0) 17:34:20 (62/80) Installing mtdev (1.1.6-r0) 17:34:20 (63/80) Installing eudev-libs (3.2.11-r0) 17:34:20 (64/80) Installing libinput-libs (1.20.1-r0) 17:34:20 (65/80) Installing libjpeg-turbo (2.1.3-r1) 17:34:20 (66/80) Installing xcb-util-wm (0.4.1-r1) 17:34:20 (67/80) Installing xcb-util (0.4.0-r3) 17:34:20 (68/80) Installing xcb-util-image (0.4.0-r1) 17:34:21 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 17:34:21 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 17:34:21 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 17:34:21 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 17:34:21 (73/80) Installing v4l-utils-libs (1.22.1-r1) 17:34:21 (74/80) Installing v4l-utils (1.22.1-r1) 17:34:21 (75/80) Installing udev-init-scripts (35-r0) 17:34:22 Executing udev-init-scripts-35-r0.post-install 17:34:22 (76/80) Installing kmod-libs (29-r2) 17:34:22 (77/80) Installing eudev (3.2.11-r0) 17:34:22 (78/80) Installing eudev-dev (3.2.11-r0) 17:34:22 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:34:22 (80/80) Installing v4l-utils-dev (1.22.1-r1) 17:34:22 Executing busybox-1.35.0-r13.trigger 17:34:22 Executing eudev-3.2.11-r0.trigger 17:34:22 OK: 330 MiB in 131 packages 17:34:25 Removing intermediate container 23542746ecd0 17:34:25 ---> c68a00b74022 17:34:25 Step 9/14 : WORKDIR /device-usb-camera 17:34:25 ---> Running in 5fcd774416f2 17:34:25 Removing intermediate container 5fcd774416f2 17:34:25 ---> b101319ec5be 17:34:25 Step 10/14 : COPY go.mod vendor* ./ 17:34:25 ---> a656faf12fef 17:34:25 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:34:25 ---> Running in b4b861ca4541 17:34:47 Removing intermediate container b4b861ca4541 17:34:47 ---> 6adf73982477 17:34:47 Step 12/14 : COPY . . 17:34:47 ---> 543f2404a2cd 17:34:47 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:34:47 ---> Running in 941a5026af0f 17:34:47  % Total % Received % Xferd Average Speed Time Time Time Current 17:34:47 Dload Upload Total Spent Left Speed 17:34:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9102 0 --:--:-- --:--:-- --:--:-- 9155 17:34:47 Removing intermediate container 941a5026af0f 17:34:47 ---> ffd80747d37f 17:34:47 Step 14/14 : RUN ${MAKE} 17:34:47 ---> Running in 1cf5c8c49d61 17:34:47 noop 17:34:47 Removing intermediate container 1cf5c8c49d61 17:34:47 ---> 168083099991 17:34:47 Successfully built 168083099991 17:34:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:47 + docker inspect -f . ci-base-image-x86_64 17:34:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:47 prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container 17:34:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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-x86_64 cat 17:34:48 $ docker top 6b0ecc4aba7a143bcf13996527502e4e89e61a805240fca530a92ce36438bacc -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:48 + go version 17:34:48 go version go1.18.3 linux/amd64 [Pipeline] } 17:34:48 $ docker stop --time=1 6b0ecc4aba7a143bcf13996527502e4e89e61a805240fca530a92ce36438bacc 17:34:49 $ docker rm -f 6b0ecc4aba7a143bcf13996527502e4e89e61a805240fca530a92ce36438bacc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:50 + docker inspect -f . ci-base-image-x86_64 17:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:50 prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container 17:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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-x86_64 cat 17:34:51 $ docker top 90c7c9f0940358a26fec5e0c5dcafd0627abbbe2a95979ef6bec1f6392377ec2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:51 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-102 [Pipeline] fileExists [Pipeline] sh 17:34:51 + make test 17:34:51 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:34:52 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:35:02 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:35:03 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements 17:35:11 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." 17:35:11 CGO_ENABLED=1 go vet ./... 17:35:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:14 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:14 $ docker stop --time=1 90c7c9f0940358a26fec5e0c5dcafd0627abbbe2a95979ef6bec1f6392377ec2 17:35:16 $ docker rm -f 90c7c9f0940358a26fec5e0c5dcafd0627abbbe2a95979ef6bec1f6392377ec2 [Pipeline] // withDockerContainer [Pipeline] sh 17:35:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:35:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:18 + ls -al . 17:35:18 total 196 17:35:18 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 17:34 . 17:35:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:33 .. 17:35:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 17:35 .git 17:35:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 .github 17:35:18 -rw-rw-r-- 1 jenkins jenkins 414 Oct 10 17:33 .gitignore 17:35:18 -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 17:33 .golangci.yml 17:35:18 -rw-rw-r-- 1 jenkins jenkins 77 Oct 10 17:33 .hadolint.yml 17:35:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 17:33 .semver 17:35:18 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 10 17:33 Attribution.txt 17:35:18 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 10 17:33 CHANGELOG.md 17:35:18 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 10 17:33 Dockerfile 17:35:18 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 17:33 GOVERNANCE.md 17:35:18 -rw-rw-r-- 1 jenkins jenkins 659 Oct 10 17:33 Jenkinsfile 17:35:18 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 17:33 LICENSE 17:35:18 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 10 17:33 Makefile 17:35:18 -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 17:33 OWNERS.md 17:35:18 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 10 17:33 README.md 17:35:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 17:33 VERSION 17:35:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:33 bin 17:35:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 cmd 17:35:18 -rw-r--r-- 1 jenkins jenkins 29387 Oct 10 17:35 coverage.out 17:35:18 -rwxrwxr-x 1 jenkins jenkins 140 Oct 10 17:33 docker-entrypoint.sh 17:35:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 docs 17:35:18 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 10 17:33 go.mod 17:35:18 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 10 17:33 go.sum 17:35:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:33 internal 17:35:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:33 snap 17:35:18 -rw-rw-r-- 1 jenkins jenkins 231 Oct 10 17:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:18 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 --label arch=amd64 --label version=0.0.0 . 17:35:18 Sending build context to Docker daemon 1.535MB 17:35:18 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 17:35:18 Step 2/36 : FROM ${BASE} AS builder 17:35:18 ---> 168083099991 17:35:18 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:35:18 ---> Running in d87872131929 17:35:18 Removing intermediate container d87872131929 17:35:18 ---> 0d25fb21fc04 17:35:18 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:18 ---> Running in 3501b3a83247 17:35:18 Removing intermediate container 3501b3a83247 17:35:18 ---> b80b80093acf 17:35:18 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:35:18 ---> Running in 7c26de9e9c57 17:35:18 Removing intermediate container 7c26de9e9c57 17:35:18 ---> 6892d18fe82a 17:35:18 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:35:18 ---> Running in 962b1322e3ba 17:35:19 Removing intermediate container 962b1322e3ba 17:35:19 ---> 173560faf9b3 17:35:19 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:35:19 ---> Running in 6e1bd5d0d979 17:35:19 Removing intermediate container 6e1bd5d0d979 17:35:19 ---> 34c82c41c2b1 17:35:19 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:19 ---> Running in 1e43216d2494 17:35:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:35:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:35:21 OK: 330 MiB in 131 packages 17:35:21 Removing intermediate container 1e43216d2494 17:35:21 ---> f470f66101f7 17:35:21 Step 9/36 : WORKDIR /device-usb-camera 17:35:21 ---> Running in ab121b2c01cd 17:35:21 Removing intermediate container ab121b2c01cd 17:35:21 ---> 0e7538b316b8 17:35:21 Step 10/36 : COPY go.mod vendor* ./ 17:35:21 ---> 72e24e65ec20 17:35:21 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:21 ---> Running in 25e6345afdb5 17:35:22 Removing intermediate container 25e6345afdb5 17:35:22 ---> b18e628f1005 17:35:22 Step 12/36 : COPY . . 17:35:22 ---> e7b3f9a1b323 17:35:22 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:35:22 ---> Running in c6bca32eaba9 17:35:23  % Total % Received % Xferd Average Speed Time Time Time Current 17:35:23 Dload Upload Total Spent Left Speed 17:35:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062    0    0  42067     0 --:--:-- --:--:-- --:--:-- 42480 17:35:23 Removing intermediate container c6bca32eaba9 17:35:23 ---> 09c5c413a70f 17:35:23 Step 14/36 : RUN ${MAKE} 17:35:23 ---> Running in 74a06bab146f 17:35:23 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:35:50 Removing intermediate container 74a06bab146f 17:35:50 ---> 9296ec6aff3e 17:35:50 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:35:50 v0.18.4: Pulling from aler9/rtsp-simple-server 17:35:50 af6660deedbd: Pulling fs layer 17:35:50 97cd0a44c592: Pulling fs layer 17:35:50 97cd0a44c592: Verifying Checksum 17:35:50 97cd0a44c592: Download complete 17:35:50 af6660deedbd: Verifying Checksum 17:35:50 af6660deedbd: Download complete 17:35:50 af6660deedbd: Pull complete 17:35:50 97cd0a44c592: Pull complete 17:35:50 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:35:50 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:35:50 ---> fea57e182299 17:35:50 Step 16/36 : FROM alpine:3.16 17:35:50 3.16: Pulling from library/alpine 17:35:50 213ec9aee27d: Pulling fs layer 17:35:50 213ec9aee27d: Verifying Checksum 17:35:50 213ec9aee27d: Download complete 17:35:50 213ec9aee27d: Pull complete 17:35:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:35:50 Status: Downloaded newer image for alpine:3.16 17:35:50 ---> 9c6f07244728 17:35:50 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:35:50 ---> Running in fb0e2292ab74 17:35:50 Removing intermediate container fb0e2292ab74 17:35:50 ---> 544fc4708032 17:35:50 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:35:50 ---> Running in c5880e196649 17:35:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:35:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:35:50 (1/83) Installing dumb-init (1.2.5-r1) 17:35:50 (2/83) Installing sdl2 (2.0.22-r0) 17:35:50 (3/83) Installing libxau (1.0.9-r0) 17:35:50 (4/83) Installing libxdmcp (1.1.3-r0) 17:35:50 (5/83) Installing libxcb (1.15-r0) 17:35:50 (6/83) Installing libx11 (1.8-r0) 17:35:50 (7/83) Installing aom-libs (3.3.0-r0) 17:35:50 (8/83) Installing alsa-lib (1.2.7.2-r0) 17:35:50 (9/83) Installing expat (2.4.9-r0) 17:35:50 (10/83) Installing brotli-libs (1.0.9-r6) 17:35:50 (11/83) Installing libbz2 (1.0.8-r1) 17:35:50 (12/83) Installing libpng (1.6.37-r1) 17:35:50 (13/83) Installing freetype (2.12.1-r0) 17:35:50 (14/83) Installing fontconfig (2.14.0-r0) 17:35:50 (15/83) Installing fribidi (1.0.12-r0) 17:35:50 (16/83) Installing libffi (3.4.2-r1) 17:35:50 (17/83) Installing libintl (0.21-r2) 17:35:50 (18/83) Installing libblkid (2.38-r1) 17:35:50 (19/83) Installing libmount (2.38-r1) 17:35:50 (20/83) Installing pcre (8.45-r2) 17:35:50 (21/83) Installing glib (2.72.1-r0) 17:35:50 (22/83) Installing graphite2 (1.3.14-r1) 17:35:50 (23/83) Installing harfbuzz (4.3.0-r0) 17:35:50 (24/83) Installing libass (0.16.0-r0) 17:35:50 (25/83) Installing libdav1d (1.0.0-r0) 17:35:50 (26/83) Installing libpciaccess (0.16-r0) 17:35:50 (27/83) Installing libdrm (2.4.110-r0) 17:35:50 (28/83) Installing gmp (6.2.1-r2) 17:35:50 (29/83) Installing nettle (3.7.3-r0) 17:35:50 (30/83) Installing p11-kit (0.24.1-r0) 17:35:50 (31/83) Installing libtasn1 (4.18.0-r0) 17:35:50 (32/83) Installing libunistring (1.0-r0) 17:35:50 (33/83) Installing gnutls (3.7.7-r0) 17:35:50 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:35:50 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 17:35:50 (36/83) Installing lame (3.100-r0) 17:35:50 (37/83) Installing opus (1.3.1-r1) 17:35:50 (38/83) Installing libasyncns (0.8-r1) 17:35:50 (39/83) Installing dbus-libs (1.14.4-r0) 17:35:50 (40/83) Installing libltdl (2.4.7-r0) 17:35:50 (41/83) Installing orc (0.4.32-r0) 17:35:50 (42/83) Installing libgcc (11.2.1_git20220219-r2) 17:35:50 (43/83) Installing libogg (1.3.5-r1) 17:35:50 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 17:35:50 (45/83) Installing flac (1.3.4-r0) 17:35:50 (46/83) Installing libvorbis (1.3.7-r0) 17:35:50 (47/83) Installing libsndfile (1.1.0-r0) 17:35:50 (48/83) Installing libgomp (11.2.1_git20220219-r2) 17:35:50 (49/83) Installing soxr (0.1.3-r2) 17:35:50 (50/83) Installing speexdsp (1.2.0-r0) 17:35:50 (51/83) Installing tdb-libs (1.4.6-r0) 17:35:50 (52/83) Installing libpulse (15.0-r2) 17:35:50 (53/83) Installing cjson (1.7.15-r3) 17:35:50 (54/83) Installing mbedtls (2.28.1-r0) 17:35:50 (55/83) Installing librist (0.2.6-r1) 17:35:50 (56/83) Installing libsrt (1.4.4-r0) 17:35:50 (57/83) Installing libssh (0.9.6-r1) 17:35:50 (58/83) Installing libtheora (1.1.1-r16) 17:35:50 (59/83) Installing libjpeg-turbo (2.1.3-r1) 17:35:50 (60/83) Installing v4l-utils-libs (1.22.1-r1) 17:35:50 (61/83) Installing libxext (1.3.4-r0) 17:35:50 (62/83) Installing libxfixes (6.0.0-r0) 17:35:50 (63/83) Installing wayland-libs-client (1.20.0-r0) 17:35:50 (64/83) Installing libva (2.14.0-r0) 17:35:50 (65/83) Installing libvdpau (1.5-r0) 17:35:50 (66/83) Installing vidstab (1.1.0-r1) 17:35:50 (67/83) Installing libvpx (1.11.0-r1) 17:35:50 (68/83) Installing libwebp (1.2.3-r0) 17:35:50 (69/83) Installing x264-libs (0.163_git20210613-r0) 17:35:50 (70/83) Installing numactl (2.0.14-r0) 17:35:50 (71/83) Installing x265-libs (3.5-r3) 17:35:50 (72/83) Installing xvidcore (1.3.7-r1) 17:35:50 (73/83) Installing ffmpeg-libs (5.0.1-r1) 17:35:50 (74/83) Installing ffmpeg (5.0.1-r1) 17:35:50 (75/83) Installing udev-init-scripts (35-r0) 17:35:50 Executing udev-init-scripts-35-r0.post-install 17:35:50 (76/83) Installing eudev-libs (3.2.11-r0) 17:35:50 (77/83) Installing xz-libs (5.2.5-r1) 17:35:50 (78/83) Installing zstd-libs (1.5.2-r1) 17:35:50 (79/83) Installing kmod-libs (29-r2) 17:35:50 (80/83) Installing eudev (3.2.11-r0) 17:35:50 (81/83) Installing libsodium (1.0.18-r0) 17:35:50 (82/83) Installing libzmq (4.3.4-r0) 17:35:50 (83/83) Installing zeromq (4.3.4-r0) 17:35:50 Executing busybox-1.35.0-r17.trigger 17:35:50 Executing eudev-3.2.11-r0.trigger 17:35:50 OK: 101 MiB in 97 packages 17:35:53 Removing intermediate container c5880e196649 17:35:53 ---> 37d81018d16c 17:35:53 Step 19/36 : WORKDIR / 17:35:53 ---> Running in 900987e7f9fa 17:35:53 Removing intermediate container 900987e7f9fa 17:35:53 ---> a989c6b08b24 17:35:53 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 17:35:53 ---> 7efa9d84d2bf 17:35:53 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:35:53 ---> 8fed9378f577 17:35:53 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:35:54 ---> 9a727232bac2 17:35:54 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:35:54 ---> 090c9e2ab362 17:35:54 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:35:54 ---> 703f919232c0 17:35:54 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:35:54 ---> 76511a97bbe4 17:35:54 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 17:35:55 ---> e51218d00487 17:35:55 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:35:55 ---> Running in 9e3dd746c689 17:35:55 Removing intermediate container 9e3dd746c689 17:35:55 ---> ed33dcdbc039 17:35:55 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:35:55 ---> Running in 59bae40a122d 17:35:56 Removing intermediate container 59bae40a122d 17:35:56 ---> 2f39304c00f5 17:35:56 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:35:56 ---> Running in 36b48d1615fb 17:35:56 Removing intermediate container 36b48d1615fb 17:35:56 ---> 66d79225ab9c 17:35:56 Step 30/36 : EXPOSE 59983 17:35:56 ---> Running in 6e9a5aa344a2 17:35:57 Removing intermediate container 6e9a5aa344a2 17:35:57 ---> 42fdd90a8f59 17:35:57 Step 31/36 : EXPOSE 8554 17:35:57 ---> Running in f6667564803b 17:35:57 Removing intermediate container f6667564803b 17:35:57 ---> 8b005bbfb57a 17:35:57 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:35:57 ---> Running in d2465fca63b7 17:35:57 Removing intermediate container d2465fca63b7 17:35:57 ---> 9fa464ef9d6b 17:35:57 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:35:57 ---> Running in a08be0c0ad2b 17:35:57 Removing intermediate container a08be0c0ad2b 17:35:57 ---> bb03294c6f58 17:35:57 Step 34/36 : LABEL arch=amd64 17:35:57 ---> Running in b7bbbd375b93 17:35:57 Removing intermediate container b7bbbd375b93 17:35:57 ---> 46ad68f5c376 17:35:57 Step 35/36 : LABEL git_sha=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 17:35:57 ---> Running in ff32afabad91 17:35:57 Removing intermediate container ff32afabad91 17:35:57 ---> dff6a35c310c 17:35:57 Step 36/36 : LABEL version=0.0.0 17:35:57 ---> Running in 6b9daae57bb3 17:35:57 Removing intermediate container 6b9daae57bb3 17:35:57 ---> 3846b2d1d9c4 17:35:57 [Warning] One or more build-args [ARCH] were not consumed 17:35:57 Successfully built 3846b2d1d9c4 17:35:57 Successfully tagged device-usb-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 17:35:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:58 17:35:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:58 latest: Pulling from edgex-lftools-log-publisher 17:35:58 5eb5b503b376: Pulling fs layer 17:35:58 5c69ac0246d0: Pulling fs layer 17:35:58 ec43610c2a17: Pulling fs layer 17:35:58 3a2ae6a8a46f: Pulling fs layer 17:35:58 33b1e0a273af: Pulling fs layer 17:35:58 5d3b04190fa2: Pulling fs layer 17:35:58 2f39f015ded8: Pulling fs layer 17:35:58 33b1e0a273af: Waiting 17:35:58 3a2ae6a8a46f: Waiting 17:35:58 5d3b04190fa2: Waiting 17:35:58 2f39f015ded8: Waiting 17:35:58 5c69ac0246d0: Download complete 17:35:58 3a2ae6a8a46f: Verifying Checksum 17:35:58 3a2ae6a8a46f: Download complete 17:35:58 33b1e0a273af: Verifying Checksum 17:35:58 33b1e0a273af: Download complete 17:35:58 5d3b04190fa2: Download complete 17:35:58 ec43610c2a17: Verifying Checksum 17:35:58 ec43610c2a17: Download complete 17:35:59 5eb5b503b376: Verifying Checksum 17:35:59 5eb5b503b376: Download complete 17:35:59 2f39f015ded8: Download complete 17:36:00 5eb5b503b376: Pull complete 17:36:00 5c69ac0246d0: Pull complete 17:36:00 ec43610c2a17: Pull complete 17:36:00 3a2ae6a8a46f: Pull complete 17:36:00 33b1e0a273af: Pull complete 17:36:01 5d3b04190fa2: Pull complete 17:36:05 2f39f015ded8: Pull complete 17:36:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:36:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:36:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:36:05 prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container 17:36:05 $ 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/foundry_device-usb-camera_PR-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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:latest cat 17:36:08 $ docker top 269dbb9860fab08195af4287f6b651d8f174b8595c35e2d2c1fde4c1b1e9d498 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:09 ---> job-cost.sh 17:36:09 lf-activate-venv: SKIPPING 17:36:09 INFO: No Stack... 17:36:09 INFO: Retrieving Pricing Info for: v3-standard-8 17:36:09 INFO: Archiving Costs [Pipeline] sh 17:36:10 + cat /w/workspace/foundry_device-usb-camera_PR-102/archives/cost.csv 17:36:10 + cut -d, -f6 [Pipeline] lock 17:36:10 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] 17:36:10 Resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] did not exist. Created. 17:36:10 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:10 + echo total: 0.2199999988079071 [Pipeline] stash 17:36:10 Stashed 1 file(s) [Pipeline] } 17:36:10 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:36:10 $ docker stop --time=1 269dbb9860fab08195af4287f6b651d8f174b8595c35e2d2c1fde4c1b1e9d498 17:36:12 $ docker rm -f 269dbb9860fab08195af4287f6b651d8f174b8595c35e2d2c1fde4c1b1e9d498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:36:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7551 in /w/workspace/foundry_device-usb-camera_PR-102 [Pipeline] { [Pipeline] ws 17:36:24 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 17:36:24 Selected Git installation does not exist. Using Default 17:36:24 The recommended git tool is: NONE 17:36:28 using credential edgex-jenkins-ssh 17:36:28 Cloning the remote Git repository 17:36:28 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 17:36:28 > git init /w/workspace/device-usb-camera/1 # timeout=10 17:36:29 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:36:29 > git --version # timeout=10 17:36:29 > git --version # 'git version 2.25.1' 17:36:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:29 Verifying host key using known hosts file 17:36:30 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. 17:36:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:30 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:36:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:36:32 Merging remotes/origin/main commit e6cf2f2f80d14c6ff357eccb58ac1fd20041715b into PR head commit 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 17:36:32 Merge succeeded, producing 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 17:36:32 Checking out Revision 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 (PR-102) 17:36:31 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 17:36:31 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 17:36:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:31 Verifying host key using known hosts file 17:36:31 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. 17:36:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:36:32 > git config core.sparsecheckout # timeout=10 17:36:32 > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # timeout=10 17:36:32 > git remote # timeout=10 17:36:32 > git config --get remote.origin.url # timeout=10 17:36:32 using GIT_SSH to set credentials SSH Credentials for GitHub 17:36:32 Verifying host key using known hosts file 17:36:32 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. 17:36:32 > git merge e6cf2f2f80d14c6ff357eccb58ac1fd20041715b # timeout=10 17:36:32 > git rev-parse HEAD^{commit} # timeout=10 17:36:32 > git config core.sparsecheckout # timeout=10 17:36:32 > git checkout -f 8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 # timeout=10 17:36:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 17:36:32 > git --version # timeout=10 17:36:33 > git --version # 'git version 2.25.1' 17:36:33 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:36:34 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:34 Dload Upload Total Spent Left Speed 17:36:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 241k 0 --:--:-- --:--:-- --:--:-- 246k [Pipeline] sh 17:36:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:36:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:36:35 + sudo tee /etc/docker/daemon.new 17:36:35 { 17:36:35 "registry-mirrors": [ 17:36:35 "https://nexus3.edgexfoundry.org:10001" 17:36:35 ], 17:36:35 "bip": "10.250.0.254/24", 17:36:35 "hosts": [ 17:36:35 "tcp://0.0.0.0:5555", 17:36:35 "unix:///var/run/docker.sock" 17:36:35 ], 17:36:35 "mtu": 1458, 17:36:35 "selinux-enabled": true, 17:36:35 "seccomp-profile": "/etc/docker/seccomp.json" 17:36:35 } [Pipeline] sh 17:36:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:36:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:54 provisioning config files... 17:36:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config3041654506805942344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:54 ---> docker-login.sh 17:36:54 nexus3.edgexfoundry.org:10001 17:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:55 Configure a credential helper to remove this warning. See 17:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:55 17:36:55 Login Succeeded 17:36:55 nexus3.edgexfoundry.org:10002 17:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:55 Configure a credential helper to remove this warning. See 17:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:55 17:36:55 Login Succeeded 17:36:55 nexus3.edgexfoundry.org:10003 17:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:55 Configure a credential helper to remove this warning. See 17:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:55 17:36:55 Login Succeeded 17:36:55 nexus3.edgexfoundry.org:10004 17:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:56 Configure a credential helper to remove this warning. See 17:36:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:56 17:36:56 Login Succeeded 17:36:56 docker.io 17:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:57 Configure a credential helper to remove this warning. See 17:36:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:57 17:36:57 Login Succeeded 17:36:57 ---> docker-login.sh ends [Pipeline] } 17:36:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:36:57 ========================================================= 17:36:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:36:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:57 + 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 . 17:36:58 Sending build context to Docker daemon 989.2kB 17:36:58 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:36:58 Step 2/14 : FROM ${BASE} AS builder 17:36:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:36:58 b3c136eddcbf: Pulling fs layer 17:36:58 c0a3192eca97: Pulling fs layer 17:36:58 a050256f5b6f: Pulling fs layer 17:36:58 656be50a0ddc: Pulling fs layer 17:36:58 2bbca73fdf42: Pulling fs layer 17:36:58 f607e4fc86c3: Pulling fs layer 17:36:58 4d572c569a2c: Pulling fs layer 17:36:58 fcf976331f73: Pulling fs layer 17:36:58 656be50a0ddc: Waiting 17:36:58 2bbca73fdf42: Waiting 17:36:58 f607e4fc86c3: Waiting 17:36:58 4d572c569a2c: Waiting 17:36:58 fcf976331f73: Waiting 17:36:58 a050256f5b6f: Verifying Checksum 17:36:58 a050256f5b6f: Download complete 17:36:58 c0a3192eca97: Verifying Checksum 17:36:58 c0a3192eca97: Download complete 17:36:58 2bbca73fdf42: Verifying Checksum 17:36:58 2bbca73fdf42: Download complete 17:36:58 f607e4fc86c3: Verifying Checksum 17:36:58 f607e4fc86c3: Download complete 17:36:58 b3c136eddcbf: Download complete 17:36:59 fcf976331f73: Verifying Checksum 17:36:59 fcf976331f73: Download complete 17:36:59 b3c136eddcbf: Pull complete 17:37:00 c0a3192eca97: Pull complete 17:37:00 a050256f5b6f: Pull complete 17:37:00 4d572c569a2c: Verifying Checksum 17:37:00 4d572c569a2c: Download complete 17:37:01 656be50a0ddc: Download complete 17:37:13 656be50a0ddc: Pull complete 17:37:13 2bbca73fdf42: Pull complete 17:37:13 f607e4fc86c3: Pull complete 17:37:20 4d572c569a2c: Pull complete 17:37:21 fcf976331f73: Pull complete 17:37:22 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 17:37:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:37:22 ---> 3970a7415f9e 17:37:22 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:37:24 ---> Running in d8c99d2fe4e6 17:37:24 Removing intermediate container d8c99d2fe4e6 17:37:24 ---> e7e033b7d12b 17:37:24 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:24 ---> Running in d69b296a264a 17:37:24 Removing intermediate container d69b296a264a 17:37:24 ---> de4c8f4a9403 17:37:24 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:37:24 ---> Running in d74057e7101b 17:37:24 Removing intermediate container d74057e7101b 17:37:24 ---> 285c3cf500bd 17:37:24 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:37:24 ---> Running in aa5bab89ee38 17:37:25 Removing intermediate container aa5bab89ee38 17:37:25 ---> 08bdadc086fa 17:37:25 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:37:25 ---> Running in d0eae7ecfb44 17:37:27 Removing intermediate container d0eae7ecfb44 17:37:27 ---> 05ed567f4312 17:37:27 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:27 ---> Running in 2ff1e3593a0f 17:37:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:37:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:37:29 (1/14) Installing libintl (0.21-r2) 17:37:29 (2/14) Installing eudev-libs (3.2.11-r0) 17:37:29 (3/14) Installing libjpeg-turbo (2.1.3-r1) 17:37:30 (4/14) Installing v4l-utils-libs (1.22.1-r1) 17:37:30 (5/14) Installing v4l-utils (1.22.1-r1) 17:37:30 (6/14) Installing udev-init-scripts (35-r0) 17:37:30 Executing udev-init-scripts-35-r0.post-install 17:37:30 (7/14) Installing libblkid (2.38-r1) 17:37:30 (8/14) Installing xz-libs (5.2.5-r1) 17:37:30 (9/14) Installing zstd-libs (1.5.2-r1) 17:37:30 (10/14) Installing kmod-libs (29-r2) 17:37:31 (11/14) Installing eudev (3.2.11-r0) 17:37:31 (12/14) Installing eudev-dev (3.2.11-r0) 17:37:31 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 17:37:31 (14/14) Installing v4l-utils-dev (1.22.1-r1) 17:37:31 Executing busybox-1.35.0-r13.trigger 17:37:31 Executing eudev-3.2.11-r0.trigger 17:37:31 OK: 228 MiB in 65 packages 17:37:32 Removing intermediate container 2ff1e3593a0f 17:37:32 ---> d0ac543f6413 17:37:32 Step 9/14 : WORKDIR /device-usb-camera 17:37:32 ---> Running in 79fc4d367fec 17:37:32 Removing intermediate container 79fc4d367fec 17:37:32 ---> d239b4de74e7 17:37:32 Step 10/14 : COPY go.mod vendor* ./ 17:37:33 ---> bda6debab306 17:37:33 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:33 ---> Running in 8dfe99d03563 17:38:29 Removing intermediate container 8dfe99d03563 17:38:29 ---> 039e2f47f755 17:38:29 Step 12/14 : COPY . . 17:38:29 ---> 51893269d9d4 17:38:29 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:38:29 ---> Running in 824634ca1d13 17:38:29  % Total % Received % Xferd Average Speed Time Time Time Current 17:38:29 Dload Upload Total Spent Left Speed 17:38:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 15425 0 --:--:-- --:--:-- --:--:-- 15617 17:38:29 Removing intermediate container 824634ca1d13 17:38:29 ---> 30ce31b45027 17:38:29 Step 14/14 : RUN ${MAKE} 17:38:29 ---> Running in 423f309bfcbc 17:38:29 noop 17:38:29 Removing intermediate container 423f309bfcbc 17:38:29 ---> 97dc52239e2e 17:38:29 Successfully built 97dc52239e2e 17:38:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:30 + docker inspect -f . ci-base-image-arm64 17:38:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:30 prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container 17:38:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 17:38:31 $ docker top 1e6f1c3d43defc113ac799d1f06e2b83bc6ec4cb5882b7cb90e49bef46f7ac06 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:32 + go version 17:38:32 go version go1.18.3 linux/arm64 [Pipeline] } 17:38:32 $ docker stop --time=1 1e6f1c3d43defc113ac799d1f06e2b83bc6ec4cb5882b7cb90e49bef46f7ac06 17:38:34 $ docker rm -f 1e6f1c3d43defc113ac799d1f06e2b83bc6ec4cb5882b7cb90e49bef46f7ac06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:35 + docker inspect -f . ci-base-image-arm64 17:38:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:35 prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container 17:38:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 17:38:36 $ docker top 729a7f674550325bf3de9e121ae7b9b48fdfa41f2f655f143ed2a7da8da64239 -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:37 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 17:38:37 + make test 17:38:37 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:38:39 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:40:16 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:40:16 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 1.9% of statements 17:40:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:40:16 CGO_ENABLED=1 go vet ./... 17:40:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:40:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:40:34 ./bin/test-attribution-txt.sh [Pipeline] echo 17:40:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:40:35 $ docker stop --time=1 729a7f674550325bf3de9e121ae7b9b48fdfa41f2f655f143ed2a7da8da64239 17:40:37 $ docker rm -f 729a7f674550325bf3de9e121ae7b9b48fdfa41f2f655f143ed2a7da8da64239 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:40:38 Warning: overwriting stash ‘coverage-report’ 17:40:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:40:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:40:39 + ls -al . 17:40:39 total 192 17:40:39 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 17:38 . 17:40:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:36 .. 17:40:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 17:36 .git 17:40:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 .github 17:40:39 -rw-rw-r-- 1 jenkins jenkins 414 Oct 10 17:36 .gitignore 17:40:39 -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 17:36 .golangci.yml 17:40:39 -rw-rw-r-- 1 jenkins jenkins 77 Oct 10 17:36 .hadolint.yml 17:40:39 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 10 17:36 Attribution.txt 17:40:39 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 10 17:36 CHANGELOG.md 17:40:39 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 10 17:36 Dockerfile 17:40:39 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 17:36 GOVERNANCE.md 17:40:39 -rw-rw-r-- 1 jenkins jenkins 659 Oct 10 17:36 Jenkinsfile 17:40:39 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 17:36 LICENSE 17:40:39 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 10 17:36 Makefile 17:40:39 -rw-rw-r-- 1 jenkins jenkins 622 Oct 10 17:36 OWNERS.md 17:40:39 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 10 17:36 README.md 17:40:39 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 17:33 VERSION 17:40:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 17:36 bin 17:40:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 cmd 17:40:39 -rw-r--r-- 1 jenkins jenkins 29387 Oct 10 17:40 coverage.out 17:40:39 -rwxrwxr-x 1 jenkins jenkins 140 Oct 10 17:36 docker-entrypoint.sh 17:40:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 docs 17:40:39 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 10 17:36 go.mod 17:40:39 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 10 17:36 go.sum 17:40:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 17:36 internal 17:40:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 17:36 snap 17:40:39 -rw-rw-r-- 1 jenkins jenkins 231 Oct 10 17:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:40 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 --label arch=arm64 --label version=0.0.0 . 17:40:40 Sending build context to Docker daemon 1.019MB 17:40:40 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 17:40:40 Step 2/36 : FROM ${BASE} AS builder 17:40:40 ---> 97dc52239e2e 17:40:40 Step 3/36 : ARG ADD_BUILD_TAGS="" 17:40:40 ---> Running in 23b61bd563c5 17:40:41 Removing intermediate container 23b61bd563c5 17:40:41 ---> 01dad3c29808 17:40:41 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:40:41 ---> Running in f2e41aa398de 17:40:41 Removing intermediate container f2e41aa398de 17:40:41 ---> 6231c1c917e3 17:40:41 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:40:41 ---> Running in 9302092ca3f7 17:40:41 Removing intermediate container 9302092ca3f7 17:40:41 ---> f17ee95ca563 17:40:41 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:40:41 ---> Running in 466339be1a65 17:40:42 Removing intermediate container 466339be1a65 17:40:42 ---> 89189c716b58 17:40:42 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:40:42 ---> Running in 412c638d093e 17:40:44 Removing intermediate container 412c638d093e 17:40:44 ---> cd48ed0a2f6e 17:40:44 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:40:44 ---> Running in 312312104a13 17:40:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:40:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:40:47 OK: 228 MiB in 65 packages 17:40:48 Removing intermediate container 312312104a13 17:40:48 ---> d4ec9c849081 17:40:48 Step 9/36 : WORKDIR /device-usb-camera 17:40:48 ---> Running in aef8fb45a5e1 17:40:48 Removing intermediate container aef8fb45a5e1 17:40:48 ---> ab260330e2f6 17:40:48 Step 10/36 : COPY go.mod vendor* ./ 17:40:49 ---> b6bad9841c6c 17:40:49 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:49 ---> Running in 9129866b3455 17:40:51 Removing intermediate container 9129866b3455 17:40:51 ---> 13b45386c421 17:40:51 Step 12/36 : COPY . . 17:40:52 ---> 77d17e15caaa 17:40:52 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:40:52 ---> Running in 5d88e765b29f 17:40:53  % Total % Received % Xferd Average Speed Time Time Time Current 17:40:53 Dload Upload Total Spent Left Speed 17:40:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0  0 7834 0 --:--:-- --:--:-- --:--:-- 7866 17:40:54 Removing intermediate container 5d88e765b29f 17:40:54 ---> 098795643f25 17:40:54 Step 14/36 : RUN ${MAKE} 17:40:54 ---> Running in a2e37861b38b 17:40:55 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:43:31 Removing intermediate container a2e37861b38b 17:43:31 ---> f9937954327e 17:43:31 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 17:43:31 v0.18.4: Pulling from aler9/rtsp-simple-server 17:43:31 eab2503cf8f4: Pulling fs layer 17:43:31 97cd0a44c592: Pulling fs layer 17:43:31 97cd0a44c592: Verifying Checksum 17:43:31 97cd0a44c592: Download complete 17:43:31 eab2503cf8f4: Download complete 17:43:31 eab2503cf8f4: Pull complete 17:43:31 97cd0a44c592: Pull complete 17:43:31 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 17:43:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 17:43:31 ---> 7f763cca56b3 17:43:31 Step 16/36 : FROM alpine:3.16 17:43:31 3.16: Pulling from library/alpine 17:43:31 9b18e9b68314: Pulling fs layer 17:43:31 9b18e9b68314: Verifying Checksum 17:43:31 9b18e9b68314: Download complete 17:43:31 9b18e9b68314: Pull complete 17:43:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:43:31 Status: Downloaded newer image for alpine:3.16 17:43:31 ---> a6215f271958 17:43:31 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:43:31 ---> Running in d04fe33f92b9 17:43:31 Removing intermediate container d04fe33f92b9 17:43:31 ---> 2fbadfe62b45 17:43:31 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:43:31 ---> Running in fd8de6eb9d99 17:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:43:32 (1/82) Installing dumb-init (1.2.5-r1) 17:43:32 (2/82) Installing sdl2 (2.0.22-r0) 17:43:32 (3/82) Installing libxau (1.0.9-r0) 17:43:32 (4/82) Installing libxdmcp (1.1.3-r0) 17:43:32 (5/82) Installing libxcb (1.15-r0) 17:43:32 (6/82) Installing libx11 (1.8-r0) 17:43:32 (7/82) Installing aom-libs (3.3.0-r0) 17:43:32 (8/82) Installing alsa-lib (1.2.7.2-r0) 17:43:32 (9/82) Installing expat (2.4.9-r0) 17:43:32 (10/82) Installing brotli-libs (1.0.9-r6) 17:43:32 (11/82) Installing libbz2 (1.0.8-r1) 17:43:32 (12/82) Installing libpng (1.6.37-r1) 17:43:32 (13/82) Installing freetype (2.12.1-r0) 17:43:32 (14/82) Installing fontconfig (2.14.0-r0) 17:43:33 (15/82) Installing fribidi (1.0.12-r0) 17:43:33 (16/82) Installing libffi (3.4.2-r1) 17:43:33 (17/82) Installing libintl (0.21-r2) 17:43:33 (18/82) Installing libblkid (2.38-r1) 17:43:33 (19/82) Installing libmount (2.38-r1) 17:43:33 (20/82) Installing pcre (8.45-r2) 17:43:33 (21/82) Installing glib (2.72.1-r0) 17:43:33 (22/82) Installing graphite2 (1.3.14-r1) 17:43:33 (23/82) Installing harfbuzz (4.3.0-r0) 17:43:33 (24/82) Installing libass (0.16.0-r0) 17:43:33 (25/82) Installing libdav1d (1.0.0-r0) 17:43:33 (26/82) Installing libdrm (2.4.110-r0) 17:43:33 (27/82) Installing gmp (6.2.1-r2) 17:43:33 (28/82) Installing nettle (3.7.3-r0) 17:43:33 (29/82) Installing p11-kit (0.24.1-r0) 17:43:33 (30/82) Installing libtasn1 (4.18.0-r0) 17:43:33 (31/82) Installing libunistring (1.0-r0) 17:43:33 (32/82) Installing gnutls (3.7.7-r0) 17:43:33 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:43:33 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 17:43:33 (35/82) Installing lame (3.100-r0) 17:43:33 (36/82) Installing opus (1.3.1-r1) 17:43:33 (37/82) Installing libasyncns (0.8-r1) 17:43:33 (38/82) Installing dbus-libs (1.14.4-r0) 17:43:33 (39/82) Installing libltdl (2.4.7-r0) 17:43:33 (40/82) Installing orc (0.4.32-r0) 17:43:33 (41/82) Installing libgcc (11.2.1_git20220219-r2) 17:43:33 (42/82) Installing libogg (1.3.5-r1) 17:43:33 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 17:43:33 (44/82) Installing flac (1.3.4-r0) 17:43:33 (45/82) Installing libvorbis (1.3.7-r0) 17:43:33 (46/82) Installing libsndfile (1.1.0-r0) 17:43:33 (47/82) Installing libgomp (11.2.1_git20220219-r2) 17:43:33 (48/82) Installing soxr (0.1.3-r2) 17:43:33 (49/82) Installing speexdsp (1.2.0-r0) 17:43:33 (50/82) Installing tdb-libs (1.4.6-r0) 17:43:33 (51/82) Installing libpulse (15.0-r2) 17:43:33 (52/82) Installing cjson (1.7.15-r3) 17:43:33 (53/82) Installing mbedtls (2.28.1-r0) 17:43:33 (54/82) Installing librist (0.2.6-r1) 17:43:33 (55/82) Installing libsrt (1.4.4-r0) 17:43:33 (56/82) Installing libssh (0.9.6-r1) 17:43:33 (57/82) Installing libtheora (1.1.1-r16) 17:43:33 (58/82) Installing libjpeg-turbo (2.1.3-r1) 17:43:34 (59/82) Installing v4l-utils-libs (1.22.1-r1) 17:43:34 (60/82) Installing libxext (1.3.4-r0) 17:43:34 (61/82) Installing libxfixes (6.0.0-r0) 17:43:34 (62/82) Installing wayland-libs-client (1.20.0-r0) 17:43:34 (63/82) Installing libva (2.14.0-r0) 17:43:34 (64/82) Installing libvdpau (1.5-r0) 17:43:34 (65/82) Installing vidstab (1.1.0-r1) 17:43:34 (66/82) Installing libvpx (1.11.0-r1) 17:43:34 (67/82) Installing libwebp (1.2.3-r0) 17:43:34 (68/82) Installing x264-libs (0.163_git20210613-r0) 17:43:34 (69/82) Installing numactl (2.0.14-r0) 17:43:34 (70/82) Installing x265-libs (3.5-r3) 17:43:34 (71/82) Installing xvidcore (1.3.7-r1) 17:43:34 (72/82) Installing ffmpeg-libs (5.0.1-r1) 17:43:35 (73/82) Installing ffmpeg (5.0.1-r1) 17:43:35 (74/82) Installing udev-init-scripts (35-r0) 17:43:35 Executing udev-init-scripts-35-r0.post-install 17:43:35 (75/82) Installing eudev-libs (3.2.11-r0) 17:43:35 (76/82) Installing xz-libs (5.2.5-r1) 17:43:35 (77/82) Installing zstd-libs (1.5.2-r1) 17:43:35 (78/82) Installing kmod-libs (29-r2) 17:43:35 (79/82) Installing eudev (3.2.11-r0) 17:43:35 (80/82) Installing libsodium (1.0.18-r0) 17:43:35 (81/82) Installing libzmq (4.3.4-r0) 17:43:35 (82/82) Installing zeromq (4.3.4-r0) 17:43:35 Executing busybox-1.35.0-r17.trigger 17:43:35 Executing eudev-3.2.11-r0.trigger 17:43:35 OK: 78 MiB in 96 packages 17:43:38 Removing intermediate container fd8de6eb9d99 17:43:38 ---> 22ad4d202749 17:43:38 Step 19/36 : WORKDIR / 17:43:38 ---> Running in 737f76bd315d 17:43:38 Removing intermediate container 737f76bd315d 17:43:38 ---> 525c8a8c2fde 17:43:38 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 17:43:40 ---> 10863f358a0c 17:43:40 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 17:43:40 ---> 2284138da335 17:43:40 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:43:40 ---> 478c367e7d8a 17:43:40 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:43:41 ---> 5c4709183039 17:43:41 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:43:42 ---> fa60738ec18d 17:43:42 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 17:43:42 ---> c9b77bec4459 17:43:42 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 17:43:43 ---> 22be6e628ea2 17:43:43 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:43:43 ---> Running in c45c42f014c5 17:43:45 Removing intermediate container c45c42f014c5 17:43:45 ---> 27404c6264b0 17:43:45 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:43:45 ---> Running in e3a61f6c5531 17:43:47 Removing intermediate container e3a61f6c5531 17:43:47 ---> 405d49f81a6b 17:43:47 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:43:47 ---> Running in c6fce2a32557 17:43:48 Removing intermediate container c6fce2a32557 17:43:48 ---> 7c03cb03a1c3 17:43:48 Step 30/36 : EXPOSE 59983 17:43:48 ---> Running in 21d5177ab331 17:43:48 Removing intermediate container 21d5177ab331 17:43:48 ---> 9f4b574281e2 17:43:48 Step 31/36 : EXPOSE 8554 17:43:48 ---> Running in d165f3189239 17:43:49 Removing intermediate container d165f3189239 17:43:49 ---> b232d6c33756 17:43:49 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:43:49 ---> Running in 278bc9974577 17:43:49 Removing intermediate container 278bc9974577 17:43:49 ---> 504c101a5106 17:43:49 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:43:49 ---> Running in f2c6f01e889a 17:43:49 Removing intermediate container f2c6f01e889a 17:43:49 ---> 83fd48ef9e6a 17:43:49 Step 34/36 : LABEL arch=arm64 17:43:49 ---> Running in 448cb4fc3d57 17:43:50 Removing intermediate container 448cb4fc3d57 17:43:50 ---> 1f8865401d8d 17:43:50 Step 35/36 : LABEL git_sha=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 17:43:50 ---> Running in f82a11538313 17:43:50 Removing intermediate container f82a11538313 17:43:50 ---> b40bd8dee209 17:43:50 Step 36/36 : LABEL version=0.0.0 17:43:50 ---> Running in 44db0ae4391b 17:43:51 Removing intermediate container 44db0ae4391b 17:43:51 ---> 16b3ce9b5a2e 17:43:51 [Warning] One or more build-args [ARCH] were not consumed 17:43:51 Successfully built 16b3ce9b5a2e 17:43:51 Successfully tagged device-usb-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 17:43:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:51 17:43:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:43:52 arm64: Pulling from edgex-lftools-log-publisher 17:43:52 8998bd30e6a1: Pulling fs layer 17:43:52 04944245beec: Pulling fs layer 17:43:52 699f458cf7ca: Pulling fs layer 17:43:52 765212b225bb: Pulling fs layer 17:43:52 f23df028b6ca: Pulling fs layer 17:43:52 d65c8cfc05b1: Pulling fs layer 17:43:52 2437ff75d9bd: Pulling fs layer 17:43:52 765212b225bb: Waiting 17:43:52 f23df028b6ca: Waiting 17:43:52 d65c8cfc05b1: Waiting 17:43:52 2437ff75d9bd: Waiting 17:43:52 04944245beec: Verifying Checksum 17:43:52 04944245beec: Download complete 17:43:52 765212b225bb: Verifying Checksum 17:43:52 765212b225bb: Download complete 17:43:52 f23df028b6ca: Verifying Checksum 17:43:52 f23df028b6ca: Download complete 17:43:52 d65c8cfc05b1: Download complete 17:43:52 699f458cf7ca: Verifying Checksum 17:43:52 699f458cf7ca: Download complete 17:43:53 8998bd30e6a1: Download complete 17:43:55 2437ff75d9bd: Verifying Checksum 17:43:55 2437ff75d9bd: Download complete 17:43:57 8998bd30e6a1: Pull complete 17:43:57 04944245beec: Pull complete 17:43:58 699f458cf7ca: Pull complete 17:43:58 765212b225bb: Pull complete 17:44:00 f23df028b6ca: Pull complete 17:44:00 d65c8cfc05b1: Pull complete 17:44:15 2437ff75d9bd: Pull complete 17:44:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:44:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:44:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:15 prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container 17:44:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 17:44:18 $ docker top bf54666f8839a526a590ea244fc848e86857283e8bb3f4fcc4455ee48055c7bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:18 ---> job-cost.sh 17:44:18 lf-activate-venv: SKIPPING 17:44:18 INFO: No Stack... 17:44:19 INFO: Retrieving Pricing Info for: v3-standard-4 17:44:20 INFO: Archiving Costs [Pipeline] sh 17:44:20 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 17:44:20 + cut -d, -f6 [Pipeline] lock 17:44:20 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] 17:44:20 Resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] did not exist. Created. 17:44:20 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:44:21 /w/workspace/device-usb-camera/1@tmp/durable-a9118e08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:44:21 + echo total: 0.10999999940395355 [Pipeline] stash 17:44:21 Warning: overwriting stash ‘stack-cost’ 17:44:21 Stashed 1 file(s) [Pipeline] } 17:44:21 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:44:21 $ docker stop --time=1 bf54666f8839a526a590ea244fc848e86857283e8bb3f4fcc4455ee48055c7bf 17:44:24 $ docker rm -f bf54666f8839a526a590ea244fc848e86857283e8bb3f4fcc4455ee48055c7bf [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 17:44:25 provisioning config files... 17:44:25 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config712748546593520572tmp [Pipeline] { [Pipeline] sh 17:44:25 + set +x 17:44:25 + curl -s https://codecov.io/bash 17:44:25 + bash -s -- 17:44:25 17:44:25 _____ _ 17:44:25 / ____| | | 17:44:25 | | ___ __| | ___ ___ _____ __ 17:44:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:44:25 | |___| (_) | (_| | __/ (_| (_) \ V / 17:44:25 \_____\___/ \__,_|\___|\___\___/ \_/ 17:44:25 Bash-1.0.6 17:44:25 17:44:25 17:44:25 ==> git version 2.25.1 found 17:44:25 ==> 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 17:44:25 Release-Date: 2020-01-08 17:44:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:44:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:44:25 ==> Jenkins CI detected. 17:44:25 current dir:  /w/workspace/foundry_device-usb-camera_PR-102 17:44:25 project root: . 17:44:25 --> token set from env 17:44:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:44:25 ==> Running gcov in . (disable via -X gcov) 17:44:25 ==> Python coveragepy not found 17:44:25 ==> Searching for coverage reports in: 17:44:25 + . 17:44:25 -> Found 1 reports 17:44:25 ==> Detecting git/mercurial file structure 17:44:25 ==> Reading reports 17:44:25 + ./coverage.out bytes=29387 17:44:25 ==> Appending adjustments 17:44:25 https://docs.codecov.io/docs/fixing-reports 17:44:25 + Found adjustments 17:44:25 ==> Gzipping contents 17:44:25 8.0K /tmp/codecov.SEZ2eO.gz 17:44:25 ==> Uploading reports 17:44:25 url: https://codecov.io 17:44:25 query: branch=PR-102&commit=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=102&job=&cmd_args= 17:44:25 -> Pinging Codecov 17:44:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-102&commit=8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-102%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=102&job=&cmd_args= 17:44:25 -> Uploading to 17:44:25 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/73D8F5FF140700D3E01443B452E23636/8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8/30a26883-3f33-4a8e-919b-c02f99f9d17c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T174425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d93151daeb42beae795ce25c4fd8b36cfd3e3c2416b0d8030dc2ef1b09410fb4 17:44:25 % Total % Received % Xferd Average Speed Time Time Time Current 17:44:25 Dload Upload Total Spent Left Speed 17:44:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4190 0 0 100 4190 0 17754 --:--:-- --:--:-- --:--:-- 17754 17:44:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/8b7a325b785df3fc0b9d8ca4d1e1608e33fcc8b8 [Pipeline] } 17:44:26 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 17:44:27 + [ -d /w/workspace/foundry_device-usb-camera_PR-102/archives ] 17:44:27 + ls -al /w/workspace/foundry_device-usb-camera_PR-102/archives 17:44:27 total 16 17:44:27 drwxr-xr-x 3 root root 4096 Oct 10 17:36 . 17:44:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 17:36 .. 17:44:27 drwxr-xr-x 2 root root 4096 Oct 10 17:36 cost 17:44:27 -rw-r--r-- 1 root root 89 Oct 10 17:36 cost.csv 17:44:27 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-102/archives 17:44:27 + ls -al /w/workspace/foundry_device-usb-camera_PR-102/archives 17:44:27 total 16 17:44:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 17:36 . 17:44:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 17:36 .. 17:44:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 17:36 cost 17:44:27 -rw-r--r-- 1 jenkins jenkins 89 Oct 10 17:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:44:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:44:29 ---> package-listing.sh 17:44:29 ++ tr '[:upper:]' '[:lower:]' 17:44:29 ++ facter osfamily 17:44:29 + OS_FAMILY=debian 17:44:29 + workspace=/w/workspace/foundry_device-usb-camera_PR-102 17:44:29 + START_PACKAGES=/tmp/packages_start.txt 17:44:29 + END_PACKAGES=/tmp/packages_end.txt 17:44:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:44:29 + PACKAGES=/tmp/packages_start.txt 17:44:29 + '[' /w/workspace/foundry_device-usb-camera_PR-102 ']' 17:44:29 + PACKAGES=/tmp/packages_end.txt 17:44:29 + case "${OS_FAMILY}" in 17:44:29 + dpkg -l 17:44:29 + grep '^ii' 17:44:29 + '[' -f /tmp/packages_start.txt ']' 17:44:29 + '[' -f /tmp/packages_end.txt ']' 17:44:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:44:29 + '[' /w/workspace/foundry_device-usb-camera_PR-102 ']' 17:44:29 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-102/archives/ 17:44:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-102/archives/ [Pipeline] echo 17:44:29 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/foundry_device-usb-camera_PR-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:44:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:44:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:44:30 prd-ubuntu20.04-docker-8c-8g-7548 does not seem to be running inside a container 17:44:30 $ 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/foundry_device-usb-camera_PR-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-102 -v /w/workspace/foundry_device-usb-camera_PR-102:/w/workspace/foundry_device-usb-camera_PR-102:rw,z -v /w/workspace/foundry_device-usb-camera_PR-102@tmp:/w/workspace/foundry_device-usb-camera_PR-102@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 17:44:30 $ docker top bdbf17a50efe722abfdb6cb204318f0aa0d7a845e97d41d63b73e9b7e5f04ceb -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:31 + touch /tmp/pre-build-complete [Pipeline] sh 17:44:31 + mkdir -p /var/log/sysstat [Pipeline] sh 17:44:31 + ls /var/log/sa-host 17:44:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:44:31 provisioning config files... 17:44:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-102@tmp/config7195572823161562551tmp [Pipeline] { [Pipeline] echo 17:44:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:44:32 ---> create-netrc.sh [Pipeline] } 17:44:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:44:32 ---> python-tools-install.sh [Pipeline] echo 17:44:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:44:32 ---> sudo-logs.sh 17:44:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:44:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:44:33 ---> job-cost.sh 17:44:33 lf-activate-venv: SKIPPING 17:44:33 DEBUG: total: 0.2199999988079071 17:44:33 INFO: Retrieving Stack Cost... 17:44:33 INFO: Retrieving Pricing Info for: v3-standard-8 17:44:34 INFO: Archiving Costs [Pipeline] echo 17:44:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:44:34 ---> logs-deploy.sh 17:44:34 lf-activate-venv: SKIPPING 17:44:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-102/1 17:44:34 INFO: archiving workspace using pattern(s): 17:44:35 Archives upload complete. 17:44:35 INFO: archiving logs to Nexus