Skip to content

Conversation

@mythi
Copy link
Contributor

@mythi mythi commented Aug 6, 2019

No description provided.

@mythi
Copy link
Contributor Author

mythi commented Aug 6, 2019

Testing: TBD

@mythi
Copy link
Contributor Author

mythi commented Aug 7, 2019

buildah is not happy using an arg variable with FROM:

error determining starting point for build: no FROM statement found
time="2019-08-06T19:53:35Z" level=error msg="exit status 1"
Makefile:47: recipe for target 'intel-qat-plugin' failed
make: *** [intel-qat-plugin] Error 1

Copy link
Contributor Author

@mythi mythi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self-review

@@ -0,0 +1,5 @@
nameSuffix: -crypto-perf
bases:
- ../dpdk-test/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I slept overnight and decided to move dpdk-test, crypto-perf and compress-perf to a dir called patches/ to indicate the overlays are not usable as is.

@mythi
Copy link
Contributor Author

mythi commented Aug 7, 2019

buildah is not happy using an arg variable with FROM:

buildah v1.5 should fix it. I'll update Jenkinsfile/travis.

@mythi mythi force-pushed the dockerfile-update branch 4 times, most recently from fa233ef to c8f004e Compare August 9, 2019 10:36
@mythi mythi force-pushed the dockerfile-update branch from c8f004e to 69a21c5 Compare August 16, 2019 07:46
@mythi
Copy link
Contributor Author

mythi commented Aug 16, 2019

@kad I've added a note about kubernetes v1.14 "dependency" with kustomize.

CI errors seem real and it's because swupd update returns 255 for some reason even if the update is successful. Any idea?

@ipuustin
Copy link
Contributor

@mythi I noticed that too. I have a minimal Dockerfile:

FROM clearlinux:latest
RUN swupd update --no-boot-update

Building that image fails with the error:

...
Update successful. System updated from version 30730 to version 30760
The command '/bin/sh -c swupd update --no-boot-update' returned a non-zero code: 255

@ipuustin
Copy link
Contributor

I went to submit a bug but there already were several: clearlinux/swupd-client#1068

@codecov-io
Copy link

codecov-io commented Aug 17, 2019

Codecov Report

Merging #203 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   79.17%   79.17%           
=======================================
  Files          11       11           
  Lines        1508     1508           
=======================================
  Hits         1194     1194           
  Misses        281      281           
  Partials       33       33

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b7263fa...e1399b5. Read the comment docs.

@mythi mythi force-pushed the dockerfile-update branch 2 times, most recently from 46eaa23 to 37b08a5 Compare August 19, 2019 10:47
@mythi mythi changed the title QAT: new base images and DPDK based testing New base images and QAT DPDK testing Aug 19, 2019
@mythi mythi force-pushed the dockerfile-update branch from 37b08a5 to 53d1ba0 Compare August 19, 2019 11:08
mythi added 2 commits August 19, 2019 15:19
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
@mythi mythi force-pushed the dockerfile-update branch 2 times, most recently from 7bd838a to bec01f6 Compare August 19, 2019 20:18
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
@mythi mythi force-pushed the dockerfile-update branch from bec01f6 to 875b08e Compare August 20, 2019 13:20
mythi added 4 commits August 20, 2019 22:01
The modifications also bring enablers to "reproducible" builds.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Switch to clearlinux based image and rootfs and add
enablers to make builds reproducible.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
We plan to use crypto-perf for simple QAT testing. This commit adds
kustomization to make the deployment easier. The original .yaml is
also moved to deployments/ with some changes.

For instance, it turns out also vfio-pci mode with DPDK needs CAP_SYS_ADMIN
(See PR: intel#187 which states that only igb_uio would need it).

kustomize is available part of kubectl since kubernetes v1.14.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Clear Linux enables DPDK QAT PMD so we can move to use everything from
there. This saves maintenance efforts and we get more up-to-date DPDK.
The DPDK version in this update gives a tool for compress perf too, for
instance.

The commit also adds kustomize scripts that overlay the original DPDK
demo deployment to run dpdk-test-[compress|crypto|-perf test cases:

$ kubectl apply -k deployments/qat_dpdk_app/test-compress1/
$ kubectl apply -f deployments/qat_dpdk_app/test-crypto1/

New test cases ('ptest's with varying parameters) can be easily added
by following the pattern in test-[crypto|compress]1 directories.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
@mythi mythi force-pushed the dockerfile-update branch from 875b08e to e1399b5 Compare August 20, 2019 19:14
@mythi
Copy link
Contributor Author

mythi commented Aug 21, 2019

@kad from my side this is ready

Copy link
Member

@kad kad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
if @bart0sh and @rojkov don't have any other objections, let's merge.

@mythi
Copy link
Contributor Author

mythi commented Aug 21, 2019

@rojkov has reviewed 959f7e6 and 144b45f. They were OK.

@rojkov
Copy link
Contributor

rojkov commented Aug 21, 2019

LGTM

@rojkov rojkov merged commit 5b2aa6d into intel:master Aug 21, 2019
askervin pushed a commit to askervin/intel-device-plugins-for-kubernetes that referenced this pull request May 6, 2020
…ainer

resource-manager: free any lingering instance upon pod/container recreation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants