Push event to branch fix-device-name2 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 87197160d8e02de6bfdab55aabd7af7d8b666e21 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-ssh4740223811679092666.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh366996867724430433.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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/fix-device-name2/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/fix-device-name2/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15922753376645658281.key > 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/fix-device-name2/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3962183367677305635.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3198763662309406813.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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/fix-device-name2/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/fix-device-name2/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7302423341816574840.key > 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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-21165’ Running on prd-ubuntu20.04-docker-8c-8g-21167 in /w/workspace/vice-usb-camera_fix-device-name2 [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/vice-usb-camera_fix-device-name2 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 87197160d8e02de6bfdab55aabd7af7d8b666e21 (fix-device-name2) > 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 core.sparsecheckout # timeout=10 > git checkout -f 87197160d8e02de6bfdab55aabd7af7d8b666e21 # timeout=10 Commit message: "fix: remove all reserved chars from device name" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:37:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:37:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:37:36 ========================================================= 23:37:36 EdgeX Global Pipelines Version Info 23:37:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:37:37 ------------------- 23:37:37 stable info: 23:37:37 ------------------- 23:37:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:37 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:37:37 Message: update stable to v1.0.238 23:37:38 ------------------- 23:37:38 experimental info: 23:37:38 ------------------- 23:37:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 23:37:38 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:37:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = fix-device-name2 [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = fix-device-name2 [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = fix-device-name2 [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87197160d8e02de6bfdab55aabd7af7d8b666e21 [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8719716 [Pipeline] echo 23:37:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:39 provisioning config files... 23:37:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/vice-usb-camera_fix-device-name2@tmp/config2258796475393939655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:40 ---> docker-login.sh 23:37:40 nexus3.edgexfoundry.org:10001 23:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:40 Configure a credential helper to remove this warning. See 23:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:40 23:37:40 Login Succeeded 23:37:40 nexus3.edgexfoundry.org:10002 23:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:40 Configure a credential helper to remove this warning. See 23:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:40 23:37:40 Login Succeeded 23:37:40 nexus3.edgexfoundry.org:10003 23:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:40 Configure a credential helper to remove this warning. See 23:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:40 23:37:40 Login Succeeded 23:37:40 nexus3.edgexfoundry.org:10004 23:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:41 Configure a credential helper to remove this warning. See 23:37:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:41 23:37:41 Login Succeeded 23:37:41 docker.io 23:37:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:41 Configure a credential helper to remove this warning. See 23:37:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:41 23:37:41 Login Succeeded 23:37:41 ---> docker-login.sh ends [Pipeline] } 23:37:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:37:42 + git rev-list -1 --merges 87197160d8e02de6bfdab55aabd7af7d8b666e21~1..87197160d8e02de6bfdab55aabd7af7d8b666e21 [Pipeline] echo 23:37:42 -----------> git rev-list -1 --merges 87197160d8e02de6bfdab55aabd7af7d8b666e21~1..87197160d8e02de6bfdab55aabd7af7d8b666e21 87197160d8e02de6bfdab55aabd7af7d8b666e21 [false] [Pipeline] sh 23:37:42 + git log --format=format:%s -1 87197160d8e02de6bfdab55aabd7af7d8b666e21 [Pipeline] echo 23:37:42 ========================================================= 23:37:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:37:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:42 + git log --format=format:%s -1 87197160d8e02de6bfdab55aabd7af7d8b666e21 [Pipeline] echo 23:37:42 [semverPrep] GIT_COMMIT: 87197160d8e02de6bfdab55aabd7af7d8b666e21, Commit Message: fix: remove all reserved chars from device name [Pipeline] echo 23:37:42 [semverPrep] This is not a build commit. [Pipeline] sh 23:37:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:43 + grep -v github /etc/ssh/ssh_known_hosts 23:37:43 + [ -e /tmp/ssh_known_hosts ] 23:37:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:37:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:37:43 + sudo tee -a /etc/ssh/ssh_known_hosts 23:37:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:43 23:37:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:44 0.1.4: Pulling from edgex-devops/py-git-semver 23:37:44 b85a868b505f: Pulling fs layer 23:37:44 e2be974225ed: Pulling fs layer 23:37:44 339a4e72a1f5: Pulling fs layer 23:37:44 988bab9f4d93: Pulling fs layer 23:37:44 1469e6f7b9e6: Pulling fs layer 23:37:44 eaf3925da568: Pulling fs layer 23:37:44 bab4dde63d76: Pulling fs layer 23:37:44 bde34c3a00c8: Pulling fs layer 23:37:44 b352a97aabf1: Pulling fs layer 23:37:44 4872d77fe225: Pulling fs layer 23:37:44 5851b861e8e6: Pulling fs layer 23:37:44 bde34c3a00c8: Waiting 23:37:44 988bab9f4d93: Waiting 23:37:44 eaf3925da568: Waiting 23:37:44 1469e6f7b9e6: Waiting 23:37:44 bab4dde63d76: Waiting 23:37:44 4872d77fe225: Waiting 23:37:44 5851b861e8e6: Waiting 23:37:44 e2be974225ed: Download complete 23:37:44 988bab9f4d93: Verifying Checksum 23:37:44 988bab9f4d93: Download complete 23:37:44 1469e6f7b9e6: Verifying Checksum 23:37:44 1469e6f7b9e6: Download complete 23:37:44 eaf3925da568: Verifying Checksum 23:37:44 eaf3925da568: Download complete 23:37:44 339a4e72a1f5: Verifying Checksum 23:37:44 339a4e72a1f5: Download complete 23:37:44 bde34c3a00c8: Verifying Checksum 23:37:44 bde34c3a00c8: Download complete 23:37:44 b352a97aabf1: Download complete 23:37:44 4872d77fe225: Download complete 23:37:44 5851b861e8e6: Download complete 23:37:44 b85a868b505f: Verifying Checksum 23:37:44 b85a868b505f: Download complete 23:37:44 bab4dde63d76: Verifying Checksum 23:37:44 bab4dde63d76: Download complete 23:37:45 b85a868b505f: Pull complete 23:37:45 e2be974225ed: Pull complete 23:37:46 339a4e72a1f5: Pull complete 23:37:46 988bab9f4d93: Pull complete 23:37:46 1469e6f7b9e6: Pull complete 23:37:46 eaf3925da568: Pull complete 23:37:48 bab4dde63d76: Pull complete 23:37:48 bde34c3a00c8: Pull complete 23:37:48 b352a97aabf1: Pull complete 23:37:49 4872d77fe225: Pull complete 23:37:49 5851b861e8e6: Pull complete 23:37:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:37:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:49 prd-ubuntu20.04-docker-8c-8g-21167 does not seem to be running inside a container 23:37:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/vice-usb-camera_fix-device-name2 -v /w/workspace/vice-usb-camera_fix-device-name2:/w/workspace/vice-usb-camera_fix-device-name2:rw,z -v /w/workspace/vice-usb-camera_fix-device-name2@tmp:/w/workspace/vice-usb-camera_fix-device-name2@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:37:50 $ docker top f3938756d727283db254f85f906a76f3fc5b8ab24d43a5bbd33f7ff465147aa9 -eo pid,comm 23:37:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:37:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:51 [ssh-agent] Looking for ssh-agent implementation... 23:37:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:51 $ docker exec f3938756d727283db254f85f906a76f3fc5b8ab24d43a5bbd33f7ff465147aa9 ssh-agent 23:37:51 SSH_AUTH_SOCK=/tmp/ssh-jO7Ypdkiyrit/agent.34 23:37:51 SSH_AGENT_PID=40 23:37:51 Running ssh-add (command line suppressed) 23:37:51 Identity added: /w/workspace/vice-usb-camera_fix-device-name2@tmp/private_key_4414112764847912784.key (/w/workspace/vice-usb-camera_fix-device-name2@tmp/private_key_4414112764847912784.key) 23:37:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:51 + git tag --points-at HEAD [Pipeline] } 23:37:51 $ docker exec --env ******** --env ******** f3938756d727283db254f85f906a76f3fc5b8ab24d43a5bbd33f7ff465147aa9 ssh-agent -k 23:37:51 unset SSH_AUTH_SOCK; 23:37:51 unset SSH_AGENT_PID; 23:37:51 echo Agent pid 40 killed; 23:37:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:37:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:52 [ssh-agent] Looking for ssh-agent implementation... 23:37:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:52 $ docker exec f3938756d727283db254f85f906a76f3fc5b8ab24d43a5bbd33f7ff465147aa9 ssh-agent 23:37:52 SSH_AUTH_SOCK=/tmp/ssh-9dYhWYiubmon/agent.73 23:37:52 SSH_AGENT_PID=79 23:37:52 Running ssh-add (command line suppressed) 23:37:52 Identity added: /w/workspace/vice-usb-camera_fix-device-name2@tmp/private_key_237388048766663375.key (/w/workspace/vice-usb-camera_fix-device-name2@tmp/private_key_237388048766663375.key) 23:37:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:52 + git semver init 23:37:53 2022-07-26 23:37:52,976 [run_init] DEBUG init version:0.0.0 force:False 23:37:53 2022-07-26 23:37:52,977 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/vice-usb-camera_fix-device-name2/.semver 23:37:53 2022-07-26 23:37:52,977 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/vice-usb-camera_fix-device-name2/.semver 23:37:53 2022-07-26 23:37:52,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/vice-usb-camera_fix-device-name2/.semver'], cwd=/w/workspace/vice-usb-camera_fix-device-name2, universal_newlines=False, shell=None, istream=None) 23:37:53 2022-07-26 23:37:53,560 [append_file] DEBUG append to file:/w/workspace/vice-usb-camera_fix-device-name2/.git/info/exclude 23:37:53 2022-07-26 23:37:53,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/vice-usb-camera_fix-device-name2/.semver/fix-device-name2 with force:False 23:37:53 2022-07-26 23:37:53,561 [write_file] DEBUG write to file:/w/workspace/vice-usb-camera_fix-device-name2/.semver/fix-device-name2 23:37:53 2022-07-26 23:37:53,566 [execute] INFO git cat-file --batch-check 23:37:53 2022-07-26 23:37:53,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/vice-usb-camera_fix-device-name2/.semver, universal_newlines=False, shell=None, istream=) 23:37:53 2022-07-26 23:37:53,572 [execute] INFO git cat-file --batch 23:37:53 2022-07-26 23:37:53,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/vice-usb-camera_fix-device-name2/.semver, universal_newlines=False, shell=None, istream=) 23:37:53 2022-07-26 23:37:53,577 [read_version] DEBUG read version from /w/workspace/vice-usb-camera_fix-device-name2/.semver/fix-device-name2 23:37:53 0.0.0 [Pipeline] } 23:37:53 $ docker exec --env ******** --env ******** f3938756d727283db254f85f906a76f3fc5b8ab24d43a5bbd33f7ff465147aa9 ssh-agent -k 23:37:53 unset SSH_AUTH_SOCK; 23:37:53 unset SSH_AGENT_PID; 23:37:53 echo Agent pid 79 killed; 23:37:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:54 + git semver [Pipeline] } 23:37:54 $ docker stop --time=1 f3938756d727283db254f85f906a76f3fc5b8ab24d43a5bbd33f7ff465147aa9 23:37:55 $ docker rm -f f3938756d727283db254f85f906a76f3fc5b8ab24d43a5bbd33f7ff465147aa9 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:37:56 Stashed 1 file(s) [Pipeline] echo 23:37:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:57 provisioning config files... 23:37:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/vice-usb-camera_fix-device-name2@tmp/config4503700928580226554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:57 ---> docker-login.sh 23:37:57 nexus3.edgexfoundry.org:10001 23:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:57 Configure a credential helper to remove this warning. See 23:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:57 23:37:57 Login Succeeded 23:37:57 nexus3.edgexfoundry.org:10002 23:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:57 Configure a credential helper to remove this warning. See 23:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:57 23:37:57 Login Succeeded 23:37:57 nexus3.edgexfoundry.org:10003 23:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:57 Configure a credential helper to remove this warning. See 23:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:57 23:37:57 Login Succeeded 23:37:57 nexus3.edgexfoundry.org:10004 23:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:58 Configure a credential helper to remove this warning. See 23:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:58 23:37:58 Login Succeeded 23:37:58 docker.io 23:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:58 Configure a credential helper to remove this warning. See 23:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:58 23:37:58 Login Succeeded 23:37:58 ---> docker-login.sh ends [Pipeline] } 23:37:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:58 [edgeX.isLTS] Checking if [fix-device-name2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:58 [edgeX.isLTS] Checking if [fix-device-name2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:58 ========================================================= 23:37:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:37:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37: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 . 23:37:59 Sending build context to Docker daemon 719.9kB 23:37:59 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:37:59 Step 2/13 : FROM ${BASE} AS builder 23:37:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:37:59 2408cc74d12b: Pulling fs layer 23:37:59 ea60b727a1ce: Pulling fs layer 23:37:59 30c4a7721957: Pulling fs layer 23:37:59 370296b7ddb6: Pulling fs layer 23:37:59 7c6cee850709: Pulling fs layer 23:37:59 39a5fcdaea64: Pulling fs layer 23:37:59 d94ebbe4e438: Pulling fs layer 23:37:59 bcfd1f05c69d: Pulling fs layer 23:37:59 59ccb84bbe0f: Pulling fs layer 23:37:59 370296b7ddb6: Waiting 23:37:59 bcfd1f05c69d: Waiting 23:37:59 7c6cee850709: Waiting 23:37:59 39a5fcdaea64: Waiting 23:37:59 30c4a7721957: Verifying Checksum 23:37:59 30c4a7721957: Download complete 23:37:59 ea60b727a1ce: Download complete 23:37:59 7c6cee850709: Verifying Checksum 23:37:59 7c6cee850709: Download complete 23:37:59 39a5fcdaea64: Verifying Checksum 23:37:59 39a5fcdaea64: Download complete 23:37:59 2408cc74d12b: Verifying Checksum 23:37:59 2408cc74d12b: Download complete 23:37:59 d94ebbe4e438: Download complete 23:37:59 2408cc74d12b: Pull complete 23:37:59 ea60b727a1ce: Pull complete 23:37:59 30c4a7721957: Pull complete 23:37:59 59ccb84bbe0f: Verifying Checksum 23:37:59 59ccb84bbe0f: Download complete 23:38:00 bcfd1f05c69d: Verifying Checksum 23:38:00 bcfd1f05c69d: Download complete 23:38:00 370296b7ddb6: Download complete 23:38:05 370296b7ddb6: Pull complete 23:38:05 7c6cee850709: Pull complete 23:38:05 39a5fcdaea64: Pull complete 23:38:05 d94ebbe4e438: Pull complete 23:38:06 bcfd1f05c69d: Pull complete 23:38:07 59ccb84bbe0f: Pull complete 23:38:07 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:38:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:38:07 ---> a4fb48ad2a94 23:38:07 Step 3/13 : ARG MAKE="make build" 23:38:09 ---> Running in 07813430b8ef 23:38:09 Removing intermediate container 07813430b8ef 23:38:09 ---> ae7f11cec6bd 23:38:09 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:38:09 ---> Running in e8300952395a 23:38:09 Removing intermediate container e8300952395a 23:38:09 ---> 9f36d3d379fc 23:38:09 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:38:09 ---> Running in dbe8256b4fd5 23:38:09 Removing intermediate container dbe8256b4fd5 23:38:09 ---> 881c8c18c5af 23:38:09 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:38:09 ---> Running in 518c8c37ffb9 23:38:10 Removing intermediate container 518c8c37ffb9 23:38:10 ---> 3901ef9a55e9 23:38:10 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:10 ---> Running in 978a00681c83 23:38:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:38:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:38:11 (1/80) Installing mesa (21.3.8-r1) 23:38:11 (2/80) Installing libxau (1.0.9-r0) 23:38:11 (3/80) Installing libxdmcp (1.1.3-r0) 23:38:11 (4/80) Installing libxcb (1.15-r0) 23:38:11 (5/80) Installing libx11 (1.8-r0) 23:38:11 Still waiting to schedule task 23:38:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21166’ 23:38:12 (6/80) Installing libxext (1.3.4-r0) 23:38:12 (7/80) Installing libxfixes (6.0.0-r0) 23:38:12 (8/80) Installing libxxf86vm (1.1.4-r2) 23:38:12 (9/80) Installing libpciaccess (0.16-r0) 23:38:12 (10/80) Installing libdrm (2.4.110-r0) 23:38:12 (11/80) Installing mesa-glapi (21.3.8-r1) 23:38:12 (12/80) Installing libxshmfence (1.3-r1) 23:38:12 (13/80) Installing mesa-gl (21.3.8-r1) 23:38:12 (14/80) Installing icu-data-full (71.1-r2) 23:38:13 (15/80) Installing libice (1.0.10-r0) 23:38:13 (16/80) Installing libuuid (2.38-r1) 23:38:13 (17/80) Installing libsm (1.2.3-r0) 23:38:13 (18/80) Installing libxt (1.2.1-r0) 23:38:14 (19/80) Installing libxmu (1.1.3-r0) 23:38:14 (20/80) Installing xset (1.2.4-r0) 23:38:14 (21/80) Installing xprop (1.2.5-r0) 23:38:14 (22/80) Installing xdg-utils (1.1.3-r3) 23:38:14 (23/80) Installing dbus-libs (1.14.0-r1) 23:38:14 (24/80) Installing libffi (3.4.2-r1) 23:38:14 (25/80) Installing libintl (0.21-r2) 23:38:14 (26/80) Installing libblkid (2.38-r1) 23:38:14 (27/80) Installing libmount (2.38-r1) 23:38:14 (28/80) Installing pcre (8.45-r2) 23:38:14 (29/80) Installing glib (2.72.1-r0) 23:38:15 (30/80) Installing icu-libs (71.1-r2) 23:38:15 (31/80) Installing libpcre2-16 (10.40-r0) 23:38:15 (32/80) Installing zstd-libs (1.5.2-r1) 23:38:15 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) 23:38:15 (34/80) Installing hicolor-icon-theme (0.17-r1) 23:38:15 (35/80) Installing wayland-libs-server (1.20.0-r0) 23:38:15 (36/80) Installing mesa-gbm (21.3.8-r1) 23:38:15 (37/80) Installing wayland-libs-client (1.20.0-r0) 23:38:15 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) 23:38:16 (39/80) Installing libxcomposite (0.4.5-r0) 23:38:16 (40/80) Installing libbz2 (1.0.8-r1) 23:38:16 (41/80) Installing libpng (1.6.37-r1) 23:38:16 (42/80) Installing freetype (2.12.1-r0) 23:38:16 (43/80) Installing fontconfig (2.14.0-r0) 23:38:16 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 23:38:16 (45/80) Installing wayland-libs-egl (1.20.0-r0) 23:38:16 (46/80) Installing xkeyboard-config (2.35.1-r0) 23:38:17 (47/80) Installing xz-libs (5.2.5-r1) 23:38:17 (48/80) Installing libxml2 (2.9.14-r0) 23:38:17 (49/80) Installing libxkbcommon (1.4.1-r0) 23:38:17 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 23:38:17 (51/80) Installing mesa-egl (21.3.8-r1) 23:38:17 (52/80) Installing avahi-libs (0.8-r6) 23:38:17 (53/80) Installing nettle (3.7.3-r0) 23:38:17 (54/80) Installing p11-kit (0.24.1-r0) 23:38:18 (55/80) Installing libtasn1 (4.18.0-r0) 23:38:18 (56/80) Installing libunistring (1.0-r0) 23:38:18 (57/80) Installing gnutls (3.7.6-r0) 23:38:18 (58/80) Installing cups-libs (2.4.2-r0) 23:38:18 (59/80) Installing graphite2 (1.3.14-r1) 23:38:18 (60/80) Installing harfbuzz (4.3.0-r0) 23:38:18 (61/80) Installing libevdev (1.12.1-r0) 23:38:18 (62/80) Installing mtdev (1.1.6-r0) 23:38:18 (63/80) Installing eudev-libs (3.2.11-r0) 23:38:18 (64/80) Installing libinput-libs (1.20.1-r0) 23:38:18 (65/80) Installing libjpeg-turbo (2.1.3-r1) 23:38:19 (66/80) Installing xcb-util-wm (0.4.1-r1) 23:38:19 (67/80) Installing xcb-util (0.4.0-r3) 23:38:19 (68/80) Installing xcb-util-image (0.4.0-r1) 23:38:19 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 23:38:19 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 23:38:19 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 23:38:19 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) 23:38:20 (73/80) Installing v4l-utils-libs (1.22.1-r1) 23:38:20 (74/80) Installing v4l-utils (1.22.1-r1) 23:38:20 (75/80) Installing udev-init-scripts (35-r0) 23:38:20 Executing udev-init-scripts-35-r0.post-install 23:38:20 (76/80) Installing kmod-libs (29-r2) 23:38:20 (77/80) Installing eudev (3.2.11-r0) 23:38:20 (78/80) Installing eudev-dev (3.2.11-r0) 23:38:20 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:38:20 (80/80) Installing v4l-utils-dev (1.22.1-r1) 23:38:20 Executing busybox-1.35.0-r13.trigger 23:38:20 Executing eudev-3.2.11-r0.trigger 23:38:20 OK: 330 MiB in 131 packages 23:38:22 Removing intermediate container 978a00681c83 23:38:22 ---> 6a4109a76aeb 23:38:22 Step 8/13 : WORKDIR /device-usb-camera 23:38:22 ---> Running in 8282bc07182f 23:38:23 Removing intermediate container 8282bc07182f 23:38:23 ---> e8b93b8d6379 23:38:23 Step 9/13 : COPY go.mod vendor* ./ 23:38:23 ---> 994bf078e37b 23:38:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:23 ---> Running in 258fc5dc2aa5 23:38:38 Removing intermediate container 258fc5dc2aa5 23:38:38 ---> bc77ff2c461f 23:38:38 Step 11/13 : COPY . . 23:38:38 ---> e0994db5b8c3 23:38:38 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:38:38 ---> Running in d3e140769e25 23:38:38  % Total % Received % Xferd Average Speed Time Time Time Current 23:38:38 Dload Upload Total Spent Left Speed 23:38:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43329 0 --:--:-- --:--:-- --:--:-- 44250 23:38:38 Removing intermediate container d3e140769e25 23:38:38 ---> 0c52e458b389 23:38:38 Step 13/13 : RUN ${MAKE} 23:38:38 ---> Running in 62f5f42935a8 23:38:38 noop 23:38:38 Removing intermediate container 62f5f42935a8 23:38:38 ---> 2a31612e81e5 23:38:38 Successfully built 2a31612e81e5 23:38:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:38 + docker inspect -f . ci-base-image-x86_64 23:38:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:38 prd-ubuntu20.04-docker-8c-8g-21167 does not seem to be running inside a container 23:38:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/vice-usb-camera_fix-device-name2 -v /w/workspace/vice-usb-camera_fix-device-name2:/w/workspace/vice-usb-camera_fix-device-name2:rw,z -v /w/workspace/vice-usb-camera_fix-device-name2@tmp:/w/workspace/vice-usb-camera_fix-device-name2@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 ******** ci-base-image-x86_64 cat 23:38:39 $ docker top d2c7ff8793be2117470f97517e1ad4f11d6c9fc79a3c3a39a30ecf286f7ea60e -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:39 + go version 23:38:39 go version go1.18.3 linux/amd64 [Pipeline] } 23:38:39 $ docker stop --time=1 d2c7ff8793be2117470f97517e1ad4f11d6c9fc79a3c3a39a30ecf286f7ea60e 23:38:40 $ docker rm -f d2c7ff8793be2117470f97517e1ad4f11d6c9fc79a3c3a39a30ecf286f7ea60e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:41 + docker inspect -f . ci-base-image-x86_64 23:38:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:41 prd-ubuntu20.04-docker-8c-8g-21167 does not seem to be running inside a container 23:38:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/vice-usb-camera_fix-device-name2 -v /w/workspace/vice-usb-camera_fix-device-name2:/w/workspace/vice-usb-camera_fix-device-name2:rw,z -v /w/workspace/vice-usb-camera_fix-device-name2@tmp:/w/workspace/vice-usb-camera_fix-device-name2@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 ******** ci-base-image-x86_64 cat 23:38:42 $ docker top c9aaa24e5a20661669bd81ab83c259ba1406bb4fb4d7e0e8c2049cb2ff29d37b -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:42 + git config --global --add safe.directory /w/workspace/vice-usb-camera_fix-device-name2 [Pipeline] fileExists [Pipeline] sh 23:38:43 + make test 23:38:43 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:38:43 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:38:53 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:38:53 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 2.2% of statements 23:39:01 CGO_ENABLED=1 go vet ./... 23:39:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:39:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:39:03 ./bin/test-attribution-txt.sh [Pipeline] echo 23:39:04 [edgeX.isLTS] Checking if [fix-device-name2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:39:04 $ docker stop --time=1 c9aaa24e5a20661669bd81ab83c259ba1406bb4fb4d7e0e8c2049cb2ff29d37b 23:39:06 $ docker rm -f c9aaa24e5a20661669bd81ab83c259ba1406bb4fb4d7e0e8c2049cb2ff29d37b [Pipeline] // withDockerContainer [Pipeline] sh 23:39:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:39:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:39:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:39:07 + ls -al . 23:39:07 total 188 23:39:07 drwxrwxr-x 9 jenkins jenkins 4096 Jul 26 23:39 . 23:39:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:37 .. 23:39:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:38 .git 23:39:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:37 .github 23:39:07 -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 23:37 .gitignore 23:39:07 -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 23:37 .golangci.yml 23:39:07 -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 23:37 .hadolint.yml 23:39:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 23:37 .semver 23:39:07 -rw-rw-r-- 1 jenkins jenkins 9065 Jul 26 23:37 Attribution.txt 23:39:07 -rw-rw-r-- 1 jenkins jenkins 181 Jul 26 23:37 CHANGELOG.md 23:39:07 -rw-rw-r-- 1 jenkins jenkins 2410 Jul 26 23:37 Dockerfile 23:39:07 -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 23:37 GOVERNANCE.md 23:39:07 -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 23:37 Jenkinsfile 23:39:07 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 23:37 LICENSE 23:39:07 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 26 23:37 Makefile 23:39:07 -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 23:37 OWNERS.md 23:39:07 -rw-rw-r-- 1 jenkins jenkins 11382 Jul 26 23:37 README.md 23:39:07 -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 23:37 VERSION 23:39:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:37 bin 23:39:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:37 cmd 23:39:07 -rw-r--r-- 1 jenkins jenkins 26812 Jul 26 23:38 coverage.out 23:39:07 -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 23:37 docker-entrypoint.sh 23:39:07 -rw-rw-r-- 1 jenkins jenkins 3382 Jul 26 23:37 go.mod 23:39:07 -rw-rw-r-- 1 jenkins jenkins 35824 Jul 26 23:37 go.sum 23:39:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:37 internal 23:39:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:37 snap 23:39:07 -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:08 + 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=87197160d8e02de6bfdab55aabd7af7d8b666e21 --label arch=amd64 --label version=0.0.0 . 23:39:08 Sending build context to Docker daemon 747.5kB 23:39:08 Step 1/35 : ARG BASE=golang:1.17-alpine3.15 23:39:08 Step 2/35 : FROM ${BASE} AS builder 23:39:08 ---> 2a31612e81e5 23:39:08 Step 3/35 : ARG MAKE="make build" 23:39:08 ---> Running in b51a8487de0d 23:39:08 Removing intermediate container b51a8487de0d 23:39:08 ---> c096409248e6 23:39:08 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:39:08 ---> Running in f7fabbbc1e42 23:39:08 Removing intermediate container f7fabbbc1e42 23:39:08 ---> dcb6f0370909 23:39:08 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:39:08 ---> Running in 3acaad2c1224 23:39:08 Removing intermediate container 3acaad2c1224 23:39:08 ---> b064a370e96e 23:39:08 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:39:08 ---> Running in 3c0a8b45dca4 23:39:09 Removing intermediate container 3c0a8b45dca4 23:39:09 ---> 523045286781 23:39:09 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:39:09 ---> Running in 7bec68f86711 23:39:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:39:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:39:10 OK: 330 MiB in 131 packages 23:39:10 Removing intermediate container 7bec68f86711 23:39:10 ---> f454a42008b7 23:39:10 Step 8/35 : WORKDIR /device-usb-camera 23:39:10 ---> Running in 6b8abcc7e300 23:39:11 Removing intermediate container 6b8abcc7e300 23:39:11 ---> 9ec3b766eebe 23:39:11 Step 9/35 : COPY go.mod vendor* ./ 23:39:11 ---> 161b2d439d98 23:39:11 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:39:11 ---> Running in 2bdad55d51dc 23:39:12 Removing intermediate container 2bdad55d51dc 23:39:12 ---> 71bad48191dd 23:39:12 Step 11/35 : COPY . . 23:39:12 ---> 8b5ada35982d 23:39:12 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:39:12 ---> Running in 9b594a3ba123 23:39:12  % Total % Received % Xferd Average Speed Time Time Time Current 23:39:12 Dload Upload Total Spent Left Speed 23:39:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 34364 0 --:--:-- --:--:-- --:--:-- 35400 23:39:12 Removing intermediate container 9b594a3ba123 23:39:12 ---> b5b2a7eda3e6 23:39:12 Step 13/35 : RUN ${MAKE} 23:39:12 ---> Running in 8fd793f5c780 23:39:13 CGO_ENABLED=1 go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 23:39:35 Removing intermediate container 8fd793f5c780 23:39:35 ---> a3f7f635f541 23:39:35 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 23:39:35 v0.18.4: Pulling from aler9/rtsp-simple-server 23:39:35 af6660deedbd: Pulling fs layer 23:39:35 97cd0a44c592: Pulling fs layer 23:39:35 97cd0a44c592: Download complete 23:39:35 af6660deedbd: Verifying Checksum 23:39:35 af6660deedbd: Download complete 23:39:35 af6660deedbd: Pull complete 23:39:35 97cd0a44c592: Pull complete 23:39:35 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 23:39:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 23:39:35 ---> fea57e182299 23:39:35 Step 15/35 : FROM alpine:3.15 23:39:35 3.15: Pulling from library/alpine 23:39:35 ab6db1bc80d0: Pulling fs layer 23:39:35 ab6db1bc80d0: Verifying Checksum 23:39:35 ab6db1bc80d0: Download complete 23:39:35 ab6db1bc80d0: Pull complete 23:39:35 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 23:39:35 Status: Downloaded newer image for alpine:3.15 23:39:35 ---> 2720e26172a0 23:39:35 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:39:35 ---> Running in b7fea2d24ef2 23:39:35 Removing intermediate container b7fea2d24ef2 23:39:35 ---> 8c2e012b3bda 23:39:35 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 23:39:35 ---> Running in 0cc38c9b2a30 23:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:39:36 (1/74) Installing dumb-init (1.2.5-r1) 23:39:36 (2/74) Installing sdl2 (2.0.16-r4) 23:39:36 (3/74) Installing libxau (1.0.9-r0) 23:39:36 (4/74) Installing libmd (1.0.3-r0) 23:39:36 (5/74) Installing libbsd (0.11.3-r1) 23:39:36 (6/74) Installing libxdmcp (1.1.3-r0) 23:39:36 (7/74) Installing libxcb (1.14-r2) 23:39:36 (8/74) Installing libx11 (1.7.2-r0) 23:39:36 (9/74) Installing aom-libs (3.2.0-r0) 23:39:36 (10/74) Installing alsa-lib (1.2.5.1-r1) 23:39:36 (11/74) Installing expat (2.4.7-r0) 23:39:36 (12/74) Installing brotli-libs (1.0.9-r5) 23:39:36 (13/74) Installing libbz2 (1.0.8-r1) 23:39:36 (14/74) Installing libpng (1.6.37-r1) 23:39:36 (15/74) Installing freetype (2.11.1-r2) 23:39:36 (16/74) Installing libuuid (2.37.4-r0) 23:39:36 (17/74) Installing fontconfig (2.13.1-r4) 23:39:36 (18/74) Installing fribidi (1.0.11-r0) 23:39:36 (19/74) Installing libffi (3.4.2-r1) 23:39:36 (20/74) Installing libintl (0.21-r0) 23:39:36 (21/74) Installing libblkid (2.37.4-r0) 23:39:36 (22/74) Installing libmount (2.37.4-r0) 23:39:36 (23/74) Installing pcre (8.45-r1) 23:39:36 (24/74) Installing glib (2.70.1-r0) 23:39:36 (25/74) Installing graphite2 (1.3.14-r0) 23:39:36 (26/74) Installing harfbuzz (3.0.0-r2) 23:39:36 (27/74) Installing libass (0.15.2-r0) 23:39:36 (28/74) Installing libdav1d (0.9.2-r0) 23:39:36 (29/74) Installing gmp (6.2.1-r1) 23:39:36 (30/74) Installing nettle (3.7.3-r0) 23:39:36 (31/74) Installing p11-kit (0.24.0-r1) 23:39:36 (32/74) Installing libtasn1 (4.18.0-r0) 23:39:36 (33/74) Installing libunistring (0.9.10-r1) 23:39:36 (34/74) Installing gnutls (3.7.1-r0) 23:39:36 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) 23:39:36 (36/74) Installing ncurses-libs (6.3_p20211120-r1) 23:39:36 (37/74) Installing lame (3.100-r0) 23:39:36 (38/74) Installing opus (1.3.1-r1) 23:39:36 (39/74) Installing libgomp (10.3.1_git20211027-r0) 23:39:36 (40/74) Installing soxr (0.1.3-r2) 23:39:36 (41/74) Installing libgcc (10.3.1_git20211027-r0) 23:39:36 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 23:39:36 (43/74) Installing libsrt (1.4.2-r1) 23:39:36 (44/74) Installing libssh (0.9.6-r1) 23:39:36 (45/74) Installing libogg (1.3.5-r0) 23:39:36 (46/74) Installing libtheora (1.1.1-r16) 23:39:36 (47/74) Installing libjpeg-turbo (2.1.2-r0) 23:39:36 (48/74) Installing v4l-utils-libs (1.22.1-r1) 23:39:36 (49/74) Installing libxext (1.3.4-r0) 23:39:36 (50/74) Installing libxfixes (6.0.0-r0) 23:39:36 (51/74) Installing libpciaccess (0.16-r0) 23:39:36 (52/74) Installing libdrm (2.4.109-r0) 23:39:36 (53/74) Installing wayland-libs-client (1.19.0-r1) 23:39:36 (54/74) Installing libva (2.13.0-r0) 23:39:36 (55/74) Installing libvdpau (1.4-r0) 23:39:36 (56/74) Installing vidstab (1.1.0-r1) 23:39:36 (57/74) Installing libvorbis (1.3.7-r0) 23:39:36 (58/74) Installing libvpx (1.10.0-r0) 23:39:36 (59/74) Installing vulkan-loader (1.2.196-r0) 23:39:36 (60/74) Installing libwebp (1.2.2-r0) 23:39:36 (61/74) Installing x264-libs (20210613-r0) 23:39:36 (62/74) Installing x265-libs (3.5-r0) 23:39:36 (63/74) Installing xvidcore (1.3.7-r1) 23:39:36 (64/74) Installing ffmpeg-libs (4.4.1-r2) 23:39:36 (65/74) Installing ffmpeg (4.4.1-r2) 23:39:36 (66/74) Installing udev-init-scripts (35-r0) 23:39:36 Executing udev-init-scripts-35-r0.post-install 23:39:36 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 23:39:36 (68/74) Installing xz-libs (5.2.5-r1) 23:39:36 (69/74) Installing zstd-libs (1.5.0-r0) 23:39:36 (70/74) Installing kmod-libs (29-r2) 23:39:36 (71/74) Installing eudev (3.2.11_pre1-r0) 23:39:36 (72/74) Installing libsodium (1.0.18-r0) 23:39:37 (73/74) Installing libzmq (4.3.4-r0) 23:39:37 (74/74) Installing zeromq (4.3.4-r0) 23:39:37 Executing busybox-1.34.1-r7.trigger 23:39:37 Executing eudev-3.2.11_pre1-r0.trigger 23:39:37 OK: 78 MiB in 88 packages 23:39:38 Removing intermediate container 0cc38c9b2a30 23:39:38 ---> 5dc3e369c27e 23:39:38 Step 18/35 : WORKDIR / 23:39:38 ---> Running in fd1cf7c71b25 23:39:38 Removing intermediate container fd1cf7c71b25 23:39:38 ---> 13637b352151 23:39:38 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 23:39:39 ---> 3c06650893b2 23:39:39 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 23:39:39 ---> d7ae64005b59 23:39:39 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:39:39 ---> b6f260ccf371 23:39:39 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:39:39 ---> 876a1beda0aa 23:39:39 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:39:39 ---> c324fc1ffa67 23:39:39 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 23:39:39 ---> b12d122788d6 23:39:39 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 23:39:40 ---> 0e05e1ca877a 23:39:40 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 23:39:40 ---> Running in 2d08ec1c987d 23:39:41 Removing intermediate container 2d08ec1c987d 23:39:41 ---> de7df7551582 23:39:41 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 23:39:41 ---> Running in 488fcdf77deb 23:39:42 Removing intermediate container 488fcdf77deb 23:39:42 ---> ca2a92cd75a6 23:39:42 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 23:39:42 ---> Running in 368a66b18f57 23:39:42 Removing intermediate container 368a66b18f57 23:39:42 ---> 49b5c16a9d47 23:39:42 Step 29/35 : EXPOSE 59983 23:39:42 ---> Running in f59b8c3565d6 23:39:42 Removing intermediate container f59b8c3565d6 23:39:42 ---> 4a5aa7a1be00 23:39:42 Step 30/35 : EXPOSE 8554 23:39:42 ---> Running in 6897319dc55d 23:39:42 Removing intermediate container 6897319dc55d 23:39:42 ---> fae9d5f9a020 23:39:42 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:39:42 ---> Running in c2e408eeb075 23:39:42 Removing intermediate container c2e408eeb075 23:39:42 ---> f9dade8c7858 23:39:42 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 23:39:42 ---> Running in 6c409d949db0 23:39:42 Removing intermediate container 6c409d949db0 23:39:42 ---> b8126e97e5ba 23:39:42 Step 33/35 : LABEL arch=amd64 23:39:43 ---> Running in 10de354202c6 23:39:43 Removing intermediate container 10de354202c6 23:39:43 ---> e1864629bb9c 23:39:43 Step 34/35 : LABEL git_sha=87197160d8e02de6bfdab55aabd7af7d8b666e21 23:39:43 ---> Running in 8d700f2f1219 23:39:43 Removing intermediate container 8d700f2f1219 23:39:43 ---> a9a2fdf97ed3 23:39:43 Step 35/35 : LABEL version=0.0.0 23:39:43 ---> Running in 49f5db660b46 23:39:43 Removing intermediate container 49f5db660b46 23:39:43 ---> 95a280a30ba9 23:39:43 [Warning] One or more build-args [ARCH] were not consumed 23:39:43 Successfully built 95a280a30ba9 23:39:43 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 23:39:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:44 23:39:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:44 latest: Pulling from edgex-lftools-log-publisher 23:39:44 5eb5b503b376: Pulling fs layer 23:39:44 5c69ac0246d0: Pulling fs layer 23:39:44 ec43610c2a17: Pulling fs layer 23:39:44 3a2ae6a8a46f: Pulling fs layer 23:39:44 33b1e0a273af: Pulling fs layer 23:39:44 5d3b04190fa2: Pulling fs layer 23:39:44 2f39f015ded8: Pulling fs layer 23:39:44 3a2ae6a8a46f: Waiting 23:39:44 5d3b04190fa2: Waiting 23:39:44 2f39f015ded8: Waiting 23:39:44 33b1e0a273af: Waiting 23:39:44 5c69ac0246d0: Verifying Checksum 23:39:44 5c69ac0246d0: Download complete 23:39:44 3a2ae6a8a46f: Verifying Checksum 23:39:44 3a2ae6a8a46f: Download complete 23:39:44 33b1e0a273af: Verifying Checksum 23:39:44 33b1e0a273af: Download complete 23:39:44 5d3b04190fa2: Download complete 23:39:44 ec43610c2a17: Verifying Checksum 23:39:44 ec43610c2a17: Download complete 23:39:44 5eb5b503b376: Verifying Checksum 23:39:44 5eb5b503b376: Download complete 23:39:45 2f39f015ded8: Download complete 23:39:46 5eb5b503b376: Pull complete 23:39:46 5c69ac0246d0: Pull complete 23:39:47 ec43610c2a17: Pull complete 23:39:47 3a2ae6a8a46f: Pull complete 23:39:47 33b1e0a273af: Pull complete 23:39:47 5d3b04190fa2: Pull complete 23:39:51 2f39f015ded8: Pull complete 23:39:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:39:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:51 prd-ubuntu20.04-docker-8c-8g-21167 does not seem to be running inside a container 23:39:52 $ 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/vice-usb-camera_fix-device-name2 -v /w/workspace/vice-usb-camera_fix-device-name2:/w/workspace/vice-usb-camera_fix-device-name2:rw,z -v /w/workspace/vice-usb-camera_fix-device-name2@tmp:/w/workspace/vice-usb-camera_fix-device-name2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:39:53 $ docker top 384a0cd40a551d948cb92c14bb0325cca382c89da7cd8b8a7b4e512b064fe91c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:54 ---> job-cost.sh 23:39:54 lf-activate-venv: SKIPPING 23:39:54 INFO: No Stack... 23:39:54 INFO: Retrieving Pricing Info for: v3-standard-8 23:39:55 INFO: Archiving Costs [Pipeline] sh 23:39:55 + cat /w/workspace/vice-usb-camera_fix-device-name2/archives/cost.csv 23:39:55 + cut -d, -f6 [Pipeline] lock 23:39:55 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] 23:39:55 Resource [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] did not exist. Created. 23:39:55 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:55 + echo total: 0.2199999988079071 [Pipeline] stash 23:39:55 Stashed 1 file(s) [Pipeline] } 23:39:55 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:39:56 $ docker stop --time=1 384a0cd40a551d948cb92c14bb0325cca382c89da7cd8b8a7b4e512b064fe91c 23:39:57 $ docker rm -f 384a0cd40a551d948cb92c14bb0325cca382c89da7cd8b8a7b4e512b064fe91c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:41:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21169 in /w/workspace/vice-usb-camera_fix-device-name2 [Pipeline] { [Pipeline] ws 23:41:03 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 23:41:03 Selected Git installation does not exist. Using Default 23:41:03 The recommended git tool is: NONE 23:41:10 using credential edgex-jenkins-ssh 23:41:10 Cloning the remote Git repository 23:41:10 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 23:41:10 > git init /w/workspace/device-usb-camera/1 # timeout=10 23:41:10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:41:10 > git --version # timeout=10 23:41:10 > git --version # 'git version 2.25.1' 23:41:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:11 Avoid second fetch 23:41:11 Checking out Revision 87197160d8e02de6bfdab55aabd7af7d8b666e21 (fix-device-name2) 23:41:11 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:41:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:11 > git config core.sparsecheckout # timeout=10 23:41:11 > git checkout -f 87197160d8e02de6bfdab55aabd7af7d8b666e21 # timeout=10 23:41:16 Commit message: "fix: remove all reserved chars from device name" 23:41:16 > git --version # timeout=10 23:41:16 > git --version # 'git version 2.25.1' 23:41:16 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:41:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:41:17 Dload Upload Total Spent Left Speed 23:41:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 236k 0 --:--:-- --:--:-- --:--:-- 240k [Pipeline] sh 23:41:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:41:18 + sudo tee /etc/docker/daemon.new 23:41:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:41:18 { 23:41:18 "registry-mirrors": [ 23:41:18 "https://nexus3.edgexfoundry.org:10001" 23:41:18 ], 23:41:18 "bip": "10.250.0.254/24", 23:41:18 "hosts": [ 23:41:18 "tcp://0.0.0.0:5555", 23:41:18 "unix:///var/run/docker.sock" 23:41:18 ], 23:41:18 "mtu": 1458, 23:41:18 "selinux-enabled": true, 23:41:18 "seccomp-profile": "/etc/docker/seccomp.json" 23:41:18 } [Pipeline] sh 23:41:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:41:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:37 provisioning config files... 23:41:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6394637937592845960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:38 ---> docker-login.sh 23:41:38 nexus3.edgexfoundry.org:10001 23:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:39 Configure a credential helper to remove this warning. See 23:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:39 23:41:39 Login Succeeded 23:41:39 nexus3.edgexfoundry.org:10002 23:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:39 Configure a credential helper to remove this warning. See 23:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:39 23:41:39 Login Succeeded 23:41:39 nexus3.edgexfoundry.org:10003 23:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:40 Configure a credential helper to remove this warning. See 23:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:40 23:41:40 Login Succeeded 23:41:40 nexus3.edgexfoundry.org:10004 23:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:40 Configure a credential helper to remove this warning. See 23:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:40 23:41:40 Login Succeeded 23:41:40 docker.io 23:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:41 Configure a credential helper to remove this warning. See 23:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:41 23:41:41 Login Succeeded 23:41:41 ---> docker-login.sh ends [Pipeline] } 23:41:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:41 [edgeX.isLTS] Checking if [fix-device-name2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:41 [edgeX.isLTS] Checking if [fix-device-name2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:41 ========================================================= 23:41:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:41:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:41:42 Sending build context to Docker daemon 485.4kB 23:41:42 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:41:42 Step 2/13 : FROM ${BASE} AS builder 23:41:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:42 b3c136eddcbf: Pulling fs layer 23:41:42 c0a3192eca97: Pulling fs layer 23:41:42 a050256f5b6f: Pulling fs layer 23:41:42 656be50a0ddc: Pulling fs layer 23:41:42 2bbca73fdf42: Pulling fs layer 23:41:42 46d945488cbd: Pulling fs layer 23:41:42 8a5474983e97: Pulling fs layer 23:41:42 329c88fbcd65: Pulling fs layer 23:41:42 656be50a0ddc: Waiting 23:41:42 2bbca73fdf42: Waiting 23:41:42 46d945488cbd: Waiting 23:41:42 8a5474983e97: Waiting 23:41:42 329c88fbcd65: Waiting 23:41:42 a050256f5b6f: Verifying Checksum 23:41:42 a050256f5b6f: Download complete 23:41:42 c0a3192eca97: Verifying Checksum 23:41:42 c0a3192eca97: Download complete 23:41:42 2bbca73fdf42: Verifying Checksum 23:41:42 2bbca73fdf42: Download complete 23:41:42 46d945488cbd: Verifying Checksum 23:41:42 46d945488cbd: Download complete 23:41:42 b3c136eddcbf: Verifying Checksum 23:41:42 b3c136eddcbf: Download complete 23:41:43 b3c136eddcbf: Pull complete 23:41:43 329c88fbcd65: Verifying Checksum 23:41:43 329c88fbcd65: Download complete 23:41:44 c0a3192eca97: Pull complete 23:41:44 a050256f5b6f: Pull complete 23:41:44 8a5474983e97: Verifying Checksum 23:41:44 8a5474983e97: Download complete 23:41:45 656be50a0ddc: Verifying Checksum 23:41:45 656be50a0ddc: Download complete 23:42:00 656be50a0ddc: Pull complete 23:42:00 2bbca73fdf42: Pull complete 23:42:00 46d945488cbd: Pull complete 23:42:06 8a5474983e97: Pull complete 23:42:07 329c88fbcd65: Pull complete 23:42:07 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:42:07 ---> ff4287adb874 23:42:07 Step 3/13 : ARG MAKE="make build" 23:42:09 ---> Running in b0dc22c0b79a 23:42:09 Removing intermediate container b0dc22c0b79a 23:42:09 ---> 8b2671f30614 23:42:09 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:42:09 ---> Running in 5015e3657cea 23:42:10 Removing intermediate container 5015e3657cea 23:42:10 ---> fa4fc15701e6 23:42:10 Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:42:10 ---> Running in f14240faae62 23:42:10 Removing intermediate container f14240faae62 23:42:10 ---> b21894350181 23:42:10 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:10 ---> Running in dc39c505f4df 23:42:12 Removing intermediate container dc39c505f4df 23:42:12 ---> 66f1625ade48 23:42:12 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:13 ---> Running in 187171a22747 23:42:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:42:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:42:16 (1/14) Installing libintl (0.21-r2) 23:42:16 (2/14) Installing eudev-libs (3.2.11-r0) 23:42:16 (3/14) Installing libjpeg-turbo (2.1.3-r1) 23:42:16 (4/14) Installing v4l-utils-libs (1.22.1-r1) 23:42:16 (5/14) Installing v4l-utils (1.22.1-r1) 23:42:16 (6/14) Installing udev-init-scripts (35-r0) 23:42:16 Executing udev-init-scripts-35-r0.post-install 23:42:16 (7/14) Installing libblkid (2.38-r1) 23:42:16 (8/14) Installing xz-libs (5.2.5-r1) 23:42:17 (9/14) Installing zstd-libs (1.5.2-r1) 23:42:17 (10/14) Installing kmod-libs (29-r2) 23:42:17 (11/14) Installing eudev (3.2.11-r0) 23:42:17 (12/14) Installing eudev-dev (3.2.11-r0) 23:42:17 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:42:17 (14/14) Installing v4l-utils-dev (1.22.1-r1) 23:42:17 Executing busybox-1.35.0-r13.trigger 23:42:17 Executing eudev-3.2.11-r0.trigger 23:42:17 OK: 228 MiB in 65 packages 23:42:19 Removing intermediate container 187171a22747 23:42:19 ---> b362ced86d5b 23:42:19 Step 8/13 : WORKDIR /device-usb-camera 23:42:19 ---> Running in ab74d78b8b65 23:42:19 Removing intermediate container ab74d78b8b65 23:42:19 ---> 425d75c28667 23:42:19 Step 9/13 : COPY go.mod vendor* ./ 23:42:19 ---> 5bda5894de9d 23:42:19 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:19 ---> Running in fd544720312f 23:43:16 Removing intermediate container fd544720312f 23:43:16 ---> fbe28b199c26 23:43:16 Step 11/13 : COPY . . 23:43:16 ---> af1dd76252db 23:43:16 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:43:16 ---> Running in 967c3a9acddf 23:43:16  % Total  % Received % Xferd Average Speed Time Time Time Current 23:43:16 Dload Upload  Total Spent Left Speed 23:43:16 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 15507 0 --:--:-- --:--:-- --:--:-- 15850 23:43:16 Removing intermediate container 967c3a9acddf 23:43:16 ---> 07e51a24bd5e 23:43:16 Step 13/13 : RUN ${MAKE} 23:43:16 ---> Running in c0143e68651c 23:43:16 noop 23:43:16 Removing intermediate container c0143e68651c 23:43:16 ---> 2a82690985d8 23:43:16 Successfully built 2a82690985d8 23:43:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:16 + docker inspect -f . ci-base-image-arm64 23:43:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:17 prd-ubuntu20.04-docker-arm64-4c-16g-21169 does not seem to be running inside a container 23:43:17 $ 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 ******** ci-base-image-arm64 cat 23:43:18 $ docker top 3740c7dec5220e2261569285eaafcff849de10b339149cf1881f18af841935a3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:19 + go version 23:43:19 go version go1.18.3 linux/arm64 [Pipeline] } 23:43:19 $ docker stop --time=1 3740c7dec5220e2261569285eaafcff849de10b339149cf1881f18af841935a3 23:43:21 $ docker rm -f 3740c7dec5220e2261569285eaafcff849de10b339149cf1881f18af841935a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:22 + docker inspect -f . ci-base-image-arm64 23:43:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:22 prd-ubuntu20.04-docker-arm64-4c-16g-21169 does not seem to be running inside a container 23:43:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** ci-base-image-arm64 cat 23:43:23 $ docker top 8ee30a77b722bf4274d7b3a08fe80c0ff20b2fa25b6bb2ae99bed12959cb08cf -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:24 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 23:43:25 + make test 23:43:25 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:43:27 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:45:03 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:45:03 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.070s coverage: 2.2% of statements 23:45:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:45:03 CGO_ENABLED=1 go vet ./... 23:45:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:21 [edgeX.isLTS] Checking if [fix-device-name2] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:21 $ docker stop --time=1 8ee30a77b722bf4274d7b3a08fe80c0ff20b2fa25b6bb2ae99bed12959cb08cf 23:45:22 $ docker rm -f 8ee30a77b722bf4274d7b3a08fe80c0ff20b2fa25b6bb2ae99bed12959cb08cf [Pipeline] // withDockerContainer [Pipeline] sh 23:45:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:24 Warning: overwriting stash ‘coverage-report’ 23:45:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:25 + ls -al . 23:45:25 total 184 23:45:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:45 . 23:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:41 .. 23:45:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 26 23:41 .git 23:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:41 .github 23:45:25 -rw-rw-r-- 1 jenkins jenkins 414 Jul 26 23:41 .gitignore 23:45:25 -rw-rw-r-- 1 jenkins jenkins 42 Jul 26 23:41 .golangci.yml 23:45:25 -rw-rw-r-- 1 jenkins jenkins 77 Jul 26 23:41 .hadolint.yml 23:45:25 -rw-rw-r-- 1 jenkins jenkins 9065 Jul 26 23:41 Attribution.txt 23:45:25 -rw-rw-r-- 1 jenkins jenkins 181 Jul 26 23:41 CHANGELOG.md 23:45:25 -rw-rw-r-- 1 jenkins jenkins 2410 Jul 26 23:41 Dockerfile 23:45:25 -rw-rw-r-- 1 jenkins jenkins 678 Jul 26 23:41 GOVERNANCE.md 23:45:25 -rw-rw-r-- 1 jenkins jenkins 659 Jul 26 23:41 Jenkinsfile 23:45:25 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 26 23:41 LICENSE 23:45:25 -rw-rw-r-- 1 jenkins jenkins 2345 Jul 26 23:41 Makefile 23:45:25 -rw-rw-r-- 1 jenkins jenkins 622 Jul 26 23:41 OWNERS.md 23:45:25 -rw-rw-r-- 1 jenkins jenkins 11382 Jul 26 23:41 README.md 23:45:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 26 23:37 VERSION 23:45:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 26 23:41 bin 23:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:41 cmd 23:45:25 -rw-r--r-- 1 jenkins jenkins 26812 Jul 26 23:44 coverage.out 23:45:25 -rwxrwxr-x 1 jenkins jenkins 140 Jul 26 23:41 docker-entrypoint.sh 23:45:25 -rw-rw-r-- 1 jenkins jenkins 3382 Jul 26 23:41 go.mod 23:45:25 -rw-rw-r-- 1 jenkins jenkins 35824 Jul 26 23:41 go.sum 23:45:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 26 23:41 internal 23:45:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 26 23:41 snap 23:45:25 -rw-rw-r-- 1 jenkins jenkins 231 Jul 26 23:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:25 + 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=87197160d8e02de6bfdab55aabd7af7d8b666e21 --label arch=arm64 --label version=0.0.0 . 23:45:26 Sending build context to Docker daemon 513kB 23:45:26 Step 1/35 : ARG BASE=golang:1.17-alpine3.15 23:45:26 Step 2/35 : FROM ${BASE} AS builder 23:45:26 ---> 2a82690985d8 23:45:26 Step 3/35 : ARG MAKE="make build" 23:45:26 ---> Running in 87dac256b80c 23:45:26 Removing intermediate container 87dac256b80c 23:45:26 ---> 2b86c40be7d7 23:45:26 Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:45:26 ---> Running in bc1697f4cff9 23:45:26 Removing intermediate container bc1697f4cff9 23:45:26 ---> 5a8d482ca68b 23:45:26 Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:45:26 ---> Running in 439c143929ba 23:45:27 Removing intermediate container 439c143929ba 23:45:27 ---> 4570faa6a297 23:45:27 Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:45:27 ---> Running in 4676e91277e8 23:45:29 Removing intermediate container 4676e91277e8 23:45:29 ---> 8362d306496a 23:45:29 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:29 ---> Running in 22848322d656 23:45:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:45:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:45:31 OK: 228 MiB in 65 packages 23:45:32 Removing intermediate container 22848322d656 23:45:32 ---> 621782950dad 23:45:32 Step 8/35 : WORKDIR /device-usb-camera 23:45:32 ---> Running in 85dcdc1f324a 23:45:32 Removing intermediate container 85dcdc1f324a 23:45:32 ---> 84d0077cafc7 23:45:32 Step 9/35 : COPY go.mod vendor* ./ 23:45:33 ---> 4412d1de69b2 23:45:33 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:33 ---> Running in fb20c36ddf77 23:45:35 Removing intermediate container fb20c36ddf77 23:45:35 ---> 1c99fd0adfe5 23:45:35 Step 11/35 : COPY . . 23:45:36 ---> d23186f0f8a8 23:45:36 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:45:36 ---> Running in 8ff343fababa 23:45:37   % Total % Received % Xferd Average Speed Time Time Time Current 23:45:37  Dload Upload Total Spent Left Speed 23:45:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14866 0 --:--:-- --:--:-- --:--:-- 15171 23:45:38 Removing intermediate container 8ff343fababa 23:45:38 ---> fe96bcfeeec6 23:45:38 Step 13/35 : RUN ${MAKE} 23:45:38 ---> Running in 009b36154c07 23:45:39 CGO_ENABLED=1 go build -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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 23:48:00 Removing intermediate container 009b36154c07 23:48:00 ---> 501a18eadc90 23:48:00 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 23:48:00 v0.18.4: Pulling from aler9/rtsp-simple-server 23:48:00 eab2503cf8f4: Pulling fs layer 23:48:00 97cd0a44c592: Pulling fs layer 23:48:00 97cd0a44c592: Verifying Checksum 23:48:00 97cd0a44c592: Download complete 23:48:00 eab2503cf8f4: Download complete 23:48:00 eab2503cf8f4: Pull complete 23:48:00 97cd0a44c592: Pull complete 23:48:00 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 23:48:00 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 23:48:00 ---> 7f763cca56b3 23:48:00 Step 15/35 : FROM alpine:3.15 23:48:00 3.15: Pulling from library/alpine 23:48:00 e0295fd11fe2: Pulling fs layer 23:48:00 e0295fd11fe2: Verifying Checksum 23:48:00 e0295fd11fe2: Download complete 23:48:00 e0295fd11fe2: Pull complete 23:48:00 Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a 23:48:00 Status: Downloaded newer image for alpine:3.15 23:48:00 ---> 60f2846fe774 23:48:00 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:48:00 ---> Running in 2d108ffa8b30 23:48:00 Removing intermediate container 2d108ffa8b30 23:48:00 ---> 974da98f39e7 23:48:00 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 23:48:00 ---> Running in 144abdaab97b 23:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:48:00 (1/73) Installing dumb-init (1.2.5-r1) 23:48:00 (2/73) Installing sdl2 (2.0.16-r4) 23:48:00 (3/73) Installing libxau (1.0.9-r0) 23:48:00 (4/73) Installing libmd (1.0.3-r0) 23:48:00 (5/73) Installing libbsd (0.11.3-r1) 23:48:00 (6/73) Installing libxdmcp (1.1.3-r0) 23:48:00 (7/73) Installing libxcb (1.14-r2) 23:48:00 (8/73) Installing libx11 (1.7.2-r0) 23:48:00 (9/73) Installing aom-libs (3.2.0-r0) 23:48:00 (10/73) Installing alsa-lib (1.2.5.1-r1) 23:48:00 (11/73) Installing expat (2.4.7-r0) 23:48:00 (12/73) Installing brotli-libs (1.0.9-r5) 23:48:00 (13/73) Installing libbz2 (1.0.8-r1) 23:48:00 (14/73) Installing libpng (1.6.37-r1) 23:48:00 (15/73) Installing freetype (2.11.1-r2) 23:48:00 (16/73) Installing libuuid (2.37.4-r0) 23:48:00 (17/73) Installing fontconfig (2.13.1-r4) 23:48:00 (18/73) Installing fribidi (1.0.11-r0) 23:48:00 (19/73) Installing libffi (3.4.2-r1) 23:48:00 (20/73) Installing libintl (0.21-r0) 23:48:00 (21/73) Installing libblkid (2.37.4-r0) 23:48:00 (22/73) Installing libmount (2.37.4-r0) 23:48:00 (23/73) Installing pcre (8.45-r1) 23:48:00 (24/73) Installing glib (2.70.1-r0) 23:48:00 (25/73) Installing graphite2 (1.3.14-r0) 23:48:00 (26/73) Installing harfbuzz (3.0.0-r2) 23:48:00 (27/73) Installing libass (0.15.2-r0) 23:48:00 (28/73) Installing libdav1d (0.9.2-r0) 23:48:00 (29/73) Installing gmp (6.2.1-r1) 23:48:00 (30/73) Installing nettle (3.7.3-r0) 23:48:00 (31/73) Installing p11-kit (0.24.0-r1) 23:48:00 (32/73) Installing libtasn1 (4.18.0-r0) 23:48:00 (33/73) Installing libunistring (0.9.10-r1) 23:48:00 (34/73) Installing gnutls (3.7.1-r0) 23:48:00 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) 23:48:00 (36/73) Installing ncurses-libs (6.3_p20211120-r1) 23:48:00 (37/73) Installing lame (3.100-r0) 23:48:00 (38/73) Installing opus (1.3.1-r1) 23:48:00 (39/73) Installing libgomp (10.3.1_git20211027-r0) 23:48:00 (40/73) Installing soxr (0.1.3-r2) 23:48:00 (41/73) Installing libgcc (10.3.1_git20211027-r0) 23:48:00 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 23:48:00 (43/73) Installing libsrt (1.4.2-r1) 23:48:00 (44/73) Installing libssh (0.9.6-r1) 23:48:00 (45/73) Installing libogg (1.3.5-r0) 23:48:00 (46/73) Installing libtheora (1.1.1-r16) 23:48:00 (47/73) Installing libjpeg-turbo (2.1.2-r0) 23:48:00 (48/73) Installing v4l-utils-libs (1.22.1-r1) 23:48:00 (49/73) Installing libxext (1.3.4-r0) 23:48:00 (50/73) Installing libxfixes (6.0.0-r0) 23:48:00 (51/73) Installing libdrm (2.4.109-r0) 23:48:00 (52/73) Installing wayland-libs-client (1.19.0-r1) 23:48:00 (53/73) Installing libva (2.13.0-r0) 23:48:00 (54/73) Installing libvdpau (1.4-r0) 23:48:00 (55/73) Installing vidstab (1.1.0-r1) 23:48:00 (56/73) Installing libvorbis (1.3.7-r0) 23:48:00 (57/73) Installing libvpx (1.10.0-r0) 23:48:00 (58/73) Installing vulkan-loader (1.2.196-r0) 23:48:00 (59/73) Installing libwebp (1.2.2-r0) 23:48:00 (60/73) Installing x264-libs (20210613-r0) 23:48:00 (61/73) Installing x265-libs (3.5-r0) 23:48:01 (62/73) Installing xvidcore (1.3.7-r1) 23:48:01 (63/73) Installing ffmpeg-libs (4.4.1-r2) 23:48:01 (64/73) Installing ffmpeg (4.4.1-r2) 23:48:01 (65/73) Installing udev-init-scripts (35-r0) 23:48:01 Executing udev-init-scripts-35-r0.post-install 23:48:01 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 23:48:01 (67/73) Installing xz-libs (5.2.5-r1) 23:48:01 (68/73) Installing zstd-libs (1.5.0-r0) 23:48:01 (69/73) Installing kmod-libs (29-r2) 23:48:01 (70/73) Installing eudev (3.2.11_pre1-r0) 23:48:01 (71/73) Installing libsodium (1.0.18-r0) 23:48:01 (72/73) Installing libzmq (4.3.4-r0) 23:48:01 (73/73) Installing zeromq (4.3.4-r0) 23:48:01 Executing busybox-1.34.1-r7.trigger 23:48:01 Executing eudev-3.2.11_pre1-r0.trigger 23:48:01 OK: 67 MiB in 87 packages 23:48:05 Removing intermediate container 144abdaab97b 23:48:05 ---> 7253c181f434 23:48:05 Step 18/35 : WORKDIR / 23:48:05 ---> Running in 4edaea3e9134 23:48:05 Removing intermediate container 4edaea3e9134 23:48:05 ---> 477ee2ac41d4 23:48:05 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 23:48:06 ---> becfe676facd 23:48:06 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 23:48:07 ---> 1ed26104f784 23:48:07 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:48:07 ---> 33212a4b3ec0 23:48:07 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:48:08 ---> de6c7fd272a2 23:48:08 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:48:09 ---> 130520bc3566 23:48:09 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 23:48:09 ---> a8d6a2668a55 23:48:09 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 23:48:11 ---> 85c2d4018883 23:48:11 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 23:48:11 ---> Running in 6f334fac8114 23:48:13 Removing intermediate container 6f334fac8114 23:48:13 ---> eb3c3b2fd58f 23:48:13 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 23:48:13 ---> Running in 31f71649b1d0 23:48:14 Removing intermediate container 31f71649b1d0 23:48:14 ---> bb440e45dcb6 23:48:14 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 23:48:14 ---> Running in 85af569c0f77 23:48:16 Removing intermediate container 85af569c0f77 23:48:16 ---> 3d8f5657967c 23:48:16 Step 29/35 : EXPOSE 59983 23:48:16 ---> Running in 7c446f7ec938 23:48:16 Removing intermediate container 7c446f7ec938 23:48:16 ---> a5237e834254 23:48:16 Step 30/35 : EXPOSE 8554 23:48:16 ---> Running in df51c5772965 23:48:17 Removing intermediate container df51c5772965 23:48:17 ---> 17922c334146 23:48:17 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:48:17 ---> Running in 24b842f85ed0 23:48:17 Removing intermediate container 24b842f85ed0 23:48:17 ---> 05b95d1aa37d 23:48:17 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 23:48:17 ---> Running in 65aee0b497fe 23:48:17 Removing intermediate container 65aee0b497fe 23:48:17 ---> b58e31397a0e 23:48:17 Step 33/35 : LABEL arch=arm64 23:48:17 ---> Running in 5cb4fd0fb4f6 23:48:18 Removing intermediate container 5cb4fd0fb4f6 23:48:18 ---> dfe7c0ee344e 23:48:18 Step 34/35 : LABEL git_sha=87197160d8e02de6bfdab55aabd7af7d8b666e21 23:48:18 ---> Running in ddbfd3595e53 23:48:18 Removing intermediate container ddbfd3595e53 23:48:18 ---> dffe8d657723 23:48:18 Step 35/35 : LABEL version=0.0.0 23:48:18 ---> Running in d5c0bd1a5329 23:48:19 Removing intermediate container d5c0bd1a5329 23:48:19 ---> 89bf060f1936 23:48:19 [Warning] One or more build-args [ARCH] were not consumed 23:48:19 Successfully built 89bf060f1936 23:48:19 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 23:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:19 23:48:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:20 arm64: Pulling from edgex-lftools-log-publisher 23:48:20 8998bd30e6a1: Pulling fs layer 23:48:20 04944245beec: Pulling fs layer 23:48:20 699f458cf7ca: Pulling fs layer 23:48:20 765212b225bb: Pulling fs layer 23:48:20 f23df028b6ca: Pulling fs layer 23:48:20 d65c8cfc05b1: Pulling fs layer 23:48:20 2437ff75d9bd: Pulling fs layer 23:48:20 d65c8cfc05b1: Waiting 23:48:20 765212b225bb: Waiting 23:48:20 2437ff75d9bd: Waiting 23:48:20 f23df028b6ca: Waiting 23:48:20 04944245beec: Verifying Checksum 23:48:20 04944245beec: Download complete 23:48:20 765212b225bb: Download complete 23:48:20 f23df028b6ca: Verifying Checksum 23:48:20 f23df028b6ca: Download complete 23:48:20 d65c8cfc05b1: Verifying Checksum 23:48:20 d65c8cfc05b1: Download complete 23:48:20 699f458cf7ca: Verifying Checksum 23:48:20 699f458cf7ca: Download complete 23:48:21 8998bd30e6a1: Verifying Checksum 23:48:21 8998bd30e6a1: Download complete 23:48:23 2437ff75d9bd: Verifying Checksum 23:48:23 2437ff75d9bd: Download complete 23:48:25 8998bd30e6a1: Pull complete 23:48:26 04944245beec: Pull complete 23:48:27 699f458cf7ca: Pull complete 23:48:27 765212b225bb: Pull complete 23:48:28 f23df028b6ca: Pull complete 23:48:28 d65c8cfc05b1: Pull complete 23:48:43 2437ff75d9bd: Pull complete 23:48:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:48:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:44 prd-ubuntu20.04-docker-arm64-4c-16g-21169 does not seem to be running inside a container 23:48:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:48:47 $ docker top 4320a11ebf2cef88f0f5994512969de6bd566b9ad0d94767843b08e33cc30d91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:48 ---> job-cost.sh 23:48:48 lf-activate-venv: SKIPPING 23:48:48 INFO: No Stack... 23:48:48 INFO: Retrieving Pricing Info for: v3-standard-4 23:48:49 INFO: Archiving Costs [Pipeline] sh 23:48:50 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 23:48:50 + cut -d, -f6 [Pipeline] lock 23:48:50 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] 23:48:50 Resource [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] did not exist. Created. 23:48:50 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:48:50 /w/workspace/device-usb-camera/1@tmp/durable-222ac86e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:48:51 + echo total: 0.10999999940395355 [Pipeline] stash 23:48:51 Warning: overwriting stash ‘stack-cost’ 23:48:51 Stashed 1 file(s) [Pipeline] } 23:48:51 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-fix-device-name2-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:51 $ docker stop --time=1 4320a11ebf2cef88f0f5994512969de6bd566b9ad0d94767843b08e33cc30d91 23:48:53 $ docker rm -f 4320a11ebf2cef88f0f5994512969de6bd566b9ad0d94767843b08e33cc30d91 [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 23:48:54 provisioning config files... 23:48:54 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/vice-usb-camera_fix-device-name2@tmp/config4015767075569194475tmp [Pipeline] { [Pipeline] sh 23:48:54 + set +x 23:48:54 + curl -s https://codecov.io/bash 23:48:54 + bash -s -- 23:48:54 23:48:54 _____ _ 23:48:54 / ____| | | 23:48:54 | | ___ __| | ___ ___ _____ __ 23:48:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:48:54 | |___| (_) | (_| | __/ (_| (_) \ V / 23:48:54 \_____\___/ \__,_|\___|\___\___/ \_/ 23:48:54 Bash-1.0.6 23:48:54 23:48:54 23:48:54 ==> git version 2.25.1 found 23:48:54 ==> 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 23:48:54 Release-Date: 2020-01-08 23:48:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:48:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:48:54 ==> Jenkins CI detected. 23:48:54 current dir:  /w/workspace/vice-usb-camera_fix-device-name2 23:48:54 project root: . 23:48:54 --> token set from env 23:48:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:48:54 ==> Running gcov in . (disable via -X gcov) 23:48:54 ==> Python coveragepy not found 23:48:54 ==> Searching for coverage reports in: 23:48:54 + . 23:48:54 -> Found 1 reports 23:48:54 ==> Detecting git/mercurial file structure 23:48:54 ==> Reading reports 23:48:54 + ./coverage.out bytes=26812 23:48:54 ==> Appending adjustments 23:48:54 https://docs.codecov.io/docs/fixing-reports 23:48:54 + Found adjustments 23:48:54 ==> Gzipping contents 23:48:54 4.0K /tmp/codecov.jpOF58.gz 23:48:54 ==> Uploading reports 23:48:54 url: https://codecov.io 23:48:54 query: branch=fix-device-name2&commit=87197160d8e02de6bfdab55aabd7af7d8b666e21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Ffix-device-name2%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:48:54 -> Pinging Codecov 23:48:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=fix-device-name2&commit=87197160d8e02de6bfdab55aabd7af7d8b666e21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Ffix-device-name2%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:48:55 -> Uploading to 23:48:55 https://storage.googleapis.com/codecov/v4/raw/2022-07-26/73D8F5FF140700D3E01443B452E23636/87197160d8e02de6bfdab55aabd7af7d8b666e21/fda67ca8-de91-41d8-90dd-e34160d4e2c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220726%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220726T234854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=34a0f5f6332dab446818041de2499440fda5511b066dd7a4aba1e1580b47436e 23:48:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:48:55 Dload Upload Total Spent Left Speed 23:48:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3752 0 0 100 3752 0 16750 --:--:-- --:--:-- --:--:-- 16750 23:48:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/87197160d8e02de6bfdab55aabd7af7d8b666e21 [Pipeline] } 23:48:55 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 23:48:57 + [ -d /w/workspace/vice-usb-camera_fix-device-name2/archives ] 23:48:57 + ls -al /w/workspace/vice-usb-camera_fix-device-name2/archives 23:48:57 total 16 23:48:57 drwxr-xr-x 3 root root 4096 Jul 26 23:39 . 23:48:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 23:39 .. 23:48:57 drwxr-xr-x 2 root root 4096 Jul 26 23:39 cost 23:48:57 -rw-r--r-- 1 root root 99 Jul 26 23:39 cost.csv 23:48:57 + sudo chown -R jenkins:jenkins /w/workspace/vice-usb-camera_fix-device-name2/archives 23:48:57 + ls -al /w/workspace/vice-usb-camera_fix-device-name2/archives 23:48:57 total 16 23:48:57 drwxr-xr-x 3 jenkins jenkins 4096 Jul 26 23:39 . 23:48:57 drwxrwxr-x 10 jenkins jenkins 4096 Jul 26 23:39 .. 23:48:57 drwxr-xr-x 2 jenkins jenkins 4096 Jul 26 23:39 cost 23:48:57 -rw-r--r-- 1 jenkins jenkins 99 Jul 26 23:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:48:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:48:58 ---> package-listing.sh 23:48:58 ++ facter osfamily 23:48:58 ++ tr '[:upper:]' '[:lower:]' 23:48:58 + OS_FAMILY=debian 23:48:58 + workspace=/w/workspace/vice-usb-camera_fix-device-name2 23:48:58 + START_PACKAGES=/tmp/packages_start.txt 23:48:58 + END_PACKAGES=/tmp/packages_end.txt 23:48:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:48:58 + PACKAGES=/tmp/packages_start.txt 23:48:58 + '[' /w/workspace/vice-usb-camera_fix-device-name2 ']' 23:48:58 + PACKAGES=/tmp/packages_end.txt 23:48:58 + case "${OS_FAMILY}" in 23:48:58 + dpkg -l 23:48:58 + grep '^ii' 23:48:58 + '[' -f /tmp/packages_start.txt ']' 23:48:58 + '[' -f /tmp/packages_end.txt ']' 23:48:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:48:58 + '[' /w/workspace/vice-usb-camera_fix-device-name2 ']' 23:48:58 + mkdir -p /w/workspace/vice-usb-camera_fix-device-name2/archives/ 23:48:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/vice-usb-camera_fix-device-name2/archives/ [Pipeline] echo 23:48:58 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/vice-usb-camera_fix-device-name2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:48:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:59 prd-ubuntu20.04-docker-8c-8g-21167 does not seem to be running inside a container 23:48:59 $ 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/vice-usb-camera_fix-device-name2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/vice-usb-camera_fix-device-name2 -v /w/workspace/vice-usb-camera_fix-device-name2:/w/workspace/vice-usb-camera_fix-device-name2:rw,z -v /w/workspace/vice-usb-camera_fix-device-name2@tmp:/w/workspace/vice-usb-camera_fix-device-name2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:49:00 $ docker top 7d2eb6088a8d3db4fb804cea5c1dab398d3753780d3e9fcec7e8b228688e8b8c -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:49:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:49:01 + ls /var/log/sa-host 23:49:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:49:01 provisioning config files... 23:49:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/vice-usb-camera_fix-device-name2@tmp/config459686720476061636tmp [Pipeline] { [Pipeline] echo 23:49:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:49:01 ---> create-netrc.sh [Pipeline] } 23:49:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:49:01 ---> python-tools-install.sh [Pipeline] echo 23:49:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:49:02 ---> sudo-logs.sh 23:49:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:49:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:49:02 ---> job-cost.sh 23:49:02 lf-activate-venv: SKIPPING 23:49:02 DEBUG: total: 0.2199999988079071 23:49:02 INFO: Retrieving Stack Cost... 23:49:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:49:03 INFO: Archiving Costs [Pipeline] echo 23:49:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:49:03 ---> logs-deploy.sh 23:49:03 lf-activate-venv: SKIPPING 23:49:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/fix-device-name2/1 23:49:03 INFO: archiving workspace using pattern(s): 23:49:04 Archives upload complete. 23:49:04 INFO: archiving logs to Nexus