Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: merge bitcoin#22741, #22788, #23207, #23300, partial bitcoin#22550 (moving generate* to TestFramework) #6288

Merged
merged 11 commits into from
Oct 4, 2024

Conversation

kwvg
Copy link
Collaborator

@kwvg kwvg commented Sep 26, 2024

Additional Information

  • bitcoin#23207 has been marked partial as test/functional/wallet_transactiontime_rescan.py has not been backported yet.

  • bitcoin#22550 has been partially backported to track changes to generate_to_height() made in successive backports.

  • develop (5a0479fe, build)

    dash#6288 (ecb51351, build)

    Running Unit Tests for Test Framework Modules
                           
    ----------------------------------------------------------------------
    Ran 18 tests in 32.370s
    OK
    1/266 - wallet_hd.py --legacy-wallet passed, Duration: 12 s
    [...]
    feature_bind_port_discover.py                      | ○ Skipped | 1 s
    feature_bind_port_externalip.py                    | ○ Skipped | 1 s
    interface_usdt_net.py                              | ○ Skipped | 1 s
    interface_usdt_utxocache.py                        | ○ Skipped | 1 s
    interface_usdt_validation.py                       | ○ Skipped | 1 s
    rpc_bind.py --ipv6                                 | ○ Skipped | 1 s
    ALL                                                | ✓ Passed  | 6961 s (accumulated) 
    Runtime: 1779 s
    
    Running Unit Tests for Test Framework Modules
                            
    ----------------------------------------------------------------------
    Ran 18 tests in 32.318s
    OK
    1/266 - wallet_hd.py --legacy-wallet passed, Duration: 19 s
    [...]
    feature_bind_port_discover.py                      | ○ Skipped | 1 s
    feature_bind_port_externalip.py                    | ○ Skipped | 1 s
    interface_usdt_net.py                              | ○ Skipped | 1 s
    interface_usdt_utxocache.py                        | ○ Skipped | 1 s
    interface_usdt_validation.py                       | ○ Skipped | 1 s
    rpc_bind.py --ipv6                                 | ○ Skipped | 1 s
    ALL                                                | ✓ Passed  | 7048 s (accumulated) 
    Runtime: 1825 s
    

Breaking Changes

None expected.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas (note: N/A)
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation (note: N/A)
  • I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

@kwvg kwvg added this to the 21.2 milestone Sep 26, 2024
Copy link

This pull request has conflicts, please rebase.

@kwvg kwvg marked this pull request as ready for review September 30, 2024 14:23
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls see 2c20e87 + 22741 should be partial I guess (missing changes in test/functional/rpc_signrawtransaction.py, too early)

Copy link

github-actions bot commented Oct 1, 2024

This pull request has conflicts, please rebase.

UdjinM6
UdjinM6 previously approved these changes Oct 1, 2024
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK ecb5135

Copy link

github-actions bot commented Oct 3, 2024

This pull request has conflicts, please rebase.

partial:
- 746f203 (only changes in test_framework/util.py)
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 4a4905a

@kwvg kwvg changed the title backport: merge bitcoin#22741, #22788, #23300, partial bitcoin#22550, #23207 (moving generate* to TestFramework) backport: merge bitcoin#22788, #23300, partial bitcoin#22741, #22550, #23207 (moving generate* to TestFramework) Oct 4, 2024
@PastaPastaPasta
Copy link
Member

LGTM; lets mark

partial bitcoin#22741: Add generate* calls to test framework
partial bitcoin#23207: Delete generate* calls from TestNode

as fully done; the stuff they exclude will be trivially detected as soon as someone backports those scripts because they will fail :) it's just annoying to have these as "partial" for no real benefit to maintaining imo.

@kwvg kwvg changed the title backport: merge bitcoin#22788, #23300, partial bitcoin#22741, #22550, #23207 (moving generate* to TestFramework) backport: merge bitcoin#22741, #22788, #23207, #23300, partial bitcoin#22550 (moving generate* to TestFramework) Oct 4, 2024
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 131d161; no diff rebase, going to merge

@PastaPastaPasta PastaPastaPasta merged commit c77994f into dashpay:develop Oct 4, 2024
25 of 34 checks passed
PastaPastaPasta added a commit that referenced this pull request Oct 5, 2024
…ollow-up dash#6276)

9b0c506 test: call `self.generate()` in `p2p_net_deadlock.py` (Kittywhiskers Van Gogh)

Pull request description:

  ## Additional Information

  `develop` is currently borked ([build](https://gitlab.com/dashpay/dash/-/jobs/7999893074#L266)) because [dash#6288](#6288) changed the expected syntax for `generate*` calls and [dash#6276](#6276) introduced a new test (`p2p_net_deadlock.py`) that was based on a version of `develop` that used the older syntax.

  No conflicts were reported because it was a new file introduced in the latter PR that the former PR did not have knowledge of.

  ## Breaking changes

  None expected.

  ## Checklist:

  - [x] I have performed a self-review of my own code
  - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)**
  - [x] I have added or updated relevant unit/integration/functional/e2e tests
  - [x] I have made corresponding changes to the documentation **(note: N/A)**
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  UdjinM6:
    utACK 9b0c506
  PastaPastaPasta:
    utACK 9b0c506

Tree-SHA512: 3b49f0ff4fc5beea8bd48019c581577ebb47cf50c5526e60367740e5deea7fc92451a480abd49b2b3b2a7be7fb9ca2a4aca99c565ef7aaee1ba8cce43e0be776
PastaPastaPasta added a commit that referenced this pull request Oct 8, 2024
, bitcoin#23223, bitcoin#23564, bitcoin#23538, bitcoin#23437, bitcoin#23630, bitcoin#23465, bitcoin#23738, bitcoin#17631, bitcoin#22875 (auxiliary backports: part 18)

5aceee3 merge bitcoin#22875: Fix Racy ParseOpCode function initialization (Kittywhiskers Van Gogh)
427d07f merge bitcoin#17631: Expose block filters over REST (Kittywhiskers Van Gogh)
d60f15e merge bitcoin#23738: improve logging of ChainstateManager snapshot persistance (Kittywhiskers Van Gogh)
8725734 merge bitcoin#23465: Remove CTxMemPool params from ATMP (Kittywhiskers Van Gogh)
d2cbdc4 merge bitcoin#23630: Remove GetSpendHeight (Kittywhiskers Van Gogh)
8bdab4d merge bitcoin#23437: AcceptToMemoryPool (Kittywhiskers Van Gogh)
1f4e8a0 merge bitcoin#23538: Remove strtol in torcontrol (Kittywhiskers Van Gogh)
2318d9f merge bitcoin#23564: don't use deprecated brew package names (Kittywhiskers Van Gogh)
3b7a739 merge bitcoin#23223: Disable lock contention logging in checkqueue_tests (Kittywhiskers Van Gogh)
b383609 merge bitcoin#23227: Avoid treating integer overflow as OP_0 (Kittywhiskers Van Gogh)
0188d32 merge bitcoin#23213: Return error when header count is not integral (Kittywhiskers Van Gogh)
eb9e208 merge bitcoin#23156: Remove unused ParsePrechecks and ParseDouble (Kittywhiskers Van Gogh)
18fff7e rpc: switch to taking an integer for `rate` in `quorum dkgsimerror` (Kittywhiskers Van Gogh)

Pull request description:

  ## Additional Information

  * Dependent on #6288

  * Dependent on #6296

  ## Breaking changes

  - `quorum dkgsimerror` will no longer accept a decimal value between 0 and 1 for the `rate` argument, it will now expect an integer between 0 to 100.

  ## Checklist

  - [x] I have performed a self-review of my own code
  - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)**
  - [x] I have added or updated relevant unit/integration/functional/e2e tests
  - [x] I have made corresponding changes to the documentation
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  PastaPastaPasta:
    utACK 5aceee3
  UdjinM6:
    utACK 5aceee3
  knst:
    utACK 5aceee3

Tree-SHA512: 8fc34b05a74f2ddbe84b2a7a54772e49941042c89bc74d71d33711e658754a3d086af11fb2437d2bb72ede0c611adc57b82193783e7b6f10fbd4ebab2a7fa7cb
@UdjinM6 UdjinM6 modified the milestones: 21.2, 22 Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants