Pull request #30 event 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 farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 4eccf07e03728cf6a18b800588ce5f506dea6fca+73afea3ace466341e80d38fe07fac6720914120d (bb47a619e2db73d0d226f66ea93aea58da27042a) 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-ssh17366407908754996698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh3558050142464652349.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh108052733287655000.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh8407922966537924179.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7292347316103843561.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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.17 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-16354 in /w/workspace/xfoundry_device-usb-camera_PR-30 [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/xfoundry_device-usb-camera_PR-30 # 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/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 4eccf07e03728cf6a18b800588ce5f506dea6fca Merge succeeded, producing 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d Checking out Revision 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 4eccf07e03728cf6a18b800588ce5f506dea6fca # 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 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d # timeout=10 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:00:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:00:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:00:52 ========================================================= 16:00:52 EdgeX Global Pipelines Version Info 16:00:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 92f579127ccfb9edbbbd722c917fd310f864f887 # timeout=10 16:00:52 ------------------- 16:00:52 stable info: 16:00:52 ------------------- 16:00:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:00:52 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:00:52 Message: update stable to v1.0.234 16:00:53 ------------------- 16:00:53 experimental info: 16:00:53 ------------------- 16:00:53 Commited By: **** collab-it+edgex@linuxfoundation.org 16:00:53 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:00:53 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:00:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ddaf35 [Pipeline] echo 16:00:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:54 provisioning config files... 16:00:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4239092908815899774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:54 ---> docker-login.sh 16:00:54 nexus3.edgexfoundry.org:10001 16:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:54 Configure a credential helper to remove this warning. See 16:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:54 16:00:54 Login Succeeded 16:00:54 nexus3.edgexfoundry.org:10002 16:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:54 Configure a credential helper to remove this warning. See 16:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:54 16:00:54 Login Succeeded 16:00:54 nexus3.edgexfoundry.org:10003 16:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:54 Configure a credential helper to remove this warning. See 16:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:54 16:00:54 Login Succeeded 16:00:54 nexus3.edgexfoundry.org:10004 16:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:55 Configure a credential helper to remove this warning. See 16:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:55 16:00:55 Login Succeeded 16:00:55 docker.io 16:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:55 Configure a credential helper to remove this warning. See 16:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:55 16:00:55 Login Succeeded 16:00:55 ---> docker-login.sh ends [Pipeline] } 16:00:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:00:55 + git rev-list -1 --merges 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d~1..4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d [Pipeline] echo 16:00:55 -----------> git rev-list -1 --merges 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d~1..4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d 16:00:55 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d [false] [Pipeline] sh 16:00:56 + git log --format=format:%s -1 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d [Pipeline] echo 16:00:56 ========================================================= 16:00:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:00:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:00:56 + git log --format=format:%s -1 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d [Pipeline] echo 16:00:56 [semverPrep] GIT_COMMIT: 4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d, Commit Message: Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD [Pipeline] echo 16:00:56 [semverPrep] This is not a build commit. [Pipeline] sh 16:00:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:00:56 + grep -v github /etc/ssh/ssh_known_hosts 16:00:56 + [ -e /tmp/ssh_known_hosts ] 16:00:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:00:56 + + echosudo tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 16:00:56 /etc/ssh/ssh_known_hosts 16:00:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:00:57 16:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:00:57 0.1.4: Pulling from edgex-devops/py-git-semver 16:00:57 42c077c10790: Pulling fs layer 16:00:57 f63e77b7563a: Pulling fs layer 16:00:57 bd5fdadae976: Pulling fs layer 16:00:57 205491f53016: Pulling fs layer 16:00:57 df18705c85c3: Pulling fs layer 16:00:57 bdb3f477010e: Pulling fs layer 16:00:57 c8a8fc8e1c8f: Pulling fs layer 16:00:57 bdb3f477010e: Waiting 16:00:57 205491f53016: Waiting 16:00:57 2c6e9b1d212d: Pulling fs layer 16:00:57 c8a8fc8e1c8f: Waiting 16:00:57 bdb8f0575790: Pulling fs layer 16:00:57 386e3cb2ff24: Pulling fs layer 16:00:57 2c6e9b1d212d: Waiting 16:00:57 bdb8f0575790: Waiting 16:00:57 2343380bae48: Pulling fs layer 16:00:57 386e3cb2ff24: Waiting 16:00:57 2343380bae48: Waiting 16:00:57 f63e77b7563a: Download complete 16:00:57 205491f53016: Download complete 16:00:57 df18705c85c3: Verifying Checksum 16:00:57 df18705c85c3: Download complete 16:00:57 bdb3f477010e: Verifying Checksum 16:00:57 bdb3f477010e: Download complete 16:00:57 bd5fdadae976: Verifying Checksum 16:00:57 bd5fdadae976: Download complete 16:00:57 2c6e9b1d212d: Verifying Checksum 16:00:57 2c6e9b1d212d: Download complete 16:00:57 bdb8f0575790: Verifying Checksum 16:00:57 bdb8f0575790: Download complete 16:00:57 386e3cb2ff24: Verifying Checksum 16:00:57 386e3cb2ff24: Download complete 16:00:57 2343380bae48: Download complete 16:00:57 42c077c10790: Verifying Checksum 16:00:57 42c077c10790: Download complete 16:00:58 c8a8fc8e1c8f: Verifying Checksum 16:00:58 c8a8fc8e1c8f: Download complete 16:00:59 42c077c10790: Pull complete 16:00:59 f63e77b7563a: Pull complete 16:00:59 bd5fdadae976: Pull complete 16:00:59 205491f53016: Pull complete 16:01:00 df18705c85c3: Pull complete 16:01:00 bdb3f477010e: Pull complete 16:01:01 c8a8fc8e1c8f: Pull complete 16:01:01 2c6e9b1d212d: Pull complete 16:01:01 bdb8f0575790: Pull complete 16:01:02 386e3cb2ff24: Pull complete 16:01:02 2343380bae48: Pull complete 16:01:02 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:01:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:02 prd-ubuntu20.04-docker-8c-8g-16354 does not seem to be running inside a container 16:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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-devops/py-git-semver:0.1.4 cat 16:01:03 $ docker top e2dec83c570f66f03810c7d0051ea49a5b4c0964d722d1fb1cd8495f52d6f2c6 -eo pid,comm 16:01:04 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). 16:01:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:01:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:01:04 [ssh-agent] Looking for ssh-agent implementation... 16:01:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:01:04 $ docker exec e2dec83c570f66f03810c7d0051ea49a5b4c0964d722d1fb1cd8495f52d6f2c6 ssh-agent 16:01:04 SSH_AUTH_SOCK=/tmp/ssh-tONss2DgkoVU/agent.34 16:01:04 SSH_AGENT_PID=41 16:01:04 Running ssh-add (command line suppressed) 16:01:04 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8164213799201107020.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_8164213799201107020.key) 16:01:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:01:04 + git tag --points-at HEAD [Pipeline] } 16:01:04 $ docker exec --env ******** --env ******** e2dec83c570f66f03810c7d0051ea49a5b4c0964d722d1fb1cd8495f52d6f2c6 ssh-agent -k 16:01:04 unset SSH_AUTH_SOCK; 16:01:04 unset SSH_AGENT_PID; 16:01:04 echo Agent pid 41 killed; 16:01:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:01:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:01:04 [ssh-agent] Looking for ssh-agent implementation... 16:01:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:01:05 $ docker exec e2dec83c570f66f03810c7d0051ea49a5b4c0964d722d1fb1cd8495f52d6f2c6 ssh-agent 16:01:05 SSH_AUTH_SOCK=/tmp/ssh-NELHhEpVckyt/agent.73 16:01:05 SSH_AGENT_PID=80 16:01:05 Running ssh-add (command line suppressed) 16:01:05 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_7961954939964080691.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_7961954939964080691.key) 16:01:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:01:05 + git semver init 16:01:06 2022-06-29 16:01:05,871 [run_init] DEBUG init version:0.0.0 force:False 16:01:06 2022-06-29 16:01:05,872 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 16:01:06 2022-06-29 16:01:05,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 16:01:06 2022-06-29 16:01:05,873 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) 16:01:06 2022-06-29 16:01:06,480 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 16:01:06 2022-06-29 16:01:06,481 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 16:01:06 2022-06-29 16:01:06,481 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 16:01:06 2022-06-29 16:01:06,484 [execute] INFO git cat-file --batch-check 16:01:06 2022-06-29 16:01:06,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 16:01:06 2022-06-29 16:01:06,492 [execute] INFO git cat-file --batch 16:01:06 2022-06-29 16:01:06,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 16:01:06 2022-06-29 16:01:06,499 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 16:01:06 0.0.0 [Pipeline] } 16:01:06 $ docker exec --env ******** --env ******** e2dec83c570f66f03810c7d0051ea49a5b4c0964d722d1fb1cd8495f52d6f2c6 ssh-agent -k 16:01:06 unset SSH_AUTH_SOCK; 16:01:06 unset SSH_AGENT_PID; 16:01:06 echo Agent pid 80 killed; 16:01:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:01:07 + git semver [Pipeline] } 16:01:07 $ docker stop --time=1 e2dec83c570f66f03810c7d0051ea49a5b4c0964d722d1fb1cd8495f52d6f2c6 16:01:08 $ docker rm -f e2dec83c570f66f03810c7d0051ea49a5b4c0964d722d1fb1cd8495f52d6f2c6 [Pipeline] // withDockerContainer [Pipeline] sh 16:01:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:01:09 Stashed 1 file(s) [Pipeline] echo 16:01:09 [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 16:01:09 provisioning config files... 16:01:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config8065794548634384382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:09 ---> docker-login.sh 16:01:09 nexus3.edgexfoundry.org:10001 16:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:09 Configure a credential helper to remove this warning. See 16:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:09 16:01:09 Login Succeeded 16:01:09 nexus3.edgexfoundry.org:10002 16:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:10 Configure a credential helper to remove this warning. See 16:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:10 16:01:10 Login Succeeded 16:01:10 nexus3.edgexfoundry.org:10003 16:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:10 Configure a credential helper to remove this warning. See 16:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:10 16:01:10 Login Succeeded 16:01:10 nexus3.edgexfoundry.org:10004 16:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:10 Configure a credential helper to remove this warning. See 16:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:10 16:01:10 Login Succeeded 16:01:10 docker.io 16:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:10 Configure a credential helper to remove this warning. See 16:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:10 16:01:10 Login Succeeded 16:01:10 ---> docker-login.sh ends [Pipeline] } 16:01:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:10 ========================================================= 16:01:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:01:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:01:11 Sending build context to Docker daemon 740.9kB 16:01:11 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:01:11 Step 2/12 : FROM ${BASE} AS builder 16:01:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:01:11 59bf1c3509f3: Pulling fs layer 16:01:11 666ba61612fd: Pulling fs layer 16:01:11 8ed8ca486205: Pulling fs layer 16:01:11 cc1cd167ecdc: Pulling fs layer 16:01:11 c516ae0d96e1: Pulling fs layer 16:01:11 684cea983483: Pulling fs layer 16:01:11 dd3240ac7de5: Pulling fs layer 16:01:11 b1e948a4e11c: Pulling fs layer 16:01:11 a8fd76ee1af6: Pulling fs layer 16:01:11 684cea983483: Waiting 16:01:11 dd3240ac7de5: Waiting 16:01:11 b1e948a4e11c: Waiting 16:01:11 cc1cd167ecdc: Waiting 16:01:11 c516ae0d96e1: Waiting 16:01:11 646ad004c059: Pulling fs layer 16:01:11 a8fd76ee1af6: Waiting 16:01:11 8ed8ca486205: Verifying Checksum 16:01:11 8ed8ca486205: Download complete 16:01:11 666ba61612fd: Verifying Checksum 16:01:11 666ba61612fd: Download complete 16:01:11 c516ae0d96e1: Verifying Checksum 16:01:11 c516ae0d96e1: Download complete 16:01:11 684cea983483: Verifying Checksum 16:01:11 684cea983483: Download complete 16:01:11 59bf1c3509f3: Download complete 16:01:11 dd3240ac7de5: Verifying Checksum 16:01:11 dd3240ac7de5: Download complete 16:01:11 b1e948a4e11c: Verifying Checksum 16:01:11 b1e948a4e11c: Download complete 16:01:11 59bf1c3509f3: Pull complete 16:01:11 666ba61612fd: Pull complete 16:01:11 646ad004c059: Verifying Checksum 16:01:11 646ad004c059: Download complete 16:01:11 8ed8ca486205: Pull complete 16:01:11 a8fd76ee1af6: Verifying Checksum 16:01:12 cc1cd167ecdc: Verifying Checksum 16:01:12 cc1cd167ecdc: Download complete 16:01:16 cc1cd167ecdc: Pull complete 16:01:16 c516ae0d96e1: Pull complete 16:01:16 684cea983483: Pull complete 16:01:16 dd3240ac7de5: Pull complete 16:01:16 b1e948a4e11c: Pull complete 16:01:18 a8fd76ee1af6: Pull complete 16:01:18 646ad004c059: Pull complete 16:01:18 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:01:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:01:18 ---> 8f69c11f6b0c 16:01:18 Step 3/12 : ARG MAKE="make build" 16:01:20 ---> Running in bc2e5ac30597 16:01:20 Removing intermediate container bc2e5ac30597 16:01:20 ---> b75cccc9b493 16:01:20 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:01:20 ---> Running in 257eb1d1e13b 16:01:20 Removing intermediate container 257eb1d1e13b 16:01:20 ---> b6c70b8f3116 16:01:20 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:01:20 ---> Running in 047f4ffe1065 16:01:20 Removing intermediate container 047f4ffe1065 16:01:20 ---> 9bbca400a54a 16:01:20 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:01:20 ---> Running in 04bd89f16bb8 16:01:21 Removing intermediate container 04bd89f16bb8 16:01:21 ---> 5f3eb6eb3580 16:01:21 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:01:21 ---> Running in d7dee08e2dbf 16:01:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:01:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:01:22 (1/81) Installing mesa (21.2.6-r0) 16:01:22 (2/81) Installing libxau (1.0.9-r0) 16:01:22 (3/81) Installing libmd (1.0.3-r0) 16:01:22 (4/81) Installing libbsd (0.11.3-r1) 16:01:23 (5/81) Installing libxdmcp (1.1.3-r0) 16:01:23 (6/81) Installing libxcb (1.14-r2) 16:01:23 (7/81) Installing libx11 (1.7.2-r0) 16:01:23 (8/81) Installing libxext (1.3.4-r0) 16:01:23 (9/81) Installing libxfixes (6.0.0-r0) 16:01:23 (10/81) Installing libxxf86vm (1.1.4-r2) 16:01:23 (11/81) Installing libpciaccess (0.16-r0) 16:01:23 (12/81) Installing libdrm (2.4.109-r0) 16:01:24 (13/81) Installing mesa-glapi (21.2.6-r0) 16:01:24 (14/81) Installing libxshmfence (1.3-r1) 16:01:24 (15/81) Installing mesa-gl (21.2.6-r0) 16:01:24 (16/81) Installing libice (1.0.10-r0) 16:01:24 (17/81) Installing libuuid (2.37.4-r0) 16:01:24 (18/81) Installing libsm (1.2.3-r0) 16:01:24 Still waiting to schedule task 16:01:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:01:24 (19/81) Installing libxt (1.2.1-r0) 16:01:24 (20/81) Installing libxmu (1.1.3-r0) 16:01:24 (21/81) Installing xset (1.2.4-r0) 16:01:24 (22/81) Installing xprop (1.2.5-r0) 16:01:24 (23/81) Installing xdg-utils (1.1.3-r0) 16:01:25 (24/81) Installing dbus-libs (1.12.20-r4) 16:01:25 (25/81) Installing libffi (3.4.2-r1) 16:01:25 (26/81) Installing libintl (0.21-r0) 16:01:25 (27/81) Installing libblkid (2.37.4-r0) 16:01:25 (28/81) Installing libmount (2.37.4-r0) 16:01:25 (29/81) Installing pcre (8.45-r1) 16:01:25 (30/81) Installing glib (2.70.1-r0) 16:01:25 (31/81) Installing icu-libs (69.1-r1) 16:01:28 (32/81) Installing libpcre2-16 (10.40-r0) 16:01:28 (33/81) Installing zstd-libs (1.5.0-r0) 16:01:28 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 16:01:29 (35/81) Installing hicolor-icon-theme (0.17-r1) 16:01:29 (36/81) Installing wayland-libs-server (1.19.0-r1) 16:01:29 (37/81) Installing mesa-gbm (21.2.6-r0) 16:01:29 (38/81) Installing wayland-libs-client (1.19.0-r1) 16:01:29 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 16:01:29 (40/81) Installing libxcomposite (0.4.5-r0) 16:01:30 (41/81) Installing libbz2 (1.0.8-r1) 16:01:30 (42/81) Installing libpng (1.6.37-r1) 16:01:30 (43/81) Installing freetype (2.11.1-r2) 16:01:30 (44/81) Installing fontconfig (2.13.1-r4) 16:01:30 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 16:01:30 (46/81) Installing wayland-libs-egl (1.19.0-r1) 16:01:30 (47/81) Installing xkeyboard-config (2.34-r0) 16:01:30 (48/81) Installing xz-libs (5.2.5-r1) 16:01:30 (49/81) Installing libxml2 (2.9.14-r0) 16:01:30 (50/81) Installing libxkbcommon (1.3.1-r0) 16:01:30 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 16:01:31 (52/81) Installing mesa-egl (21.2.6-r0) 16:01:31 (53/81) Installing avahi-libs (0.8-r5) 16:01:31 (54/81) Installing nettle (3.7.3-r0) 16:01:31 (55/81) Installing p11-kit (0.24.0-r1) 16:01:31 (56/81) Installing libtasn1 (4.18.0-r0) 16:01:31 (57/81) Installing libunistring (0.9.10-r1) 16:01:31 (58/81) Installing gnutls (3.7.1-r0) 16:01:31 (59/81) Installing cups-libs (2.3.3-r6) 16:01:31 (60/81) Installing graphite2 (1.3.14-r0) 16:01:32 (61/81) Installing harfbuzz (3.0.0-r2) 16:01:32 (62/81) Installing libevdev (1.12.0-r0) 16:01:32 (63/81) Installing mtdev (1.1.6-r0) 16:01:32 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 16:01:32 (65/81) Installing libinput-libs (1.19.4-r0) 16:01:32 (66/81) Installing libjpeg-turbo (2.1.2-r0) 16:01:32 (67/81) Installing xcb-util-wm (0.4.1-r1) 16:01:32 (68/81) Installing xcb-util (0.4.0-r3) 16:01:32 (69/81) Installing xcb-util-image (0.4.0-r1) 16:01:32 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 16:01:32 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 16:01:33 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 16:01:33 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 16:01:33 (74/81) Installing v4l-utils-libs (1.22.1-r1) 16:01:34 (75/81) Installing v4l-utils (1.22.1-r1) 16:01:34 (76/81) Installing udev-init-scripts (35-r0) 16:01:34 Executing udev-init-scripts-35-r0.post-install 16:01:34 (77/81) Installing kmod-libs (29-r2) 16:01:34 (78/81) Installing eudev (3.2.11_pre1-r0) 16:01:34 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 16:01:34 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:01:34 (81/81) Installing v4l-utils-dev (1.22.1-r1) 16:01:34 Executing busybox-1.34.1-r3.trigger 16:01:34 Executing eudev-3.2.11_pre1-r0.trigger 16:01:34 OK: 335 MiB in 133 packages 16:01:37 Removing intermediate container d7dee08e2dbf 16:01:37 ---> f20722609c0c 16:01:37 Step 8/12 : WORKDIR /device-usb-camera 16:01:37 ---> Running in a2d931e387cf 16:01:37 Removing intermediate container a2d931e387cf 16:01:37 ---> de8a9227a703 16:01:37 Step 9/12 : COPY go.mod vendor* ./ 16:01:37 ---> 69d918881fa0 16:01:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:01:37 ---> Running in aac4da555753 16:01:52 Removing intermediate container aac4da555753 16:01:52 ---> 907d0e3ac3e8 16:01:52 Step 11/12 : COPY . . 16:01:52 ---> c6deb3eda3e1 16:01:52 Step 12/12 : RUN ${MAKE} 16:01:52 ---> Running in 7324d9bdfd0b 16:01:52 noop 16:01:52 Removing intermediate container 7324d9bdfd0b 16:01:52 ---> 69495fde4422 16:01:52 Successfully built 69495fde4422 16:01:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:52 + docker inspect -f . ci-base-image-x86_64 16:01:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:52 prd-ubuntu20.04-docker-8c-8g-16354 does not seem to be running inside a container 16:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:01:53 $ docker top 39162fca867f940a4a544d1d18c92efa520e27b947b150fd54a26c7328092bb8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:53 + go version 16:01:53 go version go1.17.7 linux/amd64 [Pipeline] } 16:01:53 $ docker stop --time=1 39162fca867f940a4a544d1d18c92efa520e27b947b150fd54a26c7328092bb8 16:01:54 $ docker rm -f 39162fca867f940a4a544d1d18c92efa520e27b947b150fd54a26c7328092bb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:55 + docker inspect -f . ci-base-image-x86_64 16:01:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:55 prd-ubuntu20.04-docker-8c-8g-16354 does not seem to be running inside a container 16:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:01:55 $ docker top 4300f71310656d1ebf4556bc9c171f45200ea0965c1d35d4397576fc42c9c2b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:01:56 + make test 16:01:56 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:01:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:02:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:02:06 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 16:02:12 CGO_ENABLED=1 go vet ./... 16:02:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:02:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:02:16 ./bin/test-attribution-txt.sh [Pipeline] echo 16:02:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:02:16 $ docker stop --time=1 4300f71310656d1ebf4556bc9c171f45200ea0965c1d35d4397576fc42c9c2b2 16:02:17 $ docker rm -f 4300f71310656d1ebf4556bc9c171f45200ea0965c1d35d4397576fc42c9c2b2 [Pipeline] // withDockerContainer [Pipeline] sh 16:02:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:02:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:02:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:02:19 + ls -al . 16:02:19 total 168 16:02:19 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:02 . 16:02:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:00 .. 16:02:19 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:01 .git 16:02:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:00 .github 16:02:19 -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 16:00 .gitignore 16:02:19 -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:00 .golangci.yml 16:02:19 -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 16:00 .hadolint.yml 16:02:19 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:01 .semver 16:02:19 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 29 16:00 Attribution.txt 16:02:19 -rw-rw-r-- 1 jenkins jenkins 181 Jun 29 16:00 CHANGELOG.md 16:02:19 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 29 16:00 Dockerfile 16:02:19 -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:00 GOVERNANCE.md 16:02:19 -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 16:00 Jenkinsfile 16:02:19 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:00 LICENSE 16:02:19 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 29 16:00 Makefile 16:02:19 -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 16:00 OWNERS.md 16:02:19 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 29 16:00 README.md 16:02:19 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:01 VERSION 16:02:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:00 bin 16:02:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:00 cmd 16:02:19 -rw-r--r-- 1 jenkins jenkins 10 Jun 29 16:01 coverage.out 16:02:19 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:00 docker-compose 16:02:19 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:00 docker-entrypoint.sh 16:02:19 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 29 16:00 go.mod 16:02:19 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 29 16:00 go.sum 16:02:19 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:00 internal 16:02:19 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:00 snap 16:02:19 -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 16:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:19 + 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=4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d --label arch=amd64 --label version=0.0.0 . 16:02:19 Sending build context to Docker daemon 741.9kB 16:02:19 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 16:02:19 Step 2/29 : FROM ${BASE} AS builder 16:02:19 ---> 69495fde4422 16:02:19 Step 3/29 : ARG MAKE="make build" 16:02:19 ---> Running in 7d54b20aa2a2 16:02:19 Removing intermediate container 7d54b20aa2a2 16:02:19 ---> 877888298544 16:02:19 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:02:19 ---> Running in f0111a94a4e0 16:02:19 Removing intermediate container f0111a94a4e0 16:02:19 ---> 3b4794bd3796 16:02:19 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:02:19 ---> Running in ace6f5894533 16:02:20 Removing intermediate container ace6f5894533 16:02:20 ---> e1cc79353e3d 16:02:20 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:02:20 ---> Running in 4af8bae9af6a 16:02:20 Removing intermediate container 4af8bae9af6a 16:02:20 ---> bedea341b29b 16:02:20 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:20 ---> Running in 2e2286da140a 16:02:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:02:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:02:22 OK: 335 MiB in 133 packages 16:02:22 Removing intermediate container 2e2286da140a 16:02:22 ---> 5938b1482c81 16:02:22 Step 8/29 : WORKDIR /device-usb-camera 16:02:22 ---> Running in 4fc47c10a0df 16:02:22 Removing intermediate container 4fc47c10a0df 16:02:22 ---> 0eb6e6a7fe8f 16:02:22 Step 9/29 : COPY go.mod vendor* ./ 16:02:22 ---> 79785ec07bd2 16:02:22 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:22 ---> Running in 22046e3aefa7 16:02:23 Removing intermediate container 22046e3aefa7 16:02:23 ---> fd56bda3234d 16:02:23 Step 11/29 : COPY . . 16:02:23 ---> 2f12a561c5ee 16:02:23 Step 12/29 : RUN ${MAKE} 16:02:23 ---> Running in 93d90dc83c42 16:02:23 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:02:45 Removing intermediate container 93d90dc83c42 16:02:45 ---> a271af11db11 16:02:45 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:02:45 v0.18.4: Pulling from aler9/rtsp-simple-server 16:02:45 af6660deedbd: Pulling fs layer 16:02:45 97cd0a44c592: Pulling fs layer 16:02:45 97cd0a44c592: Verifying Checksum 16:02:45 97cd0a44c592: Download complete 16:02:45 af6660deedbd: Verifying Checksum 16:02:45 af6660deedbd: Download complete 16:02:45 af6660deedbd: Pull complete 16:02:45 97cd0a44c592: Pull complete 16:02:45 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:02:45 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:02:45 ---> fea57e182299 16:02:45 Step 14/29 : FROM alpine:3.15 16:02:46 3.15: Pulling from library/alpine 16:02:46 df9b9388f04a: Pulling fs layer 16:02:46 df9b9388f04a: Verifying Checksum 16:02:46 df9b9388f04a: Download complete 16:02:46 df9b9388f04a: Pull complete 16:02:46 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:02:46 Status: Downloaded newer image for alpine:3.15 16:02:46 ---> 0ac33e5f5afa 16:02:46 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:02:46 ---> Running in f9da046254e7 16:02:46 Removing intermediate container f9da046254e7 16:02:46 ---> 098bf42df6b0 16:02:46 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:02:46 ---> Running in 8f028c920623 16:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:02:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:02:47 (1/74) Installing dumb-init (1.2.5-r1) 16:02:47 (2/74) Installing sdl2 (2.0.16-r4) 16:02:47 (3/74) Installing libxau (1.0.9-r0) 16:02:47 (4/74) Installing libmd (1.0.3-r0) 16:02:47 (5/74) Installing libbsd (0.11.3-r1) 16:02:47 (6/74) Installing libxdmcp (1.1.3-r0) 16:02:47 (7/74) Installing libxcb (1.14-r2) 16:02:47 (8/74) Installing libx11 (1.7.2-r0) 16:02:47 (9/74) Installing aom-libs (3.2.0-r0) 16:02:47 (10/74) Installing alsa-lib (1.2.5.1-r1) 16:02:47 (11/74) Installing expat (2.4.7-r0) 16:02:47 (12/74) Installing brotli-libs (1.0.9-r5) 16:02:47 (13/74) Installing libbz2 (1.0.8-r1) 16:02:47 (14/74) Installing libpng (1.6.37-r1) 16:02:47 (15/74) Installing freetype (2.11.1-r2) 16:02:47 (16/74) Installing libuuid (2.37.4-r0) 16:02:47 (17/74) Installing fontconfig (2.13.1-r4) 16:02:47 (18/74) Installing fribidi (1.0.11-r0) 16:02:47 (19/74) Installing libffi (3.4.2-r1) 16:02:47 (20/74) Installing libintl (0.21-r0) 16:02:47 (21/74) Installing libblkid (2.37.4-r0) 16:02:47 (22/74) Installing libmount (2.37.4-r0) 16:02:47 (23/74) Installing pcre (8.45-r1) 16:02:47 (24/74) Installing glib (2.70.1-r0) 16:02:47 (25/74) Installing graphite2 (1.3.14-r0) 16:02:47 (26/74) Installing harfbuzz (3.0.0-r2) 16:02:47 (27/74) Installing libass (0.15.2-r0) 16:02:47 (28/74) Installing libdav1d (0.9.2-r0) 16:02:48 (29/74) Installing gmp (6.2.1-r1) 16:02:48 (30/74) Installing nettle (3.7.3-r0) 16:02:48 (31/74) Installing p11-kit (0.24.0-r1) 16:02:48 (32/74) Installing libtasn1 (4.18.0-r0) 16:02:48 (33/74) Installing libunistring (0.9.10-r1) 16:02:48 (34/74) Installing gnutls (3.7.1-r0) 16:02:48 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 16:02:48 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 16:02:48 (37/74) Installing lame (3.100-r0) 16:02:48 (38/74) Installing opus (1.3.1-r1) 16:02:48 (39/74) Installing libgomp (10.3.1_git20211027-r0) 16:02:48 (40/74) Installing soxr (0.1.3-r2) 16:02:48 (41/74) Installing libgcc (10.3.1_git20211027-r0) 16:02:48 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 16:02:48 (43/74) Installing libsrt (1.4.2-r1) 16:02:48 (44/74) Installing libssh (0.9.6-r1) 16:02:48 (45/74) Installing libogg (1.3.5-r0) 16:02:48 (46/74) Installing libtheora (1.1.1-r16) 16:02:48 (47/74) Installing libjpeg-turbo (2.1.2-r0) 16:02:48 (48/74) Installing v4l-utils-libs (1.22.1-r1) 16:02:48 (49/74) Installing libxext (1.3.4-r0) 16:02:48 (50/74) Installing libxfixes (6.0.0-r0) 16:02:48 (51/74) Installing libpciaccess (0.16-r0) 16:02:48 (52/74) Installing libdrm (2.4.109-r0) 16:02:48 (53/74) Installing wayland-libs-client (1.19.0-r1) 16:02:48 (54/74) Installing libva (2.13.0-r0) 16:02:48 (55/74) Installing libvdpau (1.4-r0) 16:02:48 (56/74) Installing vidstab (1.1.0-r1) 16:02:48 (57/74) Installing libvorbis (1.3.7-r0) 16:02:48 (58/74) Installing libvpx (1.10.0-r0) 16:02:48 (59/74) Installing vulkan-loader (1.2.196-r0) 16:02:48 (60/74) Installing libwebp (1.2.2-r0) 16:02:48 (61/74) Installing x264-libs (20210613-r0) 16:02:48 (62/74) Installing x265-libs (3.5-r0) 16:02:48 (63/74) Installing xvidcore (1.3.7-r1) 16:02:48 (64/74) Installing ffmpeg-libs (4.4.1-r2) 16:02:48 (65/74) Installing ffmpeg (4.4.1-r2) 16:02:48 (66/74) Installing udev-init-scripts (35-r0) 16:02:48 Executing udev-init-scripts-35-r0.post-install 16:02:48 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 16:02:48 (68/74) Installing xz-libs (5.2.5-r1) 16:02:48 (69/74) Installing zstd-libs (1.5.0-r0) 16:02:48 (70/74) Installing kmod-libs (29-r2) 16:02:48 (71/74) Installing eudev (3.2.11_pre1-r0) 16:02:48 (72/74) Installing libsodium (1.0.18-r0) 16:02:48 (73/74) Installing libzmq (4.3.4-r0) 16:02:48 (74/74) Installing zeromq (4.3.4-r0) 16:02:48 Executing busybox-1.34.1-r5.trigger 16:02:48 Executing eudev-3.2.11_pre1-r0.trigger 16:02:48 OK: 78 MiB in 88 packages 16:02:50 Removing intermediate container 8f028c920623 16:02:50 ---> 0ddad567ccf3 16:02:50 Step 17/29 : WORKDIR / 16:02:50 ---> Running in 61090aa79a12 16:02:50 Removing intermediate container 61090aa79a12 16:02:50 ---> a20bba271f58 16:02:50 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 16:02:50 ---> c23352a18bc0 16:02:50 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 16:02:51 ---> ed92ea75c20c 16:02:51 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:02:51 ---> d20a942347da 16:02:51 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:02:51 ---> 79a469662226 16:02:51 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 16:02:51 ---> 7104916f94bc 16:02:51 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 16:02:52 ---> b84a9e505022 16:02:52 Step 24/29 : EXPOSE 59983 16:02:52 ---> Running in 05ed400fb0f6 16:02:52 Removing intermediate container 05ed400fb0f6 16:02:52 ---> 0dd51a2c92e6 16:02:52 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:02:52 ---> Running in a3b270ade451 16:02:52 Removing intermediate container a3b270ade451 16:02:52 ---> bee120149214 16:02:52 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:02:52 ---> Running in 51cfda9acdeb 16:02:52 Removing intermediate container 51cfda9acdeb 16:02:52 ---> ffd2c53741e2 16:02:52 Step 27/29 : LABEL arch=amd64 16:02:52 ---> Running in 9981c0e44c6d 16:02:52 Removing intermediate container 9981c0e44c6d 16:02:52 ---> beffcd8427e1 16:02:52 Step 28/29 : LABEL git_sha=4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d 16:02:52 ---> Running in 31aabd8045d6 16:02:52 Removing intermediate container 31aabd8045d6 16:02:52 ---> 316270b3c59e 16:02:52 Step 29/29 : LABEL version=0.0.0 16:02:53 ---> Running in a05bf4d28353 16:02:53 Removing intermediate container a05bf4d28353 16:02:53 ---> ddf94b8ea976 16:02:53 [Warning] One or more build-args [ARCH] were not consumed 16:02:53 Successfully built ddf94b8ea976 16:02:53 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 16:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:53 16:02:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:02:53 latest: Pulling from edgex-lftools-log-publisher 16:02:53 5eb5b503b376: Pulling fs layer 16:02:53 5c69ac0246d0: Pulling fs layer 16:02:53 ec43610c2a17: Pulling fs layer 16:02:53 3a2ae6a8a46f: Pulling fs layer 16:02:53 33b1e0a273af: Pulling fs layer 16:02:53 5d3b04190fa2: Pulling fs layer 16:02:53 2f39f015ded8: Pulling fs layer 16:02:53 5d3b04190fa2: Waiting 16:02:53 33b1e0a273af: Waiting 16:02:53 3a2ae6a8a46f: Waiting 16:02:53 5c69ac0246d0: Download complete 16:02:53 3a2ae6a8a46f: Verifying Checksum 16:02:53 3a2ae6a8a46f: Download complete 16:02:53 33b1e0a273af: Verifying Checksum 16:02:53 33b1e0a273af: Download complete 16:02:53 5d3b04190fa2: Verifying Checksum 16:02:53 5d3b04190fa2: Download complete 16:02:53 ec43610c2a17: Verifying Checksum 16:02:53 ec43610c2a17: Download complete 16:02:54 5eb5b503b376: Verifying Checksum 16:02:54 5eb5b503b376: Download complete 16:02:54 2f39f015ded8: Download complete 16:02:55 5eb5b503b376: Pull complete 16:02:55 5c69ac0246d0: Pull complete 16:02:55 ec43610c2a17: Pull complete 16:02:56 3a2ae6a8a46f: Pull complete 16:02:56 33b1e0a273af: Pull complete 16:02:56 5d3b04190fa2: Pull complete 16:03:00 2f39f015ded8: Pull complete 16:03:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:03:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:00 prd-ubuntu20.04-docker-8c-8g-16354 does not seem to be running inside a container 16:03:00 $ 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/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:03:02 $ docker top 55351f14b01883a477ef8803c491a1b658ce7464d8c7d85e824d0833e6e7468c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:02 ---> job-cost.sh 16:03:02 lf-activate-venv: SKIPPING 16:03:02 INFO: No Stack... 16:03:02 INFO: Retrieving Pricing Info for: v3-standard-8 16:03:03 INFO: Archiving Costs [Pipeline] sh 16:03:03 + cut -d, -f6 16:03:03 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv [Pipeline] lock 16:03:03 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] 16:03:03 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] did not exist. Created. 16:03:03 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:03:04 + echo total: 0.2199999988079071 [Pipeline] stash 16:03:04 Stashed 1 file(s) [Pipeline] } 16:03:04 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] [Pipeline] // lock [Pipeline] } 16:03:04 $ docker stop --time=1 55351f14b01883a477ef8803c491a1b658ce7464d8c7d85e824d0833e6e7468c 16:03:05 $ docker rm -f 55351f14b01883a477ef8803c491a1b658ce7464d8c7d85e824d0833e6e7468c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:04:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16356 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 16:04:16 Running in /w/workspace/device-usb-camera/20 [Pipeline] { [Pipeline] checkout 16:04:16 Selected Git installation does not exist. Using Default 16:04:16 The recommended git tool is: NONE 16:04:23 using credential edgex-jenkins-ssh 16:04:23 Cloning the remote Git repository 16:04:23 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:04:23 > git init /w/workspace/device-usb-camera/20 # timeout=10 16:04:24 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:04:24 > git --version # timeout=10 16:04:24 > git --version # 'git version 2.25.1' 16:04:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:04:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:04:25 Merging remotes/origin/main commit 73afea3ace466341e80d38fe07fac6720914120d into PR head commit 4eccf07e03728cf6a18b800588ce5f506dea6fca 16:04:24 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:04:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:04:24 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:04:24 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:04:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:04:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:04:25 > git config core.sparsecheckout # timeout=10 16:04:25 > git checkout -f 4eccf07e03728cf6a18b800588ce5f506dea6fca # timeout=10 16:04:25 Merge succeeded, producing cb7b1c7487586312c5af94597c1d2f43d1996501 16:04:25 Checking out Revision cb7b1c7487586312c5af94597c1d2f43d1996501 (PR-30) 16:04:25 > git remote # timeout=10 16:04:25 > git config --get remote.origin.url # timeout=10 16:04:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:04:25 > git merge 73afea3ace466341e80d38fe07fac6720914120d # timeout=10 16:04:25 > git rev-parse HEAD^{commit} # timeout=10 16:04:25 > git config core.sparsecheckout # timeout=10 16:04:25 > git checkout -f cb7b1c7487586312c5af94597c1d2f43d1996501 # timeout=10 16:04:30 Commit message: "Merge commit '73afea3ace466341e80d38fe07fac6720914120d' into HEAD" 16:04:30 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:04:30 % Total % Received % Xferd Average Speed Time Time Time Current 16:04:30 Dload Upload Total Spent Left Speed 16:04:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 16:04:30 > git rev-list --no-walk 92f579127ccfb9edbbbd722c917fd310f864f887 # timeout=10 16:04:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:04:31 + sudo tee /etc/docker/daemon.new 16:04:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:04:31 { 16:04:31 "registry-mirrors": [ 16:04:31 "https://nexus3.edgexfoundry.org:10001" 16:04:31 ], 16:04:31 "bip": "10.250.0.254/24", 16:04:31 "hosts": [ 16:04:31 "tcp://0.0.0.0:5555", 16:04:31 "unix:///var/run/docker.sock" 16:04:31 ], 16:04:31 "mtu": 1458, 16:04:31 "selinux-enabled": true, 16:04:31 "seccomp-profile": "/etc/docker/seccomp.json" 16:04:31 } [Pipeline] sh 16:04:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:04:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:04:51 provisioning config files... 16:04:51 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/20@tmp/config1870362943319843756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:04:51 ---> docker-login.sh 16:04:51 nexus3.edgexfoundry.org:10001 16:04:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:52 Configure a credential helper to remove this warning. See 16:04:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:52 16:04:52 Login Succeeded 16:04:52 nexus3.edgexfoundry.org:10002 16:04:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:52 Configure a credential helper to remove this warning. See 16:04:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:52 16:04:52 Login Succeeded 16:04:52 nexus3.edgexfoundry.org:10003 16:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:53 Configure a credential helper to remove this warning. See 16:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:53 16:04:53 Login Succeeded 16:04:53 nexus3.edgexfoundry.org:10004 16:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:53 Configure a credential helper to remove this warning. See 16:04:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:53 16:04:53 Login Succeeded 16:04:53 docker.io 16:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:04:54 Configure a credential helper to remove this warning. See 16:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:04:54 16:04:54 Login Succeeded 16:04:54 ---> docker-login.sh ends [Pipeline] } 16:04:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:04:55 ========================================================= 16:04:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:04:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 16:04:55 Sending build context to Docker daemon 525.8kB 16:04:55 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:04:55 Step 2/12 : FROM ${BASE} AS builder 16:04:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:04:56 9b3977197b4f: Pulling fs layer 16:04:56 1a89e8eeedd5: Pulling fs layer 16:04:56 94645a83ff95: Pulling fs layer 16:04:56 e6fb740bc735: Pulling fs layer 16:04:56 3a77bd46dcc9: Pulling fs layer 16:04:56 355e64cbe906: Pulling fs layer 16:04:56 63ab81a10011: Pulling fs layer 16:04:56 555d1d1c4555: Pulling fs layer 16:04:56 7d9057610161: Pulling fs layer 16:04:56 e6fb740bc735: Waiting 16:04:56 3a77bd46dcc9: Waiting 16:04:56 355e64cbe906: Waiting 16:04:56 63ab81a10011: Waiting 16:04:56 555d1d1c4555: Waiting 16:04:56 7d9057610161: Waiting 16:04:56 94645a83ff95: Verifying Checksum 16:04:56 94645a83ff95: Download complete 16:04:56 1a89e8eeedd5: Download complete 16:04:56 3a77bd46dcc9: Verifying Checksum 16:04:56 3a77bd46dcc9: Download complete 16:04:56 355e64cbe906: Verifying Checksum 16:04:56 355e64cbe906: Download complete 16:04:56 9b3977197b4f: Download complete 16:04:56 63ab81a10011: Verifying Checksum 16:04:56 63ab81a10011: Download complete 16:04:57 9b3977197b4f: Pull complete 16:04:57 7d9057610161: Verifying Checksum 16:04:57 7d9057610161: Download complete 16:04:57 1a89e8eeedd5: Pull complete 16:04:58 94645a83ff95: Pull complete 16:04:58 555d1d1c4555: Verifying Checksum 16:04:58 555d1d1c4555: Download complete 16:04:58 e6fb740bc735: Download complete 16:05:11 e6fb740bc735: Pull complete 16:05:11 3a77bd46dcc9: Pull complete 16:05:11 355e64cbe906: Pull complete 16:05:11 63ab81a10011: Pull complete 16:05:15 555d1d1c4555: Pull complete 16:05:17 7d9057610161: Pull complete 16:05:17 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:05:17 ---> 819e984ddca1 16:05:17 Step 3/12 : ARG MAKE="make build" 16:05:18 ---> Running in 283537d35828 16:05:19 Removing intermediate container 283537d35828 16:05:19 ---> 15dae06287ed 16:05:19 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:05:19 ---> Running in 7929b9d5c3d4 16:05:19 Removing intermediate container 7929b9d5c3d4 16:05:19 ---> a7a5c703bc2c 16:05:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:05:19 ---> Running in a1d67ea3a204 16:05:20 Removing intermediate container a1d67ea3a204 16:05:20 ---> 8f147827df18 16:05:20 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:05:20 ---> Running in 552b192c74d9 16:05:22 Removing intermediate container 552b192c74d9 16:05:22 ---> 0773a4809fbc 16:05:22 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:05:22 ---> Running in 9f5f0aa418df 16:05:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:05:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:05:24 (1/14) Installing libintl (0.21-r0) 16:05:24 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 16:05:24 (3/14) Installing libjpeg-turbo (2.1.2-r0) 16:05:24 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:05:25 (5/14) Installing v4l-utils (1.22.1-r1) 16:05:25 (6/14) Installing udev-init-scripts (35-r0) 16:05:25 Executing udev-init-scripts-35-r0.post-install 16:05:25 (7/14) Installing libblkid (2.37.4-r0) 16:05:25 (8/14) Installing xz-libs (5.2.5-r1) 16:05:25 (9/14) Installing zstd-libs (1.5.0-r0) 16:05:25 (10/14) Installing kmod-libs (29-r2) 16:05:25 (11/14) Installing eudev (3.2.11_pre1-r0) 16:05:25 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 16:05:26 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:05:26 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:05:26 Executing busybox-1.34.1-r3.trigger 16:05:26 Executing eudev-3.2.11_pre1-r0.trigger 16:05:26 OK: 228 MiB in 66 packages 16:05:27 Removing intermediate container 9f5f0aa418df 16:05:27 ---> f35cc13d8972 16:05:27 Step 8/12 : WORKDIR /device-usb-camera 16:05:27 ---> Running in 2359369aa340 16:05:27 Removing intermediate container 2359369aa340 16:05:27 ---> a84670ead81d 16:05:27 Step 9/12 : COPY go.mod vendor* ./ 16:05:28 ---> efe3db133432 16:05:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:05:28 ---> Running in 89b541e76bce 16:06:15 Removing intermediate container 89b541e76bce 16:06:15 ---> 6579b88b45b0 16:06:15 Step 11/12 : COPY . . 16:06:15 ---> bd096198cc28 16:06:15 Step 12/12 : RUN ${MAKE} 16:06:15 ---> Running in 44938a3cb87c 16:06:15 noop 16:06:16 Removing intermediate container 44938a3cb87c 16:06:16 ---> 47fb29df7370 16:06:16 Successfully built 47fb29df7370 16:06:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:17 + docker inspect -f . ci-base-image-arm64 16:06:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:17 prd-ubuntu20.04-docker-arm64-4c-16g-16356 does not seem to be running inside a container 16:06:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:06:18 $ docker top 6f7a723d6e4faeef439b380db86a420ae475245f2b2fa5fe381c6ac1bbc38376 -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:19 + go version 16:06:19 go version go1.17.7 linux/arm64 [Pipeline] } 16:06:19 $ docker stop --time=1 6f7a723d6e4faeef439b380db86a420ae475245f2b2fa5fe381c6ac1bbc38376 16:06:21 $ docker rm -f 6f7a723d6e4faeef439b380db86a420ae475245f2b2fa5fe381c6ac1bbc38376 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:22 + docker inspect -f . ci-base-image-arm64 16:06:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:22 prd-ubuntu20.04-docker-arm64-4c-16g-16356 does not seem to be running inside a container 16:06:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:06:23 $ docker top 4e07375463fe1c60aa20ec6e2c2e5f393ee50282358afd6bea30afa72c687828 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:06:24 + make test 16:06:24 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:06:26 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:08:03 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:08:03 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 16:08:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:08:03 CGO_ENABLED=1 go vet ./... 16:08:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:08:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:08:18 ./bin/test-attribution-txt.sh [Pipeline] echo 16:08:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:08:22 $ docker stop --time=1 4e07375463fe1c60aa20ec6e2c2e5f393ee50282358afd6bea30afa72c687828 16:08:24 $ docker rm -f 4e07375463fe1c60aa20ec6e2c2e5f393ee50282358afd6bea30afa72c687828 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:08:25 Warning: overwriting stash ‘coverage-report’ 16:08:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:08:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:08:26 + ls -al . 16:08:26 total 164 16:08:26 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 16:08 . 16:08:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:04 .. 16:08:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:04 .git 16:08:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:04 .github 16:08:26 -rw-rw-r-- 1 jenkins jenkins 414 Jun 29 16:04 .gitignore 16:08:26 -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 16:04 .golangci.yml 16:08:26 -rw-rw-r-- 1 jenkins jenkins 77 Jun 29 16:04 .hadolint.yml 16:08:26 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 29 16:04 Attribution.txt 16:08:26 -rw-rw-r-- 1 jenkins jenkins 181 Jun 29 16:04 CHANGELOG.md 16:08:26 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 29 16:04 Dockerfile 16:08:26 -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:04 GOVERNANCE.md 16:08:26 -rw-rw-r-- 1 jenkins jenkins 659 Jun 29 16:04 Jenkinsfile 16:08:26 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 29 16:04 LICENSE 16:08:26 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 29 16:04 Makefile 16:08:26 -rw-rw-r-- 1 jenkins jenkins 622 Jun 29 16:04 OWNERS.md 16:08:26 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 29 16:04 README.md 16:08:26 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:01 VERSION 16:08:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:04 bin 16:08:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:04 cmd 16:08:26 -rw-r--r-- 1 jenkins jenkins 10 Jun 29 16:06 coverage.out 16:08:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:04 docker-compose 16:08:26 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:04 docker-entrypoint.sh 16:08:26 -rw-rw-r-- 1 jenkins jenkins 3277 Jun 29 16:04 go.mod 16:08:26 -rw-rw-r-- 1 jenkins jenkins 35596 Jun 29 16:04 go.sum 16:08:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:04 internal 16:08:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:04 snap 16:08:26 -rw-rw-r-- 1 jenkins jenkins 231 Jun 29 16:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:26 + 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=cb7b1c7487586312c5af94597c1d2f43d1996501 --label arch=arm64 --label version=0.0.0 . 16:08:26 Sending build context to Docker daemon 526.8kB 16:08:26 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 16:08:26 Step 2/29 : FROM ${BASE} AS builder 16:08:26 ---> 47fb29df7370 16:08:26 Step 3/29 : ARG MAKE="make build" 16:08:27 ---> Running in 9c1c08633fc1 16:08:27 Removing intermediate container 9c1c08633fc1 16:08:27 ---> e42f46b5300f 16:08:27 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:08:27 ---> Running in 341d1b9fe92e 16:08:27 Removing intermediate container 341d1b9fe92e 16:08:27 ---> 28507007142a 16:08:27 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:08:28 ---> Running in 3049a189a747 16:08:28 Removing intermediate container 3049a189a747 16:08:28 ---> b4718e45656b 16:08:28 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:08:28 ---> Running in e40ebded15f4 16:08:29 Removing intermediate container e40ebded15f4 16:08:29 ---> d0473e94c11a 16:08:29 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:08:30 ---> Running in 5596998fb72b 16:08:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:08:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:08:33 OK: 228 MiB in 66 packages 16:08:33 Removing intermediate container 5596998fb72b 16:08:33 ---> b5cfec801c2e 16:08:33 Step 8/29 : WORKDIR /device-usb-camera 16:08:33 ---> Running in 26af3fada4d7 16:08:34 Removing intermediate container 26af3fada4d7 16:08:34 ---> 4c8eebb8be18 16:08:34 Step 9/29 : COPY go.mod vendor* ./ 16:08:34 ---> 4d97355b2584 16:08:34 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:08:34 ---> Running in d9c46e1feb85 16:08:36 Removing intermediate container d9c46e1feb85 16:08:36 ---> 9e81a9ba8372 16:08:36 Step 11/29 : COPY . . 16:08:37 ---> 462f02128be3 16:08:37 Step 12/29 : RUN ${MAKE} 16:08:37 ---> Running in 246cc8e85e50 16:08:38 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:11:00 Removing intermediate container 246cc8e85e50 16:11:00 ---> f7a919449ed9 16:11:00 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 16:11:00 v0.18.4: Pulling from aler9/rtsp-simple-server 16:11:00 eab2503cf8f4: Pulling fs layer 16:11:00 97cd0a44c592: Pulling fs layer 16:11:00 97cd0a44c592: Verifying Checksum 16:11:00 97cd0a44c592: Download complete 16:11:00 eab2503cf8f4: Download complete 16:11:00 eab2503cf8f4: Pull complete 16:11:00 97cd0a44c592: Pull complete 16:11:00 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 16:11:00 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 16:11:00 ---> 7f763cca56b3 16:11:00 Step 14/29 : FROM alpine:3.15 16:11:00 3.15: Pulling from library/alpine 16:11:00 9981e73032c8: Pulling fs layer 16:11:00 9981e73032c8: Verifying Checksum 16:11:00 9981e73032c8: Download complete 16:11:00 9981e73032c8: Pull complete 16:11:00 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:11:00 Status: Downloaded newer image for alpine:3.15 16:11:00 ---> 3fb3c9af89a9 16:11:00 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:11:00 ---> Running in 5d10085c1c04 16:11:00 Removing intermediate container 5d10085c1c04 16:11:00 ---> dccd1d957c69 16:11:00 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:11:00 ---> Running in 87a1153084e4 16:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:11:00 (1/73) Installing dumb-init (1.2.5-r1) 16:11:00 (2/73) Installing sdl2 (2.0.16-r4) 16:11:00 (3/73) Installing libxau (1.0.9-r0) 16:11:00 (4/73) Installing libmd (1.0.3-r0) 16:11:00 (5/73) Installing libbsd (0.11.3-r1) 16:11:00 (6/73) Installing libxdmcp (1.1.3-r0) 16:11:00 (7/73) Installing libxcb (1.14-r2) 16:11:00 (8/73) Installing libx11 (1.7.2-r0) 16:11:00 (9/73) Installing aom-libs (3.2.0-r0) 16:11:00 (10/73) Installing alsa-lib (1.2.5.1-r1) 16:11:00 (11/73) Installing expat (2.4.7-r0) 16:11:00 (12/73) Installing brotli-libs (1.0.9-r5) 16:11:00 (13/73) Installing libbz2 (1.0.8-r1) 16:11:00 (14/73) Installing libpng (1.6.37-r1) 16:11:00 (15/73) Installing freetype (2.11.1-r2) 16:11:00 (16/73) Installing libuuid (2.37.4-r0) 16:11:00 (17/73) Installing fontconfig (2.13.1-r4) 16:11:00 (18/73) Installing fribidi (1.0.11-r0) 16:11:00 (19/73) Installing libffi (3.4.2-r1) 16:11:00 (20/73) Installing libintl (0.21-r0) 16:11:00 (21/73) Installing libblkid (2.37.4-r0) 16:11:00 (22/73) Installing libmount (2.37.4-r0) 16:11:00 (23/73) Installing pcre (8.45-r1) 16:11:00 (24/73) Installing glib (2.70.1-r0) 16:11:00 (25/73) Installing graphite2 (1.3.14-r0) 16:11:00 (26/73) Installing harfbuzz (3.0.0-r2) 16:11:00 (27/73) Installing libass (0.15.2-r0) 16:11:00 (28/73) Installing libdav1d (0.9.2-r0) 16:11:00 (29/73) Installing gmp (6.2.1-r1) 16:11:00 (30/73) Installing nettle (3.7.3-r0) 16:11:00 (31/73) Installing p11-kit (0.24.0-r1) 16:11:00 (32/73) Installing libtasn1 (4.18.0-r0) 16:11:00 (33/73) Installing libunistring (0.9.10-r1) 16:11:00 (34/73) Installing gnutls (3.7.1-r0) 16:11:00 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 16:11:00 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 16:11:00 (37/73) Installing lame (3.100-r0) 16:11:00 (38/73) Installing opus (1.3.1-r1) 16:11:00 (39/73) Installing libgomp (10.3.1_git20211027-r0) 16:11:00 (40/73) Installing soxr (0.1.3-r2) 16:11:00 (41/73) Installing libgcc (10.3.1_git20211027-r0) 16:11:00 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 16:11:00 (43/73) Installing libsrt (1.4.2-r1) 16:11:00 (44/73) Installing libssh (0.9.6-r1) 16:11:00 (45/73) Installing libogg (1.3.5-r0) 16:11:00 (46/73) Installing libtheora (1.1.1-r16) 16:11:00 (47/73) Installing libjpeg-turbo (2.1.2-r0) 16:11:00 (48/73) Installing v4l-utils-libs (1.22.1-r1) 16:11:00 (49/73) Installing libxext (1.3.4-r0) 16:11:00 (50/73) Installing libxfixes (6.0.0-r0) 16:11:00 (51/73) Installing libdrm (2.4.109-r0) 16:11:00 (52/73) Installing wayland-libs-client (1.19.0-r1) 16:11:00 (53/73) Installing libva (2.13.0-r0) 16:11:00 (54/73) Installing libvdpau (1.4-r0) 16:11:00 (55/73) Installing vidstab (1.1.0-r1) 16:11:00 (56/73) Installing libvorbis (1.3.7-r0) 16:11:00 (57/73) Installing libvpx (1.10.0-r0) 16:11:00 (58/73) Installing vulkan-loader (1.2.196-r0) 16:11:00 (59/73) Installing libwebp (1.2.2-r0) 16:11:00 (60/73) Installing x264-libs (20210613-r0) 16:11:00 (61/73) Installing x265-libs (3.5-r0) 16:11:00 (62/73) Installing xvidcore (1.3.7-r1) 16:11:00 (63/73) Installing ffmpeg-libs (4.4.1-r2) 16:11:00 (64/73) Installing ffmpeg (4.4.1-r2) 16:11:00 (65/73) Installing udev-init-scripts (35-r0) 16:11:00 Executing udev-init-scripts-35-r0.post-install 16:11:00 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 16:11:00 (67/73) Installing xz-libs (5.2.5-r1) 16:11:00 (68/73) Installing zstd-libs (1.5.0-r0) 16:11:00 (69/73) Installing kmod-libs (29-r2) 16:11:00 (70/73) Installing eudev (3.2.11_pre1-r0) 16:11:00 (71/73) Installing libsodium (1.0.18-r0) 16:11:00 (72/73) Installing libzmq (4.3.4-r0) 16:11:00 (73/73) Installing zeromq (4.3.4-r0) 16:11:00 Executing busybox-1.34.1-r5.trigger 16:11:00 Executing eudev-3.2.11_pre1-r0.trigger 16:11:00 OK: 67 MiB in 87 packages 16:11:00 Removing intermediate container 87a1153084e4 16:11:00 ---> 2b6e05371a6a 16:11:00 Step 17/29 : WORKDIR / 16:11:00 ---> Running in 182e48b5114e 16:11:00 Removing intermediate container 182e48b5114e 16:11:00 ---> c6749e78268b 16:11:00 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 16:11:01 ---> c37e8e0f8fe6 16:11:01 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 16:11:01 ---> d2a6d624d090 16:11:01 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:11:02 ---> a7bc5cf4b22d 16:11:02 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:11:02 ---> 63ab62c00e40 16:11:02 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 16:11:03 ---> f2b0a21bb188 16:11:03 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 16:11:04 ---> e116ede6c101 16:11:04 Step 24/29 : EXPOSE 59983 16:11:04 ---> Running in e3c445a66e4e 16:11:05 Removing intermediate container e3c445a66e4e 16:11:05 ---> 4322524de82d 16:11:05 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:11:05 ---> Running in a2ea3d95fe5d 16:11:05 Removing intermediate container a2ea3d95fe5d 16:11:05 ---> b35bc4ae2ccb 16:11:05 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:11:05 ---> Running in d7ffab620efd 16:11:05 Removing intermediate container d7ffab620efd 16:11:05 ---> b73fe7adb62e 16:11:05 Step 27/29 : LABEL arch=arm64 16:11:06 ---> Running in ec71e66801b2 16:11:06 Removing intermediate container ec71e66801b2 16:11:06 ---> 35ae649f4cd6 16:11:06 Step 28/29 : LABEL git_sha=cb7b1c7487586312c5af94597c1d2f43d1996501 16:11:06 ---> Running in 524693d2acd9 16:11:06 Removing intermediate container 524693d2acd9 16:11:06 ---> 35d714fd6f27 16:11:06 Step 29/29 : LABEL version=0.0.0 16:11:06 ---> Running in 8008f1db9136 16:11:07 Removing intermediate container 8008f1db9136 16:11:07 ---> 5a101a3a2bbb 16:11:07 [Warning] One or more build-args [ARCH] were not consumed 16:11:07 Successfully built 5a101a3a2bbb 16:11:07 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 16:11:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:11:07 16:11:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:11:08 arm64: Pulling from edgex-lftools-log-publisher 16:11:08 8998bd30e6a1: Pulling fs layer 16:11:08 04944245beec: Pulling fs layer 16:11:08 699f458cf7ca: Pulling fs layer 16:11:08 765212b225bb: Pulling fs layer 16:11:08 f23df028b6ca: Pulling fs layer 16:11:08 d65c8cfc05b1: Pulling fs layer 16:11:08 2437ff75d9bd: Pulling fs layer 16:11:08 765212b225bb: Waiting 16:11:08 f23df028b6ca: Waiting 16:11:08 d65c8cfc05b1: Waiting 16:11:08 2437ff75d9bd: Waiting 16:11:08 04944245beec: Verifying Checksum 16:11:08 04944245beec: Download complete 16:11:08 765212b225bb: Verifying Checksum 16:11:08 765212b225bb: Download complete 16:11:08 f23df028b6ca: Download complete 16:11:08 d65c8cfc05b1: Verifying Checksum 16:11:08 d65c8cfc05b1: Download complete 16:11:08 699f458cf7ca: Verifying Checksum 16:11:08 699f458cf7ca: Download complete 16:11:09 8998bd30e6a1: Verifying Checksum 16:11:11 2437ff75d9bd: Verifying Checksum 16:11:11 2437ff75d9bd: Download complete 16:11:13 8998bd30e6a1: Pull complete 16:11:13 04944245beec: Pull complete 16:11:15 699f458cf7ca: Pull complete 16:11:15 765212b225bb: Pull complete 16:11:16 f23df028b6ca: Pull complete 16:11:16 d65c8cfc05b1: Pull complete 16:11:31 2437ff75d9bd: Pull complete 16:11:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:11:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:11:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:32 prd-ubuntu20.04-docker-arm64-4c-16g-16356 does not seem to be running inside a container 16:11:32 $ 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/20 -v /w/workspace/device-usb-camera/20:/w/workspace/device-usb-camera/20:rw,z -v /w/workspace/device-usb-camera/20@tmp:/w/workspace/device-usb-camera/20@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:11:35 $ docker top 4aba137efa127e05d46f11fa574d8dc10bb9bbb1d99ff575a6427c8a5fccd5ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:36 ---> job-cost.sh 16:11:36 lf-activate-venv: SKIPPING 16:11:36 INFO: No Stack... 16:11:36 INFO: Retrieving Pricing Info for: v3-standard-4 16:11:37 INFO: Archiving Costs [Pipeline] sh 16:11:38 + cut -d, -f6 16:11:38 + cat /w/workspace/device-usb-camera/20/archives/cost.csv [Pipeline] lock 16:11:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] 16:11:38 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] did not exist. Created. 16:11:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:11:38 /w/workspace/device-usb-camera/20@tmp/durable-93e6c33c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:11:39 + echo total: 0.10999999940395355 [Pipeline] stash 16:11:39 Warning: overwriting stash ‘stack-cost’ 16:11:39 Stashed 1 file(s) [Pipeline] } 16:11:39 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-20-stack-cost] [Pipeline] // lock [Pipeline] } 16:11:39 $ docker stop --time=1 4aba137efa127e05d46f11fa574d8dc10bb9bbb1d99ff575a6427c8a5fccd5ad 16:11:41 $ docker rm -f 4aba137efa127e05d46f11fa574d8dc10bb9bbb1d99ff575a6427c8a5fccd5ad [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 16:11:41 provisioning config files... 16:11:41 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config3499062401457141710tmp [Pipeline] { [Pipeline] sh 16:11:41 + set +x 16:11:41 + curl -s https://codecov.io/bash 16:11:41 + bash -s -- 16:11:41 16:11:41 _____ _ 16:11:41 / ____| | | 16:11:41 | | ___ __| | ___ ___ _____ __ 16:11:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:11:41 | |___| (_) | (_| | __/ (_| (_) \ V / 16:11:41 \_____\___/ \__,_|\___|\___\___/ \_/ 16:11:41 Bash-1.0.6 16:11:41 16:11:41 16:11:41 ==> git version 2.25.1 found 16:11:41 ==> 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 16:11:41 Release-Date: 2020-01-08 16:11:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:11:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:11:41 ==> Jenkins CI detected. 16:11:41 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 16:11:41 project root: . 16:11:41 --> token set from env 16:11:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:11:41 ==> Running gcov in . (disable via -X gcov) 16:11:41 ==> Python coveragepy not found 16:11:41 ==> Searching for coverage reports in: 16:11:41 + . 16:11:41 -> Found 1 reports 16:11:41 ==> Detecting git/mercurial file structure 16:11:41 ==> Reading reports 16:11:41 + ./coverage.out bytes=10 16:11:41 ==> Appending adjustments 16:11:41 https://docs.codecov.io/docs/fixing-reports 16:11:42 + Found adjustments 16:11:42 ==> Gzipping contents 16:11:42 4.0K /tmp/codecov.ZhlRPK.gz 16:11:42 ==> Uploading reports 16:11:42 url: https://codecov.io 16:11:42 query: branch=PR-30&commit=4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 16:11:42 -> Pinging Codecov 16:11:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 16:11:42 -> Uploading to 16:11:42 https://storage.googleapis.com/codecov/v4/raw/2022-06-29/73D8F5FF140700D3E01443B452E23636/4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d/1533b597-848c-479c-9c1e-15cd7581451b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T161142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f85b6f7924da01258cb36d8efda10d699f8833b28b402b9438cd44bd50926072 16:11:42 % Total % Received % Xferd Average Speed Time Time Time Current 16:11:42 Dload Upload Total Spent Left Speed 16:11:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1202 0 0 100 1202 0 5892 --:--:-- --:--:-- --:--:-- 5863 100 1202 0 0 100 1202 0 5295 --:--:-- --:--:-- --:--:-- 5271 16:11:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/4ddaf35b9ea4cf2952f7a0f7a5c13c453bdd054d [Pipeline] } 16:11:42 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 16:11:43 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 16:11:43 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 16:11:43 total 16 16:11:43 drwxr-xr-x 3 root root 4096 Jun 29 16:03 . 16:11:43 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:03 .. 16:11:43 drwxr-xr-x 2 root root 4096 Jun 29 16:03 cost 16:11:43 -rw-r--r-- 1 root root 88 Jun 29 16:03 cost.csv 16:11:43 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 16:11:43 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 16:11:43 total 16 16:11:43 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:03 . 16:11:43 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:03 .. 16:11:43 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 16:03 cost 16:11:43 -rw-r--r-- 1 jenkins jenkins 88 Jun 29 16:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:11:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:11:44 ---> package-listing.sh 16:11:44 ++ facter osfamily 16:11:44 ++ tr '[:upper:]' '[:lower:]' 16:11:44 + OS_FAMILY=debian 16:11:44 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 16:11:44 + START_PACKAGES=/tmp/packages_start.txt 16:11:44 + END_PACKAGES=/tmp/packages_end.txt 16:11:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:11:44 + PACKAGES=/tmp/packages_start.txt 16:11:44 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 16:11:44 + PACKAGES=/tmp/packages_end.txt 16:11:44 + case "${OS_FAMILY}" in 16:11:44 + dpkg -l 16:11:44 + grep '^ii' 16:11:44 + '[' -f /tmp/packages_start.txt ']' 16:11:44 + '[' -f /tmp/packages_end.txt ']' 16:11:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:11:44 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 16:11:44 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 16:11:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo 16:11:44 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:11:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:11:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:45 prd-ubuntu20.04-docker-8c-8g-16354 does not seem to be running inside a container 16:11:45 $ 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:11:45 $ docker top 890725d0ffe239085fe99ded70b7e38ed4c001e5ea74874fb758cd0b94e4661a -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:46 + touch /tmp/pre-build-complete [Pipeline] sh 16:11:46 + mkdir -p /var/log/sysstat [Pipeline] sh 16:11:46 + ls /var/log/sa-host 16:11:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:46 provisioning config files... 16:11:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config4836145028123868140tmp [Pipeline] { [Pipeline] echo 16:11:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:11:47 ---> create-netrc.sh [Pipeline] } 16:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:11:47 ---> python-tools-install.sh [Pipeline] echo 16:11:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:11:47 ---> sudo-logs.sh 16:11:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:11:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:11:48 ---> job-cost.sh 16:11:48 lf-activate-venv: SKIPPING 16:11:48 DEBUG: total: 0.2199999988079071 16:11:48 INFO: Retrieving Stack Cost... 16:11:48 INFO: Retrieving Pricing Info for: v3-standard-8 16:11:49 INFO: Archiving Costs [Pipeline] echo 16:11:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:11:49 ---> logs-deploy.sh 16:11:49 lf-activate-venv: SKIPPING 16:11:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/20 16:11:49 INFO: archiving workspace using pattern(s): 16:11:50 Archives upload complete. 16:11:50 INFO: archiving logs to Nexus 16:11:51 ---> uname -a: 16:11:51 Linux prd-ubuntu20-04-docker-8c-8g-16354 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 16:11:51 16:11:51 16:11:51 ---> lscpu: 16:11:51 Architecture: x86_64 16:11:51 CPU op-mode(s): 32-bit, 64-bit 16:11:51 Byte Order: Little Endian 16:11:51 Address sizes: 40 bits physical, 48 bits virtual 16:11:51 CPU(s): 8 16:11:51 On-line CPU(s) list: 0-7 16:11:51 Thread(s) per core: 1 16:11:51 Core(s) per socket: 1 16:11:51 Socket(s): 8 16:11:51 NUMA node(s): 1 16:11:51 Vendor ID: AuthenticAMD 16:11:51 CPU family: 23 16:11:51 Model: 49 16:11:51 Model name: AMD EPYC-Rome Processor 16:11:51 Stepping: 0 16:11:51 CPU MHz: 2800.000 16:11:51 BogoMIPS: 5600.00 16:11:51 Virtualization: AMD-V 16:11:51 Hypervisor vendor: KVM 16:11:51 Virtualization type: full 16:11:51 L1d cache: 256 KiB 16:11:51 L1i cache: 256 KiB 16:11:51 L2 cache: 4 MiB 16:11:51 L3 cache: 128 MiB 16:11:51 NUMA node0 CPU(s): 0-7 16:11:51 Vulnerability Itlb multihit: Not affected 16:11:51 Vulnerability L1tf: Not affected 16:11:51 Vulnerability Mds: Not affected 16:11:51 Vulnerability Meltdown: Not affected 16:11:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:11:51 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:11:51 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:11:51 Vulnerability Srbds: Not affected 16:11:51 Vulnerability Tsx async abort: Not affected 16:11:51 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:11:51 16:11:51