Project

General

Profile

Actions

Bug #704

closed

Can't upload pax

Added by Alexandr Strakh about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Infrastructure
Start date:
01/23/2011
Due date:
01/24/2011
% Done:

0%

Estimated time:
Detected in build:
17c3c64d
Platform:
Published in build:
f7fd9d7

Description

During upload pax:
SQL (0.3ms) BEGIN
Processe Create (0.5ms) INSERT INTO `processes` (`name`, `trace_id`, `time_average`, `time_detailed`, `pattern`) VALUES
SQL (4.0ms) COMMIT
Uploading ld 1941...
Environment Load (0.6ms) SELECT * FROM `environments` WHERE (`environments`.`version` = 'linux-2.6.37') LIMIT 1
Driver Load (0.5ms) SELECT * FROM `drivers` WHERE (`drivers`.`name` = 'drivers/net/wireless/ath/ath9k/ath9k_htc.ko' AND `drivers`.`origin` = 'kernel') LIMIT 1
Rule_Model Load (0.5ms) SELECT * FROM `rule_models` WHERE (`rule_models`.`name` = '32_1') LIMIT 1
Scenario Load (0.5ms) SELECT * FROM `scenarios` WHERE (`scenarios`.`driver_id` = 660 AND `scenarios`.`main` = 'ldv_main6_plain_sorted_withcheck' AND `scenarios`.`executable` = 'drivers/net/wireless/ath/ath9k/ath9k_htc.ko') LIMIT 1
Toolset Load (0.4ms) SELECT * FROM `toolsets` WHERE (`toolsets`.`verifier` = 'model-specific' AND `toolsets`.`version` = 'current') LIMIT 1
SQL (0.5ms) BEGIN
SQL (0.5ms) COMMIT
SQL (0.4ms) BEGIN
SQL (0.5ms) COMMIT
SQL (0.3ms) BEGIN
SQL (0.9ms) COMMIT
SQL (0.3ms) BEGIN
SQL (0.3ms) COMMIT
SQL (0.5ms) BEGIN
SQL (0.4ms) COMMIT
SQL (0.3ms) BEGIN
SQL (0.3ms) COMMIT
SQL (0.3ms) BEGIN
SQL (0.4ms) COMMIT
/home/iceberg/ldv-inst/bin/ldv-upload:323:in `clone': can't clone NilClass (TypeError)
from /home/iceberg/ldv-inst/bin/ldv-upload:323
from /home/iceberg/ldv-inst/bin/ldv-upload:323:in `each'
from /home/iceberg/ldv-inst/bin/ldv-upload:323
from /usr/lib64/ruby/1.8/rexml/element.rb:891:in `each'
from /usr/lib64/ruby/1.8/rexml/xpath.rb:53:in `each'
from /usr/lib64/ruby/1.8/rexml/element.rb:891:in `each'
from /home/iceberg/ldv-inst/bin/ldv-upload:292

Report contains unsafe LD command with id=1941. One of source files has a relative path:
<sourcefile>linux-2.6.37/drivers/net/wireless/ath/ath9k/../ath.h</sourcefile>

pax < ./current--X--drivers---X--defaultlinux-2.6.37--X--32_1.pax | grep ath.h
sources/linux-2.6.37/drivers/net/wireless/ath/ath.h


Files

Actions #1

Updated by Pavel Shved about 13 years ago

  • Due date set to 01/24/2011
  • Category set to Infrastructure
  • Status changed from New to Open
  • Assignee set to Pavel Shved
  • Detected in build changed from svn to 17c3c64d

Okay, this is a bug indeed. I'll make two changes to ldv-upload. First, lack of a source file will be a warning instead of an error, and all warnings will be displayed at the end of the log (not inline). Second, I'll make relative paths acceptable in <sourcefile> tags as well.

Actions #2

Updated by Pavel Shved about 13 years ago

  • Status changed from Open to Resolved
  • Published in build set to f7fd9d7

Warnings are added, path search is fixed. Tested on a shorter version of the pax attached to the 1st post. Published in f7fd9d7.

Actions #3

Updated by Alexandr Strakh about 13 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF