Pull request #183 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e+ed547cb9b404855c4500ba28f125032074ed2dc3 (3bb6c95499a65861a25622b4b1561094e9d60167) 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-ssh1577246924585075470.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16116480558676126902.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1819285053459357863.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/PR-183/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5129745951326638697.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh1865169036430593378.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-183/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9485802455038247153.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-256 in /w/workspace/foundry_device-usb-camera_PR-183 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-183 # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e Merge succeeded, producing 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e Checking out Revision 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e (PR-183) > git config core.sparsecheckout # timeout=10 > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:56:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:56:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:56:11 ========================================================= 20:56:11 EdgeX Global Pipelines Version Info 20:56:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:56:12 ------------------- 20:56:12 stable info: 20:56:12 ------------------- 20:56:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:56:12 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:56:12 Message: update stable to v1.0.245 20:56:12 ------------------- 20:56:12 experimental info: 20:56:12 ------------------- 20:56:12 Commited By: **** collab-it+edgex@linuxfoundation.org 20:56:12 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:56:12 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:56:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:56:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:56:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:56:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-183 [Pipeline] echo 20:56:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-183 [Pipeline] echo 20:56:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-183 [Pipeline] echo 20:56:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo 20:56:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90e2dc0 [Pipeline] echo 20:56:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:14 provisioning config files... 20:56:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config3713766510321985176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:14 ---> docker-login.sh 20:56:14 nexus3.edgexfoundry.org:10001 20:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:14 Configure a credential helper to remove this warning. See 20:56:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:14 20:56:14 Login Succeeded 20:56:14 nexus3.edgexfoundry.org:10002 20:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:15 Configure a credential helper to remove this warning. See 20:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:15 20:56:15 Login Succeeded 20:56:15 nexus3.edgexfoundry.org:10003 20:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:15 Configure a credential helper to remove this warning. See 20:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:15 20:56:15 Login Succeeded 20:56:15 nexus3.edgexfoundry.org:10004 20:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:15 Configure a credential helper to remove this warning. See 20:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:15 20:56:15 Login Succeeded 20:56:15 docker.io 20:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:15 Configure a credential helper to remove this warning. See 20:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:15 20:56:15 Login Succeeded 20:56:15 ---> docker-login.sh ends [Pipeline] } 20:56:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:56:16 + git rev-list -1 --merges 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e~1..90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo 20:56:16 -----------> git rev-list -1 --merges 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e~1..90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [false] [Pipeline] sh 20:56:16 + git log --format=format:%s -1 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo 20:56:16 ========================================================= 20:56:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:56:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:16 + git log --format=format:%s -1 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] echo 20:56:16 [semverPrep] GIT_COMMIT: 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo 20:56:17 [semverPrep] This is not a build commit. [Pipeline] sh 20:56:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:17 + grep -v github /etc/ssh/ssh_known_hosts 20:56:17 + [ -e /tmp/ssh_known_hosts ] 20:56:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:56:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:56:17 + sudo tee -a /etc/ssh/ssh_known_hosts 20:56:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:17 20:56:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:18 0.1.4: Pulling from edgex-devops/py-git-semver 20:56:18 b85a868b505f: Pulling fs layer 20:56:18 e2be974225ed: Pulling fs layer 20:56:18 339a4e72a1f5: Pulling fs layer 20:56:18 988bab9f4d93: Pulling fs layer 20:56:18 1469e6f7b9e6: Pulling fs layer 20:56:18 eaf3925da568: Pulling fs layer 20:56:18 bab4dde63d76: Pulling fs layer 20:56:18 bde34c3a00c8: Pulling fs layer 20:56:18 b352a97aabf1: Pulling fs layer 20:56:18 4872d77fe225: Pulling fs layer 20:56:18 5851b861e8e6: Pulling fs layer 20:56:18 988bab9f4d93: Waiting 20:56:18 bde34c3a00c8: Waiting 20:56:18 eaf3925da568: Waiting 20:56:18 1469e6f7b9e6: Waiting 20:56:18 b352a97aabf1: Waiting 20:56:18 4872d77fe225: Waiting 20:56:18 bab4dde63d76: Waiting 20:56:18 5851b861e8e6: Waiting 20:56:18 e2be974225ed: Verifying Checksum 20:56:18 e2be974225ed: Download complete 20:56:18 988bab9f4d93: Download complete 20:56:18 1469e6f7b9e6: Verifying Checksum 20:56:18 1469e6f7b9e6: Download complete 20:56:18 eaf3925da568: Verifying Checksum 20:56:18 eaf3925da568: Download complete 20:56:18 339a4e72a1f5: Verifying Checksum 20:56:18 339a4e72a1f5: Download complete 20:56:18 bde34c3a00c8: Verifying Checksum 20:56:18 bde34c3a00c8: Download complete 20:56:18 b352a97aabf1: Verifying Checksum 20:56:18 b352a97aabf1: Download complete 20:56:18 4872d77fe225: Verifying Checksum 20:56:18 4872d77fe225: Download complete 20:56:18 5851b861e8e6: Verifying Checksum 20:56:18 5851b861e8e6: Download complete 20:56:18 b85a868b505f: Verifying Checksum 20:56:18 b85a868b505f: Download complete 20:56:19 bab4dde63d76: Verifying Checksum 20:56:19 bab4dde63d76: Download complete 20:56:20 b85a868b505f: Pull complete 20:56:20 e2be974225ed: Pull complete 20:56:20 339a4e72a1f5: Pull complete 20:56:20 988bab9f4d93: Pull complete 20:56:20 1469e6f7b9e6: Pull complete 20:56:20 eaf3925da568: Pull complete 20:56:22 bab4dde63d76: Pull complete 20:56:22 bde34c3a00c8: Pull complete 20:56:22 b352a97aabf1: Pull complete 20:56:23 4872d77fe225: Pull complete 20:56:23 5851b861e8e6: Pull complete 20:56:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:56:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:23 prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container 20:56:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:56:24 $ docker top e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc -eo pid,comm 20:56:24 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). 20:56:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:25 [ssh-agent] Looking for ssh-agent implementation... 20:56:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:25 $ docker exec e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent 20:56:25 SSH_AUTH_SOCK=/tmp/ssh-odg5ckCk3P2n/agent.33 20:56:25 SSH_AGENT_PID=39 20:56:25 Running ssh-add (command line suppressed) 20:56:25 Identity added: /w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_12387599332532807924.key (/w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_12387599332532807924.key) 20:56:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:25 + git tag --points-at HEAD [Pipeline] } 20:56:25 $ docker exec --env ******** --env ******** e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent -k 20:56:25 unset SSH_AUTH_SOCK; 20:56:25 unset SSH_AGENT_PID; 20:56:25 echo Agent pid 39 killed; 20:56:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:56:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:25 [ssh-agent] Looking for ssh-agent implementation... 20:56:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:26 $ docker exec e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent 20:56:26 SSH_AUTH_SOCK=/tmp/ssh-J0jDHO8JTsWr/agent.72 20:56:26 SSH_AGENT_PID=78 20:56:26 Running ssh-add (command line suppressed) 20:56:26 Identity added: /w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_11618665781290372973.key (/w/workspace/foundry_device-usb-camera_PR-183@tmp/private_key_11618665781290372973.key) 20:56:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:26 + git semver init 20:56:26 2023-03-14 20:56:26,825 [run_init] DEBUG init version:0.0.0 force:False 20:56:26 2023-03-14 20:56:26,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-183/.semver 20:56:26 2023-03-14 20:56:26,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-183/.semver 20:56:26 2023-03-14 20:56:26,826 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-183/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-183, universal_newlines=False, shell=None, istream=None) 20:56:27 2023-03-14 20:56:27,571 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-183/.git/info/exclude 20:56:27 2023-03-14 20:56:27,572 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-183/.semver/PR-183 with force:False 20:56:27 2023-03-14 20:56:27,572 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-183/.semver/PR-183 20:56:27 2023-03-14 20:56:27,577 [execute] INFO git cat-file --batch-check 20:56:27 2023-03-14 20:56:27,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) 20:56:27 2023-03-14 20:56:27,585 [execute] INFO git cat-file --batch 20:56:27 2023-03-14 20:56:27,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-183/.semver, universal_newlines=False, shell=None, istream=) 20:56:27 2023-03-14 20:56:27,591 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-183/.semver/PR-183 20:56:27 0.0.0 [Pipeline] } 20:56:27 $ docker exec --env ******** --env ******** e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc ssh-agent -k 20:56:27 unset SSH_AUTH_SOCK; 20:56:27 unset SSH_AGENT_PID; 20:56:27 echo Agent pid 78 killed; 20:56:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:56:28 + git semver [Pipeline] } 20:56:28 $ docker stop --time=1 e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc 20:56:30 $ docker rm -f --volumes e94ef30ec7d3afaed5acd4502f600673479483027ba9727eee37dce023a218dc [Pipeline] // withDockerContainer [Pipeline] sh 20:56:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:56:30 Stashed 1 file(s) [Pipeline] echo 20:56:30 [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 20:56:31 provisioning config files... 20:56:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config10833008796539312924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:31 ---> docker-login.sh 20:56:31 nexus3.edgexfoundry.org:10001 20:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:31 Configure a credential helper to remove this warning. See 20:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:31 20:56:31 Login Succeeded 20:56:31 nexus3.edgexfoundry.org:10002 20:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:31 Configure a credential helper to remove this warning. See 20:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:31 20:56:31 Login Succeeded 20:56:31 nexus3.edgexfoundry.org:10003 20:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:31 Configure a credential helper to remove this warning. See 20:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:31 20:56:31 Login Succeeded 20:56:31 nexus3.edgexfoundry.org:10004 20:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:31 Configure a credential helper to remove this warning. See 20:56:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:31 20:56:31 Login Succeeded 20:56:31 docker.io 20:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:32 Configure a credential helper to remove this warning. See 20:56:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:32 20:56:32 Login Succeeded 20:56:32 ---> docker-login.sh ends [Pipeline] } 20:56:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:32 ========================================================= 20:56:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:56:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:56:32 Sending build context to Docker daemon 1.83MB 20:56:32 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:56:32 Step 2/13 : FROM ${BASE} AS builder 20:56:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:32 63b65145d645: Pulling fs layer 20:56:32 a2d21d5440eb: Pulling fs layer 20:56:32 935e6c44a52c: Pulling fs layer 20:56:32 94cc34f8dd06: Pulling fs layer 20:56:32 30dea6a524f1: Pulling fs layer 20:56:32 a2aff8979fd8: Pulling fs layer 20:56:32 6808be2612f2: Pulling fs layer 20:56:32 f25807f1079a: Pulling fs layer 20:56:32 94cc34f8dd06: Waiting 20:56:32 30dea6a524f1: Waiting 20:56:32 f25807f1079a: Waiting 20:56:32 a2aff8979fd8: Waiting 20:56:32 6808be2612f2: Waiting 20:56:32 a2d21d5440eb: Download complete 20:56:32 94cc34f8dd06: Download complete 20:56:33 30dea6a524f1: Verifying Checksum 20:56:33 30dea6a524f1: Download complete 20:56:33 63b65145d645: Verifying Checksum 20:56:33 63b65145d645: Download complete 20:56:33 a2aff8979fd8: Verifying Checksum 20:56:33 a2aff8979fd8: Download complete 20:56:33 63b65145d645: Pull complete 20:56:33 a2d21d5440eb: Pull complete 20:56:33 f25807f1079a: Verifying Checksum 20:56:33 f25807f1079a: Download complete 20:56:33 935e6c44a52c: Verifying Checksum 20:56:33 935e6c44a52c: Download complete 20:56:33 6808be2612f2: Verifying Checksum 20:56:33 6808be2612f2: Download complete 20:56:37 935e6c44a52c: Pull complete 20:56:37 94cc34f8dd06: Pull complete 20:56:37 30dea6a524f1: Pull complete 20:56:37 a2aff8979fd8: Pull complete 20:56:39 6808be2612f2: Pull complete 20:56:40 f25807f1079a: Pull complete 20:56:40 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:56:40 ---> 3b553350e43f 20:56:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:56:42 ---> Running in b087d28cc454 20:56:42 Removing intermediate container b087d28cc454 20:56:42 ---> 175bb932531d 20:56:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:42 ---> Running in bd860089a72c 20:56:42 Removing intermediate container bd860089a72c 20:56:42 ---> 7d12c69541fc 20:56:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:56:42 ---> Running in f5774b04651d 20:56:42 Removing intermediate container f5774b04651d 20:56:42 ---> f3d82696976d 20:56:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:56:42 ---> Running in 6c843106d5ea 20:56:42 Removing intermediate container 6c843106d5ea 20:56:42 ---> 837c4a1dc067 20:56:42 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:42 ---> Running in 187ed571824d 20:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:56:43 (1/14) Installing libintl (0.21.1-r1) 20:56:43 (2/14) Installing eudev-libs (3.2.11-r4) 20:56:43 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:56:43 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:56:43 (5/14) Installing v4l-utils (1.22.1-r2) 20:56:43 (6/14) Installing udev-init-scripts (35-r1) 20:56:43 (7/14) Installing libblkid (2.38.1-r1) 20:56:43 (8/14) Installing xz-libs (5.2.9-r0) 20:56:43 (9/14) Installing zstd-libs (1.5.2-r9) 20:56:43 (10/14) Installing kmod-libs (30-r1) 20:56:43 (11/14) Installing eudev (3.2.11-r4) 20:56:43 (12/14) Installing eudev-dev (3.2.11-r4) 20:56:43 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:56:43 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:56:43 Executing busybox-1.35.0-r29.trigger 20:56:43 Executing eudev-3.2.11-r4.trigger 20:56:43 OK: 272 MiB in 67 packages 20:56:44 Removing intermediate container 187ed571824d 20:56:44 ---> 2864cc810d8f 20:56:44 Step 8/13 : WORKDIR /device-usb-camera 20:56:44 ---> Running in 2f381f8def0c 20:56:44 Removing intermediate container 2f381f8def0c 20:56:44 ---> ce35fd1b5fcf 20:56:44 Step 9/13 : COPY go.mod vendor* ./ 20:56:44 ---> e0ba59071e92 20:56:44 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:44 ---> Running in 9c37caa34ada 20:56:46 Still waiting to schedule task 20:56:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-254’ 20:57:11 Removing intermediate container 9c37caa34ada 20:57:11 ---> fae46a165393 20:57:11 Step 11/13 : COPY . . 20:57:11 ---> a5658ba753b7 20:57:11 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:57:11 ---> Running in 861d11a65bb4 20:57:11  % Total % Received % Xferd Average Speed Time Time Time Current 20:57:11   Dload Upload Total Spent Left Speed 20:57:11 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7172 0 --:--:-- --:--:-- --:--:-- 7224 20:57:11 Removing intermediate container 861d11a65bb4 20:57:11 ---> ad84c7f178c0 20:57:11 Step 13/13 : RUN ${MAKE} 20:57:11 ---> Running in 6aa301e44ddf 20:57:11 noop 20:57:11 Removing intermediate container 6aa301e44ddf 20:57:11 ---> fef36bf41dcc 20:57:11 Successfully built fef36bf41dcc 20:57:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:11 + docker inspect -f . ci-base-image-x86_64 20:57:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:11 prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container 20:57:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:12 $ docker top c1e8ae6d821e3ebca717c87a655b8b752e7cacaaa852522c6c9f3e3326295c23 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:12 + go version 20:57:12 go version go1.20.2 linux/amd64 [Pipeline] } 20:57:12 $ docker stop --time=1 c1e8ae6d821e3ebca717c87a655b8b752e7cacaaa852522c6c9f3e3326295c23 20:57:13 $ docker rm -f --volumes c1e8ae6d821e3ebca717c87a655b8b752e7cacaaa852522c6c9f3e3326295c23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:14 + docker inspect -f . ci-base-image-x86_64 20:57:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:14 prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container 20:57:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:57:14 $ docker top e4923e269328fc3a14bb235c7dc8a5241531092be195552f1b383bc6d539c88f -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:15 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-183 [Pipeline] fileExists [Pipeline] sh 20:57:15 + make test 20:57:15 go test ./... -coverprofile=coverage.out ./... 20:57:20 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:57:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:57:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 2.0% of statements 20:57:37 go vet ./... 20:57:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:57:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:57:40 ./bin/test-attribution-txt.sh [Pipeline] echo 20:57:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:57:40 $ docker stop --time=1 e4923e269328fc3a14bb235c7dc8a5241531092be195552f1b383bc6d539c88f 20:57:42 $ docker rm -f --volumes e4923e269328fc3a14bb235c7dc8a5241531092be195552f1b383bc6d539c88f [Pipeline] // withDockerContainer [Pipeline] sh 20:57:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:57:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:57:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:57:44 + ls -al . 20:57:44 total 188 20:57:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 20:57 . 20:57:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 .. 20:57:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:56 .git 20:57:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 .github 20:57:44 -rw-rw-r-- 1 jenkins jenkins 414 Mar 14 20:56 .gitignore 20:57:44 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 20:56 .golangci.yml 20:57:44 -rw-rw-r-- 1 jenkins jenkins 77 Mar 14 20:56 .hadolint.yml 20:57:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:56 .semver 20:57:44 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 14 20:56 Attribution.txt 20:57:44 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 14 20:56 CHANGELOG.md 20:57:44 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 14 20:56 Dockerfile 20:57:44 -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 20:56 GOVERNANCE.md 20:57:44 -rw-rw-r-- 1 jenkins jenkins 659 Mar 14 20:56 Jenkinsfile 20:57:44 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 14 20:56 LICENSE 20:57:44 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 14 20:56 Makefile 20:57:44 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:56 OWNERS.md 20:57:44 -rw-rw-r-- 1 jenkins jenkins 5271 Mar 14 20:56 README.md 20:57:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:56 VERSION 20:57:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:56 bin 20:57:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 cmd 20:57:44 -rw-r--r-- 1 jenkins jenkins 28352 Mar 14 20:57 coverage.out 20:57:44 -rwxrwxr-x 1 jenkins jenkins 140 Mar 14 20:56 docker-entrypoint.sh 20:57:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 docs 20:57:44 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 14 20:56 go.mod 20:57:44 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 14 20:56 go.sum 20:57:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:56 internal 20:57:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:56 snap 20:57:44 -rw-rw-r-- 1 jenkins jenkins 231 Mar 14 20:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:44 + 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=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e --label arch=amd64 --label version=0.0.0 . 20:57:44 Sending build context to Docker daemon 1.86MB 20:57:44 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 20:57:44 Step 2/35 : FROM ${BASE} AS builder 20:57:44 ---> fef36bf41dcc 20:57:44 Step 3/35 : ARG ADD_BUILD_TAGS="" 20:57:44 ---> Running in 8b70a9880dcc 20:57:44 Removing intermediate container 8b70a9880dcc 20:57:44 ---> 0e029c2dd551 20:57:44 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:57:45 ---> Running in b0462c1dc7c2 20:57:45 Removing intermediate container b0462c1dc7c2 20:57:45 ---> 6eb946848675 20:57:45 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:57:45 ---> Running in 4c71fc42371e 20:57:45 Removing intermediate container 4c71fc42371e 20:57:45 ---> acf2c3145a53 20:57:45 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:57:45 ---> Running in 601f92af2f12 20:57:45 Removing intermediate container 601f92af2f12 20:57:45 ---> bd1c9225bfa3 20:57:45 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:45 ---> Running in f905000f8d27 20:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:57:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:57:45 OK: 272 MiB in 67 packages 20:57:46 Removing intermediate container f905000f8d27 20:57:46 ---> 9b59862312cf 20:57:46 Step 8/35 : WORKDIR /device-usb-camera 20:57:46 ---> Running in 261d3b538fb3 20:57:46 Removing intermediate container 261d3b538fb3 20:57:46 ---> db36b213a28d 20:57:46 Step 9/35 : COPY go.mod vendor* ./ 20:57:46 ---> f09420525d72 20:57:46 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:46 ---> Running in f0354dee7db3 20:57:47 Removing intermediate container f0354dee7db3 20:57:47 ---> 5fd32c3d39c4 20:57:47 Step 11/35 : COPY . . 20:57:47 ---> d63c9d8c563e 20:57:47 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:57:47 ---> Running in 836e868918f5 20:57:47  % Total % Received % Xferd Average Speed Time Time Time Current 20:57:47 Dload Upload Total Spent Left Speed 20:57:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 16661 0 --:--:-- --:--:-- --:--:-- 16857 20:57:48 Removing intermediate container 836e868918f5 20:57:48 ---> 75649f4bb10e 20:57:48 Step 13/35 : RUN ${MAKE} 20:57:48 ---> Running in a39ea65cb217 20:57:48 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:58:06 Removing intermediate container a39ea65cb217 20:58:06 ---> cf85fc0da91d 20:58:06 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:58:06 v0.21.6: Pulling from aler9/rtsp-simple-server 20:58:06 4acc49c71d14: Pulling fs layer 20:58:07 4acc49c71d14: Download complete 20:58:07 4acc49c71d14: Pull complete 20:58:07 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:58:07 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:58:07 ---> 01a2bd3e5fff 20:58:07 Step 15/35 : FROM alpine:3.17 20:58:08 3.17: Pulling from library/alpine 20:58:08 63b65145d645: Already exists 20:58:08 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:58:08 Status: Downloaded newer image for alpine:3.17 20:58:08 ---> b2aa39c304c2 20:58:08 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:58:08 ---> Running in 6e6394b2ffed 20:58:08 Removing intermediate container 6e6394b2ffed 20:58:08 ---> f01c992f3e70 20:58:08 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:58:08 ---> Running in ac6e49fe54d5 20:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:58:08 (1/86) Installing dumb-init (1.2.5-r2) 20:58:08 (2/86) Installing sdl2 (2.26.3-r0) 20:58:08 (3/86) Installing svt-av1-libs (1.3.0-r0) 20:58:09 (4/86) Installing libxau (1.0.10-r0) 20:58:09 (5/86) Installing libmd (1.0.4-r0) 20:58:09 (6/86) Installing libbsd (0.11.7-r0) 20:58:09 (7/86) Installing libxdmcp (1.1.4-r0) 20:58:09 (8/86) Installing libxcb (1.15-r0) 20:58:09 (9/86) Installing libx11 (1.8.4-r0) 20:58:09 (10/86) Installing aom-libs (3.5.0-r0) 20:58:09 (11/86) Installing alsa-lib (1.2.8-r0) 20:58:09 (12/86) Installing libexpat (2.5.0-r0) 20:58:09 (13/86) Installing brotli-libs (1.0.9-r9) 20:58:09 (14/86) Installing libbz2 (1.0.8-r4) 20:58:09 (15/86) Installing libpng (1.6.38-r0) 20:58:09 (16/86) Installing freetype (2.12.1-r0) 20:58:09 (17/86) Installing fontconfig (2.14.1-r0) 20:58:09 (18/86) Installing fribidi (1.0.12-r0) 20:58:09 (19/86) Installing libffi (3.4.4-r0) 20:58:09 (20/86) Installing libintl (0.21.1-r1) 20:58:09 (21/86) Installing libblkid (2.38.1-r1) 20:58:09 (22/86) Installing libmount (2.38.1-r1) 20:58:09 (23/86) Installing pcre2 (10.42-r0) 20:58:09 (24/86) Installing glib (2.74.6-r0) 20:58:09 (25/86) Installing graphite2 (1.3.14-r2) 20:58:09 (26/86) Installing harfbuzz (5.3.1-r1) 20:58:09 (27/86) Installing libass (0.16.0-r1) 20:58:09 (28/86) Installing libdav1d (1.0.0-r2) 20:58:09 (29/86) Installing hwdata-pci (0.364-r0) 20:58:09 (30/86) Installing libpciaccess (0.17-r0) 20:58:09 (31/86) Installing libdrm (2.4.114-r0) 20:58:09 (32/86) Installing gmp (6.2.1-r2) 20:58:09 (33/86) Installing nettle (3.8.1-r0) 20:58:09 (34/86) Installing p11-kit (0.24.1-r1) 20:58:09 (35/86) Installing libtasn1 (4.19.0-r0) 20:58:09 (36/86) Installing libunistring (1.1-r0) 20:58:09 (37/86) Installing gnutls (3.7.8-r3) 20:58:09 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 20:58:09 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 20:58:09 (40/86) Installing lame (3.100-r2) 20:58:09 (41/86) Installing opus (1.3.1-r1) 20:58:09 (42/86) Installing libasyncns (0.8-r1) 20:58:09 (43/86) Installing dbus-libs (1.14.4-r0) 20:58:09 (44/86) Installing libltdl (2.4.7-r1) 20:58:09 (45/86) Installing orc (0.4.33-r0) 20:58:09 (46/86) Installing libgcc (12.2.1_git20220924-r4) 20:58:09 (47/86) Installing libogg (1.3.5-r2) 20:58:09 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 20:58:09 (49/86) Installing flac-libs (1.4.2-r0) 20:58:09 (50/86) Installing libvorbis (1.3.7-r0) 20:58:09 (51/86) Installing libsndfile (1.1.0-r2) 20:58:09 (52/86) Installing libgomp (12.2.1_git20220924-r4) 20:58:09 (53/86) Installing soxr (0.1.3-r3) 20:58:09 (54/86) Installing speexdsp (1.2.1-r0) 20:58:09 (55/86) Installing tdb-libs (1.4.7-r0) 20:58:09 (56/86) Installing libpulse (16.1-r6) 20:58:09 (57/86) Installing cjson (1.7.15-r3) 20:58:09 (58/86) Installing mbedtls (2.28.2-r0) 20:58:09 (59/86) Installing librist (0.2.7-r0) 20:58:09 (60/86) Installing libsrt (1.5.1-r0) 20:58:09 (61/86) Installing libssh (0.10.4-r0) 20:58:09 (62/86) Installing libtheora (1.1.1-r16) 20:58:09 (63/86) Installing libjpeg-turbo (2.1.4-r0) 20:58:09 (64/86) Installing v4l-utils-libs (1.22.1-r2) 20:58:09 (65/86) Installing libxext (1.3.5-r0) 20:58:09 (66/86) Installing libxfixes (6.0.0-r0) 20:58:09 (67/86) Installing wayland-libs-client (1.21.0-r1) 20:58:09 (68/86) Installing libva (2.16.0-r0) 20:58:09 (69/86) Installing libvdpau (1.5-r0) 20:58:09 (70/86) Installing vidstab (1.1.0-r2) 20:58:09 (71/86) Installing libvpx (1.12.0-r1) 20:58:09 (72/86) Installing libwebp (1.2.4-r1) 20:58:09 (73/86) Installing x264-libs (0.164_git20220602-r0) 20:58:09 (74/86) Installing numactl (2.0.16-r1) 20:58:09 (75/86) Installing x265-libs (3.5-r3) 20:58:09 (76/86) Installing xvidcore (1.3.7-r1) 20:58:09 (77/86) Installing libsodium (1.0.18-r2) 20:58:09 (78/86) Installing libzmq (4.3.4-r1) 20:58:09 (79/86) Installing ffmpeg-libs (5.1.2-r1) 20:58:10 (80/86) Installing ffmpeg (5.1.2-r1) 20:58:10 (81/86) Installing udev-init-scripts (35-r1) 20:58:10 (82/86) Installing eudev-libs (3.2.11-r4) 20:58:10 (83/86) Installing xz-libs (5.2.9-r0) 20:58:10 (84/86) Installing zstd-libs (1.5.2-r9) 20:58:10 (85/86) Installing kmod-libs (30-r1) 20:58:10 (86/86) Installing eudev (3.2.11-r4) 20:58:10 Executing busybox-1.35.0-r29.trigger 20:58:10 Executing eudev-3.2.11-r4.trigger 20:58:10 OK: 111 MiB in 101 packages 20:58:11 Removing intermediate container ac6e49fe54d5 20:58:11 ---> 37835590d1c3 20:58:11 Step 18/35 : WORKDIR / 20:58:11 ---> Running in 1267cc9f6142 20:58:11 Removing intermediate container 1267cc9f6142 20:58:11 ---> 23dd5c6d6597 20:58:11 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 20:58:12 ---> 003314c2fa84 20:58:12 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 20:58:12 ---> f44c955de346 20:58:12 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:58:12 ---> 3b2f47573c5d 20:58:12 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:58:12 ---> a6fe7f0ad7d2 20:58:12 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:58:12 ---> d0315ecb4369 20:58:12 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 20:58:12 ---> 1f077fc630c6 20:58:12 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 20:58:13 ---> d44be48b3b72 20:58:13 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:58:13 ---> Running in f095549a640e 20:58:13 Removing intermediate container f095549a640e 20:58:13 ---> 95ea174c40b1 20:58:13 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:58:13 ---> Running in 172038d131ea 20:58:14 Removing intermediate container 172038d131ea 20:58:14 ---> be675f5b81ac 20:58:14 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:58:14 ---> Running in 9fa4349adac7 20:58:15 Removing intermediate container 9fa4349adac7 20:58:15 ---> a6d5bd604cfa 20:58:15 Step 29/35 : EXPOSE 59983 20:58:15 ---> Running in f378dcb2a7a0 20:58:15 Removing intermediate container f378dcb2a7a0 20:58:15 ---> 0d9a06808cbb 20:58:15 Step 30/35 : EXPOSE 8554 20:58:15 ---> Running in 3dfa852ec5db 20:58:15 Removing intermediate container 3dfa852ec5db 20:58:15 ---> d15e3a07b079 20:58:15 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:58:15 ---> Running in 081024df1223 20:58:15 Removing intermediate container 081024df1223 20:58:15 ---> 498bdb5979d2 20:58:15 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:58:15 ---> Running in 06ac11d11889 20:58:16 Removing intermediate container 06ac11d11889 20:58:16 ---> 4b99c274dd8c 20:58:16 Step 33/35 : LABEL arch=amd64 20:58:16 ---> Running in 0ad24f1f6e29 20:58:16 Removing intermediate container 0ad24f1f6e29 20:58:16 ---> 9f2091cfe9f4 20:58:16 Step 34/35 : LABEL git_sha=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e 20:58:16 ---> Running in 6d9e64cf1b8a 20:58:16 Removing intermediate container 6d9e64cf1b8a 20:58:16 ---> 3ca3e18d611f 20:58:16 Step 35/35 : LABEL version=0.0.0 20:58:16 ---> Running in 0002ff1a2f02 20:58:16 Removing intermediate container 0002ff1a2f02 20:58:16 ---> c19f669dc3ab 20:58:16 [Warning] One or more build-args [ARCH] were not consumed 20:58:16 Successfully built c19f669dc3ab 20:58:16 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 20:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:17 20:58:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:17 latest: Pulling from edgex-lftools-log-publisher 20:58:17 5eb5b503b376: Pulling fs layer 20:58:17 5c69ac0246d0: Pulling fs layer 20:58:17 ec43610c2a17: Pulling fs layer 20:58:17 3a2ae6a8a46f: Pulling fs layer 20:58:17 33b1e0a273af: Pulling fs layer 20:58:17 5d3b04190fa2: Pulling fs layer 20:58:17 2f39f015ded8: Pulling fs layer 20:58:17 33b1e0a273af: Waiting 20:58:17 5d3b04190fa2: Waiting 20:58:17 2f39f015ded8: Waiting 20:58:17 3a2ae6a8a46f: Waiting 20:58:17 5c69ac0246d0: Download complete 20:58:17 3a2ae6a8a46f: Verifying Checksum 20:58:17 3a2ae6a8a46f: Download complete 20:58:17 33b1e0a273af: Verifying Checksum 20:58:17 33b1e0a273af: Download complete 20:58:17 ec43610c2a17: Verifying Checksum 20:58:17 ec43610c2a17: Download complete 20:58:17 5d3b04190fa2: Download complete 20:58:17 5eb5b503b376: Verifying Checksum 20:58:17 5eb5b503b376: Download complete 20:58:18 2f39f015ded8: Download complete 20:58:18 5eb5b503b376: Pull complete 20:58:18 5c69ac0246d0: Pull complete 20:58:19 ec43610c2a17: Pull complete 20:58:19 3a2ae6a8a46f: Pull complete 20:58:19 33b1e0a273af: Pull complete 20:58:19 5d3b04190fa2: Pull complete 20:58:23 2f39f015ded8: Pull complete 20:58:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:24 prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container 20:58:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:58:25 $ docker top 51c6674d8df653079ed8ffd72902122527b8667208ac500ebdaa0e5dbe912062 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:26 ---> job-cost.sh 20:58:26 lf-activate-venv: SKIPPING 20:58:26 INFO: No Stack... 20:58:26 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:26 INFO: Archiving Costs [Pipeline] sh 20:58:26 + cat /w/workspace/foundry_device-usb-camera_PR-183/archives/cost.csv 20:58:26 + cut -d, -f6 [Pipeline] lock 20:58:26 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] 20:58:26 Resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] did not exist. Created. 20:58:26 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:27 + echo total: 0.2199999988079071 [Pipeline] stash 20:58:27 Stashed 1 file(s) [Pipeline] } 20:58:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:27 $ docker stop --time=1 51c6674d8df653079ed8ffd72902122527b8667208ac500ebdaa0e5dbe912062 20:58:28 $ docker rm -f --volumes 51c6674d8df653079ed8ffd72902122527b8667208ac500ebdaa0e5dbe912062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-262 in /w/workspace/foundry_device-usb-camera_PR-183 [Pipeline] { [Pipeline] ws 20:59:19 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 20:59:19 Selected Git installation does not exist. Using Default 20:59:19 The recommended git tool is: NONE 20:59:25 using credential edgex-jenkins-ssh 20:59:25 Cloning the remote Git repository 20:59:25 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:59:25 > git init /w/workspace/device-usb-camera/1 # timeout=10 20:59:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:59:25 > git --version # timeout=10 20:59:25 > git --version # 'git version 2.25.1' 20:59:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:59:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:59:28 Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e 20:59:29 Merge succeeded, producing 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e 20:59:29 Checking out Revision 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e (PR-183) 20:59:28 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:59:28 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:59:28 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/183/head:refs/remotes/origin/PR-183 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:59:28 > git config core.sparsecheckout # timeout=10 20:59:28 > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # timeout=10 20:59:28 > git remote # timeout=10 20:59:29 > git config --get remote.origin.url # timeout=10 20:59:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:59:29 > git merge ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 20:59:29 > git rev-parse HEAD^{commit} # timeout=10 20:59:29 > git config core.sparsecheckout # timeout=10 20:59:29 > git checkout -f 90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e # timeout=10 20:59:32 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" 20:59:32 > git --version # timeout=10 20:59:32 > git --version # 'git version 2.25.1' 20:59:32 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:59:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:34 Dload Upload Total Spent Left Speed 20:59:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72039 0 --:--:-- --:--:-- --:--:-- 72039 100 12751 100 12751 0 0 71634 0 --:--:-- --:--:-- --:--:-- 71234 [Pipeline] sh 20:59:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:35 + sudo tee /etc/docker/daemon.new 20:59:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:59:35 { 20:59:35 "registry-mirrors": [ 20:59:35 "https://nexus3.edgexfoundry.org:10001" 20:59:35 ], 20:59:35 "bip": "10.250.0.254/24", 20:59:35 "hosts": [ 20:59:35 "tcp://0.0.0.0:5555", 20:59:35 "unix:///var/run/docker.sock" 20:59:35 ], 20:59:35 "mtu": 1458, 20:59:35 "selinux-enabled": true, 20:59:35 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:35 } [Pipeline] sh 20:59:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:54 provisioning config files... 20:59:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config11771141017648542692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:54 ---> docker-login.sh 20:59:54 nexus3.edgexfoundry.org:10001 20:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:55 Configure a credential helper to remove this warning. See 20:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:55 20:59:55 Login Succeeded 20:59:55 nexus3.edgexfoundry.org:10002 20:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:55 Configure a credential helper to remove this warning. See 20:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:55 20:59:55 Login Succeeded 20:59:55 nexus3.edgexfoundry.org:10003 20:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:56 Configure a credential helper to remove this warning. See 20:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:56 20:59:56 Login Succeeded 20:59:56 nexus3.edgexfoundry.org:10004 20:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:56 Configure a credential helper to remove this warning. See 20:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:56 20:59:56 Login Succeeded 20:59:56 docker.io 20:59:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:57 Configure a credential helper to remove this warning. See 20:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:57 20:59:57 Login Succeeded 20:59:57 ---> docker-login.sh ends [Pipeline] } 20:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:57 ========================================================= 20:59:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:59:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:59:58 Sending build context to Docker daemon 1.184MB 20:59:58 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:59:58 Step 2/13 : FROM ${BASE} AS builder 20:59:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:59:58 af6eaf76a39c: Pulling fs layer 20:59:58 55522c791124: Pulling fs layer 20:59:58 ce5c4a1c91eb: Pulling fs layer 20:59:58 169dfbe0d373: Pulling fs layer 20:59:58 e1ff8fa3b103: Pulling fs layer 20:59:58 169dfbe0d373: Waiting 20:59:58 52ebb69f0ebf: Pulling fs layer 20:59:58 e1ff8fa3b103: Waiting 20:59:58 5abe8eddf0d5: Pulling fs layer 20:59:58 52ebb69f0ebf: Waiting 20:59:58 5abe8eddf0d5: Waiting 20:59:58 55522c791124: Verifying Checksum 20:59:58 55522c791124: Download complete 20:59:58 169dfbe0d373: Verifying Checksum 20:59:58 169dfbe0d373: Download complete 20:59:58 e1ff8fa3b103: Verifying Checksum 20:59:58 e1ff8fa3b103: Download complete 20:59:59 af6eaf76a39c: Download complete 21:00:00 af6eaf76a39c: Pull complete 21:00:00 5abe8eddf0d5: Verifying Checksum 21:00:00 5abe8eddf0d5: Download complete 21:00:00 55522c791124: Pull complete 21:00:01 52ebb69f0ebf: Verifying Checksum 21:00:01 52ebb69f0ebf: Download complete 21:00:01 ce5c4a1c91eb: Download complete 21:00:14 ce5c4a1c91eb: Pull complete 21:00:14 169dfbe0d373: Pull complete 21:00:14 e1ff8fa3b103: Pull complete 21:00:20 52ebb69f0ebf: Pull complete 21:00:22 5abe8eddf0d5: Pull complete 21:00:22 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:00:22 ---> 6cb57ee374ae 21:00:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:00:24 ---> Running in aa396b4e3f7d 21:00:25 Removing intermediate container aa396b4e3f7d 21:00:25 ---> 3f7269a45083 21:00:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:25 ---> Running in 0ae6bf2a2ebb 21:00:25 Removing intermediate container 0ae6bf2a2ebb 21:00:25 ---> e889b1126168 21:00:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:00:25 ---> Running in af87986867a9 21:00:26 Removing intermediate container af87986867a9 21:00:26 ---> 1c8f22a61826 21:00:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:00:26 ---> Running in 970dd524c024 21:00:26 Removing intermediate container 970dd524c024 21:00:26 ---> e7fd308b8327 21:00:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:26 ---> Running in 11c7a9275765 21:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:00:29 (1/14) Installing libintl (0.21.1-r1) 21:00:29 (2/14) Installing eudev-libs (3.2.11-r4) 21:00:29 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:00:29 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:00:29 (5/14) Installing v4l-utils (1.22.1-r2) 21:00:29 (6/14) Installing udev-init-scripts (35-r1) 21:00:29 (7/14) Installing libblkid (2.38.1-r1) 21:00:29 (8/14) Installing xz-libs (5.2.9-r0) 21:00:29 (9/14) Installing zstd-libs (1.5.2-r9) 21:00:29 (10/14) Installing kmod-libs (30-r1) 21:00:29 (11/14) Installing eudev (3.2.11-r4) 21:00:29 (12/14) Installing eudev-dev (3.2.11-r4) 21:00:29 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:00:29 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:00:29 Executing busybox-1.35.0-r29.trigger 21:00:29 Executing eudev-3.2.11-r4.trigger 21:00:29 OK: 271 MiB in 67 packages 21:00:31 Removing intermediate container 11c7a9275765 21:00:31 ---> da13b195e247 21:00:31 Step 8/13 : WORKDIR /device-usb-camera 21:00:31 ---> Running in 4199c249e679 21:00:31 Removing intermediate container 4199c249e679 21:00:31 ---> cd2d8015c5eb 21:00:31 Step 9/13 : COPY go.mod vendor* ./ 21:00:32 ---> 15cd43427bed 21:00:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:32 ---> Running in b52fcd7ffcbd 21:01:40 Removing intermediate container b52fcd7ffcbd 21:01:40 ---> d339af4b6faa 21:01:40 Step 11/13 : COPY . . 21:01:40 ---> 923b0acd4be7 21:01:40 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:01:40 ---> Running in 459f46c24caf 21:01:40  % Total % Received % Xferd Average Speed Time Time Time Current 21:01:40 Dload Upload Total Spent Left Speed 21:01:40 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100  1062 100 1062 0 0 3425 0 --:--:-- --:--:-- --:--:-- 3436 21:01:40 Removing intermediate container 459f46c24caf 21:01:40 ---> 45ea5a60c7b6 21:01:40 Step 13/13 : RUN ${MAKE} 21:01:40 ---> Running in e105dd00a6ae 21:01:40 noop 21:01:40 Removing intermediate container e105dd00a6ae 21:01:40 ---> cdda5c0ce894 21:01:40 Successfully built cdda5c0ce894 21:01:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:40 + docker inspect -f . ci-base-image-arm64 21:01:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:41 prd-ubuntu20.04-docker-arm64-4c-16g-262 does not seem to be running inside a container 21:01:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:01:42 $ docker top 5e9060fcbb358be5602cad23b550f83d0873a15301580d9fb1ee18c57a723562 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:43 + go version 21:01:43 go version go1.20.2 linux/arm64 [Pipeline] } 21:01:43 $ docker stop --time=1 5e9060fcbb358be5602cad23b550f83d0873a15301580d9fb1ee18c57a723562 21:01:45 $ docker rm -f --volumes 5e9060fcbb358be5602cad23b550f83d0873a15301580d9fb1ee18c57a723562 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:45 + docker inspect -f . ci-base-image-arm64 21:01:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:46 prd-ubuntu20.04-docker-arm64-4c-16g-262 does not seem to be running inside a container 21:01:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:01:47 $ docker top 80b3b754eb67240f81b774c69988e2570fe95459e06fde2c51567b0722cf7186 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:48 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 21:01:49 + make test 21:01:49 go test ./... -coverprofile=coverage.out ./... 21:02:27 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:05:04 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:05:04 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.078s coverage: 2.0% of statements 21:05:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:04 go vet ./... 21:05:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:31 $ docker stop --time=1 80b3b754eb67240f81b774c69988e2570fe95459e06fde2c51567b0722cf7186 21:05:33 $ docker rm -f --volumes 80b3b754eb67240f81b774c69988e2570fe95459e06fde2c51567b0722cf7186 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:34 Warning: overwriting stash ‘coverage-report’ 21:05:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:36 + ls -al . 21:05:36 total 184 21:05:36 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 21:01 . 21:05:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:59 .. 21:05:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 20:59 .git 21:05:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:59 .github 21:05:36 -rw-rw-r-- 1 jenkins jenkins 414 Mar 14 20:59 .gitignore 21:05:36 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 20:59 .golangci.yml 21:05:36 -rw-rw-r-- 1 jenkins jenkins 77 Mar 14 20:59 .hadolint.yml 21:05:36 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 14 20:59 Attribution.txt 21:05:36 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 14 20:59 CHANGELOG.md 21:05:36 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 14 20:59 Dockerfile 21:05:36 -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 20:59 GOVERNANCE.md 21:05:36 -rw-rw-r-- 1 jenkins jenkins 659 Mar 14 20:59 Jenkinsfile 21:05:36 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 14 20:59 LICENSE 21:05:36 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 14 20:59 Makefile 21:05:36 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 20:59 OWNERS.md 21:05:36 -rw-rw-r-- 1 jenkins jenkins 5271 Mar 14 20:59 README.md 21:05:36 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 20:56 VERSION 21:05:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 20:59 bin 21:05:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:59 cmd 21:05:36 -rw-r--r-- 1 jenkins jenkins 28352 Mar 14 21:04 coverage.out 21:05:36 -rwxrwxr-x 1 jenkins jenkins 140 Mar 14 20:59 docker-entrypoint.sh 21:05:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:59 docs 21:05:36 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 14 20:59 go.mod 21:05:36 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 14 20:59 go.sum 21:05:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 20:59 internal 21:05:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 20:59 snap 21:05:36 -rw-rw-r-- 1 jenkins jenkins 231 Mar 14 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:36 + 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=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e --label arch=arm64 --label version=0.0.0 . 21:05:37 Sending build context to Docker daemon 1.213MB 21:05:37 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 21:05:37 Step 2/35 : FROM ${BASE} AS builder 21:05:37 ---> cdda5c0ce894 21:05:37 Step 3/35 : ARG ADD_BUILD_TAGS="" 21:05:37 ---> Running in 5aa0db78edb7 21:05:37 Removing intermediate container 5aa0db78edb7 21:05:37 ---> 14c47d2732d4 21:05:37 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:37 ---> Running in 819b1f91b73a 21:05:38 Removing intermediate container 819b1f91b73a 21:05:38 ---> 07c6440872f5 21:05:38 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:05:38 ---> Running in ca35fe71b94d 21:05:38 Removing intermediate container ca35fe71b94d 21:05:38 ---> d84b7990e970 21:05:38 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:05:38 ---> Running in 8389618466ba 21:05:42 Removing intermediate container 8389618466ba 21:05:42 ---> 352d367f7f02 21:05:42 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:42 ---> Running in 4fa68f5483de 21:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:05:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:05:45 OK: 271 MiB in 67 packages 21:05:46 Removing intermediate container 4fa68f5483de 21:05:46 ---> a310a51ace24 21:05:46 Step 8/35 : WORKDIR /device-usb-camera 21:05:46 ---> Running in 2f189b9a9d0b 21:05:46 Removing intermediate container 2f189b9a9d0b 21:05:46 ---> e244795f3055 21:05:46 Step 9/35 : COPY go.mod vendor* ./ 21:05:47 ---> 5288f8c47485 21:05:47 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:47 ---> Running in 24ce07ab015a 21:05:52 Removing intermediate container 24ce07ab015a 21:05:52 ---> 6f226aae36d2 21:05:52 Step 11/35 : COPY . . 21:05:53 ---> ccf5b727100f 21:05:53 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:05:53 ---> Running in 5cd40d9ff7fd 21:05:54  % Total % Received % Xferd Average Speed Time Time Time Current 21:05:54 Dload Upload Total Spent Left Speed 21:05:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2553 0 --:--:-- --:--:-- --:--:-- 2565 21:05:55 Removing intermediate container 5cd40d9ff7fd 21:05:55 ---> b97e554f5736 21:05:55 Step 13/35 : RUN ${MAKE} 21:05:55 ---> Running in 79d0615ee09b 21:05:57 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:08:49 Removing intermediate container 79d0615ee09b 21:08:49 ---> b7663edcfb16 21:08:49 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:08:49 v0.21.6: Pulling from aler9/rtsp-simple-server 21:08:49 8766b47fe142: Pulling fs layer 21:08:49 8766b47fe142: Verifying Checksum 21:08:49 8766b47fe142: Download complete 21:08:49 8766b47fe142: Pull complete 21:08:49 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:08:49 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:08:49 ---> 69d40e2cb93c 21:08:49 Step 15/35 : FROM alpine:3.17 21:08:49 3.17: Pulling from library/alpine 21:08:49 af6eaf76a39c: Already exists 21:08:49 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:08:49 Status: Downloaded newer image for alpine:3.17 21:08:49 ---> d74e625d9115 21:08:49 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:08:50 ---> Running in e81b19122467 21:08:50 Removing intermediate container e81b19122467 21:08:50 ---> 3a96886fb832 21:08:50 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:08:50 ---> Running in 46d2c28a4e7b 21:08:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:08:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:08:53 (1/83) Installing dumb-init (1.2.5-r2) 21:08:53 (2/83) Installing sdl2 (2.26.3-r0) 21:08:53 (3/83) Installing libxau (1.0.10-r0) 21:08:53 (4/83) Installing libmd (1.0.4-r0) 21:08:53 (5/83) Installing libbsd (0.11.7-r0) 21:08:53 (6/83) Installing libxdmcp (1.1.4-r0) 21:08:53 (7/83) Installing libxcb (1.15-r0) 21:08:53 (8/83) Installing libx11 (1.8.4-r0) 21:08:53 (9/83) Installing aom-libs (3.5.0-r0) 21:08:53 (10/83) Installing alsa-lib (1.2.8-r0) 21:08:53 (11/83) Installing libexpat (2.5.0-r0) 21:08:53 (12/83) Installing brotli-libs (1.0.9-r9) 21:08:53 (13/83) Installing libbz2 (1.0.8-r4) 21:08:53 (14/83) Installing libpng (1.6.38-r0) 21:08:53 (15/83) Installing freetype (2.12.1-r0) 21:08:54 (16/83) Installing fontconfig (2.14.1-r0) 21:08:54 (17/83) Installing fribidi (1.0.12-r0) 21:08:54 (18/83) Installing libffi (3.4.4-r0) 21:08:54 (19/83) Installing libintl (0.21.1-r1) 21:08:54 (20/83) Installing libblkid (2.38.1-r1) 21:08:54 (21/83) Installing libmount (2.38.1-r1) 21:08:54 (22/83) Installing pcre2 (10.42-r0) 21:08:54 (23/83) Installing glib (2.74.6-r0) 21:08:54 (24/83) Installing graphite2 (1.3.14-r2) 21:08:54 (25/83) Installing harfbuzz (5.3.1-r1) 21:08:54 (26/83) Installing libass (0.16.0-r1) 21:08:54 (27/83) Installing libdav1d (1.0.0-r2) 21:08:54 (28/83) Installing libdrm (2.4.114-r0) 21:08:54 (29/83) Installing gmp (6.2.1-r2) 21:08:54 (30/83) Installing nettle (3.8.1-r0) 21:08:54 (31/83) Installing p11-kit (0.24.1-r1) 21:08:54 (32/83) Installing libtasn1 (4.19.0-r0) 21:08:54 (33/83) Installing libunistring (1.1-r0) 21:08:54 (34/83) Installing gnutls (3.7.8-r3) 21:08:54 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 21:08:54 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 21:08:54 (37/83) Installing lame (3.100-r2) 21:08:54 (38/83) Installing opus (1.3.1-r1) 21:08:54 (39/83) Installing libasyncns (0.8-r1) 21:08:54 (40/83) Installing dbus-libs (1.14.4-r0) 21:08:54 (41/83) Installing libltdl (2.4.7-r1) 21:08:54 (42/83) Installing orc (0.4.33-r0) 21:08:54 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:08:54 (44/83) Installing libogg (1.3.5-r2) 21:08:54 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:08:55 (46/83) Installing flac-libs (1.4.2-r0) 21:08:55 (47/83) Installing libvorbis (1.3.7-r0) 21:08:55 (48/83) Installing libsndfile (1.1.0-r2) 21:08:55 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:08:55 (50/83) Installing soxr (0.1.3-r3) 21:08:55 (51/83) Installing speexdsp (1.2.1-r0) 21:08:55 (52/83) Installing tdb-libs (1.4.7-r0) 21:08:55 (53/83) Installing libpulse (16.1-r6) 21:08:55 (54/83) Installing cjson (1.7.15-r3) 21:08:55 (55/83) Installing mbedtls (2.28.2-r0) 21:08:55 (56/83) Installing librist (0.2.7-r0) 21:08:55 (57/83) Installing libsrt (1.5.1-r0) 21:08:55 (58/83) Installing libssh (0.10.4-r0) 21:08:55 (59/83) Installing libtheora (1.1.1-r16) 21:08:55 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:08:55 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:08:55 (62/83) Installing libxext (1.3.5-r0) 21:08:55 (63/83) Installing libxfixes (6.0.0-r0) 21:08:55 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:08:55 (65/83) Installing libva (2.16.0-r0) 21:08:55 (66/83) Installing libvdpau (1.5-r0) 21:08:55 (67/83) Installing vidstab (1.1.0-r2) 21:08:55 (68/83) Installing libvpx (1.12.0-r1) 21:08:55 (69/83) Installing libwebp (1.2.4-r1) 21:08:55 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:08:55 (71/83) Installing numactl (2.0.16-r1) 21:08:55 (72/83) Installing x265-libs (3.5-r3) 21:08:55 (73/83) Installing xvidcore (1.3.7-r1) 21:08:55 (74/83) Installing libsodium (1.0.18-r2) 21:08:55 (75/83) Installing libzmq (4.3.4-r1) 21:08:55 (76/83) Installing ffmpeg-libs (5.1.2-r1) 21:08:56 (77/83) Installing ffmpeg (5.1.2-r1) 21:08:56 (78/83) Installing udev-init-scripts (35-r1) 21:08:56 (79/83) Installing eudev-libs (3.2.11-r4) 21:08:56 (80/83) Installing xz-libs (5.2.9-r0) 21:08:56 (81/83) Installing zstd-libs (1.5.2-r9) 21:08:56 (82/83) Installing kmod-libs (30-r1) 21:08:56 (83/83) Installing eudev (3.2.11-r4) 21:08:56 Executing busybox-1.35.0-r29.trigger 21:08:56 Executing eudev-3.2.11-r4.trigger 21:08:56 OK: 86 MiB in 98 packages 21:08:59 Removing intermediate container 46d2c28a4e7b 21:08:59 ---> 5de8b23a1ba9 21:08:59 Step 18/35 : WORKDIR / 21:09:00 ---> Running in 1009cede73f3 21:09:00 Removing intermediate container 1009cede73f3 21:09:00 ---> 02552c832b0b 21:09:00 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 21:09:01 ---> 76423082bf88 21:09:01 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 21:09:02 ---> 01c507e38106 21:09:02 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:09:02 ---> cf652de57e28 21:09:02 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:09:03 ---> 5db96d33525d 21:09:03 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:09:04 ---> 9c723f81da38 21:09:04 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 21:09:04 ---> d017df0b2449 21:09:04 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 21:09:06 ---> 05f3308c7754 21:09:06 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:09:06 ---> Running in 1204e9b6d45d 21:09:08 Removing intermediate container 1204e9b6d45d 21:09:08 ---> 36408976bdf0 21:09:08 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:09:08 ---> Running in 94ff1263f29a 21:09:09 Removing intermediate container 94ff1263f29a 21:09:09 ---> a63fe7ba20dc 21:09:09 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:09:09 ---> Running in 543bf0a1aa94 21:09:11 Removing intermediate container 543bf0a1aa94 21:09:11 ---> 788fd6ad2f41 21:09:11 Step 29/35 : EXPOSE 59983 21:09:11 ---> Running in 048713cbbd9c 21:09:11 Removing intermediate container 048713cbbd9c 21:09:11 ---> 51593eebe180 21:09:11 Step 30/35 : EXPOSE 8554 21:09:11 ---> Running in 7a3942479a5f 21:09:12 Removing intermediate container 7a3942479a5f 21:09:12 ---> a6ad88206fa5 21:09:12 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:09:12 ---> Running in 543b18ef2f4a 21:09:12 Removing intermediate container 543b18ef2f4a 21:09:12 ---> 9d10f86a6753 21:09:12 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:09:12 ---> Running in 857617a65e4b 21:09:13 Removing intermediate container 857617a65e4b 21:09:13 ---> 509b00a2835b 21:09:13 Step 33/35 : LABEL arch=arm64 21:09:13 ---> Running in 7943ad3a2823 21:09:13 Removing intermediate container 7943ad3a2823 21:09:13 ---> 632abe15092c 21:09:13 Step 34/35 : LABEL git_sha=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e 21:09:13 ---> Running in a74d5bb1ee57 21:09:13 Removing intermediate container a74d5bb1ee57 21:09:13 ---> df3c2a77534c 21:09:13 Step 35/35 : LABEL version=0.0.0 21:09:13 ---> Running in a18772c3394a 21:09:14 Removing intermediate container a18772c3394a 21:09:14 ---> 1ab55af3cac5 21:09:14 [Warning] One or more build-args [ARCH] were not consumed 21:09:14 Successfully built 1ab55af3cac5 21:09:14 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 21:09:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:15 21:09:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:15 arm64: Pulling from edgex-lftools-log-publisher 21:09:15 8998bd30e6a1: Pulling fs layer 21:09:15 04944245beec: Pulling fs layer 21:09:15 699f458cf7ca: Pulling fs layer 21:09:15 765212b225bb: Pulling fs layer 21:09:15 f23df028b6ca: Pulling fs layer 21:09:15 d65c8cfc05b1: Pulling fs layer 21:09:15 2437ff75d9bd: Pulling fs layer 21:09:15 765212b225bb: Waiting 21:09:15 f23df028b6ca: Waiting 21:09:15 d65c8cfc05b1: Waiting 21:09:15 2437ff75d9bd: Waiting 21:09:15 04944245beec: Verifying Checksum 21:09:15 04944245beec: Download complete 21:09:15 765212b225bb: Verifying Checksum 21:09:15 765212b225bb: Download complete 21:09:15 f23df028b6ca: Verifying Checksum 21:09:15 f23df028b6ca: Download complete 21:09:15 d65c8cfc05b1: Verifying Checksum 21:09:15 d65c8cfc05b1: Download complete 21:09:16 699f458cf7ca: Verifying Checksum 21:09:16 699f458cf7ca: Download complete 21:09:16 8998bd30e6a1: Verifying Checksum 21:09:16 8998bd30e6a1: Download complete 21:09:18 2437ff75d9bd: Verifying Checksum 21:09:18 2437ff75d9bd: Download complete 21:09:20 8998bd30e6a1: Pull complete 21:09:21 04944245beec: Pull complete 21:09:22 699f458cf7ca: Pull complete 21:09:22 765212b225bb: Pull complete 21:09:23 f23df028b6ca: Pull complete 21:09:24 d65c8cfc05b1: Pull complete 21:09:39 2437ff75d9bd: Pull complete 21:09:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:39 prd-ubuntu20.04-docker-arm64-4c-16g-262 does not seem to be running inside a container 21:09:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:09:42 $ docker top b63a41a115085e7c9cc94e83c4cbb9860e4645010094f15c31c6805c93971ff1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:43 ---> job-cost.sh 21:09:43 lf-activate-venv: SKIPPING 21:09:43 INFO: No Stack... 21:09:44 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:45 INFO: Archiving Costs [Pipeline] sh 21:09:45 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 21:09:45 + cut -d, -f6 [Pipeline] lock 21:09:45 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] 21:09:45 Resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] did not exist. Created. 21:09:45 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:46 /w/workspace/device-usb-camera/1@tmp/durable-37cd93c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:47 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:47 Warning: overwriting stash ‘stack-cost’ 21:09:47 Stashed 1 file(s) [Pipeline] } 21:09:47 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-183-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:47 $ docker stop --time=1 b63a41a115085e7c9cc94e83c4cbb9860e4645010094f15c31c6805c93971ff1 21:09:48 $ docker rm -f --volumes b63a41a115085e7c9cc94e83c4cbb9860e4645010094f15c31c6805c93971ff1 [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 21:09:49 provisioning config files... 21:09:49 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config3878925887570499474tmp [Pipeline] { [Pipeline] sh 21:09:50 + set +x 21:09:50 + curl -s https://codecov.io/bash 21:09:50 + bash -s -- 21:09:50 21:09:50 _____ _ 21:09:50 / ____| | | 21:09:50 | | ___ __| | ___ ___ _____ __ 21:09:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:50 Bash-1.0.6 21:09:50 21:09:50 21:09:50 ==> git version 2.25.1 found 21:09:50 ==> 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 21:09:50 Release-Date: 2020-01-08 21:09:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:50 ==> Jenkins CI detected. 21:09:50 current dir:  /w/workspace/foundry_device-usb-camera_PR-183 21:09:50 project root: . 21:09:50 --> token set from env 21:09:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:50 ==> Running gcov in . (disable via -X gcov) 21:09:50 ==> Python coveragepy not found 21:09:50 ==> Searching for coverage reports in: 21:09:50 + . 21:09:50 -> Found 1 reports 21:09:50 ==> Detecting git/mercurial file structure 21:09:50 ==> Reading reports 21:09:50 + ./coverage.out bytes=28352 21:09:50 ==> Appending adjustments 21:09:50 https://docs.codecov.io/docs/fixing-reports 21:09:50 + Found adjustments 21:09:50 ==> Gzipping contents 21:09:50 4.0K /tmp/codecov.IYSYFc.gz 21:09:50 ==> Uploading reports 21:09:50 url: https://codecov.io 21:09:50 query: branch=PR-183&commit=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=183&job=&cmd_args= 21:09:50 -> Pinging Codecov 21:09:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-183&commit=90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-183%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=183&job=&cmd_args= 21:09:50 -> Uploading to 21:09:50 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/73D8F5FF140700D3E01443B452E23636/90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e/f7d6115b-cf9d-4418-9d0c-e70e93a97afe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T210950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=222447f6ea309ecc8cc2fc3af37e3ea284f8fae6a65a9d5436fe45fd9b6ff712 21:09:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:50 Dload Upload Total Spent Left Speed 21:09:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3919 0 0 100 3919 0 12480 --:--:-- --:--:-- --:--:-- 12480 21:09:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/90e2dc0cb45f2f9acc04a6c8e1cf5d0917c0050e [Pipeline] } 21:09:51 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 21:09:52 + [ -d /w/workspace/foundry_device-usb-camera_PR-183/archives ] 21:09:52 + ls -al /w/workspace/foundry_device-usb-camera_PR-183/archives 21:09:52 total 16 21:09:52 drwxr-xr-x 3 root root 4096 Mar 14 20:58 . 21:09:52 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:58 .. 21:09:52 drwxr-xr-x 2 root root 4096 Mar 14 20:58 cost 21:09:52 -rw-r--r-- 1 root root 89 Mar 14 20:58 cost.csv 21:09:52 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-183/archives 21:09:52 + ls -al /w/workspace/foundry_device-usb-camera_PR-183/archives 21:09:52 total 16 21:09:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 20:58 . 21:09:52 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 20:58 .. 21:09:52 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 20:58 cost 21:09:52 -rw-r--r-- 1 jenkins jenkins 89 Mar 14 20:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:54 ---> package-listing.sh 21:09:54 ++ facter osfamily 21:09:54 ++ tr '[:upper:]' '[:lower:]' 21:09:54 + OS_FAMILY=debian 21:09:54 + workspace=/w/workspace/foundry_device-usb-camera_PR-183 21:09:54 + START_PACKAGES=/tmp/packages_start.txt 21:09:54 + END_PACKAGES=/tmp/packages_end.txt 21:09:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:54 + PACKAGES=/tmp/packages_start.txt 21:09:54 + '[' /w/workspace/foundry_device-usb-camera_PR-183 ']' 21:09:54 + PACKAGES=/tmp/packages_end.txt 21:09:54 + case "${OS_FAMILY}" in 21:09:54 + dpkg -l 21:09:54 + grep '^ii' 21:09:54 + '[' -f /tmp/packages_start.txt ']' 21:09:54 + '[' -f /tmp/packages_end.txt ']' 21:09:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:54 + '[' /w/workspace/foundry_device-usb-camera_PR-183 ']' 21:09:54 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-183/archives/ 21:09:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-183/archives/ [Pipeline] echo 21:09:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:55 prd-ubuntu20.04-docker-8c-8g-256 does not seem to be running inside a container 21:09:55 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-183/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-183 -v /w/workspace/foundry_device-usb-camera_PR-183:/w/workspace/foundry_device-usb-camera_PR-183:rw,z -v /w/workspace/foundry_device-usb-camera_PR-183@tmp:/w/workspace/foundry_device-usb-camera_PR-183@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:55 $ docker top 006f68d25964172ccc4beda237726fcf88439b2db102d2a3c4cf37a272020544 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:56 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:56 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:56 + ls /var/log/sa-host 21:09:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:56 provisioning config files... 21:09:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-183@tmp/config16545243651235734970tmp [Pipeline] { [Pipeline] echo 21:09:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:57 ---> create-netrc.sh [Pipeline] } 21:09:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:57 ---> python-tools-install.sh [Pipeline] echo 21:09:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:57 ---> sudo-logs.sh 21:09:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:58 ---> job-cost.sh 21:09:58 lf-activate-venv: SKIPPING 21:09:58 DEBUG: total: 0.2199999988079071 21:09:58 INFO: Retrieving Stack Cost... 21:09:58 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:59 INFO: Archiving Costs [Pipeline] echo 21:09:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:59 ---> logs-deploy.sh 21:09:59 lf-activate-venv: SKIPPING 21:09:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-183/1 21:09:59 INFO: archiving workspace using pattern(s): 21:10:00 Archives upload complete. 21:10:00 INFO: archiving logs to Nexus