all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cuirass Web interface issue
@ 2019-11-16 16:22 Reza Alizadeh Majd
  2019-11-17 17:43 ` Christopher Baines
  0 siblings, 1 reply; 7+ messages in thread
From: Reza Alizadeh Majd @ 2019-11-16 16:22 UTC (permalink / raw)
  To: help-guix

Hi Guix, 

We in PantherX team, has been setup an instance of Cuirass CI to build a series our of custom applications based on configurations provided in `maintenance` repository: 

https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/berlin.scm
https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/nginx/berlin.scm

but during recent updates, cuirass web interface is not working as properly as before, and evaluation details page returns with HTTP status code 500:

https://build.pantherx.org/eval/152

could anyone help us about this issue? 

--
Regards
Reza Alizadeh Majd
PantherX Team

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cuirass Web interface issue
  2019-11-16 16:22 Cuirass Web interface issue Reza Alizadeh Majd
@ 2019-11-17 17:43 ` Christopher Baines
  2019-11-21  9:42   ` Reza Alizadeh Majd
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Baines @ 2019-11-17 17:43 UTC (permalink / raw)
  To: r.majd; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]


Reza Alizadeh Majd <r.majd@pantherx.org> writes:

> We in PantherX team, has been setup an instance of Cuirass CI to build
> a series our of custom applications based on configurations provided
> in `maintenance` repository:
>
> https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/berlin.scm
> https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/nginx/berlin.scm
>
> but during recent updates, cuirass web interface is not working as
> properly as before, and evaluation details page returns with HTTP
> status code 500:
>
> https://build.pantherx.org/eval/152
>
> could anyone help us about this issue?

Hi Reza,

The first thing to check is the log file, which by default is probably
at /var/log/cuirass-web.log. Can you see anything in there that looks
like it could relate to the problem with the evaluation page?

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cuirass Web interface issue
  2019-11-17 17:43 ` Christopher Baines
@ 2019-11-21  9:42   ` Reza Alizadeh Majd
  2019-11-27  7:19     ` Reza Alizadeh Majd
  0 siblings, 1 reply; 7+ messages in thread
From: Reza Alizadeh Majd @ 2019-11-21  9:42 UTC (permalink / raw)
  To: Christopher Baines; +Cc: help-guix

On Sun, Nov 17, 2019, at 9:13 PM, Christopher Baines wrote:
> 
> Hi Reza,
> 
> The first thing to check is the log file, which by default is probably
> at /var/log/cuirass-web.log. Can you see anything in there that looks
> like it could relate to the problem with the evaluation page?
> 
> Chris
> 
> Attachments:
> * signature.asc

Hi Chris, 

Sorry for late response, we are facing a total internet shutdown in our country (Iran) since last week. 

here is the `cuirass-web.log` file which I received when a request to an evaluation fails: 

```
2019-11-21T13:04:51 GET /eval/152
2019-11-21T13:04:51 builds request took 0.001591 seconds
In cuirass/http.scm:
   416:28  3 (url-handler _ _)
In cuirass/templates.scm:
   398:22  2 (build-eval-table _ #() (#f #f) (#f #f) #f)
In srfi/srfi-1.scm:
    589:5  1 (map #<procedure table-row (build)> #())
In unknown file:
           0 (scm-error wrong-type-arg "map" "Wrong type argument: ?" ?)
In procedure map: Wrong type argument: #()
```

could you help us on this failure? 

-- 
Regards
Reza Alizadeh Majd
PantherX Team

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cuirass Web interface issue
  2019-11-21  9:42   ` Reza Alizadeh Majd
@ 2019-11-27  7:19     ` Reza Alizadeh Majd
  2019-11-27 10:44       ` Clément Lassieur
  0 siblings, 1 reply; 7+ messages in thread
From: Reza Alizadeh Majd @ 2019-11-27  7:19 UTC (permalink / raw)
  To: help-guix

just to have an update on this thread: 

it seems that database in new version of cuirass wasn't compatible with previous versions. so after I removed previous database and let the service to re-create it, this issue was resoled. 

-- 
Regards
Reza Alizadeh Majd
PantherX Team

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cuirass Web interface issue
  2019-11-27  7:19     ` Reza Alizadeh Majd
@ 2019-11-27 10:44       ` Clément Lassieur
  2019-11-28  7:12         ` Reza Alizadeh Majd
  0 siblings, 1 reply; 7+ messages in thread
From: Clément Lassieur @ 2019-11-27 10:44 UTC (permalink / raw)
  To: Reza Alizadeh Majd; +Cc: help-guix

Hi Reza,

Reza Alizadeh Majd <r.majd@pantherx.org> writes:

> just to have an update on this thread: 
>
> it seems that database in new version of cuirass wasn't compatible with
> previous versions. so after I removed previous database and let the service to
> re-create it, this issue was resoled.

I'm glad your issue was resolved!

This is weird though, Cuirass database shouldn't be incompatible accross
Cuirass versions.  There are SQL scripts[1] that should update it when a
new Cuirass version requires so.  Do you know exactly how to reproduce
the issue?  Or do you know what was missing in the SQL schema?

Thanks,
Clément

[1]: https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/tree/src/sql

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cuirass Web interface issue
  2019-11-27 10:44       ` Clément Lassieur
@ 2019-11-28  7:12         ` Reza Alizadeh Majd
  2019-11-29 10:18           ` Clément Lassieur
  0 siblings, 1 reply; 7+ messages in thread
From: Reza Alizadeh Majd @ 2019-11-28  7:12 UTC (permalink / raw)
  To: Clément Lassieur; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

Hi Clément, 

On Wed, Nov 27, 2019, at 2:14 PM, Clément Lassieur wrote:
> I'm glad your issue was resolved!
> 
> This is weird though, Cuirass database shouldn't be incompatible accross
> Cuirass versions.  There are SQL scripts[1] that should update it when a
> new Cuirass version requires so.  Do you know exactly how to reproduce
> the issue?  Or do you know what was missing in the SQL schema?
> 
> Thanks,
> Clément
> 
> [1]: https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/tree/src/sql
>

Unfortunately I don't know about how can we reproduce this issue, but I have backup of database that this issue was occurred on. maybe having a comparison between to database versions help us to find the issue source. 

-- 
Regards
Reza Alizadeh Majd
PantherX Team

[-- Attachment #2: cuirass_20191126.tar.gz --]
[-- Type: application/x-gzip, Size: 34141 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cuirass Web interface issue
  2019-11-28  7:12         ` Reza Alizadeh Majd
@ 2019-11-29 10:18           ` Clément Lassieur
  0 siblings, 0 replies; 7+ messages in thread
From: Clément Lassieur @ 2019-11-29 10:18 UTC (permalink / raw)
  To: Reza Alizadeh Majd; +Cc: help-guix

Reza Alizadeh Majd <r.majd@pantherx.org> writes:

> Hi Clément, 
>
> On Wed, Nov 27, 2019, at 2:14 PM, Clément Lassieur wrote:
>> I'm glad your issue was resolved!
>> 
>> This is weird though, Cuirass database shouldn't be incompatible accross
>> Cuirass versions.  There are SQL scripts[1] that should update it when a
>> new Cuirass version requires so.  Do you know exactly how to reproduce
>> the issue?  Or do you know what was missing in the SQL schema?
>> 
>> Thanks,
>> Clément
>> 
>> [1]: https://git.savannah.gnu.org/cgit/guix/guix-cuirass.git/tree/src/sql
>>
>
> Unfortunately I don't know about how can we reproduce this issue, but I have backup of database that this issue was occurred on. maybe having a comparison between to database versions help us to find the issue source. 

Cool!  Thank you, I'll have a look when I find some time.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-29 10:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-16 16:22 Cuirass Web interface issue Reza Alizadeh Majd
2019-11-17 17:43 ` Christopher Baines
2019-11-21  9:42   ` Reza Alizadeh Majd
2019-11-27  7:19     ` Reza Alizadeh Majd
2019-11-27 10:44       ` Clément Lassieur
2019-11-28  7:12         ` Reza Alizadeh Majd
2019-11-29 10:18           ` Clément Lassieur

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.