Project

General

Profile

Actions

Bug #536

closed

NullPointerException at org.linuxtesting.ldv.csd.FSOperationBase.CopyFile

Added by Alexey Khoroshilov about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Urgent
Category:
LDV-Git
Start date:
11/13/2010
Due date:
% Done:

0%

Estimated time:
Detected in build:
bdca68a
Platform:
Published in build:
c2ba5caccadd610efbca3486f9354245629791d1

Description

ldv-git: NORMAL: Checking drivers/char/ip2/ip2main.c (297 of 400)...
mv: cannot stat `finished/*': No such file or directory
/home/tester/ldv/opt/ldv-manager/mk/ldv-manager.mk:60: Variable "name" is empty, falling back to "default" 
current--X--commands.xml--X--default commands.xml
if [[ "current" != "current" ]] ; then export PATH=/home/tester/.ldv/ldv/envs/1/work/work-f6614b7bb405a9b35dd28baea989a749492c46b2/drivers/char/ip2/ip2main.c/inst/current/bin:$PATH ; fi ; LDV_ENVS_TARGET=/home/tester/.ldv/ldv/envs/1/work/work-f6614b7bb405a9b35dd28baea989a749492c46b2/drivers/char/ip2/ip2main.c/inst/current ldv task --cmdstream=commands.xml --workdir=work/current--X--commands.xml--X--defaultshadows--X--08_1--X--29_1--X--32_7--X--37_1--X--43_1--X--77_1 --env=/home/tester/.ldv/ldv/envs/1/shadows@08_1,29_1,32_7,37_1,43_1,77_1  
ldv: NORMAL: ldv start.
ldv-task: NORMAL: Start process for environment "/home/tester/.ldv/ldv/envs/1/shadows".
vanilla-extractor: NORMAL: GSOC Linux Vanilla extractor.
ldv-kmanager: NORMAL: Description name = "artificial_env_1".
ldv-kmanager: NORMAL: Kernel successfully prepared.
ldv-task: NORMAL: Calling LDV-core.
ldv-core: NORMAL: Calling Build Command Extractor
build-cmd-extractor: WARNING: Temp directory: "/home/tester/.ldv/ldv/envs/1/work/work-f6614b7bb405a9b35dd28baea989a749492c46b2/drivers/char/ip2/ip2main.c/work/current--X--commands.xml--X--defaultshadows--X--08_1--X--29_1--X--32_7--X--37_1--X--43_1--X--77_1/artificial_env_1/bce_tempdir" - already exists. Reuse it.
cmd-filter: NORMAL: Filter out drivers.
cmd-filter: NORMAL: Remove unused commands.
build-cmd-extractor: NORMAL: Command stream is successfully extracted.
ldv-core: NORMAL: Calling Command Stream Divider.
CSD: NORMAL: Generate cmdstream for driver: "/home/tester/.ldv/ldv/envs/1/shadows/ip2main.ko".
CSD: ERROR: Can't copy file from "/home/tester/.ldv/ldv/envs/1/work/work-f6614b7bb405a9b35dd28baea989a749492c46b2/drivers/char/ip2/ip2main.c/work/current--X--commands.xml--X--defaultshadows--X--08_1--X--29_1--X--32_7--X--37_1--X--43_1--X--77_1/artificial_env_1/csd_deg_dscv/driver0/drivers/char/tty_ioctl.c" to "/home/tester/.ldv/ldv/envs/1/work/work-f6614b7bb405a9b35dd28baea989a749492c46b2/drivers/char/ip2/ip2main.c/work/current--X--commands.xml--X--defaultshadows--X--08_1--X--29_1--X--32_7--X--37_1--X--43_1--X--77_1/artificial_env_1/csd_deg_dscv/driver0/drivers/char/tty_ioctl.o".
Exception in thread "main" java.lang.NullPointerException
        at com.iceberg.csd.FSOperationBase.CopyFile(FSOperationBase.java:48)
        at com.iceberg.csd.cmdstream.Command.relocateFileList(Command.java:159)
        at com.iceberg.csd.cmdstream.Command.relocateCommand(Command.java:142)
        at com.iceberg.csd.cmdstream.CommandCC.relocateCommand(CommandCC.java:35)
        at com.iceberg.csd.cmdstream.CmdStream.relocateDriver(CmdStream.java:243)
        at com.iceberg.csd.cmdstream.CmdStream.generateTree(CmdStream.java:188)
        at com.iceberg.csd.CSD.main(CSD.java:35)
ldv-core: ERROR: Command stream divider failed.
ldv-task: ERROR: ldv-core failed.
make: *** [work/current--X--commands.xml--X--defaultshadows--X--08_1--X--29_1--X--32_7--X--37_1--X--43_1--X--77_1/checked] Error 1
Code: 512 at /home/tester/ldv/opt/bin/ldv-git line 681.
Verification of drivers/char/ip2/ip2main.c failed!  Proceeding to the next driver...
Actions #1

Updated by Alexey Khoroshilov about 14 years ago

  • Assignee set to Alexandr Strakh
Actions #2

Updated by Pavel Shved about 14 years ago

  • Category set to LDV-Git

Can't find a bug about the NullPointerException to make this depend on it. Is there one?

Actions #3

Updated by Alexey Khoroshilov about 14 years ago

Pavel Shved wrote:

Can't find a bug about the NullPointerException to make this depend on it. Is there one?

Actually we have exactly this bug to track the problem.

Actions #4

Updated by Alexey Khoroshilov about 14 years ago

  • Subject changed from ldv-git: Fail at drivers/char/ip2/ip2main.c to NullPointerException at org.linuxtesting.ldv.csd.FSOperationBase.CopyFile
Actions #5

Updated by Alexey Khoroshilov about 14 years ago

Bug is still here even after upgrade to Ubuntu 10.10.

Actions #6

Updated by Alexandr Strakh about 14 years ago

  • Assignee changed from Alexandr Strakh to Alexey Khoroshilov
  • Published in build set to c2ba5caccadd610efbca3486f9354245629791d1

Driver tty_ldisc was moved from drivers/char (kernel commit 18cb657ca1bafe635f368346a1676fb04c512edf) to drivers/tty folder(kernel commit 0fcdcfbbc98f70f559e4b36773a69972489a6d8f). Metadata is created based on the old metadata. Then adds metadata modified drivers. For this reason in the new file with commands we can find commands for non-existing drivers (i.e. for drivers from old kernel).

Fixed in c2ba5caccadd610efbca3486f9354245629791d1.
Need feedback.

Actions #7

Updated by Evgeny Novikov almost 14 years ago

  • Status changed from New to Feedback

I think this bug status should be so at last :)

Actions #8

Updated by Alexey Khoroshilov almost 14 years ago

  • Status changed from Feedback to Resolved

That is true, but I guess Resolved is more appropriate status here.

I believe
Feedback means "we cannot move forward without additional information from the reporter", while
Resolved means "we believe the bug is fixed, we wait for verification to close it".

Actions #9

Updated by Alexey Khoroshilov almost 14 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF