| Summary: | [headless agregator] cannot install headless agregator | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] CBI | Reporter: | Bouchet Stéphane <sbouchet> | ||||
| Component: | CBI p2 Repository Aggregator | Assignee: | Project Inbox <b3.aggregator-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | CC: | henrik.lindberg, peter.kullmann, thomas | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 337026 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Bouchet Stéphane
Are you behind a proxy/firewall? (There are many problematic cases when this is the case, and it is worth trying exactly the same when not being behind proxy to rule out proxy problems). Did you try turning off use of mirrors? (Sometimes there are issues with the mirrors; being directed to the worst possible mirror, a broken mirror, or a mirror with bad data). Created attachment 187406 [details]
log about signed contents of sat4j
Attached the log of the headless install, showing that sat4j might be corrupted
(In reply to comment #1) > Are you behind a proxy/firewall? > (There are many problematic cases when this is the case, and it is worth trying > exactly the same when not being behind proxy to rule out proxy problems). > > Did you try turning off use of mirrors? > (Sometimes there are issues with the mirrors; being directed to the worst > possible mirror, a broken mirror, or a mirror with bad data). Hi, sorry i did see you replied to my request ( didn't received any mail ). BTW, i don't use a proxy. I manually mirrored the 3.6 repo locally and get the log attached in previous comment. I tried also to modify the artifacts.xml file in order to make the process complete ( yes, this is nasty ) and get a successful installation : Installing org.eclipse.b3.cli.product 0.1.0.r01290. Installing org.eclipse.b3.aggregator.engine.feature.feature.group 0.1.0.r01408. Operation completed in 2826 ms. BUT , when i tried the b3 aggregate command, i get this error : ./b3 aggregate No such command: aggregate Usage: b3 command [options...] --eclipseLogLevel [DEBUG | INFO | : Controls the verbosity of the eclipse WARNING | ERROR] : log trace output. Defaults to global b3 settings. --logLevel [DEBUG | INFO | WARNING | : Controls the verbosity of the console ERROR] : trace output. Defaults to global b3 settings. --stacktrace : Display stack trace on error -? (--help) : Print help screen for specified command Available commands: runScript - Runs a set of commands from a script file so it seems only the cli feature is installed. many thanks if you could help me to have a correct installation of the b3 headless aggregator.. I can confirm this. Both on my laptop at home and in the office and on two of our servers in the office i had the same problem. The Installation is just stuck and tries to download the org.sat4j.pb bundle again and again. I checked it with wireshark and this is what's repeated over and over (look at the times: this is about three minutes after the installation was started): No. Time Source Destination Protocol Info 8513 186.378608 10.0.1.2 206.191.52.47 HTTP GET /modeling/emft/b3/headless-3.7milestones/plugins/org.sat4j.pb_2.2.0.v20100429.jar.pack.gz HTTP/1.1 8547 187.467916 206.191.52.47 10.0.1.2 HTTP HTTP/1.1 200 OK (application/x-gzip) 8557 187.954866 10.0.1.2 206.191.52.47 HTTP GET /modeling/emft/b3/headless-3.7milestones/plugins/org.sat4j.pb_2.2.0.v20100429.jar.pack.gz HTTP/1.1 8607 193.750089 206.191.52.47 10.0.1.2 HTTP HTTP/1.1 200 OK (application/x-gzip) I rebuilt the updates-3.6 and headless-3.6 sites. I cannot currently build the 3.7 site due to bug 337026. (In reply to comment #5) > I rebuilt the updates-3.6 and headless-3.6 sites. I cannot currently build the > 3.7 site due to bug 337026. Hi, i tried the above updates sites, with no luck :( I decided to mirror the update site using b3 editor, and then using the mirrored update site. mirroring went ok, with no error, but when i tried to use it, i got the error : $:~/director$ ./director -d /tmp/b3_director -p b3 -i org.eclipse.b3.cli.product -i org.eclipse.b3.aggregator.engine.feature.feature.group -r file:/tmp/b3headless/final/ Installing org.eclipse.b3.cli.product 0.1.0.r01290. Installing org.eclipse.b3.aggregator.engine.feature.feature.group 0.1.0.r01417. Installation failed. An error occurred while collecting items to be installed session context was:(profile=b3, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Problems downloading artifact: osgi.bundle,org.sat4j.core,2.2.0.v20100429. File has invalid content:/tmp/signatureFile8176.jar Invalid content:org/sat4j/minisat/constraints/cnf/BinaryClause.class Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "org/sat4j/minisat/constraints/cnf/BinaryClause.class" in the jar "/tmp/signatureFile8176.jar" has been tampered! Invalid content:org/sat4j/minisat/constraints/AbstractDataStructureFactory.class Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "org/sat4j/minisat/constraints/AbstractDataStructureFactory.class" in the jar "/tmp/signatureFile8176.jar" has been tampered! Invalid content:org/sat4j/minisat/constraints/cnf/OriginalBinaryClause.class Caused by: org.eclipse.osgi.signedcontent.InvalidContentException: The file "org/sat4j/minisat/constraints/cnf/OriginalBinaryClause.class" in the jar "/tmp/signatureFile8176.jar" has been tampered! and many other errors. any clues ? Did you perhaps use a Java 1.5 at some point in this process? (In reply to comment #7) > Did you perhaps use a Java 1.5 at some point in this process? hum, yes i am ! $ java -version java version "1.5.0_14" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03) Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode) I rebuilt the site without pack200 enabled. Can you please try again and see if that helped? For the record, Java 1.5 reached it's EOSL over a year ago: http://www.oracle.com/technetwork/java/javase/downloads/index-jdk5-jsp-142662.html Perhaps you should consider an upgrade ;-) hi, i'll try the new site right away. and we are planning to migrate to java6 soon ;) Hi,
the new update site provided did it !
i am able to install b3 headless with director without messages, and running b3 seems ok :
./b3 -?
No command was specified
Usage: b3 command [options...]
--eclipseLogLevel [DEBUG | INFO | : Controls the verbosity of the eclipse
WARNING | ERROR] : log trace output. Defaults to global
b3 settings.
--logLevel [DEBUG | INFO | WARNING | : Controls the verbosity of the console
ERROR] : trace output. Defaults to global b3
settings.
--stacktrace : Display stack trace on error
-? (--help) : Print help screen for specified
command
Available commands:
aggregate - Aggregates source repositories into a resulting repository using aggregator definition
runScript - Runs a set of commands from a script file
thanks !
Thanks a lot. For me it worked as well - there was one strange message, though: kup@webserver:~> director/director -p2.os linux -p2.ws gtk -p2.arch x86_64 -r http://download.eclipse.org/modeling/emft/b3/headless-3.6 -d /home/kup/b3headless -p b3 -i org.eclipse.b3.cli.product -i org.eclipse.b3.aggregator.engine.feature.feature.group -consolelog Installing org.eclipse.b3.cli.product 0.1.0.r01421. Installing org.eclipse.b3.aggregator.engine.feature.feature.group 0.1.0.r01418. Artifact repository out of sync. Overwriting /home/kup/b3headless/plugins/org.sat4j.pb_2.2.0.v20100429.jar Operation completed in 178211 ms. kup@webserver:~> [Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI. No change to assignee for resolved and verified bugs.] |