Closed Bug 1526371 Opened 5 years ago Closed 5 years ago

Dylan needs a newer database dump to locally test the STMO data delivery pipeline

Categories

(bugzilla.mozilla.org :: Infrastructure, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: bobm)

References

Details

Basically I have some complicated-ish queries to write and I need some production-like data to experiment with.

Steps (roughly?)

  • database copy of prod
  • run sanitizeme.pl --keep-groups on that
  • zip, encrypt, and put on a g-drive.

Sanitizing a copy of production currently.

Assignee: nobody → bobm
Status: NEW → ASSIGNED

sanitizeme.pl died a couple of times on security bugs and needed to be restarted. It's still running.

sanitizedme.pl died on 'Removing attachment data' but started again from insidergroup comments and attachments. Hopefully it's not stuck:

$ scripts/sanitizeme.pl --execute --keep-groups
Deleting 0 bugs in security groups...
Done
Deleting 'insidergroup' comments and attachments...
Deleting sensitive user account data...
Removing attachment data...
DBD::mysql::db do failed: Lost connection to MySQL server during query [for Statement "UPDATE attach_data SET thedata = ''"] at scripts/sanitizeme.pl line 118.

$ scripts/sanitizeme.pl --execute --keep-groups
Deleting 0 bugs in security groups...
Done
Deleting 'insidergroup' comments and attachments...

(In reply to Bob Micheletto [:bobm] from comment #4)

sanitizedme.pl died on 'Removing attachment data' but started again from insidergroup comments and attachments. Hopefully it's not stuck.

It appears to be stuck.

$ scripts/sanitizeme.pl --execute --keep-groups
Deleting 0 bugs in security groups...
Done
Deleting 'insidergroup' comments and attachments...
Deleting sensitive user account data...
Removing attachment data...
DBD::mysql::db do failed: Lost connection to MySQL server during query [for Statement "UPDATE attach_data SET thedata = ''"] at scripts/sanitizeme.pl line 118.

$ scripts/sanitizeme.pl --execute --keep-groups
Deleting 0 bugs in security groups...
Done
Deleting 'insidergroup' comments and attachments...
DBD::mysql::db do failed: Lost connection to MySQL server during query [for Statement "UPDATE bugs_fulltext SET comments = comments_noprivate"] at scripts/sanitizeme.pl line 118.

$ scripts/sanitizeme.pl --execute --keep-groups
Deleting 0 bugs in security groups...
Done
Deleting 'insidergroup' comments and attachments...

Flags: needinfo?(dylan)

(we answered the above problems in IRC)

Recipients of the data should be:

Flags: needinfo?(dylan)

Got it thanks.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Blocks: 1531613

As kohei is a contractor and under NDA, he may have access to the sanitized db dump.

You need to log in before you can comment on or make changes to this bug.