GSS-Cogs / Scotland-migration-data

Scotland migration data
0 stars 0 forks source link

GSS_data/Migration/Scotland-overseas #99 failed #3

Closed ajtucker closed 5 years ago

ajtucker commented 5 years ago

Build 'GSS_data/Migration/Scotland-overseas' is failing!

Last 50 lines of build output:

[...truncated 510 lines...]
350. duplicate_key. Row: 18018. S92000003,nrs/overseas,2016-06-30T00:00:00/P1Y,M,all,outflow,Count,People
351. duplicate_key. Row: 18110. S92000003,nrs/overseas,2017-06-30T00:00:00/P1Y,M,all,outflow,Count,People
352. duplicate_key. Row: 18202. S92000003,nrs/overseas,2001-06-30T00:00:00/P1Y,M,all,balance,Count,People
353. duplicate_key. Row: 18294. S92000003,nrs/overseas,2002-06-30T00:00:00/P1Y,M,all,balance,Count,People
354. duplicate_key. Row: 18386. S92000003,nrs/overseas,2003-06-30T00:00:00/P1Y,M,all,balance,Count,People
355. duplicate_key. Row: 18478. S92000003,nrs/overseas,2004-06-30T00:00:00/P1Y,M,all,balance,Count,People
356. duplicate_key. Row: 18570. S92000003,nrs/overseas,2005-06-30T00:00:00/P1Y,M,all,balance,Count,People
357. duplicate_key. Row: 18662. S92000003,nrs/overseas,2006-06-30T00:00:00/P1Y,M,all,balance,Count,People
358. duplicate_key. Row: 18754. S92000003,nrs/overseas,2007-06-30T00:00:00/P1Y,M,all,balance,Count,People
359. duplicate_key. Row: 18846. S92000003,nrs/overseas,2008-06-30T00:00:00/P1Y,M,all,balance,Count,People
360. duplicate_key. Row: 18938. S92000003,nrs/overseas,2009-06-30T00:00:00/P1Y,M,all,balance,Count,People
361. duplicate_key. Row: 19030. S92000003,nrs/overseas,2010-06-30T00:00:00/P1Y,M,all,balance,Count,People
362. duplicate_key. Row: 19122. S92000003,nrs/overseas,2011-06-30T00:00:00/P1Y,M,all,balance,Count,People
363. duplicate_key. Row: 19214. S92000003,nrs/overseas,2012-06-30T00:00:00/P1Y,M,all,balance,Count,People
364. duplicate_key. Row: 19306. S92000003,nrs/overseas,2013-06-30T00:00:00/P1Y,M,all,balance,Count,People
365. duplicate_key. Row: 19398. S92000003,nrs/overseas,2014-06-30T00:00:00/P1Y,M,all,balance,Count,People
366. duplicate_key. Row: 19490. S92000003,nrs/overseas,2015-06-30T00:00:00/P1Y,M,all,balance,Count,People
367. duplicate_key. Row: 19582. S92000003,nrs/overseas,2016-06-30T00:00:00/P1Y,M,all,balance,Count,People
368. duplicate_key. Row: 19674. S92000003,nrs/overseas,2017-06-30T00:00:00/P1Y,M,all,balance,Count,People
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // script
[Pipeline] }
$ docker stop --time=1 29c0c5cfb8e7906e2d1839bfa8026221c7792bc63acdd57044c530ce2e1c25ad
$ docker rm -f 29c0c5cfb8e7906e2d1839bfa8026221c7792bc63acdd57044c530ce2e1c25ad
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Upload Tidy Data)
Stage "Upload Tidy Data" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test draft dataset)
Stage "Test draft dataset" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Publish)
Stage "Publish" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] step

Changes since last successful build:

No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes

No changes

No changes

No changes No changes No changes No changes

View full output

ajtucker commented 5 years ago

Build 'GSS_data/Migration/Scotland-overseas' is failing!

Last 50 lines of build output:

[...truncated 156 lines...]
------------------

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
~var/jenkins_home/workspace/GSS_data/Migration/Scotland-overseas/migration-by-age-2001-to-2017-females.ipynb in <module>
----> 1 tab = [t for t in tabs if t.name == 'SYOA Feales (2001-)'][0]
      2 cell = tab.filter('Year')
      3 age = cell.fill(RIGHT).is_not_blank().is_not_whitespace() | cell.shift(0,1).fill(RIGHT).is_not_blank().is_not_whitespace()
      4 year = cell.shift(0,1).expand(DOWN).is_not_blank().is_not_whitespace()
      5 flow = tab.filter(contains_string('migration')).is_not_blank().is_not_whitespace()

IndexError: list index out of range
IndexError: list index out of range

[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // script
[Pipeline] }
$ docker stop --time=1 af447428204334f1d6787fa76df7fde30e40604ce0114fddb4469ea3b9a8433d
$ docker rm -f af447428204334f1d6787fa76df7fde30e40604ce0114fddb4469ea3b9a8433d
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Validate CSV)
Stage "Validate CSV" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Upload Tidy Data)
Stage "Upload Tidy Data" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test draft dataset)
Stage "Test draft dataset" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Publish)
Stage "Publish" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] step

Changes since last successful build:

No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes

No changes

No changes

No changes No changes No changes No changes

View full output

ajtucker commented 5 years ago

Build 'GSS_data/Migration/Scotland-overseas' is failing!

Last 50 lines of build output:

[...truncated 231 lines...]
------------------

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-27-de2f78ef2b19> in <module>
     42         else:
     43             raise ValueError("Aborting. We have duplicate numbers that appear to be differentiated by "
---> 44                         "more than just rounding off, these: {}".format(",".join([str(x) for x in both_values])))
     45 
     46     # Now we compare precision and drop the least precise

ValueError: Aborting. We have duplicate numbers that appear to be differentiated by more than just rounding off, these: 12000,11985
ValueError: Aborting. We have duplicate numbers that appear to be differentiated by more than just rounding off, these: 12000,11985

[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // script
[Pipeline] }
$ docker stop --time=1 4de491a9d5e255a6e843e4706cf48ca1268a795876ef2dd5b64757e60f180718
$ docker rm -f 4de491a9d5e255a6e843e4706cf48ca1268a795876ef2dd5b64757e60f180718
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Validate CSV)
Stage "Validate CSV" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Upload Tidy Data)
Stage "Upload Tidy Data" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test draft dataset)
Stage "Test draft dataset" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Publish)
Stage "Publish" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] step

Changes since last successful build:

No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes No changes

No changes

No changes

No changes No changes No changes No changes

View full output

ajtucker commented 5 years ago

Build was fixed!