[Geoserver-devel] 2.8 beta-release progress

Kevin was kind enough to kick out GWC 1.8-beta …

Sadly our GeoServer build had trouble… this a beta, to ensure that master is in a releasable state (so consider the following a successful test, showing we have some release problems):

  1. geoserver-release-jira

See #37 - appears to be api difference for new Jira instance, I went with a manual release.

  1. geoserver-release

See #80

Some problems building PDF

Build finished; the LaTeX files are in build/latex.
Run make all-pdf' or make all-ps’ in that directory to run these through (pdf)latex.
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file

And ending with:

copying artifacts to /var/www/geoserver/release/2.8-beta
cp: cannot stat `/var/lib/jenkins/workspace/geoserver-release/src/target/release/…/…/…/doc/en/user/build/latex/manual.pdf’: No such file or directory
Build step ‘Execute shell’ marked build as failure

I bet we are no longer building the PDF (or the PDF failed) leaving me empty directories at http://ares.boundlessgeo.com/geoserver/release/2.8-beta/

Looking at previous releases like 2.7.2 we do not end up publishing the PDF, although it was listed on ares (as geoserver-2.7.2-user-manual.pdf).

I would appreciate assistance viewing the release scripts, and suggestions on what to fix.

If you would like to experiment and kick off a build, 2.8-beta is being released with the following settings:

···

On 29 August 2015 at 12:35, Jody Garnett <jody.garnett@anonymised.com> wrote:

Kevin was kind enough to kick out GWC 1.8-beta …

Sadly our GeoServer build had trouble… this a beta, to ensure that master is in a releasable state (so consider the following a successful test, showing we have some release problems):

  1. geoserver-release-jira

See #37 - appears to be api difference for new Jira instance, I went with a manual release.

  1. geoserver-release

See #80

Some problems building PDF

Build finished; the LaTeX files are in build/latex.
Run make all-pdf' or make all-ps’ in that directory to run these through (pdf)latex.
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file

And ending with:

copying artifacts to /var/www/geoserver/release/2.8-beta
cp: cannot stat `/var/lib/jenkins/workspace/geoserver-release/src/target/release/…/…/…/doc/en/user/build/latex/manual.pdf’: No such file or directory
Build step ‘Execute shell’ marked build as failure

I bet we are no longer building the PDF (or the PDF failed) leaving me empty directories at http://ares.boundlessgeo.com/geoserver/release/2.8-beta/

Looking at previous releases like 2.7.2 we do not end up publishing the PDF, although it was listed on ares (as geoserver-2.7.2-user-manual.pdf).

I would appreciate assistance viewing the release scripts, and suggestions on what to fix.


Jody Garnett

On Sat, Aug 29, 2015 at 9:35 PM, Jody Garnett <jody.garnett@anonymised.com>
wrote:

Kevin was kind enough to kick out GWC 1.8-beta ...

Sadly our GeoServer build had trouble... this a beta, to ensure that
master is in a releasable state (so consider the following a successful
test, showing we have some release problems):

1) geoserver-release-jira

See #37
<http://ares.opengeo.org/jenkins/view/geoserver/job/geoserver-release-jira/37/console&gt; -
appears to be api difference for new Jira instance, I went with a manual
release.

Could it be that Jira changed its api since last time the script was used
successfully in June? Seems a bit odd.
Maybe the underlying python libs changed instead?
I'm afraid I'm not familiar at all with this bit

2) geoserver-release

See #80
<http://ares.opengeo.org/jenkins/view/geoserver/job/geoserver-release/80/&gt;

Some problems building PDF

Build finished; the LaTeX files are in build/latex.

Run `make all-pdf' or `make all-ps' in that directory to run these
through (pdf)latex.
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file

The images in our guide should all be PNGs, LaTeX does not seem to be able
to handle
jpeg or gifs... but afaik those were just warnings.
My guess is something changed and we are not getting the PDF generated
anymore,
but I cannot tell what.

I've tried to build it locally, unfortunately it failed even before, during
make latex in sphinx:

Exception occurred:
  File
"/usr/local/lib/python2.7/dist-packages/Sphinx-1.3.1-py2.7.egg/sphinx/writers/latex.py",
line 885, in depart_row
    if linestart <= col:
UnboundLocalError: local variable 'col' referenced before assignment
The full traceback has been saved in /tmp/sphinx-err-8I25Zi.log, if you
want to report the issue to the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
A bug report can be filed in the tracker at <
https://github.com/sphinx-doc/sphinx/issues&gt;\. Thanks!

Turns out it's this error: https://github.com/sphinx-doc/sphinx/issues/1871
and there is no recent release for me to use... uff... luckly easy_install
allows to install older versions, went back to 1.2.3

Then went to the pdflatex part... fought quite a bit to get all the needed
Latex stuff installed, and reproduced
the same failure as the build box. The actual error is in a log file,
manual.log (from my computer):

!pdfTeX error: pdflatex (file ./server_JAI.png): libpng: internal error
==> Fatal error occurred, no output PDF file produced!

And indeed:

file server_JAI.png

server_JAI.png: PC bitmap, Windows 3.x format, 525 x 674 x 24

Grrr... fixed it, along another file that was committed in that format....
and the found out that Daniele
already changed it back to PNG, got a nice binary conflict... aaah, someone
give me a machete! :-p

Anyways, it's now building on master, and I've committed the fix to the
other BMP file.

You should be good to go, hopefully

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

Thank you Andrea I will resume the build on this end!

I will look at the Jira release scripts with Dave and we can see if they work for the 2.6.5 release next week.

···

On Sat, Aug 29, 2015 at 9:35 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Kevin was kind enough to kick out GWC 1.8-beta …

Sadly our GeoServer build had trouble… this a beta, to ensure that master is in a releasable state (so consider the following a successful test, showing we have some release problems):

  1. geoserver-release-jira

See #37 - appears to be api difference for new Jira instance, I went with a manual release.

Could it be that Jira changed its api since last time the script was used successfully in June? Seems a bit odd.
Maybe the underlying python libs changed instead?
I’m afraid I’m not familiar at all with this bit

  1. geoserver-release

See #80

Some problems building PDF

Build finished; the LaTeX files are in build/latex.
Run make all-pdf' or make all-ps’ in that directory to run these through (pdf)latex.
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file

The images in our guide should all be PNGs, LaTeX does not seem to be able to handle
jpeg or gifs… but afaik those were just warnings.
My guess is something changed and we are not getting the PDF generated anymore,
but I cannot tell what.

I’ve tried to build it locally, unfortunately it failed even before, during make latex in sphinx:

Exception occurred:
File “/usr/local/lib/python2.7/dist-packages/Sphinx-1.3.1-py2.7.egg/sphinx/writers/latex.py”, line 885, in depart_row
if linestart <= col:
UnboundLocalError: local variable ‘col’ referenced before assignment
The full traceback has been saved in /tmp/sphinx-err-8I25Zi.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Turns out it’s this error: https://github.com/sphinx-doc/sphinx/issues/1871
and there is no recent release for me to use… uff… luckly easy_install allows to install older versions, went back to 1.2.3

Then went to the pdflatex part… fought quite a bit to get all the needed Latex stuff installed, and reproduced
the same failure as the build box. The actual error is in a log file, manual.log (from my computer):

!pdfTeX error: pdflatex (file ./server_JAI.png): libpng: internal error
==> Fatal error occurred, no output PDF file produced!

And indeed:

file server_JAI.png
server_JAI.png: PC bitmap, Windows 3.x format, 525 x 674 x 24

Grrr… fixed it, along another file that was committed in that format… and the found out that Daniele
already changed it back to PNG, got a nice binary conflict… aaah, someone give me a machete! :-p

Anyways, it’s now building on master, and I’ve committed the fix to the other BMP file.

You should be good to go, hopefully

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Build was successful - preflight checks available: http://ares.boundlessgeo.com/geoserver/release/2.8-beta

Dave were you able to fix the mac build box? Should I be waiting for a DMG to show up (or do I build this one by hand).

···

On 30 August 2015 at 08:06, Jody Garnett <jody.garnett@anonymised.com> wrote:

Thank you Andrea I will resume the build on this end!

I will look at the Jira release scripts with Dave and we can see if they work for the 2.6.5 release next week.

On Sun, Aug 30, 2015 at 1:40 AM Andrea Aime <andrea.aime@anonymised.com> wrote:


Jody Garnett


Jody Garnett

On Sat, Aug 29, 2015 at 9:35 PM, Jody Garnett <jody.garnett@anonymised.com> wrote:

Kevin was kind enough to kick out GWC 1.8-beta …

Sadly our GeoServer build had trouble… this a beta, to ensure that master is in a releasable state (so consider the following a successful test, showing we have some release problems):

  1. geoserver-release-jira

See #37 - appears to be api difference for new Jira instance, I went with a manual release.

Could it be that Jira changed its api since last time the script was used successfully in June? Seems a bit odd.
Maybe the underlying python libs changed instead?
I’m afraid I’m not familiar at all with this bit

  1. geoserver-release

See #80

Some problems building PDF

Build finished; the LaTeX files are in build/latex.
Run make all-pdf' or make all-ps’ in that directory to run these through (pdf)latex.
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
libpng error: Not a PNG file

The images in our guide should all be PNGs, LaTeX does not seem to be able to handle
jpeg or gifs… but afaik those were just warnings.
My guess is something changed and we are not getting the PDF generated anymore,
but I cannot tell what.

I’ve tried to build it locally, unfortunately it failed even before, during make latex in sphinx:

Exception occurred:
File “/usr/local/lib/python2.7/dist-packages/Sphinx-1.3.1-py2.7.egg/sphinx/writers/latex.py”, line 885, in depart_row
if linestart <= col:
UnboundLocalError: local variable ‘col’ referenced before assignment
The full traceback has been saved in /tmp/sphinx-err-8I25Zi.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Turns out it’s this error: https://github.com/sphinx-doc/sphinx/issues/1871
and there is no recent release for me to use… uff… luckly easy_install allows to install older versions, went back to 1.2.3

Then went to the pdflatex part… fought quite a bit to get all the needed Latex stuff installed, and reproduced
the same failure as the build box. The actual error is in a log file, manual.log (from my computer):

!pdfTeX error: pdflatex (file ./server_JAI.png): libpng: internal error
==> Fatal error occurred, no output PDF file produced!

And indeed:

file server_JAI.png
server_JAI.png: PC bitmap, Windows 3.x format, 525 x 674 x 24

Grrr… fixed it, along another file that was committed in that format… and the found out that Daniele
already changed it back to PNG, got a nice binary conflict… aaah, someone give me a machete! :-p

Anyways, it’s now building on master, and I’ve committed the fix to the other BMP file.

You should be good to go, hopefully

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.