Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-6385

Rare problems with profile changes not being pushed in tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-6.x-GA
    • jboss-fuse-6.3
    • Test
    • % %

      I increased logging and normally we should have:

      2016-12-09 12:53:40,719 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.CommandSupport] (CommandSupport.java:93) | 158 - container-upgrade-rollback-test.jar - 1.0.0 | fabric:profile-edit --feature camel-script --feature camel-hazelcast feature-camel 1.1
      2016-12-09 12:53:41,192 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.internal.ProfileServiceImpl] (ProfileServiceImpl.java:151) | 84 - io.fabric8.fabric-core - 1.2.0.redhat-630217 | updateProfile: Profile[ver=1.1,id=feature-camel,atts={parents=karaf}]
      2016-12-09 12:53:41,310 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.git.internal.DefaultPullPushPolicy] (DefaultPullPushPolicy.java:226) | 86 - io.fabric8.fabric-git - 1.2.0.redhat-630217 | Pushing last change to: http://f344259b3df2:8181/git/fabric/
      2016-12-09 12:53:41,513 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.git.internal.DefaultPullPushPolicy] (DefaultPullPushPolicy.java:281) | 86 - io.fabric8.fabric-git - 1.2.0.redhat-630217 | Push result: [accepted=4,rejected=0,error=null]
      2016-12-09 12:53:42,420 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.CommandSupport] (CommandSupport.java:93) | 158 - container-upgrade-rollback-test.jar - 1.0.0 | fabric:profile-display --version 1.1 feature-camel
      2016-12-09 12:53:42,747 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:211) | 158 - container-upgrade-rollback-test.jar - 1.0.0 | Synchronizing Git repositories
      2016-12-09 12:53:42,750 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.git.internal.DefaultPullPushPolicy] (DefaultPullPushPolicy.java:226) | 86 - io.fabric8.fabric-git - 1.2.0.redhat-630217 | Pushing last change to: http://f344259b3df2:8181/git/fabric/
      

      which means we have command that changes profile and there's push from data/git/local to fabric's central git repo. This is required, because a bit later, child container is created in the test and this child container is required to fetch all the profile changes.

      But sometimes we have just:

      2016-12-09 12:54:28,463 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.CommandSupport] (CommandSupport.java:93) | 159 - create-child-test.jar - 1.0.0 | fabric:profile-create --parent karaf test
      2016-12-09 12:54:28,799 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.internal.ProfileServiceImpl] (ProfileServiceImpl.java:138) | 84 - io.fabric8.fabric-core - 1.2.0.redhat-630217 | createProfile: Profile[ver=1.0,id=test,atts={parents=karaf}]
      2016-12-09 12:54:29,234 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.CommandSupport] (CommandSupport.java:93) | 159 - create-child-test.jar - 1.0.0 | fabric:profile-edit --pid org.apache.karaf.log/size=102 test
      2016-12-09 12:54:29,581 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.internal.ProfileServiceImpl] (ProfileServiceImpl.java:151) | 84 - io.fabric8.fabric-core - 1.2.0.redhat-630217 | updateProfile: Profile[ver=1.0,id=test,atts={parents=karaf}]
      2016-12-09 12:54:30,885 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.CommandSupport] (CommandSupport.java:93) | 159 - create-child-test.jar - 1.0.0 | fabric:profile-edit --pid org.apache.karaf.shell/fabric.config.merge=true test
      2016-12-09 12:54:31,221 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.internal.ProfileServiceImpl] (ProfileServiceImpl.java:151) | 84 - io.fabric8.fabric-core - 1.2.0.redhat-630217 | updateProfile: Profile[ver=1.0,id=test,atts={parents=karaf}]
      2016-12-09 12:54:31,692 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.CommandSupport] (CommandSupport.java:93) | 159 - create-child-test.jar - 1.0.0 | fabric:profile-edit --pid org.apache.karaf.shell/sshIdleTimeout=1800002 test
      2016-12-09 12:54:31,985 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.internal.ProfileServiceImpl] (ProfileServiceImpl.java:151) | 84 - io.fabric8.fabric-core - 1.2.0.redhat-630217 | updateProfile: Profile[ver=1.0,id=test,atts={parents=karaf}]
      2016-12-09 12:54:32,241 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:211) | 159 - create-child-test.jar - 1.0.0 | Synchronizing Git repositories
      2016-12-09 12:54:32,255 | WARN  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:218) | 159 - create-child-test.jar - 1.0.0 | Synchronization of Git repositories failed: No reference was pushed
      2016-12-09 12:54:33,258 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:211) | 159 - create-child-test.jar - 1.0.0 | Synchronizing Git repositories
      2016-12-09 12:54:33,259 | WARN  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:218) | 159 - create-child-test.jar - 1.0.0 | Synchronization of Git repositories failed: No reference was pushed
      2016-12-09 12:54:34,259 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:211) | 159 - create-child-test.jar - 1.0.0 | Synchronizing Git repositories
      2016-12-09 12:54:34,261 | WARN  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:218) | 159 - create-child-test.jar - 1.0.0 | Synchronization of Git repositories failed: No reference was pushed
      2016-12-09 12:54:35,262 | INFO  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:211) | 159 - create-child-test.jar - 1.0.0 | Synchronizing Git repositories
      2016-12-09 12:54:35,265 | WARN  | {RMI TCP Connection(4)-172.17.0.2} [io.fabric8.itests.support.ContainerBuilder] (ContainerBuilder.java:218) | 159 - create-child-test.jar - 1.0.0 | Synchronization of Git repositories failed: No reference was pushed
      ...
      

              ggrzybek Grzegorz Grzybek
              ggrzybek Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: