dfarrell07

tagging_pkg_debug_dump

Dec 5th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. > Updates:
  2. >
  3. > Trying to add pkg to our tag
  4. >
  5. > $ brew add-pkg --owner=dfarrell rhos-10.0-odl-rhel-7-maven-imports
  6. org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  7. > Adding 1 packages to tag rhos-10.0-odl-rhel-7-maven-imports
  8. > $ brew tag-build rhos-10.0-odl-rhel-7-maven-imports
  9. org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  10. > TagError: Package org.eclipse.jdt-org.eclipse.jdt.core not in list for
  11. rhos-10.0-odl-rhel-7-maven-imports
  12.  
  13. Not sure about this error, haven't encountered this stuff previously..
  14. Best bet is ping Russell or Lon Hohberger (lon) on IRC and ask them for
  15. help with this.
  16.  
  17. >
  18. > Also trying without the -1 part
  19. >
  20. > $ brew add-pkg --owner=dfarrell rhos-10.0-odl-rhel-7-maven-imports
  21. org.eclipse.jdt-org.eclipse.jdt.core-3.10.0
  22. > Adding 1 packages to tag rhos-10.0-odl-rhel-7-maven-imports
  23. > $ brew tag-build rhos-10.0-odl-rhel-7-maven-imports
  24. org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  25. > TagError: Package org.eclipse.jdt-org.eclipse.jdt.core not in list for
  26. rhos-10.0-odl-rhel-7-maven-imports
  27. >
  28. > The package for the missing artifact shows when looking at the packages
  29. on our tag
  30. >
  31. > $ brew list-pkgs --tag=rhos-10.0-odl-rhel-7-maven-imports|grep jdt
  32. > org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  33. rhos-10.0-odl-rhel-7-maven-imports dfarrell
  34. > org.eclipse.jdt-org.eclipse.jdt.core-3.10.0
  35. rhos-10.0-odl-rhel-7-maven-imports dfarrell
  36. >
  37. > Tagging still fails in the same way
  38. >
  39. > $ brew tag-build rhos-10.0-odl-rhel-7-maven-imports
  40. org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  41. > TagError: Package org.eclipse.jdt-org.eclipse.jdt.core not in list for
  42. rhos-10.0-odl-rhel-7-maven-imports
  43. >
  44. > Mead download and import script still fails in the same way
  45. >
  46. > $ ./mead-download-and-import --owner dfarrell --tag
  47. rhos-10.0-odl-rhel-7-maven-imports
  48. org.eclipse.jdt:org.eclipse.jdt.core:jar:3.10.0
  49. > brew import-archive --create-build --type maven --type-info
  50. /tmp/tmps1IuGn/org.eclipse.jdt.core-3.10.0.pom
  51. org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  52. /tmp/tmps1IuGn/org.eclipse.jdt.core-3.10.0-sources.jar
  53. /tmp/tmps1IuGn/org.eclipse.jdt.core-3.10.0-javadoc.jar
  54. >
  55. > Wondering if a job needs to run to update something? Or maybe it's okay,
  56. since it shows in list-pkgs?
  57. > Will a new build detect it automagically or do we need a newRepo job to
  58. get triggered somehow?
  59. >
  60. > Trying a new build
  61. >
  62. > https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=12186803
  63. >
  64. >
  65. > Daniel Farrell
  66. > Software Engineer, Red Hat SDN Team
  67. > https://wiki.opendaylight.org/view/user:dfarrell07
  68. >
  69. > ----- Original Message -----
  70. > > On Thu, Dec 1, 2016 at 6:51 PM, Daniel Farrell <dfarrell@redhat.com>
  71. wrote:
  72. > >
  73. > > > Trying to catch you before it's late, sorry for quick dump.
  74. > > >
  75. > > > Looking at a failing build and importing the resulting GAV is failing,
  76. > > > just spitting out a command and exiting 1.
  77. > > >
  78. > > > DEBUG util.py:257: [ERROR] Failed to execute goal
  79. > > > org.eclipse.xtend:xtend-maven-plugin:2.9.2:compile (default) on
  80. project
  81. > > > testutils: Execution default of goal
  82. > > > org.eclipse.xtend:xtend-maven-plugin:2.9.2:compile
  83. > > > failed: Plugin org.eclipse.xtend:xtend-maven-plugin:2.9.2 or one of
  84. its
  85. > > > dependencies could not be resolved: Could not find artifact
  86. > > > org.eclipse.jdt:org.eclipse.jdt.core:jar:3.10.0 in
  87. > > > koji-task-12184506-repo (
  88. http://download.eng.bos.redhat.com/brewroot/work/
  89. > > > tasks/4506/12184506)
  90. > > >
  91. > > > http://download-node-02.eng.bos.redhat.com/brewroot/work/
  92. > > > tasks/4533/12184533/root.log
  93. > > >
  94. > > > $ ./mead-download-and-import --owner dfarrell --tag
  95. > > > rhos-10.0-odl-rhel-7-maven-imports org.eclipse.jdt:org.eclipse.
  96. > > > jdt.core:jar:3.10.0
  97. > > > brew import-archive --create-build --type maven --type-info
  98. > > > /tmp/tmpfex9Ws/org.eclipse.jdt.core-3.10.0.pom
  99. > > > org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  100. > > > /tmp/tmpfex9Ws/org.eclipse.jdt.core-3.10.0-sources.jar
  101. > > > /tmp/tmpfex9Ws/org.eclipse.jdt.core-3.10.0-javadoc.jar
  102. > > > # Exit status 1
  103. > > >
  104. > >
  105. > > ​I never came across this, ​
  106. > >
  107. > > ​but basically that script is downloading and importing the artifacts so
  108. > > you could generally download them manually and import them with another
  109. > > script that it's calling.
  110. > > I;m not sure of the exact call to make but the information ​is
  111. available in
  112. > > mojo.
  113. > >
  114. > >
  115. > > > Nothing is imported:
  116. > > >
  117. > > > $ brew list-tagged
  118. > > > ​​
  119. > > > rhos-10.0-odl-rhel-7-maven-imports|grep jdt
  120. > > > # Nothing
  121. > > >
  122. > > > Trying some other similar commands, still fails for jdt.core
  123. > > >
  124. > > > $ ./mead-download-and-import --owner dfarrell --tag
  125. > > > rhos-10.0-odl-rhel-7-maven-imports org.eclipse.jdt:org.eclipse.
  126. > > > jdt.core:javadoc:3.10.0
  127. > > > brew import-archive --create-build --type maven --type-info
  128. > > > /tmp/tmpmelsO7/org.eclipse.jdt.core-3.10.0.pom
  129. > > > org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1
  130. > > > /tmp/tmpmelsO7/org.eclipse.jdt.core-3.10.0-sources.jar
  131. > > > /tmp/tmpmelsO7/org.eclipse.jdt.core-3.10.0-javadoc.jar
  132. > > >
  133. > > > But can import other artifacts (although this was already imported, so
  134. > > > maybe not exactly the same)
  135. > > >
  136. > > > $ ./mead-download-and-import --owner dfarrell --tag
  137. > > > rhos-10.0-odl-rhel-7-maven-imports org.eclipse.xtext:org.eclipse.
  138. > > > xtext:jar:2.9.2
  139. > > > Imported and tagged org.eclipse.xtext-org.eclipse.xtext-2.9.2-1
  140. > > >
  141. > > > I see the artifact in the catch-all MEAD tag
  142. > > >
  143. > > > [~/rh-mead-scripts]$ brew list-tagged mead-import-maven-all|grep
  144. > > > org.eclipse.jdt.core
  145. > > >
  146. > > > ​​
  147. > > > org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1 mead-import-maven-all
  148. > > > pgallagh
  149. > > >
  150. > >
  151. > > ​In this case it's not actually necessary to download nor import it,
  152. what
  153. > > the script would do (if it had worked) is just tag it to your tag.
  154. > > Prehaps you can utilize that and try do a 'brew tag-build ​
  155. > > org.eclipse.jdt-org.eclipse.jdt.core-3.10.0-1 --tag
  156. > > ​rhos-10.0-odl-rhel-7-maven-imports' ​
  157. > >
  158. > > ​or something of this sort?
  159. > > ​
  160. > >
  161. > > >
  162. > > > Daniel Farrell
  163. > > > Software Engineer, Red Hat SDN Team
  164. > > > https://wiki.opendaylight.org/view/user:dfarrell07
Add Comment
Please, Sign In to add comment