Re: kdesu on FreeBSD

2020-08-16 Thread Adriaan de Groot
On Sunday, 16 August 2020 01:54:11 CEST David Faure wrote:
> https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt5.15/1
> 1/testReport/projectroot/autotests/kdesutest/ says `xauth` isn't found.
> 
> Does xauth exist on FreeBSD? Is it maybe not in $PATH? Or is it maybe just
> not installed in the FreeBSD CI machine?

It is installed (now, at least - looks like Tobias installed it this morning). 
It's in /usr/local/bin/xauth .

 
> The actual failure isn't related to xauth but to sudo/su output, I'll debug
> that tomorrow by committing some debug output and reverting it soon after,
> since I can't get any FreeBSD developer to look into those failing
> unittests...

I see that the underlying problem has been resolved (assuming a specific path 
for python3 executables). If you want folks to look at something specific, 
it's useful to poke the mailing list or the IRC channel, since watching the 
Jenkins status is not something I personally have time for.

[ade]

signature.asc
Description: This is a digitally signed message part.


Re: kdesu on FreeBSD

2020-08-16 Thread Tobias C. Berner
Hi David

Cool, thank you too :)

mfg Tobias

On Sun, 16 Aug 2020 at 14:39, David Faure  wrote:
>
> On dimanche 16 août 2020 14:31:18 CEST Tobias C. Berner wrote:
> > On Sun, 16 Aug 2020 at 14:29, David Faure  wrote:
> > > Hi Tobias,
> > >
> > > I was completely wrong.
> > > kdesu/autotests/sudo does exist, and it's a python script.
> > >
> > > The "No such file or directory" is probably due to #!/usr/bin/python3
> > > at the top of that script.
> > >
> > > Do you know the portable way to invoke python3?
> >
> > #!/usr/bin/env python3
>
> Oh so it was just the path that was the problem, not the executable name.
> I wasn't sure it was called python3 everywhere.
>
> Cool, done, and the CI finally passes for kdesu on FreeBSD.
> https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt5.15/
>
> Thanks!
>
> One down, 8 to go
> https://build.kde.org/job/Frameworks/view/Platform%20-%20FreeBSDQt5.15/
>
> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>
>
>


Re: kdesu on FreeBSD

2020-08-16 Thread David Faure
On dimanche 16 août 2020 14:31:18 CEST Tobias C. Berner wrote:
> On Sun, 16 Aug 2020 at 14:29, David Faure  wrote:
> > Hi Tobias,
> > 
> > I was completely wrong.
> > kdesu/autotests/sudo does exist, and it's a python script.
> > 
> > The "No such file or directory" is probably due to #!/usr/bin/python3
> > at the top of that script.
> > 
> > Do you know the portable way to invoke python3?
> 
> #!/usr/bin/env python3

Oh so it was just the path that was the problem, not the executable name.
I wasn't sure it was called python3 everywhere.

Cool, done, and the CI finally passes for kdesu on FreeBSD.
https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt5.15/

Thanks!

One down, 8 to go 
https://build.kde.org/job/Frameworks/view/Platform%20-%20FreeBSDQt5.15/

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5





Re: kdesu on FreeBSD

2020-08-16 Thread Tobias C. Berner
On Sun, 16 Aug 2020 at 14:29, David Faure  wrote:
>
> Hi Tobias,
>
> I was completely wrong.
> kdesu/autotests/sudo does exist, and it's a python script.
>
> The "No such file or directory" is probably due to #!/usr/bin/python3
> at the top of that script.
>
> Do you know the portable way to invoke python3?
#!/usr/bin/env python3


mfg Tobias

>
> Cheers,
> David.
>
> On dimanche 16 août 2020 12:22:36 CEST Tobias C. Berner wrote:
> > Moin moin
> >
> >
> > # which su ; which sudo
> > /usr/bin/su
> > /usr/local/bin/sudo
> >
> > No, both are installed and in $PATH. So, not finding those is weird.
> >
> >
> > mfg Tobias
> >
> > On Sun, 16 Aug 2020 at 12:13, David Faure  wrote:
> > > On dimanche 16 août 2020 10:31:28 CEST Tobias C. Berner wrote:
> > > > Moin moin
> > > >
> > > > On Sun, 16 Aug 2020 at 01:54, David Faure  wrote:
> > > > > https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt
> > > > > 5.15
> > > > > /11/testReport/projectroot/autotests/kdesutest/ says `xauth` isn't
> > > > > found.
> > > >
> > > > xauth is now installed on the builders
> > >
> > > Thanks. The call fails with `No X authentication info set for display
> > > ":90"` but maybe the same happens in the Linux builders, I can't see the
> > > output there because the tests pass. It seems very likely to me that it
> > > does happen there as well, and it's certainly not needed for the test to
> > > pass.>
> > > > > Does xauth exist on FreeBSD? Is it maybe not in $PATH? Or is it maybe
> > > > > just
> > > > > not installed in the FreeBSD CI machine?
> > > > >
> > > > > The actual failure isn't related to xauth but to sudo/su output, I'll
> > > > > debug that tomorrow by committing some debug output and reverting it
> > > > > soon
> > > > > after, since I can't get any FreeBSD developer to look into those
> > > > > failing
> > > > > unittests...
> > > >
> > > > harsh, but fair... ;-)
> > >
> > > You mean "unfortunate but true" ;-)
> > >
> > > Anyhow, here's the result:
> > >
> > > execv( \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5
> > > FreeBSDQt5.15/autotests/sudo\" ): No such file or directory execv(
> > > \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5
> > > FreeBSDQt5.15/autotests/su\" ): No such file or directory
> > >
> > > It seems to me that sudo and su are not installed either?
> > > (I think it's trying them in the current directory, for lack of finding
> > > them in the PATH)
> > >
> > > --
> > > David Faure, fa...@kde.org, http://www.davidfaure.fr
> > > Working on KDE Frameworks 5
>
>
> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>
>
>


Re: kdesu on FreeBSD

2020-08-16 Thread Tobias C. Berner
Moin moin


# which su ; which sudo
/usr/bin/su
/usr/local/bin/sudo

No, both are installed and in $PATH. So, not finding those is weird.


mfg Tobias

On Sun, 16 Aug 2020 at 12:13, David Faure  wrote:
>
> On dimanche 16 août 2020 10:31:28 CEST Tobias C. Berner wrote:
> > Moin moin
> >
> > On Sun, 16 Aug 2020 at 01:54, David Faure  wrote:
> > > https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt5.15
> > > /11/testReport/projectroot/autotests/kdesutest/ says `xauth` isn't found.
> >
> > xauth is now installed on the builders
>
> Thanks. The call fails with `No X authentication info set for display ":90"` 
> but maybe the same happens in the Linux builders, I can't see the output 
> there because the tests pass. It seems very likely to me that it does happen 
> there as well, and it's certainly not needed for the test to pass.
>
> > > Does xauth exist on FreeBSD? Is it maybe not in $PATH? Or is it maybe just
> > > not installed in the FreeBSD CI machine?
> > >
> > > The actual failure isn't related to xauth but to sudo/su output, I'll
> > > debug that tomorrow by committing some debug output and reverting it soon
> > > after, since I can't get any FreeBSD developer to look into those failing
> > > unittests...
> > harsh, but fair... ;-)
> You mean "unfortunate but true" ;-)
>
> Anyhow, here's the result:
>
> execv( \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5 
> FreeBSDQt5.15/autotests/sudo\" ): No such file or directory
> execv( \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5 
> FreeBSDQt5.15/autotests/su\" ): No such file or directory
>
> It seems to me that sudo and su are not installed either?
> (I think it's trying them in the current directory, for lack of finding them 
> in the PATH)
>
> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>
>
>


Re: kdesu on FreeBSD

2020-08-16 Thread David Faure
On dimanche 16 août 2020 10:31:28 CEST Tobias C. Berner wrote:
> Moin moin
> 
> On Sun, 16 Aug 2020 at 01:54, David Faure  wrote:
> > https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt5.15
> > /11/testReport/projectroot/autotests/kdesutest/ says `xauth` isn't found.
> 
> xauth is now installed on the builders

Thanks. The call fails with `No X authentication info set for display ":90"` 
but maybe the same happens in the Linux builders, I can't see the output there 
because the tests pass. It seems very likely to me that it does happen there as 
well, and it's certainly not needed for the test to pass.

> > Does xauth exist on FreeBSD? Is it maybe not in $PATH? Or is it maybe just
> > not installed in the FreeBSD CI machine?
> > 
> > The actual failure isn't related to xauth but to sudo/su output, I'll
> > debug that tomorrow by committing some debug output and reverting it soon
> > after, since I can't get any FreeBSD developer to look into those failing
> > unittests...
> harsh, but fair... ;-)
You mean "unfortunate but true" ;-)

Anyhow, here's the result:

execv( \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5 
FreeBSDQt5.15/autotests/sudo\" ): No such file or directory
execv( \"/usr/home/jenkins/workspace/Frameworks/kdesu/kf5-qt5 
FreeBSDQt5.15/autotests/su\" ): No such file or directory

It seems to me that sudo and su are not installed either?
(I think it's trying them in the current directory, for lack of finding them in 
the PATH)

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5





Re: kdesu on FreeBSD

2020-08-16 Thread Tobias C. Berner
Moin moin


On Sun, 16 Aug 2020 at 01:54, David Faure  wrote:
>
> https://build.kde.org/job/Frameworks/job/kdesu/job/kf5-qt5%20FreeBSDQt5.15/11/testReport/projectroot/autotests/kdesutest/
> says `xauth` isn't found.
xauth is now installed on the builders


>
> Does xauth exist on FreeBSD? Is it maybe not in $PATH? Or is it maybe just 
> not installed in the FreeBSD CI machine?
>
> The actual failure isn't related to xauth but to sudo/su output, I'll debug 
> that tomorrow by committing some debug output and reverting it soon after,
> since I can't get any FreeBSD developer to look into those failing 
> unittests...
harsh, but fair... ;-)


mfg Tobias
>
> --
> David Faure, fa...@kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>
>
>