IRC logs for #cip for Tuesday, 2019-03-05

*** fujita[m] has quit IRC00:11
*** fujita[m] has joined #cip00:12
*** dl9pf has quit IRC00:39
*** dl9pf has joined #cip00:40
*** dl9pf has joined #cip00:40
*** tpollard has quit IRC01:07
*** iwamatsu has quit IRC07:00
*** rajm has joined #cip07:35
*** toscalix_ has joined #cip08:15
*** tpollard has joined #cip09:35
patersoncwagi: ping10:18
*** tpollard has quit IRC10:24
*** tpollard has joined #cip10:29
wagipatersonc: yes I am around10:29
patersonc:)10:31
patersoncDo you know the upstreaming status of the IPC227E board?10:31
patersoncIs it supported in mainline or CIP v4.4/v4.19 Kernels?10:31
wagiNo, I don't know the exact status but I am pretty sure it is working out of the box with mainline. It's just a normal x86 box. The only thing I suppose wont work directly is the profinet stuff10:32
wagiJanK normaly knows best. I can ping him when I am the office. Still home office due my sickness10:33
patersoncThank you!10:35
patersoncI hope you feel better soon.10:35
wagiIt's getting better. Last week I went to early back (CIP meeting) which resulted in a second infection10:36
patersonc:(10:36
wagiSo I decided to stay at home until I am really cured10:36
wagiIt's nice working at home10:37
patersoncIndeed10:37
patersoncI'll email cip-members about IPC227E support10:38
wagiThat's a good idea10:38
wagiBTW: https://github.com/igaw/test-definitions/tree/preempt-rt10:38
patersonc:)10:38
wagiI fixed up the exting tests to report latency misses10:38
wagiI would like to add some more tests in the future10:39
patersoncI'll try and take a look at some point today. Thank you for sharing.10:39
wagiAnd obviously jitterdebugger10:39
wagiThanks, I suppose the shell/python code is far perfect10:40
wagiAlso the last patch (jitterdebugger) needs some more thinking on the workload10:45
wagiI added the '-c/--command' option to jitterdebugger which starts a background load10:46
wagione of the background load is 'compile stuff'10:46
*** tpollard has quit IRC10:46
wagiso the filesystem needs sources installed to a toolchain10:46
wagicurrently the code just knows where the stuff is10:47
patersoncOkay10:47
wagithis needs some more tweaking10:47
wagialso I figured, it would make sense to restart any background tasks if it terminates before jitterdebugger stops10:47
wagiso we could avoid 'while true; do hackbench; done'10:47
wagifurthermore, I think it would make sense to write the stdout/stderr of the background tasks directly into file10:48
wagiavoid ">/dev/null" stuff10:48
wagiand last thing, allowing multiple -c would also be really nice10:48
wagidon't know if that is a feature fest or a feature creep thing :)10:49
wagiI would like to write something like10:49
patersonc:D10:50
wagijitterdebugger -c hackbench -c 'make -C ~/src -j4'10:50
wagithis documents exactly what is happening10:50
wagiwell, maybe the compile thing needs to be put into a shell script though10:51
wagiIf you have any input I am glad to hear it10:52
*** tpollard has joined #cip10:55
wagiNext thing I add is a testplan which combines everything10:57
wagiThen we try to run it on the cip lava instance10:57
wagiThere is just one thing I am not confused10:58
wagiFor most test we need to hand in the  max latency value10:59
wagiwhich is device and kernel specific10:59
waginot sure if that works out with the testplan10:59
wagiHa! I just saw overlays are possible!11:01
patersoncTests can report a measurement back to LAVA, such as latency11:05
patersoncTest jobs are submitted per-board, so we'd know what board & s/w was used for the said latency result11:06
patersoncHere's an example: https://lava.ciplatform.org/scheduler/job/61311:07
patersoncResults: https://lava.ciplatform.org/results/613/0_cyclictest11:07
patersoncNote that the above wasn't run on an -rt Kernel ;)11:08
*** tpollard has quit IRC12:25
*** tpollard has joined #cip12:30
*** toscalix_ has quit IRC13:20
*** tpollard has quit IRC13:34
*** toscalix has joined #cip14:00
wagipatersonc: do you know how to write a job which runs a test plan?14:08
wagiI must miss something. Running the test plan with test-runner works14:09
wagibut my job doesn't run the test plan at all14:09
patersoncIs your job much different to https://lava.ciplatform.org/scheduler/job/613/definition?14:10
patersonc(obviously you'll be linking to a different test definition)14:10
patersoncHere is a link to the actual test plan: https://github.com/igaw/test-definitions/blob/master/automated/linux/cyclictest/cyclictest.yaml14:12
waginot really14:12
wagiI though that is a test case14:13
wagiI was referring to: https://github.com/igaw/test-definitions/blob/preempt-rt/plans/rt/rt-performance.yaml14:13
patersoncAh, yes14:13
wagiI want to run that one14:13
wagi test-runner -p plans/rt/rt-performance.yaml -g root@c2d14:13
wagiworks14:14
patersoncOkay I'll have a look14:14
wagibut i get just an empty run when doing it via the usual test block14:14
wagi(path, repository, from, branch, name, ...)14:14
wagiI see that the agl guys are using it as well14:14
wagihttp://docs.automotivelinux.org/master/docs/devguides/en/dev/reference/CIAT/training/Hands_on_lab_documentation.pdf14:15
wagithere must be an error in my configuration14:15
wagihttps://pastebin.com/raw/Tq2w9Bcg14:16
wagithis is my job14:16
wagiA normal test is executed when added to the test block14:17
wagipatersonc: if you don't know it, it's okay, don't waste your time14:20
patersoncIt looks okay to me...14:20
patersoncYou could try running the same on the CIP lab so we can see the logs etc14:21
patersoncYou've have to change the device though14:21
wagihttps://pastebin.com/raw/MRB9wzRA14:21
wagiI would need to upload the rootfs14:21
wagiI still have a slow uplink14:22
wagiRight now, they are attaching my house to fibre14:22
wagiI feel the vibrations from the heavy machines outside :D14:22
patersoncHappy days14:23
wagiso in the log, it looks like the test plan is executed as normal test case14:23
wagi:D14:23
wagiWe were waiting for this for 3 years14:23
patersoncYour test plan isn't specifying the repo branch.14:26
patersoncAnd it looks like the master branch of your test-definitions doesn't have jitterdebugger14:27
wagiahaahaaaahaaaaaaaaa14:28
wagiI think the test-defintiont repos is over defining stuff14:30
patersoncRather then a test plan, you can just call multiple tests from the overall test job definition.14:31
wagiand also mixing hardware configuraiton into test definition14:31
wagiYes that works but I would like to group things together14:31
patersoncMost of the meta data in the test case definitions isn't used14:32
patersonce.g. devices14:32
patersoncOkay I understand. Grouping would be useful. I haven't tried a test plan though tbh.14:33
wagithe branch was not the problem :(14:33
patersoncI didn't think it would be, given the other test cases were in the master branch ;)14:34
patersoncYou could drop mungaip an email. He may have a better idea than me14:34
wagi/usr/bin/git clone -b preempt-rt https://github.com/igaw/test-definitions.git /var/lib/lava/dispatcher/tmp/123/lava-overlay-d7vtg4jp/lava-123/0/tests/0_rt-performance --depth=114:34
wagiso this looks good so far14:36
wagiyeah, I dig a bit further maybe I see the problem14:36
*** tpollard has joined #cip14:42
*** apteryx has joined #cip15:13
apteryxhi!15:13
apteryxI'm reviewing the CIP project to know if it'd be suitable as a source of stable, CVE-patched base components (toolchain, kernel, etc.).15:13
apteryxWhere can I learn if a CVE has been patched in the project currently? I don't see commit activities regarding addressing of CVEs.15:14
patersoncHello apteryx15:15
apteryxpatersonc: hi :-)15:16
patersoncbwh has created a CVE tracker that can check for patches CVEs: https://gitlab.com/cip-project/cip-kernel/cip-kernel-sec15:16
patersoncUsing this tool bwh has backported a number of CVE fixes to the LTS v4.4 and CIP v4.4 Kernels15:17
patersoncwrt other components, most of them are supported by the Debian LTS project, which CIP contributes to.15:18
patersoncPerhaps send an email to cip-dev@lists.cip-project.org where people more in the know then me can provide more information.15:19
apteryxpatersonc: I see! Thanks for the pointers :-)15:23
patersoncYou're welcome.15:23
patersoncLet us know if you have any other queries!15:24
wagipatersonc: https://validation.linaro.org/static/docs/v2/results-intro.html#results-test-suite15:27
wagiit looks like suits are defined in the job15:27
*** bwh has joined #cip15:28
toscalixapteryx: we patch upstream first16:10
*** toscalix has quit IRC17:14
*** tpollard has quit IRC20:34
*** tpollard has joined #cip21:29
*** rajm has quit IRC22:44

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!