[CRIU] GSoC 2019 application

Vaibhav Gupta vaibhavgupta40 at gmail.com
Sat Mar 9 07:23:22 MSK 2019


I did run following commands:
$ cat /proc/sys/kernel/tainted
12289
$ ps -efly | grep 12289
S varodek  15568 15519  0  80   0  2248  1645 -      09:43 pts/1
00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS
--exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn 12289

I guess tainting is caused by zdtm.py only. at line 1975 2306

On Sat, Mar 9, 2019 at 9:10 AM Vaibhav Gupta <vaibhavgupta40 at gmail.com>
wrote:

> I did run
> $ cd test/
> $ make umount2
>
> but after that, if I try to run
> $ cd ../
> $ make test
>
> I get following error
> .
> .
> make -C transition all
> make zdtm
> ./zdtm.py run -a --parallel 2
> ./zdtm.py:21: DeprecationWarning: the imp module is deprecated in favour
> of importlib; see the module's documentation for alternative uses
>   import imp
> The kernel is tainted: '12289\n'
> Traceback (most recent call last):
>   File "./zdtm.py", line 2306, in <module>
>     opts['action'](opts)
>   File "./zdtm.py", line 1975, in run_tests
>     launcher = Launcher(opts, len(torun))
>   File "./zdtm.py", line 1671, in __init__
>     raise Exception("The kernel is tainted: %r" % self.__taint)
> Exception: The kernel is tainted: '12289\n'
> make[2]: *** [Makefile:23: zdtm] Error 1
> make[1]: *** [Makefile:7: all] Error 2
> make: *** [Makefile:294: test] Error 2
>
>
> .............................................................................................................................................
> or if I try to run following after making umount2
> $ cd test/
> $ sudo python ./zdtm.py run -a
>
> sudo python ./zdtm.py run -a
> [sudo] password for varodek:
> ./zdtm.py:21: DeprecationWarning: the imp module is deprecated in favour
> of importlib; see the module's documentation for alternative uses
>   import imp
> The kernel is tainted: '12289\n'
> Traceback (most recent call last):
>   File "./zdtm.py", line 2306, in <module>
>     opts['action'](opts)
>   File "./zdtm.py", line 1975, in run_tests
>     launcher = Launcher(opts, len(torun))
>   File "./zdtm.py", line 1671, in __init__
>     raise Exception("The kernel is tainted: %r" % self.__taint)
> Exception: The kernel is tainted: '12289\n'
>
>
> On Fri, Mar 8, 2019 at 6:40 PM Radostin Stoyanov <rstoyanov1 at gmail.com>
> wrote:
>
>> Hello Vaibhav,
>>
>> On 08/03/2019 12:41, Vaibhav Gupta wrote:
>> > Hello,
>> > I am also Facing same problem.
>> >
>> > ./zdtm.py run -a --parallel 2
>> > ./zdtm.py:21: DeprecationWarning: the imp module is deprecated in
>> > favour of importlib; see the module's documentation for alternative uses
>> >   import imp
>> > make[3]: *** No rule to make target 'umount2'.  Stop.
>> > Traceback (most recent call last):
>> >   File "./zdtm.py", line 2304, in <module>
>> >     tst.available()
>> >   File "./zdtm.py", line 566, in available
>> >     subprocess.check_call(["make", "umount2"])
>> >   File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
>> >     raise CalledProcessError(retcode, cmd)
>> > subprocess.CalledProcessError: Command '['make', 'umount2']' returned
>> > non-zero exit status 2.
>> > make[2]: *** [Makefile:23: zdtm] Error 1
>> > make[1]: *** [Makefile:7: all] Error 2
>> > make: *** [Makefile:294: test] Error 2
>> >
>> >
>> > Let me Introduce Myself as its my mail in this mailing list.
>> > I am Vaibhav Gupta, I am a college student and have a good command in
>> > C,C++, python.
>> > I am very new to CRIU, and want to contribute in it.
>> >
>> Awesome!
>> > I went through the start guide and could successfully build CRIU on my
>> > system. But with 'make test', I got same error as discussed above.
>> > The output of two commands on my system are:
>> > .
>> > $ make umount2
>> > make: *** No rule to make target 'umount2'.  Stop.
>>
>> Could you try with:
>> $ cd test/
>> $ make umount2
>>
>> Or you should be able to run:
>>
>> $ cd test/
>> $ sudo python ./zdtm.py run -a
>>
>> You can also check the file `scripts/travis/travis-tests` to see how the
>> tests are running in Travis.
>>
>> Radostin
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20190309/cdca6833/attachment-0001.html>


More information about the CRIU mailing list