Closed Bug 1532823 Opened 6 years ago Closed 6 years ago

'mach try syntax' not recognized by 'mach try again'

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1400295

People

(Reporter: gbrown, Unassigned)

Details

I cannot use 'try again' to reproduce try pushes pushed with syntax.

gbrown@mozpad2:~/src$ ./mach try again --list
0. Try Chooser Enhanced (2 tasks selected)

  1. Try Chooser Enhanced (6 tasks selected)
  2. Try Chooser Enhanced (3 tasks selected)
  3. Try Chooser Enhanced (117 tasks selected)
  4. Try Chooser Enhanced (4 tasks selected)
  5. Try Chooser Enhanced (4 tasks selected)
  6. Try Chooser Enhanced (13 tasks selected)
  7. Try Chooser Enhanced (454 tasks selected)
  8. Try Chooser Enhanced (8 tasks selected)
  9. Try Chooser Enhanced (4 tasks selected)
    gbrown@mozpad2:/src$ ./mach try -b d -p linux64 --artifact
    Creating temporary commit for remote...
    pushing to ssh://hg.mozilla.org/try/
    searching for changes
    remote: adding changesets
    remote: adding manifests
    remote: adding file changes
    remote: added 1 changesets with 0 changes to 0 files (+1 heads)
    remote: recorded push in pushlog
    remote:
    remote: View your change here:
    remote: https://hg.mozilla.org/try/rev/6b0fc0f75cda0a295e7b9d59f83984d0d6fde9ef
    remote:
    remote: Follow the progress of your build on Treeherder:
    remote: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6b0fc0f75cda0a295e7b9d59f83984d0d6fde9ef
    remote: recorded changegroup in replication log in 0.045s
    push complete
    temporary commit removed, repository restored
    gbrown@mozpad2:
    /src$ ./mach try again --list
  10. Try Chooser Enhanced (2 tasks selected)
  11. Try Chooser Enhanced (6 tasks selected)
  12. Try Chooser Enhanced (3 tasks selected)
  13. Try Chooser Enhanced (117 tasks selected)
  14. Try Chooser Enhanced (4 tasks selected)
  15. Try Chooser Enhanced (4 tasks selected)
  16. Try Chooser Enhanced (13 tasks selected)
  17. Try Chooser Enhanced (454 tasks selected)
  18. Try Chooser Enhanced (8 tasks selected)
  19. Try Chooser Enhanced (4 tasks selected)
    gbrown@mozpad2:/src$ ./mach try syntax -b d -p linux64
    Creating temporary commit for remote...
    pushing to ssh://hg.mozilla.org/try/
    searching for changes
    remote: adding changesets
    remote: adding manifests
    remote: adding file changes
    remote: added 1 changesets with 0 changes to 0 files (+1 heads)
    remote: recorded push in pushlog
    remote:
    remote: View your change here:
    remote: https://hg.mozilla.org/try/rev/045da101d546e872742a6010f6cd2b12d043d631
    remote:
    remote: Follow the progress of your build on Treeherder:
    remote: https://treeherder.mozilla.org/#/jobs?repo=try&revision=045da101d546e872742a6010f6cd2b12d043d631
    remote: recorded changegroup in replication log in 0.042s
    push complete
    temporary commit removed, repository restored
    gbrown@mozpad2:
    /src$ ./mach try again --list
  20. Try Chooser Enhanced (2 tasks selected)
  21. Try Chooser Enhanced (6 tasks selected)
  22. Try Chooser Enhanced (3 tasks selected)
  23. Try Chooser Enhanced (117 tasks selected)
  24. Try Chooser Enhanced (4 tasks selected)
  25. Try Chooser Enhanced (4 tasks selected)
  26. Try Chooser Enhanced (13 tasks selected)
  27. Try Chooser Enhanced (454 tasks selected)
  28. Try Chooser Enhanced (8 tasks selected)
  29. Try Chooser Enhanced (4 tasks selected)

Sigh. More readably...

gbrown@mozpad2:~/src$ ./mach try again --list
0. Try Chooser Enhanced (2 tasks selected)
1. Try Chooser Enhanced (6 tasks selected)
2. Try Chooser Enhanced (3 tasks selected)
3. Try Chooser Enhanced (117 tasks selected)
4. Try Chooser Enhanced (4 tasks selected)
5. Try Chooser Enhanced (4 tasks selected)
6. Try Chooser Enhanced (13 tasks selected)
7. Try Chooser Enhanced (454 tasks selected)
8. Try Chooser Enhanced (8 tasks selected)
9. Try Chooser Enhanced (4 tasks selected)
gbrown@mozpad2:~/src$ ./mach try -b d -p linux64 --artifact
Creating temporary commit for remote...
pushing to ssh://hg.mozilla.org/try/
searching for changes
remote: adding changesets                                                                                                           
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 0 changes to 0 files (+1 heads)
remote: recorded push in pushlog
remote: 
remote: View your change here:
remote:   https://hg.mozilla.org/try/rev/6b0fc0f75cda0a295e7b9d59f83984d0d6fde9ef
remote: 
remote: Follow the progress of your build on Treeherder:
remote:   https://treeherder.mozilla.org/#/jobs?repo=try&revision=6b0fc0f75cda0a295e7b9d59f83984d0d6fde9ef
remote: recorded changegroup in replication log in 0.045s
push complete
temporary commit removed, repository restored
gbrown@mozpad2:~/src$ ./mach try again --list
0. Try Chooser Enhanced (2 tasks selected)
1. Try Chooser Enhanced (6 tasks selected)
2. Try Chooser Enhanced (3 tasks selected)
3. Try Chooser Enhanced (117 tasks selected)
4. Try Chooser Enhanced (4 tasks selected)
5. Try Chooser Enhanced (4 tasks selected)
6. Try Chooser Enhanced (13 tasks selected)
7. Try Chooser Enhanced (454 tasks selected)
8. Try Chooser Enhanced (8 tasks selected)
9. Try Chooser Enhanced (4 tasks selected)
gbrown@mozpad2:~/src$ ./mach try syntax -b d -p linux64
Creating temporary commit for remote...
pushing to ssh://hg.mozilla.org/try/
searching for changes
remote: adding changesets                                                                                                           
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 0 changes to 0 files (+1 heads)
remote: recorded push in pushlog
remote: 
remote: View your change here:
remote:   https://hg.mozilla.org/try/rev/045da101d546e872742a6010f6cd2b12d043d631
remote: 
remote: Follow the progress of your build on Treeherder:
remote:   https://treeherder.mozilla.org/#/jobs?repo=try&revision=045da101d546e872742a6010f6cd2b12d043d631
remote: recorded changegroup in replication log in 0.042s
push complete
temporary commit removed, repository restored
gbrown@mozpad2:~/src$ ./mach try again --list
0. Try Chooser Enhanced (2 tasks selected)
1. Try Chooser Enhanced (6 tasks selected)
2. Try Chooser Enhanced (3 tasks selected)
3. Try Chooser Enhanced (117 tasks selected)
4. Try Chooser Enhanced (4 tasks selected)
5. Try Chooser Enhanced (4 tasks selected)
6. Try Chooser Enhanced (13 tasks selected)
7. Try Chooser Enhanced (454 tasks selected)
8. Try Chooser Enhanced (8 tasks selected)
9. Try Chooser Enhanced (4 tasks selected)

Yes, this is expected. Mach try syntax doesn't use try_task_config.json and mach try again can only work by having the exact hardcoded list of tasks that were pushed.

Bug 1400295 will automatically fix this, so I'm going to dupe.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Component: Try → Task Configuration
You need to log in before you can comment on or make changes to this bug.