stevieb9 / rpi-wiringpi

Perl interface to Raspberry Pi's board, GPIO and various sensors and ICs
7 stars 1 forks source link

git: throw proper error if repo is non-existent, don't just ask for creds #149

Closed stevieb9 closed 5 years ago

stevieb9 commented 5 years ago
[2019-09-21 09:25:10.621][lvl 5][Dispatch._fork] tester: localhost finished
[2019-09-21 09:25:10.625][lvl 7][Dispatch.dispatch] generating build log: 5.16.3-FAIL.bblog
[2019-09-21 09:25:10.626][lvl 7][Dispatch.dispatch] writing out log: /home/pi/bblog/localhost_5.16.3-FAIL.bblog
[2019-09-21 09:25:10.628][lvl 7][Dispatch.dispatch] generating build log: 5.30.0-FAIL.bblog
[2019-09-21 09:25:10.629][lvl 7][Dispatch.dispatch] writing out log: /home/pi/bblog/localhost_5.30.0-FAIL.bblog
[2019-09-21 09:25:10.630][lvl 7][Dispatch.dispatch] returning results if available...
5.30.0 :: FAIL
5.16.3 :: FAIL
[2019-09-21 09:25:10.632][lvl 5][Dispatch.auto] auto run status: FAIL
[2019-09-21 09:25:10.633][lvl 7][Dispatch.auto] RPi LCD test result output enabled
Username for 'https://github.com': stevieb9
Password for 'https://stevieb9@github.com': 
Use of uninitialized value $csum in scalar chomp at /home/pi/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/Test/BrewBuild/Git.pm line 145.
Use of uninitialized value $csum in concatenation (.) or string at /home/pi/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/Test/BrewBuild/Git.pm line 146.
Use of uninitialized value $commit in substr at /home/pi/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/Test/BrewBuild/Dispatch.pm line 145.
[2019-09-21 10:00:32.709][lvl 6][Dispatch.auto] auto run complete. Sleeping for 300 seconds, then commencing the next run
stevieb9 commented 5 years ago

Possibly related to an invalid Github token? That said, there aren't any errors in the auth logs at Github.

stevieb9 commented 5 years ago

Completely my bad. I was sending in an invalid repo (stevieb, not stevieb9).

[2019-09-21 10:05:32.739][lvl 7][Tester.listen] before all checks, repo set to https://github.com/stevieb/rpi-wiringpi
[2019-09-21 10:05:32.740][lvl 6][Git.name] converting repository link to repo name
[2019-09-21 10:05:32.740][lvl 6][Git.name] repo link converted to rpi-wiringpi
[2019-09-21 10:05:32.741][lvl 7][Tester.listen] chdir to: /home/pi/brewbuild/rpi-wiringpi
[2019-09-21 10:05:32.742][lvl 7][Tester.listen] repo rpi-wiringpi exists
[2019-09-21 10:05:32.742][lvl 6][Tester.listen] in auto mode
[2019-09-21 10:05:32.759][lvl 6][Git.link] found https://github.com/stevieb9/rpi-wiringpi for the repo
[2019-09-21 10:05:32.760][lvl 7][Git.status] checking git status
[2019-09-21 10:05:32.798][lvl 6][Git.link] found https://github.com/stevieb9/rpi-wiringpi for the repo
stevieb9 commented 5 years ago

Re-opened at test-brewbuild