Project

General

Profile

Tests netdrms812 » History » Version 4

Pablo Alingery, 02/03/2017 12:46

1 3 Pablo Alingery
h1. python2.7 OK 
2 1 Pablo Alingery
3 1 Pablo Alingery
<pre>
4 1 Pablo Alingery
production@sdo3:/usr/local/pySitools2_1.0$ python setup.py test -q 
5 1 Pablo Alingery
running test
6 1 Pablo Alingery
running egg_info
7 1 Pablo Alingery
writing requirements to pySitools2_1.0.egg-info/requires.txt
8 1 Pablo Alingery
error: [Errno 13] Permission denied: 'pySitools2_1.0.egg-info/requires.txt'
9 1 Pablo Alingery
production@sdo3:/usr/local/pySitools2_1.0$ sudo bash 
10 1 Pablo Alingery
[sudo] password for production: 
11 1 Pablo Alingery
root@sdo3:/usr/local/pySitools2_1.0# python setup.py test -q 
12 1 Pablo Alingery
running test
13 1 Pablo Alingery
running egg_info
14 1 Pablo Alingery
writing requirements to pySitools2_1.0.egg-info/requires.txt
15 1 Pablo Alingery
writing pySitools2_1.0.egg-info/PKG-INFO
16 1 Pablo Alingery
writing top-level names to pySitools2_1.0.egg-info/top_level.txt
17 1 Pablo Alingery
writing dependency_links to pySitools2_1.0.egg-info/dependency_links.txt
18 1 Pablo Alingery
reading manifest file 'pySitools2_1.0.egg-info/SOURCES.txt'
19 1 Pablo Alingery
writing manifest file 'pySitools2_1.0.egg-info/SOURCES.txt'
20 1 Pablo Alingery
running build_ext
21 1 Pablo Alingery
####Test gaia_search#############################
22 1 Pablo Alingery
Loading GAIA-DEM Sitools2 client : http://idoc-medoc-test.ias.u-psud.fr 
23 1 Pablo Alingery
10 results returned
24 1 Pablo Alingery
.####Test media_search #############################
25 1 Pablo Alingery
server parameter not specified, default value is set : server='http://medoc-sdo.ias.u-psud.fr'
26 1 Pablo Alingery
series parameter not specified, default value is set : series='aia.lev1'
27 1 Pablo Alingery
Loading MEDIA Sitools2 client : http://medoc-sdo.ias.u-psud.fr 
28 1 Pablo Alingery
288 results returned
29 1 Pablo Alingery
.####Test gaia_get#############################
30 1 Pablo Alingery
Loading GAIA-DEM Sitools2 client : http://idoc-medoc-test.ias.u-psud.fr 
31 1 Pablo Alingery
10 results returned
32 1 Pablo Alingery
Download file DEM_aia_2012-08-10T00_05_temp.fits completed
33 1 Pablo Alingery
Download file DEM_aia_2012-08-10T00_05_em.fits completed
34 1 Pablo Alingery
Download file DEM_aia_2012-08-10T00_05_chi2.fits completed
35 1 Pablo Alingery
Download file DEM_aia_2012-08-10T00_05_width.fits completed
36 1 Pablo Alingery
Download file DEM_aia_2012-08-10T01_05_temp.fits completed
37 1 Pablo Alingery
Download file DEM_aia_2012-08-10T01_05_em.fits completed
38 1 Pablo Alingery
Download file DEM_aia_2012-08-10T01_05_width.fits completed
39 1 Pablo Alingery
Download file DEM_aia_2012-08-10T01_05_chi2.fits completed
40 1 Pablo Alingery
Download file DEM_aia_2012-08-10T02_05_em.fits completed
41 1 Pablo Alingery
Download file DEM_aia_2012-08-10T02_05_width.fits completed
42 1 Pablo Alingery
Download file DEM_aia_2012-08-10T02_05_temp.fits completed
43 1 Pablo Alingery
Download file DEM_aia_2012-08-10T02_05_chi2.fits completed
44 1 Pablo Alingery
Download file DEM_aia_2012-08-10T03_05_width.fits completed
45 1 Pablo Alingery
Download file DEM_aia_2012-08-10T03_05_temp.fits completed
46 1 Pablo Alingery
Download file DEM_aia_2012-08-10T03_05_em.fits completed
47 1 Pablo Alingery
Download file DEM_aia_2012-08-10T03_05_chi2.fits completed
48 1 Pablo Alingery
Download file DEM_aia_2012-08-10T04_05_chi2.fits completed
49 1 Pablo Alingery
Download file DEM_aia_2012-08-10T04_05_width.fits completed
50 1 Pablo Alingery
Download file DEM_aia_2012-08-10T04_05_temp.fits completed
51 1 Pablo Alingery
Download file DEM_aia_2012-08-10T04_05_em.fits completed
52 1 Pablo Alingery
Download file DEM_aia_2012-08-10T05_05_em.fits completed
53 1 Pablo Alingery
Download file DEM_aia_2012-08-10T05_05_width.fits completed
54 1 Pablo Alingery
Download file DEM_aia_2012-08-10T05_05_temp.fits completed
55 1 Pablo Alingery
Download file DEM_aia_2012-08-10T05_05_chi2.fits completed
56 1 Pablo Alingery
Download file DEM_aia_2012-08-10T06_05_chi2.fits completed
57 1 Pablo Alingery
Download file DEM_aia_2012-08-10T06_05_em.fits completed
58 1 Pablo Alingery
Download file DEM_aia_2012-08-10T06_05_width.fits completed
59 1 Pablo Alingery
Download file DEM_aia_2012-08-10T06_05_temp.fits completed
60 1 Pablo Alingery
Download file DEM_aia_2012-08-10T07_05_chi2.fits completed
61 1 Pablo Alingery
Download file DEM_aia_2012-08-10T07_05_width.fits completed
62 1 Pablo Alingery
Download file DEM_aia_2012-08-10T07_05_temp.fits completed
63 1 Pablo Alingery
Download file DEM_aia_2012-08-10T07_05_em.fits completed
64 1 Pablo Alingery
Download file DEM_aia_2012-08-10T08_05_temp.fits completed
65 1 Pablo Alingery
Download file DEM_aia_2012-08-10T08_05_em.fits completed
66 1 Pablo Alingery
Download file DEM_aia_2012-08-10T08_05_chi2.fits completed
67 1 Pablo Alingery
Download file DEM_aia_2012-08-10T08_05_width.fits completed
68 1 Pablo Alingery
Download file DEM_aia_2012-08-10T09_05_temp.fits completed
69 1 Pablo Alingery
Download file DEM_aia_2012-08-10T09_05_em.fits completed
70 1 Pablo Alingery
Download file DEM_aia_2012-08-10T09_05_width.fits completed
71 1 Pablo Alingery
Download file DEM_aia_2012-08-10T09_05_chi2.fits completed
72 1 Pablo Alingery
.####Test idoc-medoc_search #############################
73 1 Pablo Alingery
Loading MEDIA Sitools2 client : http://idoc-medoc-test.ias.u-psud.fr 
74 1 Pablo Alingery
861 results returned
75 1 Pablo Alingery
.####Test idoc-solar-portal-test  nbr projects ###############
76 1 Pablo Alingery
1 projects detected
77 1 Pablo Alingery
[
78 1 Pablo Alingery
79 1 Pablo Alingery
Project object display() :
80 1 Pablo Alingery
	
81 1 Pablo Alingery
		resources list :
82 1 Pablo Alingery
			0) http://idoc-medoc-test.ias.u-psud.fr/project/solar/datasets
83 1 Pablo Alingery
			1) http://idoc-medoc-test.ias.u-psud.fr/project/solar/forms
84 1 Pablo Alingery
			2) http://idoc-medoc-test.ias.u-psud.fr/project/solar/opensearch
85 1 Pablo Alingery
			3) http://idoc-medoc-test.ias.u-psud.fr/project/solar/graph
86 1 Pablo Alingery
			4) http://idoc-medoc-test.ias.u-psud.fr/project/solar/feeds
87 1 Pablo Alingery
			5) http://idoc-medoc-test.ias.u-psud.fr/project/solar/clientFeeds/{feedsId}
88 1 Pablo Alingery
			6) http://idoc-medoc-test.ias.u-psud.fr/project/solar/services
89 1 Pablo Alingery
			7) http://idoc-medoc-test.ias.u-psud.fr/project/solar/formsProject
90 1 Pablo Alingery
			8) http://idoc-medoc-test.ias.u-psud.fr/project/solar/formsProject/{formId}
91 1 Pablo Alingery
			9) http://idoc-medoc-test.ias.u-psud.fr/project/solar/projectModules
92 1 Pablo Alingery
			10) http://idoc-medoc-test.ias.u-psud.fr/project/solar/datasetViews
93 1 Pablo Alingery
			11) http://idoc-medoc-test.ias.u-psud.fr/project/solar/guiServices
94 1 Pablo Alingery
			12) http://idoc-medoc-test.ias.u-psud.fr/project/solar/]
95 1 Pablo Alingery
.####Test media_search #############################
96 1 Pablo Alingery
series parameter not specified, default value is set : series='aia.lev1'
97 1 Pablo Alingery
Loading MEDIA Sitools2 client : http://idoc-medoc-test.ias.u-psud.fr 
98 1 Pablo Alingery
288 results returned
99 1 Pablo Alingery
.####Test media nbr projects #################################
100 1 Pablo Alingery
2 projects detected
101 1 Pablo Alingery
.####Test idoc-medoc NbrDatasets #############################
102 1 Pablo Alingery
1 projects detected
103 1 Pablo Alingery
('Nombre de projets : ', 1)
104 1 Pablo Alingery
105 1 Pablo Alingery
106 1 Pablo Alingery
Project object display() :
107 1 Pablo Alingery
	
108 1 Pablo Alingery
		resources list :
109 1 Pablo Alingery
			0) http://idoc-medoc-test.ias.u-psud.fr/project/solar/datasets
110 1 Pablo Alingery
			1) http://idoc-medoc-test.ias.u-psud.fr/project/solar/forms
111 1 Pablo Alingery
			2) http://idoc-medoc-test.ias.u-psud.fr/project/solar/opensearch
112 1 Pablo Alingery
			3) http://idoc-medoc-test.ias.u-psud.fr/project/solar/graph
113 1 Pablo Alingery
			4) http://idoc-medoc-test.ias.u-psud.fr/project/solar/feeds
114 1 Pablo Alingery
			5) http://idoc-medoc-test.ias.u-psud.fr/project/solar/clientFeeds/{feedsId}
115 1 Pablo Alingery
			6) http://idoc-medoc-test.ias.u-psud.fr/project/solar/services
116 1 Pablo Alingery
			7) http://idoc-medoc-test.ias.u-psud.fr/project/solar/formsProject
117 1 Pablo Alingery
			8) http://idoc-medoc-test.ias.u-psud.fr/project/solar/formsProject/{formId}
118 1 Pablo Alingery
			9) http://idoc-medoc-test.ias.u-psud.fr/project/solar/projectModules
119 1 Pablo Alingery
			10) http://idoc-medoc-test.ias.u-psud.fr/project/solar/datasetViews
120 1 Pablo Alingery
			11) http://idoc-medoc-test.ias.u-psud.fr/project/solar/guiServices
121 1 Pablo Alingery
			12) http://idoc-medoc-test.ias.u-psud.fr/project/solar/
122 1 Pablo Alingery
Nbr datasets : 75
123 1 Pablo Alingery
.####Test media_get #############################
124 1 Pablo Alingery
server parameter not specified, default value is set : server='http://medoc-sdo.ias.u-psud.fr'
125 1 Pablo Alingery
series parameter not specified, default value is set : series='aia.lev1'
126 1 Pablo Alingery
Loading MEDIA Sitools2 client : http://medoc-sdo.ias.u-psud.fr 
127 1 Pablo Alingery
2 results returned
128 1 Pablo Alingery
Download file aia.lev1_335A_2012-08-10T00-00-26.image_lev1.fits completed
129 1 Pablo Alingery
Download file aia.lev1_304A_2012-08-10T00-00-31.image_lev1.fits completed
130 1 Pablo Alingery
.
131 1 Pablo Alingery
----------------------------------------------------------------------
132 1 Pablo Alingery
Ran 9 tests in 16.795s
133 1 Pablo Alingery
134 1 Pablo Alingery
OK
135 4 Pablo Alingery
</pre>
136 4 Pablo Alingery
137 4 Pablo Alingery
h1. python3.4 KO
138 4 Pablo Alingery
139 4 Pablo Alingery
<pre> 
140 4 Pablo Alingery
update-alternatives --config python
141 4 Pablo Alingery
There are 2 choices for the alternative python (providing /usr/bin/python).
142 4 Pablo Alingery
143 4 Pablo Alingery
  Selection    Path                Priority   Status
144 4 Pablo Alingery
------------------------------------------------------------
145 4 Pablo Alingery
  0            /usr/bin/python3.4   2         auto mode
146 4 Pablo Alingery
* 1            /usr/bin/python2.7   1         manual mode
147 4 Pablo Alingery
  2            /usr/bin/python3.4   2         manual mode
148 4 Pablo Alingery
149 4 Pablo Alingery
Press enter to keep the current choice[*], or type selection number: 2
150 4 Pablo Alingery
update-alternatives: using /usr/bin/python3.4 to provide /usr/bin/python (python) in manual mode
151 4 Pablo Alingery
update-alternatives: error: error creating symbolic link `/etc/alternatives/python.dpkg-tmp': Permission denied
152 4 Pablo Alingery
production@sdo3:~$ sudo update-alternatives --config python
153 4 Pablo Alingery
[sudo] password for production: 
154 4 Pablo Alingery
Sorry, user production is not allowed to execute '/usr/sbin/update-alternatives --config python' as root on sdo3.ias.u-psud.fr.
155 4 Pablo Alingery
production@sdo3:~$ sudo bash 
156 4 Pablo Alingery
[sudo] password for production: 
157 4 Pablo Alingery
root@sdo3:/home/production# sudo update-alternatives --config python
158 4 Pablo Alingery
There are 2 choices for the alternative python (providing /usr/bin/python).
159 4 Pablo Alingery
160 4 Pablo Alingery
  Selection    Path                Priority   Status
161 4 Pablo Alingery
------------------------------------------------------------
162 4 Pablo Alingery
  0            /usr/bin/python3.4   2         auto mode
163 4 Pablo Alingery
* 1            /usr/bin/python2.7   1         manual mode
164 4 Pablo Alingery
  2            /usr/bin/python3.4   2         manual mode
165 4 Pablo Alingery
166 4 Pablo Alingery
Press enter to keep the current choice[*], or type selection number: 2
167 4 Pablo Alingery
update-alternatives: using /usr/bin/python3.4 to provide /usr/bin/python (python) in manual mode
168 4 Pablo Alingery
root@sdo3:/home/production# cd /usr/local/pySitools2_1.0/
169 4 Pablo Alingery
root@sdo3:/usr/local/pySitools2_1.0# ./reinstall_pySitools2.sh 
170 4 Pablo Alingery
pip3
171 4 Pablo Alingery
Exception:
172 4 Pablo Alingery
Traceback (most recent call last):
173 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/basecommand.py", line 215, in main
174 4 Pablo Alingery
    status = self.run(options, args)
175 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/commands/install.py", line 272, in run
176 4 Pablo Alingery
    with self._build_session(options) as session:
177 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/basecommand.py", line 72, in _build_session
178 4 Pablo Alingery
    insecure_hosts=options.trusted_hosts,
179 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/download.py", line 329, in __init__
180 4 Pablo Alingery
    self.headers["User-Agent"] = user_agent()
181 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/download.py", line 93, in user_agent
182 4 Pablo Alingery
    from pip._vendor import distro
183 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/_vendor/distro.py", line 1050, in <module>
184 4 Pablo Alingery
    _distro = LinuxDistribution()
185 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/_vendor/distro.py", line 594, in __init__
186 4 Pablo Alingery
    if include_lsb else {}
187 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/_vendor/distro.py", line 933, in _get_lsb_release_info
188 4 Pablo Alingery
    raise subprocess.CalledProcessError(code, cmd, stdout)
189 4 Pablo Alingery
subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1
190 4 Pablo Alingery
Traceback (most recent call last):
191 4 Pablo Alingery
  File "/usr/local/bin/pip3", line 9, in <module>
192 4 Pablo Alingery
    load_entry_point('pip==9.0.1', 'console_scripts', 'pip3')()
193 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/__init__.py", line 233, in main
194 4 Pablo Alingery
    return command.main(cmd_args)
195 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/basecommand.py", line 251, in main
196 4 Pablo Alingery
    timeout=min(5, options.timeout)) as session:
197 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/basecommand.py", line 72, in _build_session
198 4 Pablo Alingery
    insecure_hosts=options.trusted_hosts,
199 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/download.py", line 329, in __init__
200 4 Pablo Alingery
    self.headers["User-Agent"] = user_agent()
201 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/download.py", line 93, in user_agent
202 4 Pablo Alingery
    from pip._vendor import distro
203 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/_vendor/distro.py", line 1050, in <module>
204 4 Pablo Alingery
    _distro = LinuxDistribution()
205 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/_vendor/distro.py", line 594, in __init__
206 4 Pablo Alingery
    if include_lsb else {}
207 4 Pablo Alingery
  File "/usr/local/lib/python3.4/dist-packages/pip/_vendor/distro.py", line 933, in _get_lsb_release_info
208 4 Pablo Alingery
    raise subprocess.CalledProcessError(code, cmd, stdout)
209 4 Pablo Alingery
subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 1
210 1 Pablo Alingery
211 1 Pablo Alingery
</pre>