Opened 14 years ago
Closed 13 years ago
#682 closed defect (worksforme)
bitten can't builds
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | General | Version: | 0.6 |
Keywords: | Cc: | ||
Operating System: | BSD |
Description
I have installed bitten,but it doesn't work,when I run: bitten-slave http://****.com/trac/builds,it display: [debug] sending post request to 'http://***/trac/builds [debug] server returned error 401:authorization required(no message available) [error] http error 401:authorization required
Attachments (0)
Change History (13)
comment:1 follow-up: ↓ 2 Changed 14 years ago by hodgestar
comment:2 in reply to: ↑ 1 Changed 13 years ago by anonymous
Replying to hodgestar:
It appears from your report that your Bitten slave simply doesn't have permission to access the required parts of Trac. Have you setup permissions for the slave as described in http://bitten.edgewall.org/wiki/Documentation/install.html#build-master-configuration and passed the correct username and password when running the slave?
I try again,run the command:
bitten-slave -u * -p * http://***/trac/builds,it display:
[info] slave launched at 2011-05-09 09:54 [debug] enabling authentication with username '*' [debug] performing basic/digest authentication [debug] sending HEAD request to 'http://***/trac/login?refer=http%3A%2F%2F***%3A81%2ftrac%2Fbuilds' [debug] configured packages:{} [debug] sending slave configuration:<slave version="5"........</slave> [debug] sending post request to 'http://***/trac/builds [info] no pending builds
it always displays 'no pending build',actually I commit many codes,it seem like it does't check the commit.
comment:3 Changed 13 years ago by anonymous
I open http://***/trac,click the tab 'build status'.it display:
Build Status 114 pending builds
Build Test? 114 pending builds(13:114)
hello bitten!
Latest builds
[115] by *
13 no build yet
it seem like it doesn't check the commit.
comment:4 follow-up: ↓ 5 Changed 13 years ago by hodgestar
I think there is probably a problem with your build configuration but it's hard to say for sure based on what you've posted. It might be easier to get help on this by stopping by the Bitten IRC channel or mailing list (the issue tracker isn't really the place for general support).
comment:5 in reply to: ↑ 4 Changed 13 years ago by anonymous
Replying to hodgestar:
I think there is probably a problem with your build configuration but it's hard to say for sure based on what you've posted. It might be easier to get help on this by stopping by the Bitten IRC channel or mailing list (the issue tracker isn't really the place for general support).
My configuration as follows,it is very simple:
<build xmlns:sh="http://bitten.edgewall.org/tools/sh">
<step id="echo">
<sh:exec executable="cmd.exe" arg=" /U /c dir"/>
</step>
</build>
comment:6 follow-up: ↓ 7 Changed 13 years ago by anonymous
can you give me the URL of Bitten IRC channel or mailing list? thanks!
comment:7 in reply to: ↑ 6 ; follow-ups: ↓ 8 ↓ 10 Changed 13 years ago by hodgestar
Replying to anonymous:
can you give me the URL of Bitten IRC channel or mailing list? thanks!
See first two links in the Support & Development section on the front page (http://bitten.edgewall.org/).
comment:8 in reply to: ↑ 7 Changed 13 years ago by anonymous
Replying to hodgestar:
Replying to anonymous:
can you give me the URL of Bitten IRC channel or mailing list? thanks!
See first two links in the Support & Development section on the front page (http://bitten.edgewall.org/).
Mmmm..........,I can't open the URL,I still get help in this place,can you check my recipe?
comment:9 Changed 13 years ago by osimons
- Milestone 0.6.2 deleted
- Resolution set to worksforme
- Status changed from new to closed
Why
<sh:exec executable="cmd.exe" arg=" /U /c dir" />
When you probably just want to do:
<sh:exec executable="dir" />
On Windows, commands are executed in the context of cmd.exe so no need to specify it explicity.
That probably isn't your problem though, you most likely don't have rules for platforms that match your slave. So the builds seem to exist, but they are for a slave with attributes different from the slave you are running. Hence the "no pending build" message for that slave.
Anyway, as Hodgestar says, this is an issue for Mailing List or Irc Channel.
comment:10 in reply to: ↑ 7 Changed 13 years ago by anonymous
- Resolution worksforme deleted
- Status changed from closed to reopened
hi osimons: Thank you very much for the support I also want to browse [Mailing list] or [Irc Channel] but they are fobidden by our administrator so I only can get help from this place
my master and slave machine is the same computer its operating syster is windows 2003 server so it's rule is:
ipnr ~= * os~=Windows version~=2003Server family~=nt
it is not right?
comment:11 Changed 13 years ago by osimons
The rules are AND so they all need to exactly match. You can use bitten-slave -v for verbose slave logging and you should see the OS config your slave passes to master.
You could also try to remove some of the surplus rules. Like if you use IPnr, then it can only be one machine anyway. Or, if you run just one Windows slave, having family~=nt should be enough. Configuration docs are here: Documentation/configure.html.
comment:12 Changed 13 years ago by anonymous
I restart the computer, everything works well. It is so strange.
comment:13 Changed 13 years ago by osimons
- Resolution set to worksforme
- Status changed from reopened to closed
Ok... Closing again then.
It appears from your report that your Bitten slave simply doesn't have permission to access the required parts of Trac. Have you setup permissions for the slave as described in http://bitten.edgewall.org/wiki/Documentation/install.html#build-master-configuration and passed the correct username and password when running the slave?