Page MenuHomeSoftware Heritage

WIP-Refactoring mongo backend
AbandonedPublicDraft

Authored by jayeshv on Sep 20 2021, 3:42 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

added an Entity class and Content and Directory classes
Added custom errors
using bulkwrite in mongo to get a better performance using atomic writes
Added cache file and datamodel json

Diff Detail

Repository
rDPROV Provenance database
Branch
add-contnent-refactoring
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 25365
Build 39647: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 39646: arc lint + arc unit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Build has FAILED

Patch application report for D6307 (id=23562)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/448/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/448/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 15 2021, 2:11 PM
Harbormaster failed remote builds in B24463: Diff 23562!

Build has FAILED

Patch application report for D6307 (id=23563)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/449/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/449/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 15 2021, 2:35 PM
Harbormaster failed remote builds in B24464: Diff 23563!
  • more backend agnostic tests

Build has FAILED

Patch application report for D6307 (id=23567)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/450/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/450/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 15 2021, 3:41 PM
Harbormaster failed remote builds in B24467: Diff 23567!

Build has FAILED

Patch application report for D6307 (id=23594)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/451/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/451/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 18 2021, 12:39 PM
Harbormaster failed remote builds in B24489: Diff 23594!
  • Using entity factory
  • insert_many

Build has FAILED

Patch application report for D6307 (id=23595)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/452/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/452/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 18 2021, 12:53 PM
Harbormaster failed remote builds in B24490: Diff 23595!
  • more tests made backend agnostic

Build has FAILED

Patch application report for D6307 (id=23600)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/453/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/453/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 18 2021, 1:35 PM
Harbormaster failed remote builds in B24495: Diff 23600!

Build has FAILED

Patch application report for D6307 (id=23601)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/454/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/454/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 18 2021, 1:39 PM
Harbormaster failed remote builds in B24496: Diff 23601!
  • small change
  • using factory

Build has FAILED

Patch application report for D6307 (id=23631)

Rebasing onto 3e87301a28...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 3e87301a28...

Already up to date.
Changes applied before test
commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/455/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/455/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 19 2021, 4:15 PM
Harbormaster failed remote builds in B24522: Diff 23631!
  • complex query
  • complex query with None
  • fixed data issues with bulk insert; added unique indexes in mongo tets

Build has FAILED

Patch application report for D6307 (id=23824)

Rebasing onto ef49e3100c...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto ef49e3100c...

Already up to date.
Changes applied before test
commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/466/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/466/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 27 2021, 9:34 AM
Harbormaster failed remote builds in B24709: Diff 23824!

Build has FAILED

Patch application report for D6307 (id=23827)

Rebasing onto ef49e3100c...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto ef49e3100c...

Already up to date.
Changes applied before test
commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/467/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/467/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 27 2021, 10:29 AM
Harbormaster failed remote builds in B24712: Diff 23827!

Build has FAILED

Patch application report for D6307 (id=23828)

Rebasing onto ef49e3100c...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto ef49e3100c...

Already up to date.
Changes applied before test
commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/468/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/468/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 27 2021, 11:08 AM
Harbormaster failed remote builds in B24713: Diff 23828!
  • bug fixes
  • small
  • performance
  • format

Build has FAILED

Patch application report for D6307 (id=23840)

Rebasing onto ef49e3100c...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto ef49e3100c...

Already up to date.
Changes applied before test
commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/469/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/469/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 27 2021, 2:31 PM
Harbormaster failed remote builds in B24723: Diff 23840!

Build has FAILED

Patch application report for D6307 (id=23843)

Rebasing onto ef49e3100c...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto ef49e3100c...

Already up to date.
Changes applied before test
commit 6e0311e2d25dc894f16b516662dd381eae3bc474
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:40:13 2021 +0200

    format

commit 6a85e29d710d9ebde181891ecc98c2097258c801
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:39:43 2021 +0200

    using mock

commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/470/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/470/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 27 2021, 2:41 PM
Harbormaster failed remote builds in B24726: Diff 23843!
  • find_first
  • small
  • small
  • changes from master

Build has FAILED

Patch application report for D6307 (id=23887)

Rebasing onto ef49e3100c...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto ef49e3100c...

Already up to date.
Changes applied before test
commit 9f25f721572ce19e621276e0cb87a4d443274929
Merge: 5d5668a ef49e31
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 28 11:38:15 2021 +0200

    changes from master

commit 5d5668a1286d6e3dc5f206543c0446d978c21a84
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:40:36 2021 +0200

    small

commit 9987af7772d0451a8f24d7b37b988fb73c9b1821
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:32:28 2021 +0200

    small

commit 2dfaf36d35cd9487ddadca75fcbeaf19e4fa395e
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:11:30 2021 +0200

    find_first

commit 6e0311e2d25dc894f16b516662dd381eae3bc474
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:40:13 2021 +0200

    format

commit 6a85e29d710d9ebde181891ecc98c2097258c801
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:39:43 2021 +0200

    using mock

commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/471/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/471/console

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 28 2021, 11:40 AM
Harbormaster failed remote builds in B24767: Diff 23887!

Build has FAILED

Patch application report for D6307 (id=23959)

Rebasing onto 30d8899bcf...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 30d8899bcf...

Already up to date.
Changes applied before test
commit e68fe5d6bf3c81ce72d7a4685927b63418bc90f6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 2 15:09:05 2021 +0100

    new fil

commit 9f25f721572ce19e621276e0cb87a4d443274929
Merge: 5d5668a ef49e31
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 28 11:38:15 2021 +0200

    changes from master

commit 5d5668a1286d6e3dc5f206543c0446d978c21a84
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:40:36 2021 +0200

    small

commit 9987af7772d0451a8f24d7b37b988fb73c9b1821
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:32:28 2021 +0200

    small

commit 2dfaf36d35cd9487ddadca75fcbeaf19e4fa395e
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:11:30 2021 +0200

    find_first

commit 6e0311e2d25dc894f16b516662dd381eae3bc474
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:40:13 2021 +0200

    format

commit 6a85e29d710d9ebde181891ecc98c2097258c801
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:39:43 2021 +0200

    using mock

commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/479/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/479/console

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 2 2021, 3:10 PM
Harbormaster failed remote builds in B24836: Diff 23959!

Build has FAILED

Patch application report for D6307 (id=24263)

Rebasing onto 94baaab052...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 94baaab052...

Already up to date.
Changes applied before test
commit 576418a80b849b2a7dbb0249755234245b3e7991
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Nov 24 10:39:56 2021 +0100

    statsd extra gauge

commit 14f8c22e31ac8c4d4761063ca3b33264d03d2a6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 16 15:52:30 2021 +0100

    small

commit e68fe5d6bf3c81ce72d7a4685927b63418bc90f6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 2 15:09:05 2021 +0100

    new fil

commit 9f25f721572ce19e621276e0cb87a4d443274929
Merge: 5d5668a ef49e31
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 28 11:38:15 2021 +0200

    changes from master

commit 5d5668a1286d6e3dc5f206543c0446d978c21a84
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:40:36 2021 +0200

    small

commit 9987af7772d0451a8f24d7b37b988fb73c9b1821
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:32:28 2021 +0200

    small

commit 2dfaf36d35cd9487ddadca75fcbeaf19e4fa395e
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:11:30 2021 +0200

    find_first

commit 6e0311e2d25dc894f16b516662dd381eae3bc474
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:40:13 2021 +0200

    format

commit 6a85e29d710d9ebde181891ecc98c2097258c801
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:39:43 2021 +0200

    using mock

commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/482/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/482/console

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 24 2021, 10:43 AM
Harbormaster failed remote builds in B25138: Diff 24263!

Build has FAILED

Patch application report for D6307 (id=24265)

Rebasing onto 94baaab052...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 94baaab052...

Already up to date.
Changes applied before test
commit f1fa940ef57a49c163dcbb68a30c060f6b9852a5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Nov 24 10:56:53 2021 +0100

    stats change

commit 576418a80b849b2a7dbb0249755234245b3e7991
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Nov 24 10:39:56 2021 +0100

    statsd extra gauge

commit 14f8c22e31ac8c4d4761063ca3b33264d03d2a6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 16 15:52:30 2021 +0100

    small

commit e68fe5d6bf3c81ce72d7a4685927b63418bc90f6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 2 15:09:05 2021 +0100

    new fil

commit 9f25f721572ce19e621276e0cb87a4d443274929
Merge: 5d5668a ef49e31
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 28 11:38:15 2021 +0200

    changes from master

commit 5d5668a1286d6e3dc5f206543c0446d978c21a84
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:40:36 2021 +0200

    small

commit 9987af7772d0451a8f24d7b37b988fb73c9b1821
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:32:28 2021 +0200

    small

commit 2dfaf36d35cd9487ddadca75fcbeaf19e4fa395e
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:11:30 2021 +0200

    find_first

commit 6e0311e2d25dc894f16b516662dd381eae3bc474
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:40:13 2021 +0200

    format

commit 6a85e29d710d9ebde181891ecc98c2097258c801
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:39:43 2021 +0200

    using mock

commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/483/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/483/console

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 24 2021, 10:58 AM
Harbormaster failed remote builds in B25140: Diff 24265!

Build has FAILED

Patch application report for D6307 (id=24293)

Rebasing onto 579c3bd35e...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto 579c3bd35e...

Already up to date.
Changes applied before test
commit 44ea1d23a63f12ce8a6ce5a524b982195c188296
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Nov 25 09:47:15 2021 +0100

    memory experiments

commit f1fa940ef57a49c163dcbb68a30c060f6b9852a5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Nov 24 10:56:53 2021 +0100

    stats change

commit 576418a80b849b2a7dbb0249755234245b3e7991
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Nov 24 10:39:56 2021 +0100

    statsd extra gauge

commit 14f8c22e31ac8c4d4761063ca3b33264d03d2a6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 16 15:52:30 2021 +0100

    small

commit e68fe5d6bf3c81ce72d7a4685927b63418bc90f6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 2 15:09:05 2021 +0100

    new fil

commit 9f25f721572ce19e621276e0cb87a4d443274929
Merge: 5d5668a ef49e31
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 28 11:38:15 2021 +0200

    changes from master

commit 5d5668a1286d6e3dc5f206543c0446d978c21a84
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:40:36 2021 +0200

    small

commit 9987af7772d0451a8f24d7b37b988fb73c9b1821
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:32:28 2021 +0200

    small

commit 2dfaf36d35cd9487ddadca75fcbeaf19e4fa395e
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:11:30 2021 +0200

    find_first

commit 6e0311e2d25dc894f16b516662dd381eae3bc474
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:40:13 2021 +0200

    format

commit 6a85e29d710d9ebde181891ecc98c2097258c801
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:39:43 2021 +0200

    using mock

commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/491/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/491/console

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 25 2021, 9:48 AM
Harbormaster failed remote builds in B25165: Diff 24293!

Build has FAILED

Patch application report for D6307 (id=24491)

Rebasing onto dd1d7aa233...

First, rewinding head to replay your work on top of it...
Applying: Unit tests for mongo backend
Applying: stubs
Applying: small change
Applying: more
Applying: missing test stubs
Applying: Refactoring for content_add and directory_add
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging swh/provenance/tests/mongo/test_backend.py
CONFLICT (add/add): Merge conflict in swh/provenance/tests/mongo/test_backend.py
Patch failed at 0006 Refactoring for content_add and directory_add

Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".

Rebase failed (ret=1)!

Could not rebase; Attempt merge onto dd1d7aa233...

Already up to date.
Changes applied before test
commit 5b20e630599e768521e37fd4e5912314d55efd56
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Sat Dec 4 12:06:39 2021 +0100

    more statsd

commit 44ea1d23a63f12ce8a6ce5a524b982195c188296
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Nov 25 09:47:15 2021 +0100

    memory experiments

commit f1fa940ef57a49c163dcbb68a30c060f6b9852a5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Nov 24 10:56:53 2021 +0100

    stats change

commit 576418a80b849b2a7dbb0249755234245b3e7991
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Nov 24 10:39:56 2021 +0100

    statsd extra gauge

commit 14f8c22e31ac8c4d4761063ca3b33264d03d2a6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 16 15:52:30 2021 +0100

    small

commit e68fe5d6bf3c81ce72d7a4685927b63418bc90f6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Nov 2 15:09:05 2021 +0100

    new fil

commit 9f25f721572ce19e621276e0cb87a4d443274929
Merge: 5d5668a ef49e31
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 28 11:38:15 2021 +0200

    changes from master

commit 5d5668a1286d6e3dc5f206543c0446d978c21a84
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:40:36 2021 +0200

    small

commit 9987af7772d0451a8f24d7b37b988fb73c9b1821
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:32:28 2021 +0200

    small

commit 2dfaf36d35cd9487ddadca75fcbeaf19e4fa395e
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 16:11:30 2021 +0200

    find_first

commit 6e0311e2d25dc894f16b516662dd381eae3bc474
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:40:13 2021 +0200

    format

commit 6a85e29d710d9ebde181891ecc98c2097258c801
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:39:43 2021 +0200

    using mock

commit f11c3549ee1a2c1016731da6cd9b9803ae369504
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:30:19 2021 +0200

    format

commit 1f60ce4fb0db9576a75bd2d92b1cf7fa1a16c26b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:28:33 2021 +0200

    performance

commit 0acf2c48a8707e1c491464a407afdc2c9fbec342
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 14:21:35 2021 +0200

    small

commit 693949ba1d39f2cb039b5447b0fe55469f35dcdf
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:44:39 2021 +0200

    bug fixes

commit c5262d544235fbec24279c0fa8c81a6f6e54e96c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 11:06:31 2021 +0200

    fix

commit d7ed3bf2642795829bc9b1d92f0f4b98ddc872ff
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:43:00 2021 +0200

    small

commit 808dc863bf40eda1a3ee423010e4b5b5a948b3d0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:31:35 2021 +0200

    small

commit ade89cbd5620d6116f2f17cefe21bbbcc062e24d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 10:28:27 2021 +0200

    insert many fix

commit e2b215ac96527b70282ad9da3f76002c20dd1394
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 27 09:31:22 2021 +0200

    fixed data issues with bulk insert; added unique indexes in mongo tets

commit 63cb0250c7eeb8176917a5566494420a584a9dfa
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:41 2021 +0200

    complex query with None

commit 107e877bbbcf5023194ab4b77bd900b08b7aeb6a
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 26 15:29:13 2021 +0200

    complex query

commit 92cf2b7e8ef155a3ef6fd843ee79f1bbd36d4b2c
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Tue Oct 19 16:13:24 2021 +0200

    using factory

commit 79ab61b0e161b8afc1bc642959bb66a856b30d13
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:59:19 2021 +0200

    small change

commit 25bdf7e6336dee9fd14a40d3d53c8966ba05bdd0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:37:10 2021 +0200

    black format

commit acc4446c5b1a8337da4e8840da06ddf1ef374fd8
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 13:34:13 2021 +0200

    more tests made backend agnostic

commit 3eb1395e3ed3ec6c55e6a0d0b50780c4280c8825
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:51:42 2021 +0200

    insert_many

commit 20cb273f372bd9d821851d953d88d8e7440d4dc2
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:43:28 2021 +0200

    Using entity factory

commit 43b93922c2f2adcd65c2b9a00b56f0660afed631
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 18 12:37:56 2021 +0200

    Entity class changes

commit 0c1e50918777cd52859433126904896bf15574c4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 15:40:49 2021 +0200

    more backend agnostic tests

commit a4c10e6085191428cb6ce43ff656d599a654691d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:33:47 2021 +0200

    added refactored tests

commit 2ca05db432fa6563fd602a65f4adc70d474710d5
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 14:10:11 2021 +0200

    origin-add bulk write

commit 4c5adfb9d210465ae54fe9beabee95e576f4536b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 15 11:26:15 2021 +0200

    issues in aggregate function

commit 964bad0f8c8e4ba37081acc64bd07bdf753871be
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 15:04:29 2021 +0200

    updates to update query generator

commit 6a192d94655a20bc88bd8b201b1728f78ab33996
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Oct 14 10:33:12 2021 +0200

    Added 2 methods to make tests backend agnostic

commit ae9d222168581aaacb9b82688d00bfd7c704afe4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 17:41:59 2021 +0200

    bulk write fixes

commit 19b2b94c9fa16fb20d83309dfc152d4c9d57537f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:16:42 2021 +0200

    small changes

commit 09fc80a92b734ffd37b6825d28de2c6e0b5fce1b
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:08:44 2021 +0200

    flat model

commit 7b358366d7ada6ecbf334235c5de50bbbb34ca4f
Merge: 194306a 7e9cce6
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 13 15:06:41 2021 +0200

    find-first refactoring

commit 194306afd65536642379ee1ced2f4abb57f2786f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:45:30 2021 +0200

    deleted unintended file

commit 1b3fc9e5b6e8d538d75bc306ad083921ab94eb3d
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Sep 20 15:36:08 2021 +0200

    Refactoring for content_add and directory_add
    
    added an Entity class and Content and Directory classes
    Added custom errors
    using bulkwrite in mongo to get a better performance using atomic writes
    Added cache file and datamodel json

commit 7e9cce61b211e54aed4f9449320f0aa028c8639f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Wed Oct 6 11:45:43 2021 +0200

    missing test stubs

commit d2ae4ca82a7a581d92f6c030e3d5869a43c5a0e0
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 12:38:47 2021 +0200

    more

commit d855d9231e31082465be63ba69828fb14067e069
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Mon Oct 4 09:34:24 2021 +0200

    small change

commit ff2cecd2e2a0d03b5d40fbf3113bc0b1349a4018
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Oct 1 15:34:36 2021 +0200

    stubs

commit d8ea31bf3516fa1465fe7869049dc091e986f397
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Thu Sep 23 16:28:37 2021 +0200

    Unit tests for mongo backend
    
    Unit tests for content and direcotory add methods.
    Using a mock mongo database for tests.

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/528/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/528/console

Harbormaster returned this revision to the author for changes because remote builds failed.Dec 4 2021, 12:08 PM
Harbormaster failed remote builds in B25365: Diff 24491!